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
QSSGRenderStorageHandle< HandleType > Class Template Reference

#include <qssgutils_p.h>

Collaboration diagram for QSSGRenderStorageHandle< HandleType >:

Public Types

using ContextType = quint16
using VersionType = QSSGRenderNodeVersionType
using IndexType = quint32

Public Member Functions

 QSSGRenderStorageHandle ()=default
 QSSGRenderStorageHandle (ContextType ctx, VersionType version, IndexType index)
bool hasId () const
ContextType context () const
VersionType version () const
IndexType index () const
quint64 id () const

Static Public Attributes

static constexpr size_t ContextBits = std::numeric_limits<ContextType>::digits
static constexpr size_t VersionBits = std::numeric_limits<VersionType>::digits
static constexpr size_t IndexBits = std::numeric_limits<IndexType>::digits

Detailed Description

template<HandleType>
class QSSGRenderStorageHandle< HandleType >

Definition at line 52 of file qssgutils_p.h.

Member Typedef Documentation

◆ ContextType

template<HandleType>
using QSSGRenderStorageHandle< HandleType >::ContextType = quint16

Definition at line 55 of file qssgutils_p.h.

◆ IndexType

template<HandleType>
using QSSGRenderStorageHandle< HandleType >::IndexType = quint32

Definition at line 57 of file qssgutils_p.h.

◆ VersionType

Definition at line 56 of file qssgutils_p.h.

Constructor & Destructor Documentation

◆ QSSGRenderStorageHandle() [1/2]

template<HandleType>
QSSGRenderStorageHandle< HandleType >::QSSGRenderStorageHandle ( )
default

◆ QSSGRenderStorageHandle() [2/2]

template<HandleType>
QSSGRenderStorageHandle< HandleType >::QSSGRenderStorageHandle ( ContextType ctx,
VersionType version,
IndexType index )
inlineexplicit

Definition at line 63 of file qssgutils_p.h.

Referenced by QSSGRenderStorageHandle< HandleType::Layer >::QSSGRenderStorageHandle().

Here is the caller graph for this function:

Member Function Documentation

◆ context()

template<HandleType>
ContextType QSSGRenderStorageHandle< HandleType >::context ( ) const
inline

Definition at line 71 of file qssgutils_p.h.

◆ hasId()

template<HandleType>
bool QSSGRenderStorageHandle< HandleType >::hasId ( ) const
inline

Definition at line 69 of file qssgutils_p.h.

◆ id()

Definition at line 75 of file qssgutils_p.h.

◆ index()

Definition at line 73 of file qssgutils_p.h.

◆ version()

template<HandleType>
VersionType QSSGRenderStorageHandle< HandleType >::version ( ) const
inline

Definition at line 72 of file qssgutils_p.h.

Member Data Documentation

◆ ContextBits

template<HandleType>
size_t QSSGRenderStorageHandle< HandleType >::ContextBits = std::numeric_limits<ContextType>::digits
staticconstexpr

Definition at line 58 of file qssgutils_p.h.

◆ IndexBits

template<HandleType>
size_t QSSGRenderStorageHandle< HandleType >::IndexBits = std::numeric_limits<IndexType>::digits
staticconstexpr

Definition at line 60 of file qssgutils_p.h.

◆ m_ctx

Definition at line 80 of file qssgutils_p.h.

◆ m_id

Definition at line 84 of file qssgutils_p.h.

◆ m_index

Definition at line 82 of file qssgutils_p.h.

◆ m_version

Definition at line 81 of file qssgutils_p.h.

◆ VersionBits

template<HandleType>
size_t QSSGRenderStorageHandle< HandleType >::VersionBits = std::numeric_limits<VersionType>::digits
staticconstexpr

Definition at line 59 of file qssgutils_p.h.


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