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