QRhiComputePipeline Class
Compute pipeline state resource. More...
Header: | #include <QRhiComputePipeline> |
qmake: | QT += rhi |
Inherits: | QRhiResource |
Public Functions
virtual bool | build() = 0 |
void | setShaderResourceBindings(QRhiShaderResourceBindings *srb) |
void | setShaderStage(const QRhiShaderStage &stage) |
QRhiShaderResourceBindings * | shaderResourceBindings() const |
QRhiShaderStage | shaderStage() const |
Reimplemented Public Functions
virtual QRhiResource::Type | resourceType() const override |
- 6 public functions inherited from QRhiResource
Protected Variables
QRhiShaderResourceBindings * | m_shaderResourceBindings |
QRhiShaderStage | m_shaderStage |
- 3 protected variables inherited from QRhiResource
Additional Inherited Members
- 1 protected function inherited from QRhiResource
Detailed Description
Compute pipeline state resource.
Note: Setting the shader resource bindings is mandatory. The referenced QRhiShaderResourceBindings must already be built by the time build() is called.
Note: Setting the shader is mandatory.
Member Type Documentation
Property Documentation
Member Function Documentation
[pure virtual]
bool QRhiComputePipeline::build()
[override virtual]
QRhiResource::Type QRhiComputePipeline::resourceType() const
Reimplemented from QRhiResource::resourceType().
Returns the resource type.
void QRhiComputePipeline::setShaderResourceBindings(QRhiShaderResourceBindings *srb)
See also shaderResourceBindings().
void QRhiComputePipeline::setShaderStage(const QRhiShaderStage &stage)
See also shaderStage().
QRhiShaderResourceBindings *QRhiComputePipeline::shaderResourceBindings() const
See also setShaderResourceBindings().
QRhiShaderStage QRhiComputePipeline::shaderStage() const
See also setShaderStage().