LeviLamina
Loading...
Searching...
No Matches
cg::ImageDescription Struct Reference
Inheritance diagram for cg::ImageDescription:

Public Member Functions

LLAPI ImageDescription (uint32 width, uint32 height, mce::TextureFormat format, cg::ColorSpace colorSpace, cg::ImageType imageType, uint32 arraySizeOrDepth)
LLAPI ImageDescription (mce::Image const &image)
 ImageDescription (ImageDescription const &)=default
ImageDescription & operator= (ImageDescription const &)=default
LLAPI bool operator!= (ImageDescription const &rhs) const
bool operator== (ImageDescription const &rhs) const
LLAPI void setArraySize (uint32 size)
LLNDAPI uint32 getArraySize () const
LLNDAPI uint32 getDepth () const
LLNDAPI uint32 getSubimageSize () const
LLNDAPI uint64 getStorageSize () const

Static Public Member Functions

static LLAPI uint32 getStrideFromFormat (mce::TextureFormat fmt)

Public Attributes

uint32 mWidth {0}
uint32 mHeight {0}
mce::TextureFormat mTextureFormat
cg::ColorSpace mColorSpace {cg::ColorSpace::Unknown}
cg::ImageType mImageType {cg::ImageType::Texture2D}
mce::AlphaUsage mAlphaUsage {mce::AlphaUsage::Unknown}

The documentation for this struct was generated from the following file: