CPU-side contents of one GPU buffer of a renderable. More...
#include <rendertypes.h>
Public Attributes | |
| const void * | data = nullptr |
| quint32 | bytes = 0 |
| quint64 | generation = 0 |
CPU-side contents of one GPU buffer of a renderable.
Renderables own only CPU data; the renderer keeps the GPU copies and uploads a stream again when its generation changes. The data must stay valid until the next change of the renderable.
Definition at line 98 of file rendertypes.h.
| quint32 DISP3DLIB::GpuStream::bytes = 0 |
Size in bytes.
Definition at line 101 of file rendertypes.h.
| const void* DISP3DLIB::GpuStream::data = nullptr |
First byte, or nullptr when the stream is empty.
Definition at line 100 of file rendertypes.h.
| quint64 DISP3DLIB::GpuStream::generation = 0 |
Bumped by the owner on every change of the data.
Definition at line 102 of file rendertypes.h.