Qt 6.x
The Qt SDK
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 252 of file qssgmesh_p.h.

Member Function Documentation

◆ hasLightmapSizeHint()

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

Definition at line 282 of file qssgmesh_p.h.

◆ hasLodDataHint()

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

Definition at line 286 of file qssgmesh_p.h.

◆ hasSeparateTargetBuffer()

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

Definition at line 290 of file qssgmesh_p.h.

◆ isValid()

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

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

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

◆ FILE_VERSION

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

Definition at line 270 of file qssgmesh_p.h.

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

◆ fileId

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

Definition at line 253 of file qssgmesh_p.h.

◆ fileVersion

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

Definition at line 254 of file qssgmesh_p.h.

◆ flags

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

Definition at line 255 of file qssgmesh_p.h.

◆ LEGACY_MESH_FILE_VERSION

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

Definition at line 264 of file qssgmesh_p.h.

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

◆ sizeInBytes

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

Definition at line 256 of file qssgmesh_p.h.

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


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