Dry
|
Source data for a 3D geometry draw call. More...
#include <Dry/Graphics/Drawable.h>
Public Member Functions | |
SourceBatch ()=default | |
Construct with defaults. | |
SourceBatch (const SourceBatch &batch)=default | |
Copy-construct. | |
~SourceBatch ()=default | |
Destruct. | |
SourceBatch & | operator= (const SourceBatch &rhs)=default |
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. | |
unsigned | 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.