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
QSSGGraphicsPipelineStateKey Class Reference

#include <qssgrhicontext_p.h>

+ Collaboration diagram for QSSGGraphicsPipelineStateKey:

Static Public Member Functions

static QSSGGraphicsPipelineStateKey create (const QSSGRhiGraphicsPipelineState &state, const QRhiRenderPassDescriptor *rpDesc, const QRhiShaderResourceBindings *srb)
 

Public Attributes

QSSGRhiGraphicsPipelineState state
 
QVector< quint32renderTargetDescription
 
QVector< quint32srbLayoutDescription
 
struct { 
 
   size_t   renderTargetDescriptionHash 
 
   size_t   srbLayoutDescriptionHash 
 
extra 
 

Detailed Description

Definition at line 694 of file qssgrhicontext_p.h.

Member Function Documentation

◆ create()

static QSSGGraphicsPipelineStateKey QSSGGraphicsPipelineStateKey::create ( const QSSGRhiGraphicsPipelineState & state,
const QRhiRenderPassDescriptor * rpDesc,
const QRhiShaderResourceBindings * srb )
inlinestatic

Definition at line 704 of file qssgrhicontext_p.h.

References qHash(), QRhiRenderPassDescriptor::serializedFormat(), QRhiShaderResourceBindings::serializedLayoutDescription(), and state.

Referenced by QSSGRhiContextPrivate::pipeline(), RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and QSSGParticleRenderer::rhiPrepareRenderable().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ [struct]

struct { ... } QSSGGraphicsPipelineStateKey::extra

◆ renderTargetDescription

QVector<quint32> QSSGGraphicsPipelineStateKey::renderTargetDescription

Definition at line 698 of file qssgrhicontext_p.h.

◆ renderTargetDescriptionHash

size_t QSSGGraphicsPipelineStateKey::renderTargetDescriptionHash

Definition at line 701 of file qssgrhicontext_p.h.

◆ srbLayoutDescription

QVector<quint32> QSSGGraphicsPipelineStateKey::srbLayoutDescription

Definition at line 699 of file qssgrhicontext_p.h.

◆ srbLayoutDescriptionHash

size_t QSSGGraphicsPipelineStateKey::srbLayoutDescriptionHash

Definition at line 702 of file qssgrhicontext_p.h.

◆ state

QSSGRhiGraphicsPipelineState QSSGGraphicsPipelineStateKey::state

Definition at line 697 of file qssgrhicontext_p.h.

Referenced by create().


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