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 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 200 of file qssgmesh_p.h.

Member Function Documentation

◆ clear()

void QSSGMesh::RuntimeMeshData::clear ( )
inline

Definition at line 247 of file qssgmesh_p.h.

◆ clearTarget()

void QSSGMesh::RuntimeMeshData::clearTarget ( )
inline

Definition at line 260 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 252 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 276 of file qssgmesh_p.h.

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

◆ m_subsets

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

Definition at line 269 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addSubset().

◆ m_targetAttributeCount

int QSSGMesh::RuntimeMeshData::m_targetAttributeCount = 0

Definition at line 274 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().

◆ m_targetAttributes

TargetAttribute QSSGMesh::RuntimeMeshData::m_targetAttributes[MAX_TARGET_ATTRIBUTES]

Definition at line 273 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().

◆ m_targetBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_targetBuffer

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

Referenced by QSSGRenderGeometry::addAttribute().

◆ MAX_TARGET_ATTRIBUTES

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

Definition at line 245 of file qssgmesh_p.h.

Referenced by QSSGRenderGeometry::addTargetAttribute().


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