Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qssgrhicontext_p.h>
Public Member Functions | |
void | clear () |
QSSGRhiShaderResourceBindingList () | |
QSSGRhiShaderResourceBindingList (const QSSGRhiShaderResourceBindingList &other) | |
QSSGRhiShaderResourceBindingList & | operator= (const QSSGRhiShaderResourceBindingList &other) Q_DECL_NOTHROW |
void | addUniformBuffer (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiBuffer *buf, int offset=0, int size=0) |
void | addTexture (int binding, QRhiShaderResourceBinding::StageFlags stage, QRhiTexture *tex, QRhiSampler *sampler) |
Public Attributes | |
int | p = 0 |
size_t | h = 0 |
QRhiShaderResourceBinding | v [MAX_SIZE] |
Static Public Attributes | |
static const int | MAX_SIZE = 32 |
Definition at line 507 of file qssgrhicontext_p.h.
|
inline |
Definition at line 518 of file qssgrhicontext_p.h.
|
inline |
void QSSGRhiShaderResourceBindingList::addTexture | ( | int | binding, |
QRhiShaderResourceBinding::StageFlags | stage, | ||
QRhiTexture * | tex, | ||
QRhiSampler * | sampler ) |
Definition at line 1569 of file qssgrhicontext.cpp.
References d, MAX_SIZE, qWarning, QRhiShaderResourceBinding::SampledTexture, and QRhiImplementation::shaderResourceBindingData().
Referenced by addDepthTextureBindings(), addOpaqueDepthPrePassBindings(), QSSGParticleRenderer::prepareParticlesForModel(), QQuick3DSceneRenderer::renderToRhiTexture(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), rhiPrepareResourcesForShadowMap(), rhiPrepareSkyBox_helper(), RenderHelpers::rhiRenderAoTexture(), and RenderHelpers::rhiRenderShadowMap().
void QSSGRhiShaderResourceBindingList::addUniformBuffer | ( | int | binding, |
QRhiShaderResourceBinding::StageFlags | stage, | ||
QRhiBuffer * | buf, | ||
int | offset = 0, | ||
int | size = 0 ) |
Definition at line 1550 of file qssgrhicontext.cpp.
References d, MAX_SIZE, qWarning, QRhiImplementation::shaderResourceBindingData(), and QRhiShaderResourceBinding::UniformBuffer.
Referenced by DebugDrawPass::renderPrep(), QQuick3DSceneRenderer::renderToRhiTexture(), RenderHelpers::rhiPrepareDepthPass(), RenderHelpers::rhiPrepareGrid(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QSSGParticleRenderer::rhiPrepareRenderable(), rhiPrepareResourcesForShadowMap(), rhiPrepareSkyBox_helper(), RenderHelpers::rhiRenderAoTexture(), and RenderHelpers::rhiRenderShadowMap().
|
inline |
Definition at line 516 of file qssgrhicontext_p.h.
Referenced by RenderHelpers::rhiRenderShadowMap().
|
inline |
size_t QSSGRhiShaderResourceBindingList::h = 0 |
Definition at line 513 of file qssgrhicontext_p.h.
|
static |
Definition at line 510 of file qssgrhicontext_p.h.
Referenced by addTexture(), and addUniformBuffer().
int QSSGRhiShaderResourceBindingList::p = 0 |
Definition at line 512 of file qssgrhicontext_p.h.
Referenced by QSSGRhiContextPrivate::srb().
QRhiShaderResourceBinding QSSGRhiShaderResourceBindingList::v[MAX_SIZE] |
Definition at line 514 of file qssgrhicontext_p.h.
Referenced by QSSGRhiContextPrivate::srb().