U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Urho3D::InstanceData Struct Reference

Data for one geometry instance. More...

#include </var/dev/u3d/stable/Source/Urho3D/Graphics/Batch.h>

Collaboration diagram for Urho3D::InstanceData:
[legend]

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 Matrix3x4worldTransform_ {}
 World transform.
 
const void * instancingData_ {}
 Instancing data buffer.
 
float distance_ {}
 Distance from camera.
 

Detailed Description

Data for one geometry instance.


The documentation for this struct was generated from the following file: