Urho3D
|
Source data for a 3D geometry draw call. More...
#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Graphics/Drawable.h>
Public Member Functions | |
SourceBatch () | |
Construct with defaults. | |
SourceBatch (const SourceBatch &batch) | |
Copy-construct. | |
~SourceBatch () | |
Destruct. | |
SourceBatch & | operator= (const SourceBatch &rhs) |
Assignment operator. | |
Public Attributes | |
float | distance_ {} |
Distance from camera. | |
Geometry * | geometry_ {} |
Geometry. | |
SharedPtr< Material > | material_ |
Material. | |
const Matrix3x4 * | worldTransform_ {&Matrix3x4::IDENTITY} |
World transform(s). For a skinned model, these are the bone transforms. | |
i32 | numWorldTransforms_ {1} |
Number of world transforms. | |
void * | instancingData_ {} |
Per-instance data. If not null, must contain enough data to fill instancing buffer. | |
GeometryType | geometryType_ {GEOM_STATIC} |
Geometry type. | |
Source data for a 3D geometry draw call.