Exemplo n.º 1
0
 internal void Bind(Device device)
 {
     _shaderPipeline.Bind(device);
     if (_vertexFormat != null)
     {
         device.BindVertexFormat(_vertexFormat);
     }
     device.BindRasterizerState(_rasterizerState);
     device.BindDepthState(_depthState);
     device.BindBlendState(_blendState);
 }
Exemplo n.º 2
0
 internal void Bind(Device device)
 {
     _shaderPipeline.Bind(device);
 }