Added simple SamplerStateManager

This commit is contained in:
Simon Lübeß
2021-02-08 19:36:21 +01:00
parent 9219ccf9d8
commit 7e3bb932fc
3 changed files with 94 additions and 3 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ namespace Sandbox
_texture = new Texture2D(_context, "content/Textures/Checkerboard.dds");
let sampler = new SamplerState(_context,
let sampler = SamplerStateManager.GetSampler(
SamplerStateDescription()
{
MagFilter = .Point