Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QSSGRenderableObjectFlags Struct Reference

#include <qssgrenderableobjects_p.h>

+ Inheritance diagram for QSSGRenderableObjectFlags:
+ Collaboration diagram for QSSGRenderableObjectFlags:

Public Member Functions

void setHasTransparency (bool inHasTransparency)
 
bool hasTransparency () const
 
void setCompletelyTransparent (bool inTransparent)
 
bool isCompletelyTransparent () const
 
void setDirty (bool inDirty)
 
bool isDirty () const
 
void setCastsShadows (bool inCastsShadows)
 
bool castsShadows () const
 
void setReceivesShadows (bool inReceivesShadows)
 
bool receivesShadows () const
 
void setReceivesReflections (bool inReceivesReflections)
 
bool receivesReflections () const
 
void setCastsReflections (bool inCastsReflections)
 
bool castsReflections () const
 
void setUsedInBakedLighting (bool inUsedInBakedLighting)
 
bool usedInBakedLighting () const
 
void setRendersWithLightmap (bool inRendersWithLightmap)
 
bool rendersWithLightmap () const
 
void setHasAttributePosition (bool b)
 
bool hasAttributePosition () const
 
void setHasAttributeNormal (bool b)
 
bool hasAttributeNormal () const
 
void setHasAttributeTexCoord0 (bool b)
 
bool hasAttributeTexCoord0 () const
 
void setHasAttributeTexCoord1 (bool b)
 
bool hasAttributeTexCoord1 () const
 
void setHasAttributeTexCoordLightmap (bool b)
 
bool hasAttributeTexCoordLightmap () const
 
void setHasAttributeTangent (bool b)
 
bool hasAttributeTangent () const
 
void setHasAttributeBinormal (bool b)
 
bool hasAttributeBinormal () const
 
void setHasAttributeColor (bool b)
 
bool hasAttributeColor () const
 
void setHasAttributeJointAndWeight (bool b)
 
bool hasAttributeJointAndWeight () const
 
void setHasAttributeMorphTarget (bool b)
 
bool hasAttributeMorphTarget () const
 
void setPointsTopology (bool v)
 
bool isPointsTopology () const
 
void setRequiresScreenTexture (bool v)
 
bool requiresScreenTexture () const
 
- Public Member Functions inherited from QFlags< QSSGRenderableObjectFlag >
constexpr QFlags () noexcept
 
constexpr Q_IMPLICIT QFlags (QSSGRenderableObjectFlag flags) noexcept
 
constexpr Q_IMPLICIT QFlags (QFlag flag) noexcept
 
constexpr QFlags (std::initializer_list< QSSGRenderableObjectFlag > flags) noexcept
 
constexpr Int toInt () const noexcept
 
constexpr QFlagsoperator&= (int mask) noexcept
 
constexpr QFlagsoperator&= (uint mask) noexcept
 
constexpr QFlagsoperator&= (QFlags mask) noexcept
 
constexpr QFlagsoperator&= (QSSGRenderableObjectFlag mask) noexcept
 
constexpr QFlagsoperator|= (QFlags other) noexcept
 
constexpr QFlagsoperator|= (QSSGRenderableObjectFlag other) noexcept
 
constexpr QFlagsoperator^= (QFlags other) noexcept
 
constexpr QFlagsoperator^= (QSSGRenderableObjectFlag other) noexcept
 
constexpr Q_IMPLICIT operator Int () const noexcept
 
constexpr bool operator! () const noexcept
 
constexpr QFlags operator| (QFlags other) const noexcept
 
constexpr QFlags operator| (QSSGRenderableObjectFlag other) const noexcept
 
constexpr QFlags operator^ (QFlags other) const noexcept
 
