Mount Fuji Engine  0.8b
MF_API MFTexture* MFTexture_Create ( const char *  pName,
bool  generateMipChain = true 
)

Creates a texture from the filesystem.

Parameters
pNameName of texture to read from the filesystem.
generateMipChainIf true, a mip-chain will be generated for the texture.
Returns
Pointer to an MFTexture structure representing the newly created texture.
Remarks
If the specified texture has already been created, MFTexture_Create will return a new reference to the already created texture.
See Also
MFTexture_CreateDynamic(), MFTexture_CreateFromRawData(), MFTexture_CreateRenderTarget(), MFTexture_Release()