Class GPUPipelineState
Describes full graphics pipeline state within single object.
Inherited Members
GPUPipelineState
Assembly: FlaxEngine.dll
File: Engine/Graphics/GPUPipelineState.h
Syntax
public class GPUPipelineState : public GPUResource
Constructors
GPUPipelineState()
Declaration
protected GPUPipelineState()
Fields
_meta
Complexity
Declaration
public int32 Complexity
Field Value
int32
|
Methods
GetResourceType()
Gets the GPU resource type.
Declaration
public virtual GPUResourceType GetResourceType() const final override
Returns
GPUResourceType
|
Overrides
GetUsedCBsMask()
Gets constant buffers usage mask (each set bit marks usage of the constant buffer at the bit index slot). Combined from all the used shader stages.
Declaration
public uint32 GetUsedCBsMask() const
Returns
uint32
|
GetUsedSRsMask()
Gets shader resources usage mask (each set bit marks usage of the shader resource slot at the bit index slot). Combined from all the used shader stages.
Declaration
public uint32 GetUsedSRsMask() const
Returns
uint32
|
GetUsedUAsMask()
Gets unordered access usage mask (each set bit marks usage of the unordered access slot at the bit index slot). Combined from all the used shader stages.
Declaration
public uint32 GetUsedUAsMask() const
Returns
uint32
|
Init(const Description& desc)
Create new state data
Declaration
public virtual bool Init(const Description& desc)
Parameters
Description
desc
Full pipeline state description |
Returns
bool
True if cannot create state, otherwise false |
IsValid()
Returns true if pipeline state is valid and ready to use
Declaration
public virtual bool IsValid() const = 0
Returns
bool
|