Holds all information required for an image, with no ownership over the data.
More...
|
| ImageView () noexcept=delete |
|
| ImageView (const Image &image) noexcept |
|
| ImageView (const nkMemory::BufferView< unsigned char > &dataView) noexcept |
|
| ImageView (const nkMemory::BufferView< unsigned char > dataView, unsigned int width, unsigned int height, unsigned int depth, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0, unsigned int rowByteSize=0, unsigned int sliceByteSize=0) noexcept |
|
| ImageView (const nkMemory::BufferView< unsigned char > dataView, unsigned int width, unsigned int height, unsigned int depth, unsigned int arraySize, unsigned int mips, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0) noexcept |
|
| ImageView (const ImageView &other) noexcept |
|
| ImageView (const ImageView &other, unsigned int slice) noexcept |
|
| ImageView (const ImageView &other, unsigned int slice, unsigned int mip) noexcept |
|
| ImageView (ImageView &&other) noexcept |
|
virtual | ~ImageView () |
|
virtual unsigned char * | getDataPtr () const override |
|
virtual unsigned long long | getDataByteSize () const override |
|
virtual nkMemory::BufferView | getDataBuffer () const override |
|
virtual bool | isView () const override |
|
ImageView & | operator= (const ImageView &other) noexcept |
|
ImageView & | operator= (ImageView &&other) noexcept |
|
| ImageBase () noexcept |
|
| ImageBase (unsigned int width, unsigned int height, unsigned int depth, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0, unsigned int rowByteSize=0, unsigned int sliceByteSize=0) noexcept |
|
| ImageBase (unsigned int width, unsigned int height, unsigned int depth, unsigned int arraySize, unsigned int mips, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0) noexcept |
|
| ImageBase (nkMemory::BufferCast< ImageDescriptor > &&images, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize, bool alphaPremultiplied=false, bool cubeMap=false) noexcept |
|
| ImageBase (const ImageBase &other) noexcept |
|
| ImageBase (ImageBase &&other) noexcept |
|
virtual | ~ImageBase () |
|
unsigned int | getWidth (unsigned int mip=0u) const |
|
unsigned int | getHeight (unsigned int mip=0u) const |
|
unsigned int | getDepthOrArraySize (unsigned int mip=0u) const |
|
unsigned int | getMipCount () const |
|
PIXEL_FORMAT | getFormat () const |
|
unsigned int | getPixelByteSize () const |
|
unsigned int | getRowByteSize (unsigned int mip=0u) const |
|
unsigned int | getSliceByteSize (unsigned int mip=0u) const |
|
bool | getAlphaPremultiplied () const |
|
bool | getCubeMap () const |
|
bool | isArray () const |
|
void | setFormat (PIXEL_FORMAT value) |
|
void | setPixelOrBlockByteSize (unsigned int value) |
|
void | setAlphaPremultiplied (bool value) |
|
void | setCubeMap (bool value) |
|
nkMaths::Vector | getPixel (unsigned int x, unsigned int y, unsigned int z=0u, unsigned int mip=0u) const |
|
void | setPixel (nkMaths::Vector v, unsigned int x, unsigned int y, unsigned int z=0u, unsigned int mip=0u) |
|
Image | decompress (const AlignmentDescriptor &alignmentDescriptor=AlignmentDescriptor()) const |
|
ImageBase & | operator= (const ImageBase &other) noexcept |
|
ImageBase & | operator= (ImageBase &&other) noexcept |
|
Holds all information required for an image, with no ownership over the data.
See ImageBase for more information.