Class GPUConstantBuffer
Constant Buffer object used to pass parameters to the shaders on GPU.
Inherited Members
GPUConstantBuffer
Assembly: FlaxEngine.dll
File: Engine/Graphics/Shaders/GPUConstantBuffer.h
Syntax
public class GPUConstantBuffer : public GPUResource
Fields
_size
Declaration
protected uint32 _size = 0
Field Value
uint32
|
Methods
GetResourceType()
Gets the GPU resource type.
Declaration
public virtual GPUResourceType GetResourceType() const override
Returns
GPUResourceType
|
Overrides
GetSize()
Gets the buffer size (in bytes).
Declaration
public uint32 GetSize() const
Returns
uint32
|