Allows for a GPU buffer to be read back to the CPU. Uses the same ezGALBufferCreationDescription as a normal buffer for convenience. While most of the properties may be irrelevant for this purpose, the user should not have to care about that and just request a readback buffer that can read back a buffer of the given description.
More...
#include <ReadbackBuffer.h>
|
EZ_ALWAYS_INLINE ezUInt32 | GetSize () const |
|
EZ_ALWAYS_INLINE | ezGALResource (const ezGALBufferCreationDescription &description) |
|
EZ_ALWAYS_INLINE const ezGALBufferCreationDescription & | GetDescription () const |
|
void | SetDebugName (const char *szName) const |
|
virtual const ezGALResourceBase * | GetParentResource () const |
|
virtual | ~ezRefCounted ()=default |
| Adds a virtual destructor.
|
|
| ezRefCountingImpl ()=default |
| Constructor.
|
|
| ezRefCountingImpl (const ezRefCountingImpl &rhs) |
|
void | operator= (const ezRefCountingImpl &rhs) |
|
ezInt32 | AddRef () const |
| Increments the reference counter. Returns the new reference count.
|
|
ezInt32 | ReleaseRef () const |
| Decrements the reference counter. Returns the new reference count.
|
|
bool | IsReferenced () const |
| Returns true if the reference count is greater than 0, false otherwise.
|
|
ezInt32 | GetRefCount () const |
| Returns the current reference count.
|
|
Allows for a GPU buffer to be read back to the CPU. Uses the same ezGALBufferCreationDescription as a normal buffer for convenience. While most of the properties may be irrelevant for this purpose, the user should not have to care about that and just request a readback buffer that can read back a buffer of the given description.
The documentation for this class was generated from the following files:
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererFoundation/Resources/ReadbackBuffer.h
- /home/runner/work/ezEngine/ezEngine/Code/Engine/RendererFoundation/Resources/Implementation/ReadbackBuffer.cpp