|
Creates a texture from a raw data buffer that us scaled using a given algorithm.
- Parameters
-
pName | Name of the texture being created. |
pData | Pointer to a buffer containing the image data |
sourceWidth | Source image width. |
sourceHeight | Source image height. |
texWidth | Texture width. |
texHeight | Texture height. |
format | Format of the image data being read. Only formats supported by the platform and ImgFmt_A8R8G8B8 can be used. |
algorithm | Scaling algorithm to be used. |
flags | Texture creation flags. |
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_CreateFromRawData(), MFTexture_Create(), MFTexture_Release(), MFTexture_GetPlatformAvailability(), MFImage_IsAvailableOnPlatform()
|