MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / GetGraphicsPipelineDesc

Method GetGraphicsPipelineDesc

Hydrogent/src/HnRenderPassState.cpp:157–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157GraphicsPipelineDesc HnRenderPassState::GetGraphicsPipelineDesc() const
158{
159 GraphicsPipelineDesc GraphicsPipeline;
160 GraphicsPipeline.BlendDesc = GetBlendState();
161 GraphicsPipeline.RasterizerDesc = GetRasterizerState();
162 GraphicsPipeline.DepthStencilDesc = GetDepthStencilState();
163
164 GraphicsPipeline.NumRenderTargets = m_NumRenderTargets;
165 for (Uint32 rt = 0; rt < m_NumRenderTargets; ++rt)
166 GraphicsPipeline.RTVFormats[rt] = m_RTVFormats[rt];
167 GraphicsPipeline.DSVFormat = m_DepthFormat;
168
169 return GraphicsPipeline;
170}
171
172void HnRenderPassState::Begin(Uint32 NumRenderTargets,
173 ITextureView* ppRTVs[],

Callers 6

GetGraphicsDescMethod · 0.80
PreparePSOMethod · 0.80
PrepareClearDepthPSOMethod · 0.80
PrepareTechniquesMethod · 0.80
RenderSunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected