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

#include <qssgmesh_p.h>

+ Collaboration diagram for QSSGMesh::RuntimeMeshData:

Classes

struct  Attribute
 
struct  TargetAttribute
 

Public Member Functions

void clear ()
 
void clearVertexAndIndex ()
 
void clearTarget ()
 

Public Attributes

QByteArray m_vertexBuffer
 
QByteArray m_indexBuffer
 
QByteArray m_targetBuffer
 
QVector< Mesh::Subsetm_subsets
 
Attribute m_attributes [MAX_ATTRIBUTES]
 
int m_attributeCount = 0
 
TargetAttribute m_targetAttributes [MAX_TARGET_ATTRIBUTES]
 
int m_targetAttributeCount = 0
 
Mesh::DrawMode m_primitiveType = Mesh::DrawMode::Triangles
 
int m_stride = 0
 

Static Public Attributes

static const int MAX_ATTRIBUTES = 16
 
static const int MAX_TARGET_ATTRIBUTES = 32
 

Detailed Description

Definition at line 157 of file qssgmesh_p.h.

Member Function Documentation

◆ clear()

void QSSGMesh::RuntimeMeshData::clear ( )
inline

Definition at line 204 of file qssgmesh_p.h.

◆ clearTarget()

void QSSGMesh::RuntimeMeshData::clearTarget ( )
inline

Definition at line 217 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::clear(), and QSSGRenderGeometry::clearTarget().

+ Here is the caller graph for this function:

◆ clearVertexAndIndex()

void QSSGMesh::RuntimeMeshData::clearVertexAndIndex ( )
inline

Definition at line 209 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::clear(), and QSSGRenderGeometry::clearVertexAndIndex().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_attributeCount

int QSSGMesh::RuntimeMeshData::m_attributeCount = 0

◆ m_attributes

Attribute QSSGMesh::RuntimeMeshData::m_attributes[MAX_ATTRIBUTES]

◆ m_indexBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_indexBuffer

◆ m_primitiveType

Mesh::DrawMode QSSGMesh::RuntimeMeshData::m_primitiveType = Mesh::DrawMode::Triangles

◆ m_stride

int QSSGMesh::RuntimeMeshData::m_stride = 0

Definition at line 233 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::setStride(), and QSSGRenderGeometry::stride().

◆ m_subsets

QVector<Mesh::Subset> QSSGMesh::RuntimeMeshData::m_subsets

Definition at line 226 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addSubset().

◆ m_targetAttributeCount

int QSSGMesh::RuntimeMeshData::m_targetAttributeCount = 0

Definition at line 231 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().

◆ m_targetAttributes

TargetAttribute QSSGMesh::RuntimeMeshData::m_targetAttributes[MAX_TARGET_ATTRIBUTES]

Definition at line 230 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().

◆ m_targetBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_targetBuffer

Definition at line 225 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::setTargetData().

◆ m_vertexBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_vertexBuffer

◆ MAX_ATTRIBUTES

const int QSSGMesh::RuntimeMeshData::MAX_ATTRIBUTES = 16
static

Definition at line 201 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addAttribute().

◆ MAX_TARGET_ATTRIBUTES

const int QSSGMesh::RuntimeMeshData::MAX_TARGET_ATTRIBUTES = 32
static

Definition at line 202 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().


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