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
QSSGRenderSubset Struct Reference

#include <qssgrendermesh_p.h>

+ Collaboration diagram for QSSGRenderSubset:

Classes

struct  Lod
 

Public Member Functions

 QSSGRenderSubset ()=default
 
 QSSGRenderSubset (const QSSGRenderSubset &inOther)
 
QSSGRenderSubsetoperator= (const QSSGRenderSubset &inOther)
 
quint32 lodCount (int lodLevel) const
 
quint32 lodOffset (int lodLevel) const
 

Public Attributes

quint32 count
 
quint32 offset
 
QSSGBounds3 bounds
 
QSSGMeshBVHNode::Handle bvhRoot
 
struct { 
 
   QSSGRhiBufferPtr   vertexBuffer 
 
   QSSGRhiBufferPtr   indexBuffer 
 
   QSSGRhiInputAssemblerState   ia 
 
   QRhiTexture *   targetsTexture = nullptr 
 
rhi 
 
QVector< Lodlods
 

Detailed Description

Definition at line 26 of file qssgrendermesh_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderSubset() [1/2]

QSSGRenderSubset::QSSGRenderSubset ( )
default

◆ QSSGRenderSubset() [2/2]

QSSGRenderSubset::QSSGRenderSubset ( const QSSGRenderSubset & inOther)
inline

Definition at line 47 of file qssgrendermesh_p.h.

Member Function Documentation

◆ lodCount()

quint32 QSSGRenderSubset::lodCount ( int lodLevel) const
inline

Definition at line 69 of file qssgrendermesh_p.h.

References count, and lods.

◆ lodOffset()

quint32 QSSGRenderSubset::lodOffset ( int lodLevel) const
inline

Definition at line 80 of file qssgrendermesh_p.h.

References lods, and offset.

◆ operator=()

QSSGRenderSubset & QSSGRenderSubset::operator= ( const QSSGRenderSubset & inOther)
inline

Definition at line 56 of file qssgrendermesh_p.h.

References bounds, bvhRoot, count, lods, and rhi.

Member Data Documentation

◆ bounds

QSSGBounds3 QSSGRenderSubset::bounds

Definition at line 30 of file qssgrendermesh_p.h.

Referenced by operator=().

◆ bvhRoot

QSSGMeshBVHNode::Handle QSSGRenderSubset::bvhRoot

Definition at line 31 of file qssgrendermesh_p.h.

Referenced by operator=().

◆ count

quint32 QSSGRenderSubset::count

Definition at line 28 of file qssgrendermesh_p.h.

Referenced by lodCount(), and operator=().

◆ ia

QSSGRhiInputAssemblerState QSSGRenderSubset::ia

Definition at line 35 of file qssgrendermesh_p.h.

◆ indexBuffer

QSSGRhiBufferPtr QSSGRenderSubset::indexBuffer

Definition at line 34 of file qssgrendermesh_p.h.

◆ lods

QVector<Lod> QSSGRenderSubset::lods

Definition at line 44 of file qssgrendermesh_p.h.

Referenced by lodCount(), lodOffset(), and operator=().

◆ offset

quint32 QSSGRenderSubset::offset

Definition at line 29 of file qssgrendermesh_p.h.

Referenced by lodOffset().

◆ [struct]

struct { ... } QSSGRenderSubset::rhi

Referenced by operator=().

◆ targetsTexture

QRhiTexture* QSSGRenderSubset::targetsTexture = nullptr

Definition at line 36 of file qssgrendermesh_p.h.

◆ vertexBuffer

QSSGRhiBufferPtr QSSGRenderSubset::vertexBuffer

Definition at line 33 of file qssgrendermesh_p.h.


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