20 #ifndef EQ_PIXELDATA_H
21 #define EQ_PIXELDATA_H
23 #include <eq/fabric/pixelViewport.h>
24 #include <eq/fabric/viewport.h>
25 #include <eq/util/texture.h>
26 #include <eq/util/types.h>
28 #include <lunchbox/buffer.h>
99 #endif // EQ_PIXELDATA_H
~PixelData()
Destruct the pixel data.
The pixel data structure manages the pixel information for images.
uint32_t compressorName
The compressor used to produce compressedData.
uint32_t pixelSize
The size of one pixel, in bytes, stored in pixels.
uint32_t externalFormat
The type of data stored in pixels in main memory.
uint32_t compressorFlags
Flags used for compression.
std::vector< void * > compressedData
The compressed pixel data blocks.
void reset()
Reset the data.
PixelViewport pvp
The dimensions of the pixel data in pixels.
bool isCompressed
The compressed pixel data is set.
void * pixels
uncompressed pixel data, pvp * pixelSize bytes.
PixelData()
Construct new pixel data.
std::vector< uint64_t > compressedSize
Sizes of each compressed pixel data block.
uint32_t internalFormat
The type of data stored in FrameBuffer or texture on the GPU.