Textures can now hold SamplerStates

This commit is contained in:
Simon Lübeß
2021-02-08 15:48:00 +01:00
parent ea140f0532
commit 9219ccf9d8
3 changed files with 32 additions and 7 deletions
@@ -39,7 +39,7 @@ namespace GlitchyEngine.Renderer
nativeTexture.GetDescription(out nativeDesc);
}
public override void Bind(uint32 slot)
protected override void ImplBind(uint32 slot)
{
_context.nativeContext.VertexShader.SetShaderResources(slot, 1, &nativeView);
_context.nativeContext.PixelShader.SetShaderResources(slot, 1, &nativeView);