Class GPUBufferNull
GPU buffer for Null backend.
Inherited Members
GPUBufferNull
Assembly: FlaxEngine.dll
File: Engine/GraphicsDevice/Null/GPUBufferNull.h
Syntax
public class GPUBufferNull : public GPUBuffer
Methods
Map(GPUResourceMapMode mode)
Gets a CPU pointer to the resource by mapping its contents. Denies the GPU access to that resource.
Always call Unmap if the returned pointer is valid to release resources.
Declaration
public virtual void* Map(GPUResourceMapMode mode) override
Parameters
GPUResourceMapMode
mode
The map operation mode. |
Returns
void
The pointer of the mapped CPU buffer with resource data or null if failed. |
Overrides
OnInit()
Unmap()
Invalidates the mapped pointer to a resource and restores the GPU's access to that resource.
Declaration
public virtual void Unmap() override
Overrides
View()
Gets the view for the whole buffer.
Declaration
public virtual GPUBufferView* View() const override
Returns
GPUBufferView
|