| 155 | } |
| 156 | |
| 157 | GraphicsPipelineDesc 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 | |
| 172 | void HnRenderPassState::Begin(Uint32 NumRenderTargets, |
| 173 | ITextureView* ppRTVs[], |
no outgoing calls
no test coverage detected