U3D
Open-source, cross-platform 2D and 3D game engine built in C++
|
Data for one geometry instance. More...
#include </var/dev/u3d/stable/Source/Urho3D/Graphics/Batch.h>
Public Member Functions | |
InstanceData ()=default | |
Construct undefined. | |
InstanceData (const Matrix3x4 *worldTransform, const void *instancingData, float distance) | |
Construct with transform, instancing data and distance. | |
Public Attributes | |
const Matrix3x4 * | worldTransform_ {} |
World transform. | |
const void * | instancingData_ {} |
Instancing data buffer. | |
float | distance_ {} |
Distance from camera. | |
Data for one geometry instance.