MFTexture* MFTexture_CreateFromRawData const char *  pName,
void *  pData,
int  width,
int  height,
MFTextureFormat  format,
uint32  flags = 0,
bool  generateMipChain = true,
uint32 pPalette = 0
 

Creates a texture from a raw data buffer.

Parameters:
pName Name of the texture being created.
pData Pointer to a buffer containing the image data
width Image width.
height Image height.
format Format of the image data being read.
flags Flags to control aspects of the creation process.
generateMipChain If true, a mip-chain will be generated for the texture.
pPalette Pointer to palette data. Use NULL for non-paletted image formats.
Returns:
Pointer to an MFTexture structure representing the newly created texture.
See also:
MFTexture_Create()

MFTexture_Destroy()


Generated on Sat Oct 28 16:27:36 2006 for MountFuji Engine by  doxygen 1.4.5