Rebel Fork Framework
|
Information needed to fully create PipelineBatch. More...
#include <Urho3D/RenderPipeline/BatchCompositor.h>
Public Member Functions | |
PipelineBatchDesc (Drawable *drawable, unsigned sourceBatchIndex, Pass *pass, void *userData=nullptr) | |
void | InitializeShadowBatch (LightProcessor *light, unsigned lightIndex, unsigned lightHash) |
void | InitializeLitBatch (LightProcessor *light, unsigned lightIndex, unsigned lightHash) |
BatchStateCreateKey | GetKey () const |
Public Member Functions inherited from Urho3D::PipelineBatch | |
const SourceBatch & | GetSourceBatch () const |
PipelineBatch (Drawable *drawable, unsigned sourceBatchIndex, void *userData=nullptr) | |
Public Attributes | |
Pass * | pass_ {} |
unsigned | drawableHash_ {} |
LightProcessor * | pixelLightForPipelineState_ {} |
unsigned | pixelLightForPipelineStateIndex_ {} |
unsigned | pixelLightForPipelineStateHash_ {} |
Public Attributes inherited from Urho3D::PipelineBatch | |
Drawable * | drawable_ {} |
Geometry * | geometry_ {} |
Material * | material_ {} |
PipelineState * | pipelineState_ {} |
void * | userData_ {} |
unsigned | drawableIndex_ {} |
unsigned | pixelLightIndex_ { M_MAX_UNSIGNED } |
unsigned | vertexLightsHash_ {} |
unsigned | sourceBatchIndex_ {} |
unsigned | lightmapIndex_ {} |
float | distance_ {} |
GeometryType | geometryType_ {} |
Information needed to fully create PipelineBatch.
LightProcessor* Urho3D::PipelineBatchDesc::pixelLightForPipelineState_ {} |
Light that contributes to pipeline state. For scene batches: per-pixel forward light applied to object. For shadow batches: owner shadow split.