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

Public Member Functions

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

Static Public Member Functions

static 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: