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>.
Loading...
Searching...
No Matches
QSSGRhiQuadRenderer Class Reference

#include <qssgrhiquadrenderer_p.h>

+ Collaboration diagram for QSSGRhiQuadRenderer:

Public Types

enum  Flag {
  UvCoords = 0x01 , DepthTest = 0x02 , DepthWrite = 0x04 , PremulBlend = 0x08 ,
  RenderBehind = 0x10
}
 

Public Member Functions

void prepareQuad (QSSGRhiContext *rhiCtx, QRhiResourceUpdateBatch *maybeRub)
 
void recordRenderQuad (QSSGRhiContext *rhiCtx, QSSGRhiGraphicsPipelineState *ps, QRhiShaderResourceBindings *srb, QRhiRenderPassDescriptor *rpDesc, Flags flags)
 
void recordRenderQuadPass (QSSGRhiContext *rhiCtx, QSSGRhiGraphicsPipelineState *ps, QRhiShaderResourceBindings *srb, QRhiTextureRenderTarget *rt, Flags flags)
 

Detailed Description

Definition at line 24 of file qssgrhiquadrenderer_p.h.

Member Enumeration Documentation

◆ Flag

Enumerator
UvCoords 
DepthTest 
DepthWrite 
PremulBlend 
RenderBehind 

Definition at line 31 of file qssgrhiquadrenderer_p.h.

Member Function Documentation

◆ prepareQuad()

void QSSGRhiQuadRenderer::prepareQuad ( QSSGRhiContext * rhiCtx,
QRhiResourceUpdateBatch * maybeRub )

Definition at line 77 of file qssgrhiquadrenderer.cpp.

References QSSGRhiContext::commandBuffer(), QRhi::nextResourceUpdateBatch(), QRhiCommandBuffer::resourceUpdate(), and QSSGRhiContext::rhi().

+ Here is the call graph for this function:

◆ recordRenderQuad()

void QSSGRhiQuadRenderer::recordRenderQuad ( QSSGRhiContext * rhiCtx,
QSSGRhiGraphicsPipelineState * ps,
QRhiShaderResourceBindings * srb,
QRhiRenderPassDescriptor * rpDesc,
Flags flags )

◆ recordRenderQuadPass()

void QSSGRhiQuadRenderer::recordRenderQuadPass ( QSSGRhiContext * rhiCtx,
QSSGRhiGraphicsPipelineState * ps,
QRhiShaderResourceBindings * srb,
QRhiTextureRenderTarget * rt,
Flags flags )

Definition at line 141 of file qssgrhiquadrenderer.cpp.

References Qt::black, cb, QSSGRhiContext::commandBuffer(), QSSGRhiContext::commonPassFlags(), QSSGRHICTX_STAT, recordRenderQuad(), and QRhiRenderTarget::renderPassDescriptor().

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: