コード例 #1
0
ファイル: GraphicsPipeline.cs プロジェクト: kubapelc/glob
 internal void Bind(Device device)
 {
     _shaderPipeline.Bind(device);
     if (_vertexFormat != null)
     {
         device.BindVertexFormat(_vertexFormat);
     }
     device.BindRasterizerState(_rasterizerState);
     device.BindDepthState(_depthState);
     device.BindBlendState(_blendState);
 }
コード例 #2
0
ファイル: ComputePipeline.cs プロジェクト: kubapelc/glob
 internal void Bind(Device device)
 {
     _shaderPipeline.Bind(device);
 }