Пример #1
0
 private void CreatePipeline()
 {
     _pipeline = _pipelineFactory.CreateNonDepthTestAlphaBlendPipeline(_shaderPackage.UniformResourceLayout,
                                                                       _shaderPackage.Description,
                                                                       _systemComponents.Device.SwapchainFramebuffer.OutputDescription);
 }
Пример #2
0
 private void CreatePipeline()
 {
     _pipeline = _pipelineFactory.CreateNonDepthTestOverrideBlendPipeline(_shaderPackage.UniformResourceLayout,
                                                                          _shaderPackage.Description,
                                                                          new OutputDescription(null, new OutputAttachmentDescription(PixelFormat.B8_G8_R8_A8_UNorm)));
 }