|
|
| MFTexture* MFTexture_Create |
( |
const char * |
pName, |
|
|
bool |
generateMipChain = true |
|
) |
|
|
|
|
Creates a texture from the filesystem. - Parameters:
-
| pName | Name of texture to read from the filesystem. |
| generateMipChain | If 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_CreateFromRawData()
MFTexture_CreateRenderTarget()
MFTexture_Destroy()
|
|