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 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.

◆ clearVertexAndIndex()

void QSSGMesh::RuntimeMeshData::clearVertexAndIndex ( )
inline

Definition at line 252 of file qssgmesh_p.h.

Member Data Documentation

◆ m_attributeCount

int QSSGMesh::RuntimeMeshData::m_attributeCount = 0

Definition at line 272 of file qssgmesh_p.h.

◆ m_attributes

Attribute QSSGMesh::RuntimeMeshData::m_attributes[MAX_ATTRIBUTES]

Definition at line 271 of file qssgmesh_p.h.

◆ m_indexBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_indexBuffer

Definition at line 267 of file qssgmesh_p.h.

◆ m_primitiveType

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

Definition at line 275 of file qssgmesh_p.h.

◆ m_stride

int QSSGMesh::RuntimeMeshData::m_stride = 0

Definition at line 276 of file qssgmesh_p.h.

◆ m_subsets

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

Definition at line 269 of file qssgmesh_p.h.

◆ m_targetAttributeCount

int QSSGMesh::RuntimeMeshData::m_targetAttributeCount = 0

Definition at line 274 of file qssgmesh_p.h.

◆ m_targetAttributes

TargetAttribute QSSGMesh::RuntimeMeshData::m_targetAttributes[MAX_TARGET_ATTRIBUTES]

Definition at line 273 of file qssgmesh_p.h.

◆ m_targetBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_targetBuffer

Definition at line 268 of file qssgmesh_p.h.

◆ m_vertexBuffer

QByteArray QSSGMesh::RuntimeMeshData::m_vertexBuffer

Definition at line 266 of file qssgmesh_p.h.

◆ MAX_ATTRIBUTES

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

Definition at line 244 of file qssgmesh_p.h.

◆ MAX_TARGET_ATTRIBUTES

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

Definition at line 245 of file qssgmesh_p.h.


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