Urho3D::SourceBatch Struct Reference

Source data for a 3D geometry draw call. More...

#include <Urho3D/Graphics/Drawable.h>

Collaboration diagram for Urho3D::SourceBatch:
[legend]

Public Member Functions

 SourceBatch ()
 Construct with defaults.
 
 SourceBatch (const SourceBatch &batch)
 Copy-construct.
 
 ~SourceBatch ()
 Destruct.
 
SourceBatchoperator= (const SourceBatch &rhs)
 Assignment operator.
 

Public Attributes

float distance_
 Distance from camera.
 
Geometrygeometry_
 Geometry.
 
SharedPtr< Materialmaterial_
 Material.
 
const Matrix3x4worldTransform_
 World transform(s). For a skinned model, these are the bone transforms.
 
unsigned numWorldTransforms_
 Number of world transforms.
 
void * instancingData_
 Per-instance data. If not null, must contain enough data to fill instancing buffer.
 
GeometryType geometryType_
 Geometry type.
 

Detailed Description

Source data for a 3D geometry draw call.


The documentation for this struct was generated from the following files:
  • Source/Urho3D/Graphics/Drawable.h
  • Source/Urho3D/Graphics/Drawable.cpp