![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrhivulkan_p.h>
Public Member Functions | |
| QVkComputePipeline (QRhiImplementation *rhi) | |
| ~QVkComputePipeline () | |
| void | destroy () override |
| Releases (or requests deferred releasing of) the underlying native graphics resources. | |
| bool | create () override |
| Public Member Functions inherited from QRhiComputePipeline | |
| QRhiResource::Type | resourceType () const override |
| Flags | flags () const |
| void | setFlags (Flags f) |
| Sets the flags f. | |
| QRhiShaderStage | shaderStage () const |
| void | setShaderStage (const QRhiShaderStage &stage) |
| Sets the shader to use. | |
| QRhiShaderResourceBindings * | shaderResourceBindings () const |
| void | setShaderResourceBindings (QRhiShaderResourceBindings *srb) |
| Associates with srb describing the resource binding layout and the resources (QRhiBuffer, QRhiTexture) themselves. | |
| Public Member Functions inherited from QRhiResource | |
| virtual | ~QRhiResource () |
| Destructor. | |
| void | deleteLater () |
| When called without a frame being recorded, this function is equivalent to deleting the object. | |
| QByteArray | name () const |
| void | setName (const QByteArray &name) |
| Sets a name for the object. | |
| quint64 | globalResourceId () const |
| QRhi * | rhi () const |
Public Attributes | |
| VkPipelineLayout | layout = VK_NULL_HANDLE |
| VkShaderStageFlags | pushConstantStages = 0 |
| VkPipeline | pipeline = VK_NULL_HANDLE |
| int | lastActiveFrameSlot = -1 |
| uint | generation = 0 |
Friends | |
| class | QRhiVulkan |
Definition at line 318 of file qrhivulkan_p.h.
| QVkComputePipeline::QVkComputePipeline | ( | QRhiImplementation * | rhi | ) |
Definition at line 9423 of file qrhivulkan.cpp.
| QVkComputePipeline::~QVkComputePipeline | ( | ) |
Definition at line 9428 of file qrhivulkan.cpp.
|
overridevirtual |
Implements QRhiComputePipeline.
Definition at line 9455 of file qrhivulkan.cpp.
|
overridevirtual |
Releases (or requests deferred releasing of) the underlying native graphics resources.
Safe to call multiple times, subsequent invocations will be a no-op then.
Once destroy() is called, the QRhiResource instance can be reused, by calling create() again. That will then result in creating new native graphics resources underneath.
The QRhiResource destructor also performs the same task, so calling this function is not necessary before deleting a QRhiResource.
Implements QRhiResource.
Definition at line 9433 of file qrhivulkan.cpp.
|
friend |
Definition at line 330 of file qrhivulkan_p.h.
| uint QVkComputePipeline::generation = 0 |
Definition at line 329 of file qrhivulkan_p.h.
Referenced by QRhiVulkan::setComputePipeline().
| int QVkComputePipeline::lastActiveFrameSlot = -1 |
Definition at line 328 of file qrhivulkan_p.h.
| VkPipelineLayout QVkComputePipeline::layout = VK_NULL_HANDLE |
Definition at line 325 of file qrhivulkan_p.h.
| VkPipeline QVkComputePipeline::pipeline = VK_NULL_HANDLE |
Definition at line 327 of file qrhivulkan_p.h.
| VkShaderStageFlags QVkComputePipeline::pushConstantStages = 0 |
Definition at line 326 of file qrhivulkan_p.h.