Home -> ITextureBuffer -> AllocatedDataFormat
Description
The AllocatedDataFormat method returns the DataFormat of the texture that was actually created after AllocateMemory succeeds.
This is the format that should be used when calculating memory layout, selecting compatible readback formats, or comparing the actual allocation against the requested texture format.
Usage
DataFormat AllocatedDataFormat() const;
Return value
- [DataFormat]
- The data format allocated for the texture.