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::MeshInternal Struct Reference

#include <qssgmesh_p.h>

Collaboration diagram for QSSGMesh::MeshInternal:

Classes

struct  MeshDataHeader
struct  MeshOffsetTracker
struct  MultiMeshInfo
struct  Subset

Static Public Member Functions

static MultiMeshInfo readFileHeader (QIODevice *device)
static void writeFileHeader (QIODevice *device, const MultiMeshInfo &meshFileInfo)
static quint64 readMeshData (QIODevice *device, quint64 offset, Mesh *mesh, MeshDataHeader *header)
static void writeMeshHeader (QIODevice *device, const MeshDataHeader &header)
static quint64 writeMeshData (QIODevice *device, const Mesh &mesh)
static quint32 byteSizeForComponentType (Mesh::ComponentType componentType)
static const char * getPositionAttrName ()
static const char * getNormalAttrName ()
static const char * getUV0AttrName ()
static const char * getUV1AttrName ()
static const char * getLightmapUVAttrName ()
static const char * getTexTanAttrName ()
static const char * getTexBinormalAttrName ()
static const char * getColorAttrName ()
static const char * getJointAttrName ()
static const char * getWeightAttrName ()
static QSSGBounds3 calculateSubsetBounds (const Mesh::VertexBufferEntry &entry, const QByteArray &vertexBufferData, quint32 vertexBufferStride, const QByteArray &indexBufferData, Mesh::ComponentType indexComponentType, quint32 subsetCount, quint32 subsetOffset)

Detailed Description

Definition at line 279 of file qssgmesh_p.h.

Member Function Documentation

◆ byteSizeForComponentType()

quint32 QSSGMesh::MeshInternal::byteSizeForComponentType ( Mesh::ComponentType componentType)
inlinestatic

Definition at line 390 of file qssgmesh_p.h.

◆ calculateSubsetBounds()

QSSGBounds3 QSSGMesh::MeshInternal::calculateSubsetBounds ( const Mesh::VertexBufferEntry & entry,
const QByteArray & vertexBufferData,
quint32 vertexBufferStride,
const QByteArray & indexBufferData,
Mesh::ComponentType indexComponentType,
quint32 subsetCount,
quint32 subsetOffset )
static

Definition at line 957 of file qssgmesh.cpp.

◆ getColorAttrName()

const char * QSSGMesh::MeshInternal::getColorAttrName ( )
inlinestatic

Definition at line 399 of file qssgmesh_p.h.

◆ getJointAttrName()

const char * QSSGMesh::MeshInternal::getJointAttrName ( )
inlinestatic

Definition at line 400 of file qssgmesh_p.h.

◆ getLightmapUVAttrName()

const char * QSSGMesh::MeshInternal::getLightmapUVAttrName ( )
inlinestatic

Definition at line 396 of file qssgmesh_p.h.

◆ getNormalAttrName()

const char * QSSGMesh::MeshInternal::getNormalAttrName ( )
inlinestatic

Definition at line 393 of file qssgmesh_p.h.

◆ getPositionAttrName()

const char * QSSGMesh::MeshInternal::getPositionAttrName ( )
inlinestatic

Definition at line 392 of file qssgmesh_p.h.

◆ getTexBinormalAttrName()

const char * QSSGMesh::MeshInternal::getTexBinormalAttrName ( )
inlinestatic

Definition at line 398 of file qssgmesh_p.h.

◆ getTexTanAttrName()

const char * QSSGMesh::MeshInternal::getTexTanAttrName ( )
inlinestatic

Definition at line 397 of file qssgmesh_p.h.

◆ getUV0AttrName()

const char * QSSGMesh::MeshInternal::getUV0AttrName ( )
inlinestatic

Definition at line 394 of file qssgmesh_p.h.

◆ getUV1AttrName()

const char * QSSGMesh::MeshInternal::getUV1AttrName ( )
inlinestatic

Definition at line 395 of file qssgmesh_p.h.

◆ getWeightAttrName()

const char * QSSGMesh::MeshInternal::getWeightAttrName ( )
inlinestatic

Definition at line 401 of file qssgmesh_p.h.

◆ readFileHeader()

MeshInternal::MultiMeshInfo QSSGMesh::MeshInternal::readFileHeader ( QIODevice * device)
static

Definition at line 43 of file qssgmesh.cpp.

◆ readMeshData()

quint64 QSSGMesh::MeshInternal::readMeshData ( QIODevice * device,
quint64 offset,
Mesh * mesh,
MeshDataHeader * header )
static

Definition at line 95 of file qssgmesh.cpp.

◆ writeFileHeader()

void QSSGMesh::MeshInternal::writeFileHeader ( QIODevice * device,
const MultiMeshInfo & meshFileInfo )
static

Definition at line 77 of file qssgmesh.cpp.

◆ writeMeshData()

quint64 QSSGMesh::MeshInternal::writeMeshData ( QIODevice * device,
const Mesh & mesh )
static

Definition at line 407 of file qssgmesh.cpp.

◆ writeMeshHeader()

void QSSGMesh::MeshInternal::writeMeshHeader ( QIODevice * device,
const MeshDataHeader & header )
static

Definition at line 389 of file qssgmesh.cpp.


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