constexpr QFlags operator^ (QSSGRenderableObjectFlag 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& (QSSGRenderableObjectFlag other) const noexcept
 
constexpr QFlags operator~ () const noexcept
 
constexpr void operator+ (QFlags other) const noexcept=delete
 
constexpr void operator+ (QSSGRenderableObjectFlag other) const noexcept=delete
 
constexpr void operator+ (int other) const noexcept=delete
 
constexpr void operator- (QFlags other) const noexcept=delete
 
constexpr void operator- (QSSGRenderableObjectFlag other) const noexcept=delete
 
constexpr void operator- (int other) const noexcept=delete
 
constexpr bool testFlag (QSSGRenderableObjectFlag flag) const noexcept
 
constexpr bool testFlags (QFlags flags) const noexcept
 
constexpr bool testAnyFlag (QSSGRenderableObjectFlag flag) const noexcept
 
constexpr bool testAnyFlags (QFlags flags) const noexcept
 
constexpr QFlagssetFlag (QSSGRenderableObjectFlag flag, bool on=true) noexcept
 

Additional Inherited Members

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

Detailed Description

Definition at line 62 of file qssgrenderableobjects_p.h.

Member Function Documentation

◆ castsReflections()

bool QSSGRenderableObjectFlags::castsReflections ( ) const
inline

Definition at line 90 of file qssgrenderableobjects_p.h.

References CastsReflections, and QFlags< QSSGRenderableObjectFlag >::operator&().

+ Here is the call graph for this function:

◆ castsShadows()

bool QSSGRenderableObjectFlags::castsShadows ( ) const
inline

Definition at line 81 of file qssgrenderableobjects_p.h.

References CastsShadows, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by rhiPrepareResourcesForShadowMap(), and RenderHelpers::rhiRenderShadowMap().

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

◆ hasAttributeBinormal()

bool QSSGRenderableObjectFlags::hasAttributeBinormal ( ) const
inline

Definition at line 117 of file qssgrenderableobjects_p.h.

References HasAttributeBinormal, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeColor()

bool QSSGRenderableObjectFlags::hasAttributeColor ( ) const
inline

Definition at line 120 of file qssgrenderableobjects_p.h.

References HasAttributeColor, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeJointAndWeight()

bool QSSGRenderableObjectFlags::hasAttributeJointAndWeight ( ) const
inline

Definition at line 124 of file qssgrenderableobjects_p.h.

References HasAttributeJointAndWeight, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeMorphTarget()

bool QSSGRenderableObjectFlags::hasAttributeMorphTarget ( ) const
inline

Definition at line 128 of file qssgrenderableobjects_p.h.

References HasAttributeMorphTarget, and QFlags< QSSGRenderableObjectFlag >::operator&().

+ Here is the call graph for this function:

◆ hasAttributeNormal()

bool QSSGRenderableObjectFlags::hasAttributeNormal ( ) const
inline

Definition at line 102 of file qssgrenderableobjects_p.h.

References HasAttributeNormal, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributePosition()

bool QSSGRenderableObjectFlags::hasAttributePosition ( ) const
inline

Definition at line 99 of file qssgrenderableobjects_p.h.

References HasAttributePosition, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeTangent()

bool QSSGRenderableObjectFlags::hasAttributeTangent ( ) const
inline

Definition at line 114 of file qssgrenderableobjects_p.h.

References HasAttributeTangent, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeTexCoord0()

bool QSSGRenderableObjectFlags::hasAttributeTexCoord0 ( ) const
inline

Definition at line 105 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoord0, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeTexCoord1()

bool QSSGRenderableObjectFlags::hasAttributeTexCoord1 ( ) const
inline

Definition at line 108 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoord1, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasAttributeTexCoordLightmap()

bool QSSGRenderableObjectFlags::hasAttributeTexCoordLightmap ( ) const
inline

Definition at line 111 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoordLightmap, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::setVertexInputPresence().

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

◆ hasTransparency()

bool QSSGRenderableObjectFlags::hasTransparency ( ) const
inline

Definition at line 68 of file qssgrenderableobjects_p.h.

References HasTransparency, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by MainPass::renderPrep(), and QSSGParticleRenderer::rhiPrepareRenderable().

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

◆ isCompletelyTransparent()

bool QSSGRenderableObjectFlags::isCompletelyTransparent ( ) const
inline

Definition at line 73 of file qssgrenderableobjects_p.h.

References CompletelyTransparent, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by MainPass::renderPass(), and MainPass::renderPrep().

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

◆ isDirty()

bool QSSGRenderableObjectFlags::isDirty ( ) const
inline

Definition at line 78 of file qssgrenderableobjects_p.h.

References Dirty, and QFlags< QSSGRenderableObjectFlag >::operator&().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ isPointsTopology()

bool QSSGRenderableObjectFlags::isPointsTopology ( ) const
inline

Definition at line 134 of file qssgrenderableobjects_p.h.

References IsPointsTopology, and QFlags< QSSGRenderableObjectFlag >::operator&().

+ Here is the call graph for this function:

◆ receivesReflections()

bool QSSGRenderableObjectFlags::receivesReflections ( ) const
inline

Definition at line 87 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::operator&(), and ReceivesReflections.

Referenced by QSSGCustomMaterialSystem::updateUniformsForCustomMaterial(), and updateUniformsForDefaultMaterial().

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

◆ receivesShadows()

bool QSSGRenderableObjectFlags::receivesShadows ( ) const
inline

Definition at line 84 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::operator&(), and ReceivesShadows.

Referenced by updateUniformsForDefaultMaterial().

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

◆ rendersWithLightmap()

bool QSSGRenderableObjectFlags::rendersWithLightmap ( ) const
inline

Definition at line 96 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::operator&(), and RendersWithLightmap.

Referenced by RenderHelpers::rhiPrepareRenderable().

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

◆ requiresScreenTexture()

bool QSSGRenderableObjectFlags::requiresScreenTexture ( ) const
inline

Definition at line 142 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::operator&(), and RequiresScreenTexture.

+ Here is the call graph for this function:

◆ setCastsReflections()

void QSSGRenderableObjectFlags::setCastsReflections ( bool  inCastsReflections)
inline

Definition at line 89 of file qssgrenderableobjects_p.h.

References CastsReflections, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setCastsShadows()

void QSSGRenderableObjectFlags::setCastsShadows ( bool  inCastsShadows)
inline

Definition at line 80 of file qssgrenderableobjects_p.h.

References CastsShadows, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setCompletelyTransparent()

void QSSGRenderableObjectFlags::setCompletelyTransparent ( bool  inTransparent)
inline

Definition at line 69 of file qssgrenderableobjects_p.h.

References CompletelyTransparent, and QFlags< QSSGRenderableObjectFlag >::setFlag().

+ Here is the call graph for this function:

◆ setDirty()

void QSSGRenderableObjectFlags::setDirty ( bool  inDirty)
inline

Definition at line 77 of file qssgrenderableobjects_p.h.

References Dirty, and QFlags< QSSGRenderableObjectFlag >::setFlag().

+ Here is the call graph for this function:

◆ setHasAttributeBinormal()

void QSSGRenderableObjectFlags::setHasAttributeBinormal ( bool  b)
inline

Definition at line 116 of file qssgrenderableobjects_p.h.

References HasAttributeBinormal, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasAttributeColor()

void QSSGRenderableObjectFlags::setHasAttributeColor ( bool  b)
inline

Definition at line 119 of file qssgrenderableobjects_p.h.

References HasAttributeColor, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setHasAttributeJointAndWeight()

void QSSGRenderableObjectFlags::setHasAttributeJointAndWeight ( bool  b)
inline

Definition at line 122 of file qssgrenderableobjects_p.h.

References HasAttributeJointAndWeight, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasAttributeMorphTarget()

void QSSGRenderableObjectFlags::setHasAttributeMorphTarget ( bool  b)
inline

Definition at line 126 of file qssgrenderableobjects_p.h.

References HasAttributeMorphTarget, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasAttributeNormal()

void QSSGRenderableObjectFlags::setHasAttributeNormal ( bool  b)
inline

Definition at line 101 of file qssgrenderableobjects_p.h.

References HasAttributeNormal, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setHasAttributePosition()

void QSSGRenderableObjectFlags::setHasAttributePosition ( bool  b)
inline

Definition at line 98 of file qssgrenderableobjects_p.h.

References HasAttributePosition, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setHasAttributeTangent()

void QSSGRenderableObjectFlags::setHasAttributeTangent ( bool  b)
inline

Definition at line 113 of file qssgrenderableobjects_p.h.

References HasAttributeTangent, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasAttributeTexCoord0()

void QSSGRenderableObjectFlags::setHasAttributeTexCoord0 ( bool  b)
inline

Definition at line 104 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoord0, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setHasAttributeTexCoord1()

void QSSGRenderableObjectFlags::setHasAttributeTexCoord1 ( bool  b)
inline

Definition at line 107 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoord1, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasAttributeTexCoordLightmap()

void QSSGRenderableObjectFlags::setHasAttributeTexCoordLightmap ( bool  b)
inline

Definition at line 110 of file qssgrenderableobjects_p.h.

References HasAttributeTexCoordLightmap, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setHasTransparency()

void QSSGRenderableObjectFlags::setHasTransparency ( bool  inHasTransparency)
inline

Definition at line 64 of file qssgrenderableobjects_p.h.

References HasTransparency, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setPointsTopology()

void QSSGRenderableObjectFlags::setPointsTopology ( bool  v)
inline

Definition at line 130 of file qssgrenderableobjects_p.h.

References IsPointsTopology, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setReceivesReflections()

void QSSGRenderableObjectFlags::setReceivesReflections ( bool  inReceivesReflections)
inline

Definition at line 86 of file qssgrenderableobjects_p.h.

References ReceivesReflections, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setReceivesShadows()

void QSSGRenderableObjectFlags::setReceivesShadows ( bool  inReceivesShadows)
inline

Definition at line 83 of file qssgrenderableobjects_p.h.

References ReceivesShadows, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender(), and QSSGLayerRenderData::prepareParticlesForRender().

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

◆ setRendersWithLightmap()

void QSSGRenderableObjectFlags::setRendersWithLightmap ( bool  inRendersWithLightmap)
inline

Definition at line 95 of file qssgrenderableobjects_p.h.

References RendersWithLightmap, and QFlags< QSSGRenderableObjectFlag >::setFlag().

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ setRequiresScreenTexture()

void QSSGRenderableObjectFlags::setRequiresScreenTexture ( bool  v)
inline

Definition at line 138 of file qssgrenderableobjects_p.h.

References RequiresScreenTexture, and QFlags< QSSGRenderableObjectFlag >::setFlag().

+ Here is the call graph for this function:

◆ setUsedInBakedLighting()

void QSSGRenderableObjectFlags::setUsedInBakedLighting ( bool  inUsedInBakedLighting)
inline

Definition at line 92 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::setFlag(), and UsedInBakedLighting.

Referenced by QSSGLayerRenderData::prepareModelsForRender().

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

◆ usedInBakedLighting()

bool QSSGRenderableObjectFlags::usedInBakedLighting ( ) const
inline

Definition at line 93 of file qssgrenderableobjects_p.h.

References QFlags< QSSGRenderableObjectFlag >::operator&(), and UsedInBakedLighting.

+ Here is the call graph for this function:

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