![]() |
ezEngine
Release 25.03
|
Allows for a GPU texture to be read back to the CPU. Uses the same ezGALTextureCreationDescription as a normal texture 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 texture that can read back a texture of the given description. More...
#include <ReadbackTexture.h>
Protected Member Functions | |
ezGALReadbackTexture (const ezGALTextureCreationDescription &Description) | |
virtual ezResult | InitPlatform (ezGALDevice *pDevice)=0 |
virtual ezResult | DeInitPlatform (ezGALDevice *pDevice)=0 |
![]() | |
virtual void | SetDebugNamePlatform (const char *szName) const =0 |
Friends | |
class | ezGALDevice |
Additional Inherited Members | |
![]() | |
EZ_ALWAYS_INLINE | ezGALResource (const ezGALTextureCreationDescription &description) |
const EZ_ALWAYS_INLINE ezGALTextureCreationDescription & | 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. | |
![]() | |
const ezGALTextureCreationDescription | m_Description |
Allows for a GPU texture to be read back to the CPU. Uses the same ezGALTextureCreationDescription as a normal texture 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 texture that can read back a texture of the given description.