class
GpuGraphicsPipelineState
Describes the state of the GPU pipeline that determines how are primitives rendered.
It consists of programmable states (vertex, fragment, geometry, etc. GPU programs), as well as a set of fixed states (blend, rasterizer, depth-stencil).
Public
Constructors
GpuGraphicsPipelineState
GpuGraphicsPipelineState(GpuDevice &gpuDevice, const GpuGraphicsPipelineStateCreateInformation &createInformation)
Methods
~GpuGraphicsPipelineState
virtual ~GpuGraphicsPipelineState() = default
Initialize
virtual void Initialize()
Initializes the object.
The object should not be used before this is called.
HasVertexProgram
bool HasVertexProgram() const
HasFragmentProgram
bool HasFragmentProgram() const
HasGeometryProgram
bool HasGeometryProgram() const
HasHullProgram
bool HasHullProgram() const
HasDomainProgram
bool HasDomainProgram() const
GetBlendState
GetRasterizerState
GetDepthStencilState
GetVertexProgram
GetFragmentProgram
GetGeometryProgram
GetHullProgram
GetDomainProgram
GetParameterLayout
Returns an object containing the layout of all parameters in all the GPU programs used in this pipeline state.
Protected
Fields
mGpuDevice
GpuDevice & mGpuDevice
mData
mParameterLayout
SPtr<GpuPipelineParameterLayout> mParameterLayout