TextureFormatInfoExt struct
Extended texture format information.
Contents
- Reference
This structure is returned by IRenderDevice::
Base classes
- struct TextureFormatInfo
- Basic texture format description.
Public variables
-
BIND_
FLAGS BindFlags - Allowed bind flags for this format.
-
RESOURCE_
DIMENSION_ SUPPORT Dimensions - A bitmask specifying all the supported resource dimensions for this texture format, see Diligent::
RESOURCE_DIMENSION_SUPPORT. - Uint32 SampleCounts
- A bitmask specifying all the supported sample counts for this texture format. If the format supports n samples, then (SampleCounts & n) != 0.
- Bool Filterable
- Indicates if the format can be filtered in the shader.
Variable documentation
RESOURCE_ DIMENSION_ SUPPORT Diligent:: TextureFormatInfoExt:: Dimensions
A bitmask specifying all the supported resource dimensions for this texture format, see Diligent::
For every supported resource dimension in RESOURCE_DIMENSION enum, the corresponding bit in the mask will be set to 1. For example, support for Texture2D resource dimension can be checked as follows:
(Dimensions & RESOURCE_DIMENSION_SUPPORT_TEX_2D) != 0