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

Drawable * drawable_ {}
unsigned sourceBatchIndex_ {}
void * userData_ {}
Pass * deferredPass_ {}
 If deferred pass is present, unlit base, lit base and light passes are ignored.
Pass * unlitBasePass_ {}
 Unlit base pass (no per-pixel lighting, optional ambient lighting).
Pass * litBasePass_ {}
 Lit base pass (per-pixel lighting from one light source and ambient lighting).
Pass * lightPass_ {}
 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:
  • Urho3D/RenderPipeline/DrawableProcessor.h