#include <gfx_image_storage_deepimage.h>
Extends PixelConstBuffer with the count of samples per pixel for depth pixel buffers. this structure is only valid if SETPIXELHANDLERFLAGS::DEPTH and SETPIXELFLAGS::DEPTH is given.
Public Member Functions | |
DeepImagePixelMutableBuffer (UInt32 *counts, Pix *&buffer, BITS inc) | |
Public Member Functions inherited from PixelMutableBuffer | |
PixelMutableBuffer ()=default | |
PixelMutableBuffer (const PixelMutableBuffer &src) | |
PixelMutableBuffer (const PixelMutableBuffer &src, Int offset) | |
PixelMutableBuffer (Pix *buffer, BITS inc) | |
PixelMutableBuffer & | operator= (const PixelMutableBuffer &src) |
operator const PixelConstBuffer & () const | |
Public Attributes | |
UInt32 * | _counts |
Pix *& | _bufferPtr |
Public Attributes inherited from PixelMutableBuffer | |
Pix * | _buffer |
BITS | _inc |
Additional Inherited Members | |
Public Types inherited from PixelMutableBuffer | |
using | PIXELTYPE = Pix |
DeepImagePixelMutableBuffer | ( | UInt32 * | counts, |
Pix *& | buffer, | ||
BITS | inc | ||
) |
DeepImagePixelConstBuffer constructor. The following example illustrates how the data needs to be delivered.
[in] | counts | Pointer to a memory block that receives the number of samples per pixel. The array needs to be as long as the number of requested pixel. |
[in,out] | buffer | Pointer to the memory block which receives the pixel data. Important: This memory is reallocated with ReAllocMem and needs to be freed after this call! |
[in] | inc | Pixel offset between 2 samples. |
UInt32* _counts |
Pix*& _bufferPtr |