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