![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrhiquadrenderer_p.h>
Public Member Functions | |
void | prepareCube (QSSGRhiContext *rhiCtx, QRhiResourceUpdateBatch *maybeRub) |
void | recordRenderCube (QSSGRhiContext *rhiCtx, QSSGRhiGraphicsPipelineState *ps, QRhiShaderResourceBindings *srb, QRhiRenderPassDescriptor *rpDesc, QSSGRhiQuadRenderer::Flags flags) |
Definition at line 60 of file qssgrhiquadrenderer_p.h.
void QSSGRhiCubeRenderer::prepareCube | ( | QSSGRhiContext * | rhiCtx, |
QRhiResourceUpdateBatch * | maybeRub | ||
) |
Definition at line 150 of file qssgrhiquadrenderer.cpp.
References QSSGRhiContext::commandBuffer(), QRhi::nextResourceUpdateBatch(), QRhiCommandBuffer::resourceUpdate(), and QSSGRhiContext::rhi().
void QSSGRhiCubeRenderer::recordRenderCube | ( | QSSGRhiContext * | rhiCtx, |
QSSGRhiGraphicsPipelineState * | ps, | ||
QRhiShaderResourceBindings * | srb, | ||
QRhiRenderPassDescriptor * | rpDesc, | ||
QSSGRhiQuadRenderer::Flags | flags | ||
) |
Definition at line 158 of file qssgrhiquadrenderer.cpp.
References QSSGRhiGraphicsPipelineState::blendEnable, cb, QSSGRhiContext::commandBuffer(), QSSGGraphicsPipelineStateKey::create(), QSSGRhiGraphicsPipelineState::cullMode, QSSGRhiQuadRenderer::DepthTest, QSSGRhiGraphicsPipelineState::depthTestEnable, QSSGRhiQuadRenderer::DepthWrite, QSSGRhiGraphicsPipelineState::depthWriteEnable, QRhiGraphicsPipeline::TargetBlend::dstAlpha, QRhiGraphicsPipeline::TargetBlend::dstColor, QRhiVertexInputAttribute::Float3, QSSGRhiGraphicsPipelineState::ia, QSSGRhiInputAssemblerState::inputLayout, QSSGRhiInputAssemblerState::inputs, QRhiGraphicsPipeline::None, QRhiGraphicsPipeline::One, QRhiGraphicsPipeline::OneMinusSrcAlpha, QSSGRhiContext::pipeline(), QSSGRhiInputAssemblerState::PositionSemantic, QSSGRhiQuadRenderer::PremulBlend, Q_QUICK3D_PROFILE_END_WITH_STRING, Q_QUICK3D_PROFILE_START, QByteArrayLiteral, QSSGRHICTX_STAT, QRhiVertexInputLayout::setAttributes(), QRhiVertexInputLayout::setBindings(), QRhiGraphicsPipeline::SrcAlpha, QRhiGraphicsPipeline::TargetBlend::srcAlpha, QRhiGraphicsPipeline::TargetBlend::srcColor, QSSGRhiGraphicsPipelineState::targetBlend, QSSGRhiInputAssemblerState::topology, QRhiGraphicsPipeline::Triangles, and QSSGRhiGraphicsPipelineState::viewport.