Mount Fuji Engine  0.8b
MF_API MFTexture* MFTexture_CreateDynamic ( const char *  pName,
int  width,
int  height,
MFImageFormat  format,
uint32  flags = 0 
)

Creates a dynamic texture.

Parameters
pNameName of the texture being created.
widthImage width.
heightImage height.
formatFormat of the image data. Only formats supported by the platform and ImgFmt_A8R8G8B8 can be used.
flagsTexture creation flags.
Returns
Pointer to an MFTexture structure representing the newly created texture.
Remarks
If the specified texture has already been created, MFTexture_CreateDynamic will fail.
See Also
MFTexture_Create(), MFTexture_CreateFromRawData(), MFTexture_CreateRenderTarget(), MFTexture_Release()