![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrhigles2_p.h>
Public Member Functions | |
| QGles2ComputePipeline (QRhiImplementation *rhi) | |
| ~QGles2ComputePipeline () | |
| 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 |
Friends | |
| class | QRhiGles2 |
Definition at line 301 of file qrhigles2_p.h.
| QGles2ComputePipeline::QGles2ComputePipeline | ( | QRhiImplementation * | rhi | ) |
Definition at line 7817 of file qrhigles2.cpp.
| QGles2ComputePipeline::~QGles2ComputePipeline | ( | ) |
Definition at line 7822 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiComputePipeline.
Definition at line 7851 of file qrhigles2.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 7827 of file qrhigles2.cpp.
|
friend |
Definition at line 318 of file qrhigles2_p.h.
| QRhiShaderResourceBindings* QGles2ComputePipeline::currentSrb = nullptr |
Definition at line 314 of file qrhigles2_p.h.
| uint QGles2ComputePipeline::currentSrbGeneration = 0 |
Definition at line 315 of file qrhigles2_p.h.
Referenced by QRhiGles2::setComputePipeline(), and QRhiGles2::setShaderResources().
| uint QGles2ComputePipeline::generation = 0 |
Definition at line 317 of file qrhigles2_p.h.
Referenced by QRhiGles2::bindShaderResources(), and QRhiGles2::setComputePipeline().
| uint QGles2ComputePipeline::lastUsedInFrameNo = 0 |
Definition at line 316 of file qrhigles2_p.h.
Referenced by QRhiGles2::setComputePipeline().
| GLuint QGles2ComputePipeline::program = 0 |
Definition at line 308 of file qrhigles2_p.h.
| quint32 QGles2ComputePipeline::pushConstantSize = 0 |
Definition at line 311 of file qrhigles2_p.h.
| QGles2UniformDescriptionVector QGles2ComputePipeline::pushConstantUniforms |
Definition at line 310 of file qrhigles2_p.h.
| QGles2SamplerDescriptionVector QGles2ComputePipeline::samplers |
Definition at line 312 of file qrhigles2_p.h.
| QGles2UniformDescriptionVector QGles2ComputePipeline::uniforms |
Definition at line 309 of file qrhigles2_p.h.
| QGles2UniformStateVector QGles2ComputePipeline::uniformState |
Definition at line 313 of file qrhigles2_p.h.