Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGMesh::RuntimeMeshData::Attribute Struct Reference

#include <qssgmesh_p.h>

+ Collaboration diagram for QSSGMesh::RuntimeMeshData::Attribute:

Public Types

enum  Semantic {
  IndexSemantic = 0 , PositionSemantic , NormalSemantic , TexCoordSemantic ,
  TangentSemantic , BinormalSemantic , JointSemantic , WeightSemantic ,
  ColorSemantic , TexCoord1Semantic , TexCoord0Semantic = TexCoordSemantic
}
 

Public Member Functions

int componentCount () const
 

Public Attributes

Semantic semantic = PositionSemantic
 
Mesh::ComponentType componentType = Mesh::ComponentType::Float32
 
int offset = 0
 

Detailed Description

Definition at line 159 of file qssgmesh_p.h.

Member Enumeration Documentation

◆ Semantic

Enumerator
IndexSemantic 
PositionSemantic 
NormalSemantic 
TexCoordSemantic 
TangentSemantic 
BinormalSemantic 
JointSemantic 
WeightSemantic 
ColorSemantic 
TexCoord1Semantic 
TexCoord0Semantic 

Definition at line 160 of file qssgmesh_p.h.

Member Function Documentation

◆ componentCount()

int QSSGMesh::RuntimeMeshData::Attribute::componentCount ( ) const
inline

Definition at line 178 of file qssgmesh_p.h.

Referenced by QSSGMesh::Mesh::fromRuntimeData().

+ Here is the caller graph for this function:

Member Data Documentation

◆ componentType

Mesh::ComponentType QSSGMesh::RuntimeMeshData::Attribute::componentType = Mesh::ComponentType::Float32

Definition at line 175 of file qssgmesh_p.h.

Referenced by QSSGMesh::Mesh::fromRuntimeData().

◆ offset

int QSSGMesh::RuntimeMeshData::Attribute::offset = 0

Definition at line 176 of file qssgmesh_p.h.

Referenced by QSSGMesh::Mesh::fromRuntimeData().

◆ semantic

Semantic QSSGMesh::RuntimeMeshData::Attribute::semantic = PositionSemantic

Definition at line 174 of file qssgmesh_p.h.

Referenced by QSSGMesh::Mesh::fromRuntimeData().


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