Home -> ITextureBuffer -> AllocatedImageFormat
Description
The AllocatedImageFormat method returns the ImageFormat of the texture that was actually created after AllocateMemory succeeds.
This value should be used when later code needs to reason about the concrete allocation, because renderers may normalize compatible requests or choose an equivalent native representation where the API permits it.
Usage
ImageFormat AllocatedImageFormat() const;
Return value
- [ImageFormat]
- The image format allocated for the texture.