GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::graphics::Model3D::Node Struct Reference

Node of a 3D model. More...

#include <GREM/graphics_3d/Model3D.hpp>

Public Attributes

Mesh mesh
 Mesh primitive of the node.
ShaderConfiguration shaderConfiguration
 Shader configuration of the node.
uint32_t inverseBindPoseMatrixOffset
 Index of the node's skin's first inverse bind-pose matrix in the model's inverse bind-pose matrix array.
resource::Model::MorphTargetWeightIndex morphTargetWeightOffset
 Index of the node's first morph target in the model's morph target weight array.
resource::Model::JointIndex jointIndex
 Index of the model joint that the node is attached to.
Box< 3, float > boundingBox
 Local bounding box of the node.
float boundingRadius
 Local bounding radius of the node.

Detailed Description

Node of a 3D model.

Member Data Documentation

◆ mesh

Mesh grem::graphics::Model3D::Node::mesh

Mesh primitive of the node.

◆ shaderConfiguration

ShaderConfiguration grem::graphics::Model3D::Node::shaderConfiguration

Shader configuration of the node.

◆ inverseBindPoseMatrixOffset

uint32_t grem::graphics::Model3D::Node::inverseBindPoseMatrixOffset

Index of the node's skin's first inverse bind-pose matrix in the model's inverse bind-pose matrix array.

◆ morphTargetWeightOffset

resource::Model::MorphTargetWeightIndex grem::graphics::Model3D::Node::morphTargetWeightOffset

Index of the node's first morph target in the model's morph target weight array.

◆ jointIndex

resource::Model::JointIndex grem::graphics::Model3D::Node::jointIndex

Index of the model joint that the node is attached to.

◆ boundingBox

Box<3, float> grem::graphics::Model3D::Node::boundingBox

Local bounding box of the node.

◆ boundingRadius

float grem::graphics::Model3D::Node::boundingRadius

Local bounding radius of the node.


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