Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 202 of file qssgmesh_p.h.

Member Enumeration Documentation

◆ Semantic

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

Definition at line 203 of file qssgmesh_p.h.

Member Function Documentation

◆ componentCount()

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

Definition at line 221 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 218 of file qssgmesh_p.h.

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

◆ offset

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

Definition at line 219 of file qssgmesh_p.h.

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

◆ semantic

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

Definition at line 217 of file qssgmesh_p.h.

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


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