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 <pression/compressorResult.h>
97 PixelData& operator=(
const PixelData& ) =
delete;
100 #endif // EQ_PIXELDATA_H
uint32_t internalFormat
The type of data stored in FrameBuffer or texture on the GPU.
uint32_t externalFormat
The type of data stored in pixels in main memory.
The pixel data structure manages the pixel information for images.
uint32_t pixelSize
The size of one pixel, in bytes, stored in pixels.
EQ_API PixelData()
Construct new pixel data.
void reset()
Reset the data.
void * pixels
uncompressed pixel data, pvp * pixelSize bytes.
uint32_t compressorFlags
Flags used for compression.
EQ_API ~PixelData()
Destruct the pixel data.
pression::CompressorResult compressedData
The compressed pixel data blocks.
PixelViewport pvp
The dimensions of the pixel data in pixels.
uint32_t compressorName
The compressor used to produce compressedData.