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