Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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.

Member Data Documentation

◆ componentType

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

Definition at line 218 of file qssgmesh_p.h.

◆ offset

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

◆ semantic

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

Definition at line 217 of file qssgmesh_p.h.


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