Rebel Fork Framework
Urho3D::BatchStateCacheCallback Class Referenceabstract

Pipeline state cache callback used to create actual pipeline state. More...

#include <Urho3D/RenderPipeline/RenderPipelineDefs.h>

Inheritance diagram for Urho3D::BatchStateCacheCallback:
Urho3D::PipelineStateBuilder

Public Member Functions

virtual ~BatchStateCacheCallback ()
 Destruct.
 
virtual SharedPtr< PipelineState > CreateBatchPipelineState (const BatchStateCreateKey &key, const BatchStateCreateContext &ctx, const PipelineStateOutputDesc &outputDesc)=0
 
virtual SharedPtr< PipelineState > CreateBatchPipelineStatePlaceholder (unsigned vertexStride, const PipelineStateOutputDesc &outputDesc)=0
 Create placeholder pipeline state when actual pipeline state creation fails.
 

Detailed Description

Pipeline state cache callback used to create actual pipeline state.

Member Function Documentation

◆ CreateBatchPipelineState()

virtual SharedPtr<PipelineState> Urho3D::BatchStateCacheCallback::CreateBatchPipelineState ( const BatchStateCreateKey key,
const BatchStateCreateContext ctx,
const PipelineStateOutputDesc &  outputDesc 
)
pure virtual

Create pipeline state for given context and key. Only attributes that contribute to pipeline state hashes are safe to use.

Implemented in Urho3D::PipelineStateBuilder.


The documentation for this class was generated from the following files: