|
| Image () noexcept |
|
| Image (nkMemory::Buffer &&data) noexcept |
|
| Image (nkMemory::Buffer &&data, 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 |
|
| Image (nkMemory::Buffer &&data, unsigned int width, unsigned int height, unsigned int depth, unsigned int arraySize, unsigned int mips, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize=0) noexcept |
|
| Image (nkMemory::Buffer &&data, nkMemory::BufferCast< ImageDescriptor > &&images, PIXEL_FORMAT format, unsigned int pixelOrBlockByteSize, bool alphaPremultiplied=false, bool cubeMap=false) noexcept |
|
| Image (const Image &other) noexcept |
|
| Image (Image &&other) noexcept |
|
| Image (const ImageView &view) noexcept |
|
virtual | ~Image () |
|
virtual unsigned char * | getDataPtr () const override |
|
virtual unsigned long long | getDataByteSize () const override |
|
virtual nkMemory::BufferView | getDataBuffer () const override |
|
virtual bool | isView () const override |
|
const nkMemory::Buffer & | getData () const |
|
Image & | operator= (const Image &other) noexcept |
|
Image & | operator= (Image &&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 ownership over the data.
See ImageBase for more information.