Ejemplo n.º 1
0
 public void SetPixelTexture(int slot, Texture texture)
 {
     mContext.Context.PixelShader.SetShaderResource(slot, texture.NativeView);
 }
Ejemplo n.º 2
0
 public void SetVertexTexture(int slot, Texture texture)
 {
     mContext.Context.VertexShader.SetShaderResource(slot, texture.NativeView);
 }