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 (const mce::Image &image)
 ImageDescription (const ImageDescription &)=default
ImageDescription & operator= (const ImageDescription &)=default
LLAPI bool operator!= (const ImageDescription &rhs) const
bool operator== (const ImageDescription &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}

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