#include <RadientAssets.h>
Public Attributes | |
| Uint32 | Width = 0 |
| Uint32 | Height = 0 |
| RADIENT_TEXTURE_FORMAT | Format = RADIENT_TEXTURE_FORMAT_UNKNOWN |
| Uint32 | MipLevels = 0 |
Immutable description of a loaded texture asset. Describes the logical image after decoding and mip generation. The dimensions, format, and mip count are independent of GPU allocation, atlas placement, and mip residency. All members have their default values until CPU loading succeeds.
| RADIENT_TEXTURE_FORMAT Diligent::RadientTextureAssetDesc::Format = RADIENT_TEXTURE_FORMAT_UNKNOWN |
Loaded image format, including any channel expansion or encoding conversion performed during loading. This is independent of the storage format and of the linear or sRGB sampling view selected by a material. RADIENT_TEXTURE_FORMAT_UNKNOWN if CPU loading has not succeeded or the loaded format has no corresponding public enum value. Defaults to UNKNOWN.
| Uint32 Diligent::RadientTextureAssetDesc::Height = 0 |
Height of mip 0, in pixels, for each array layer or cube face. One for 1D textures. Nonzero after CPU loading succeeds; defaults to zero.
| Uint32 Diligent::RadientTextureAssetDesc::MipLevels = 0 |
Number of mip levels per array layer or cube face in the loaded or generated logical image, including mip 0. This count does not indicate how many levels are currently resident on the GPU or available through a texture atlas. Nonzero after CPU loading succeeds; defaults to zero.
| Uint32 Diligent::RadientTextureAssetDesc::Width = 0 |
Width of mip 0, in pixels, for each array layer or cube face. Nonzero after CPU loading succeeds; defaults to zero.