Previous Up Next

M3blitTexture16
Replaces the contents of a texture by another, by writing over the pallet.
Accepted texture dimensions that require no stretching are: 64, 128, 256, 512 and 1024 (512 and 1024 from Scol 5.x and +).

I M3blitTexture16 (
S3d _session_
HTx3d _texture_
ObjBitmap _bitmap16_
)
Parameters

_session_
3D Session
_texture_
Texture
_bitmap16_
Bitmap coded in 16bits / pixel
Return value

0 if successful, otherwise nil