Rebel Fork Framework
Urho3D::GeometryBatch Struct Reference

Reference to SourceBatch of Drawable geometry, with resolved material passes. More...

#include <Urho3D/RenderPipeline/DrawableProcessor.h>

Static Public Member Functions

static GeometryBatch Deferred (Drawable *drawable, unsigned sourceBatchIndex, Pass *deferredPass, void *userData=nullptr)
 
static GeometryBatch Forward (Drawable *drawable, unsigned sourceBatchIndex, Pass *unlitBasePass, Pass *litBasePass, Pass *lightPass, void *userData=nullptr)
 

Public Attributes

Drawabledrawable_ {}
 
unsigned sourceBatchIndex_ {}
 
void * userData_ {}
 
PassdeferredPass_ {}
 If deferred pass is present, unlit base, lit base and light passes are ignored.
 
PassunlitBasePass_ {}
 Unlit base pass (no per-pixel lighting, optional ambient lighting).
 
PasslitBasePass_ {}
 Lit base pass (per-pixel lighting from one light source and ambient lighting).
 
PasslightPass_ {}
 Additive light pass (per-pixel lighting from one light source).
 

Detailed Description

Reference to SourceBatch of Drawable geometry, with resolved material passes.


The documentation for this struct was generated from the following file: