#include <Batch.h>
Public Member Functions | |
| DrawCallInfo (Index idx) | |
| Create DrawCallInfo object with no user data. More... | |
| DrawCallInfo (Index idx, Index user) | |
| Create DrawCallInfo object with user data. It's used when drawing meshes. First bit of user data enables blendshapes and secodn on enables skinning. More... | |
A structure passed to shaders. Contains index of an object in transform objects buffer for this draw call.
|
inline |
Create DrawCallInfo object with no user data.
| idx | Index of the transform object for the given draw call. |
|
inline |
Create DrawCallInfo object with user data. It's used when drawing meshes. First bit of user data enables blendshapes and secodn on enables skinning.
| idx | Index of the transform object for the given draw call. |
| user | User data. Currently used only for meshes. |