1#ifndef OIV_INSTANCING_H
2#define OIV_INSTANCING_H
void OivInstancingInit()
Initialize instancing.
vec3 OivInstanceScale()
Get the scale vector to apply to the current geometry instance.
vec4 OivInstanceRotation()
Get the rotation (i.e.
mat4 OivInstanceMatrix()
Get the transformation matrix to apply to the current geometry instance, i.e., the combination of ins...
mat4 OivInstancingGlobalModelMatrix()
Get the model matrix without instancing transformations i.e., the model matrix at the SoMultipleInsta...
int OivInstanceID()
Get the current instance ID when using multiple instance.
vec3 OivInstanceTranslation()
Get the translation vector to apply to the current geometry instance.