![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qssgrendercomputepass_p.h>
Public Types | |
| enum class | ExecutionMode : quint8 { EveryFrame , OnRequest } |
| Public Types inherited from QSSGRenderUserPassBase | |
| enum class | DirtyFlag : quint8 { ShaderDirty = 0x1 } |
| enum class | State : quint8 { None , Ready , Error } |
| enum class | ExecutionStage : quint8 { StartOfFrame , PreColor } |
| using | FlagT = std::underlying_type_t<DirtyFlag> |
| Public Types inherited from QSSGRenderGraphObject | |
| enum | BaseType : quint32 { Node = 0x1000 , Light = 0x2000 , Camera = 0x4000 , Renderable = 0x8000 , Resource = 0x10000 , Material = 0x20000 , Texture = 0x40000 , Extension = 0x80000 , User = 0x80000000 } |
| enum class | Type : quint32 { Unknown = 0 , Node = BaseType::Node , Root , Layer , Joint , Skeleton , ImportScene , ReflectionProbe , SceneRoot , DirectionalLight = BaseType::Light | BaseType::Node , PointLight , SpotLight , OrthographicCamera = BaseType::Camera | BaseType::Node , PerspectiveCamera , CustomFrustumCamera , CustomCamera , Model = BaseType::Renderable | BaseType::Node , Item2D , Particles , SceneEnvironment = BaseType::Resource , Effect , Geometry , TextureData , MorphTarget , ModelInstance , ModelBlendParticle , ResourceLoader , RenderPass , SkyMaterial , Skin , ShaderStorageBuffer , ShaderStorageImage , ComputePass , RenderPassTexture , DefaultMaterial = BaseType::Material | BaseType::Resource , PrincipledMaterial , CustomMaterial , SpecularGlossyMaterial , LegacySkin , Image2D = BaseType::Texture | BaseType::Resource , ImageCube , RenderExtension = BaseType::Extension , TextureProvider } |
| enum class | Flags : quint32 { HasGraphicsResources = 0x1 , InternallyReserved = 0xffff0000 } |
| using | TypeT = std::underlying_type_t<Type> |
| using | FlagT = std::underlying_type_t<Flags> |
Public Member Functions | |
| QSSGRenderComputePass () | |
| ~QSSGRenderComputePass () | |
| void | finalizeShaders (const QSSGRenderContextInterface &ctxctx) override |
| bool | willDispatch () const |
| void | clearWarnings () |
| Public Member Functions inherited from QSSGRenderUserPassBase | |
| bool | isDirty (DirtyFlag flag=DirtyMask) const |
| void | markDirty (DirtyFlag flag) |
| void | clearDirty (DirtyFlag flag) |
| bool | isReady () const |
| bool | isSubPass () const |
| ~QSSGRenderUserPassBase () override | |
| void | resetCommands () |
| Public Member Functions inherited from QSSGRenderGraphObject | |
| bool | hasGraphicsResources () const noexcept |
| virtual Q_QUICK3D_PROFILE_ID_ | ~QSSGRenderGraphObject () |
Public Attributes | |
| QSSGUserComputeShader | computeShader |
| ExecutionMode | executionMode = ExecutionMode::EveryFrame |
| quint64 | executionSerial = 0 |
| bool | dispatchGroupsWarningShown = false |
| bool | dispatchMultiWarningShown = false |
| bool | dispatchMissingWarningShown = false |
| bool | multiviewWarningShown = false |
| bool | pipelineWarningShown = false |
| bool | bindingWarningShown = false |
| bool | startOfFrameChecked = false |
| Public Attributes inherited from QSSGRenderUserPassBase | |
| QVector< QSSGCommand * > | commands |
| FlagT | m_dirtyFlags = 0 |
| State | m_state = State::None |
| quint32 | m_nestingDepth = 0 |
| quint32 | m_declarationOrder = 0 |
| ExecutionStage | m_executionStage = ExecutionStage::PreColor |
| Public Attributes inherited from QSSGRenderGraphObject | |
| const Type | type |
| FlagT | flags { 0 } |
Additional Inherited Members | |
| Static Public Member Functions inherited from QSSGRenderGraphObject | |
| static constexpr bool | isNodeType (Type typetype) noexcept |
| static constexpr bool | isLight (Type typetype) noexcept |
| static constexpr bool | isCamera (Type typetype) noexcept |
| static constexpr bool | isMaterial (Type typetype) noexcept |
| static constexpr bool | isTexture (Type typetype) noexcept |
| static constexpr bool | isRenderable (Type typetype) noexcept |
| static constexpr bool | isResource (Type typetype) noexcept |
| static constexpr bool | isExtension (Type typetype) noexcept |
| static constexpr bool | isUserType (Type typetype) noexcept |
| Static Public Attributes inherited from QSSGRenderUserPassBase | |
| static constexpr DirtyFlag | DirtyMask { std::numeric_limits<FlagT>::max() } |
| Protected Member Functions inherited from QSSGRenderUserPassBase | |
| QSSGRenderUserPassBase (Type typetype) | |
| Protected Member Functions inherited from QSSGRenderGraphObject | |
| QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType) | |
| QSSGRenderGraphObject (QSSGRenderGraphObject::Type inType, FlagT inFlags) | |
Definition at line 28 of file qssgrendercomputepass_p.h.
|
strong |
| Enumerator | |
|---|---|
| EveryFrame | |
| OnRequest | |
Definition at line 31 of file qssgrendercomputepass_p.h.
| QT_BEGIN_NAMESPACE QSSGRenderComputePass::QSSGRenderComputePass | ( | ) |
Definition at line 16 of file qssgrendercomputepass.cpp.
| QSSGRenderComputePass::~QSSGRenderComputePass | ( | ) |
Definition at line 22 of file qssgrendercomputepass.cpp.
|
inline |
Definition at line 41 of file qssgrendercomputepass_p.h.
|
overridevirtual |
Reimplemented from QSSGRenderUserPassBase.
Definition at line 42 of file qssgrendercomputepass.cpp.
| bool QSSGRenderComputePass::willDispatch | ( | ) | const |
Definition at line 29 of file qssgrendercomputepass.cpp.
| bool QSSGRenderComputePass::bindingWarningShown = false |
Definition at line 60 of file qssgrendercomputepass_p.h.
| QSSGUserComputeShader QSSGRenderComputePass::computeShader |
Definition at line 52 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::dispatchGroupsWarningShown = false |
Definition at line 55 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::dispatchMissingWarningShown = false |
Definition at line 57 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::dispatchMultiWarningShown = false |
Definition at line 56 of file qssgrendercomputepass_p.h.
| ExecutionMode QSSGRenderComputePass::executionMode = ExecutionMode::EveryFrame |
Definition at line 53 of file qssgrendercomputepass_p.h.
| quint64 QSSGRenderComputePass::executionSerial = 0 |
Definition at line 54 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::multiviewWarningShown = false |
Definition at line 58 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::pipelineWarningShown = false |
Definition at line 59 of file qssgrendercomputepass_p.h.
| bool QSSGRenderComputePass::startOfFrameChecked = false |
Definition at line 61 of file qssgrendercomputepass_p.h.