|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Data layout for the attributes of a single instance of a 3D model mesh. More...
#include <GREM/graphics_3d/Model3D.hpp>
Public Attributes | |
| vec4 | instanceTintColor |
| Multiplicative tint color to use when rendering. | |
| vec3 | instanceEmissiveColor |
| Additive emissive color to use when rendering. | |
| vec3 | instanceEmissiveFactor |
| Emissive factor to use when rendering. | |
| uint32_t | instanceInverseBindPoseMatrixOffset |
| Offset of the first matrix in the InverseBindPoseMatrixBuffer. | |
| uint32_t | instanceJointOffset |
| Offset of the first joint in the JointBuffer. | |
| uint32_t | instanceMorphTargetWeightOffset |
| Offset of the first morph target weight in the MorphTargetWeightBuffer. | |
| uint32_t | instanceInstanceIdentifier |
| Instance identifier that may be used in shaders. | |
Data layout for the attributes of a single instance of a 3D model mesh.
Meets the requirements of the grem::graphics::mesh_instance concept.
| vec4 grem::graphics::Model3D::Instance::instanceTintColor |
Multiplicative tint color to use when rendering.
| vec3 grem::graphics::Model3D::Instance::instanceEmissiveColor |
Additive emissive color to use when rendering.
| vec3 grem::graphics::Model3D::Instance::instanceEmissiveFactor |
Emissive factor to use when rendering.
| uint32_t grem::graphics::Model3D::Instance::instanceInverseBindPoseMatrixOffset |
Offset of the first matrix in the InverseBindPoseMatrixBuffer.
| uint32_t grem::graphics::Model3D::Instance::instanceJointOffset |
Offset of the first joint in the JointBuffer.
| uint32_t grem::graphics::Model3D::Instance::instanceMorphTargetWeightOffset |
Offset of the first morph target weight in the MorphTargetWeightBuffer.
| uint32_t grem::graphics::Model3D::Instance::instanceInstanceIdentifier |
Instance identifier that may be used in shaders.