Kemena3D
Loading...
Searching...
No Matches
kemena::kVertexInfo Struct Reference

Full per-vertex data layout used internally by the asset manager. More...

#include <kdatatype.h>

Public Attributes

kVec3 position
 Vertex position in model space.
kVec3 normal
 Vertex normal.
kVec2 texCoords
 UV texture coordinates.
kVec3 tangent
 Tangent vector (for normal mapping).
kVec3 bitangent
 Bitangent vector (for normal mapping).
int boneIDs [MAX_BONE_INFLUENCE]
 Indices of influencing bones.
float weights [MAX_BONE_INFLUENCE]
 Blend weights for each bone.

Detailed Description

Full per-vertex data layout used internally by the asset manager.

Member Data Documentation

◆ bitangent

kVec3 kemena::kVertexInfo::bitangent

Bitangent vector (for normal mapping).

◆ boneIDs

int kemena::kVertexInfo::boneIDs[MAX_BONE_INFLUENCE]

Indices of influencing bones.

◆ normal

kVec3 kemena::kVertexInfo::normal

Vertex normal.

◆ position

kVec3 kemena::kVertexInfo::position

Vertex position in model space.

◆ tangent

kVec3 kemena::kVertexInfo::tangent

Tangent vector (for normal mapping).

◆ texCoords

kVec2 kemena::kVertexInfo::texCoords

UV texture coordinates.

◆ weights

float kemena::kVertexInfo::weights[MAX_BONE_INFLUENCE]

Blend weights for each bone.


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