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