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

#include <qssgrendercommands_p.h>

+ Inheritance diagram for QSSGAllocateBufferFlags:
+ Collaboration diagram for QSSGAllocateBufferFlags:

Public Member Functions

 QSSGAllocateBufferFlags (quint32 inValues)
 
 QSSGAllocateBufferFlags ()
 
void setSceneLifetime (bool inValue)
 
bool isSceneLifetime () const
 
- Public Member Functions inherited from QFlags< AllocateBufferFlagValues >
constexpr QFlags () noexcept
 
constexpr Q_IMPLICIT QFlags (AllocateBufferFlagValues flags) noexcept
 
constexpr Q_IMPLICIT QFlags (QFlag flag) noexcept
 
constexpr QFlags (std::initializer_list< AllocateBufferFlagValues > flags) noexcept
 
constexpr Int toInt () const noexcept
 
constexpr QFlagsoperator&= (int mask) noexcept
 
constexpr QFlagsoperator&= (uint mask) noexcept
 
constexpr QFlagsoperator&= (QFlags mask) noexcept
 
constexpr QFlagsoperator&= (AllocateBufferFlagValues mask) noexcept
 
constexpr QFlagsoperator|= (QFlags other) noexcept
 
constexpr QFlagsoperator|= (AllocateBufferFlagValues other) noexcept
 
constexpr QFlagsoperator^= (QFlags other) noexcept
 
constexpr QFlagsoperator^= (AllocateBufferFlagValues other) noexcept
 
constexpr Q_IMPLICIT operator Int () const noexcept
 
constexpr bool operator! () const noexcept
 
constexpr QFlags operator| (QFlags other) const noexcept
 
constexpr QFlags operator| (AllocateBufferFlagValues other) const noexcept
 
constexpr QFlags operator^ (QFlags other) const noexcept
 
constexpr QFlags operator^ (AllocateBufferFlagValues other) const noexcept
 
constexpr QFlags operator& (int mask) const noexcept
 
constexpr QFlags operator& (uint mask) const noexcept
 
constexpr QFlags operator& (QFlags other) const noexcept
 
constexpr QFlags operator& (AllocateBufferFlagValues other) const noexcept
 
constexpr QFlags operator~ () const noexcept
 
constexpr void operator+ (QFlags other) const noexcept=delete
 
constexpr void operator+ (AllocateBufferFlagValues other) const noexcept=delete
 
constexpr void operator+ (int other) const noexcept=delete
 
constexpr void operator- (QFlags other) const noexcept=delete
 
constexpr void operator- (AllocateBufferFlagValues other) const noexcept=delete
 
constexpr void operator- (int other) const noexcept=delete
 
constexpr bool testFlag (AllocateBufferFlagValues flag) const noexcept
 
constexpr bool testFlags (QFlags flags) const noexcept
 
constexpr bool testAnyFlag (AllocateBufferFlagValues flag) const noexcept
 
constexpr bool testAnyFlags (QFlags flags) const noexcept
 
constexpr QFlagssetFlag (AllocateBufferFlagValues flag, bool on=true) noexcept
 

Additional Inherited Members

- Public Types inherited from QFlags< AllocateBufferFlagValues >
typedef std::conditional< std::is_unsigned< typenamestd::underlying_type< AllocateBufferFlagValues >::type >::value, unsignedint, signedint >::type Int
 
typedef AllocateBufferFlagValues enum_type
 
- Static Public Member Functions inherited from QFlags< AllocateBufferFlagValues >
static constexpr QFlags fromInt (Int i) noexcept
 

Detailed Description

Definition at line 57 of file qssgrendercommands_p.h.

Constructor & Destructor Documentation

◆ QSSGAllocateBufferFlags() [1/2]

QSSGAllocateBufferFlags::QSSGAllocateBufferFlags ( quint32 inValues)
inline

Definition at line 59 of file qssgrendercommands_p.h.

◆ QSSGAllocateBufferFlags() [2/2]

QSSGAllocateBufferFlags::QSSGAllocateBufferFlags ( )
inline

Definition at line 60 of file qssgrendercommands_p.h.

Member Function Documentation

◆ isSceneLifetime()

bool QSSGAllocateBufferFlags::isSceneLifetime ( ) const
inline

Definition at line 64 of file qssgrendercommands_p.h.

References QFlags< AllocateBufferFlagValues >::operator&(), and SceneLifetime.

Referenced by QSSGAllocateBuffer::addDebug().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setSceneLifetime()

void QSSGAllocateBufferFlags::setSceneLifetime ( bool inValue)
inline

Definition at line 61 of file qssgrendercommands_p.h.

References SceneLifetime, and QFlags< AllocateBufferFlagValues >::setFlag().

+ Here is the call graph for this function:

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