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

#include <qssgmesh_p.h>

+ Collaboration diagram for QSSGMesh::MeshInternal::MeshDataHeader:

Public Member Functions

bool isValid () const
 
bool hasLightmapSizeHint () const
 
bool hasLodDataHint () const
 
bool hasSeparateTargetBuffer () const
 

Static Public Member Functions

static MeshDataHeader withDefaults ()
 

Public Attributes

quint32 fileId = 0
 
quint16 fileVersion = 0
 
quint16 flags = 0
 
quint32 sizeInBytes = 0
 

Static Public Attributes

static const quint32 FILE_ID = 3365961549
 
static const quint32 LEGACY_MESH_FILE_VERSION = 3
 
static const quint32 FILE_VERSION = 7
 

Detailed Description

Definition at line 295 of file qssgmesh_p.h.

Member Function Documentation

◆ hasLightmapSizeHint()

bool QSSGMesh::MeshInternal::MeshDataHeader::hasLightmapSizeHint ( ) const
inline

Definition at line 325 of file qssgmesh_p.h.

◆ hasLodDataHint()

bool QSSGMesh::MeshInternal::MeshDataHeader::hasLodDataHint ( ) const
inline

Definition at line 329 of file qssgmesh_p.h.

◆ hasSeparateTargetBuffer()

bool QSSGMesh::MeshInternal::MeshDataHeader::hasSeparateTargetBuffer ( ) const
inline

Definition at line 333 of file qssgmesh_p.h.

◆ isValid()

bool QSSGMesh::MeshInternal::MeshDataHeader::isValid ( ) const
inline

Definition at line 319 of file qssgmesh_p.h.

References fileId().

+ Here is the call graph for this function:

◆ withDefaults()

static MeshDataHeader QSSGMesh::MeshInternal::MeshDataHeader::withDefaults ( )
inlinestatic

Definition at line 315 of file qssgmesh_p.h.

Referenced by QSSGMesh::Mesh::save().

+ Here is the caller graph for this function:

Member Data Documentation

◆ FILE_ID

const quint32 QSSGMesh::MeshInternal::MeshDataHeader::FILE_ID = 3365961549
static

Definition at line 301 of file qssgmesh_p.h.

Referenced by QSSGMesh::MeshInternal::readMeshData().

◆ FILE_VERSION

const quint32 QSSGMesh::MeshInternal::MeshDataHeader::FILE_VERSION = 7
static

Definition at line 313 of file qssgmesh_p.h.

Referenced by QSSGMesh::MeshInternal::readMeshData().

◆ fileId

quint32 QSSGMesh::MeshInternal::MeshDataHeader::fileId = 0

Definition at line 296 of file qssgmesh_p.h.

◆ fileVersion

quint16 QSSGMesh::MeshInternal::MeshDataHeader::fileVersion = 0

Definition at line 297 of file qssgmesh_p.h.

◆ flags

quint16 QSSGMesh::MeshInternal::MeshDataHeader::flags = 0

Definition at line 298 of file qssgmesh_p.h.

◆ LEGACY_MESH_FILE_VERSION

const quint32 QSSGMesh::MeshInternal::MeshDataHeader::LEGACY_MESH_FILE_VERSION = 3
static

Definition at line 307 of file qssgmesh_p.h.

Referenced by QSSGMesh::MeshInternal::readMeshData().

◆ sizeInBytes

quint32 QSSGMesh::MeshInternal::MeshDataHeader::sizeInBytes = 0

Definition at line 299 of file qssgmesh_p.h.


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