class
render::Pass
Render thread counterpart of Pass.
Public
Methods
~Pass
staticCreate
Creates a new pass.
Compile
Initializes the pass internals by compiling the GPU programs and creating the relevant pipeline state.
This method must be called before pass pipelines can be retrieved. After initial compilation further calls do this method will perform no operation.
staticGetRttiStatic
~TPass<IsRenderProxy>
HasBlending
Returns true if this pass has some element of transparency.
IsCompute
Returns true if the pass executes a compute program.
GetStencilRefValue
Gets the stencil reference value that is used when performing operations using the stencil buffer.
GetGpuProgramCreateInformation
Returns the GPU program descriptor for the specified GPU program type.
GetGraphicsPipelineState
Returns the graphics pipeline state describing this pass, or null if its a compute pass.
Only valid after Compile() has been called.
GetComputePipelineState
Returns the compute pipeline state describing this pass, or null if its a graphics pass.
Only valid after compile has been called.
Protected
Constructors
Pass
Pass
Methods
SyncFromCoreObject
Update internal data from provided memory buffer that was populated with data from the owning CoreObject.
CreatePipelineState
Creates either the graphics or the compute pipeline state from the stored pass data.