Moved ImplBind implementation from Texture2D to Texture

This commit is contained in:
Simon Lübeß
2021-04-09 19:31:49 +02:00
parent 72cb982b13
commit 5a8499ac43
2 changed files with 12 additions and 10 deletions
+1 -3
View File
@@ -38,7 +38,7 @@ namespace GlitchyEngine.Renderer
_samplerState.Bind(slot);
}
protected abstract void ImplBind(uint32 slot);
protected extern void ImplBind(uint32 slot);
protected this(GraphicsContext context)
{
@@ -56,8 +56,6 @@ namespace GlitchyEngine.Renderer
public override extern uint32 ArraySize {get;}
public override extern uint32 MipLevels {get;}
protected override extern void ImplBind(uint32 slot);
public this(GraphicsContext context, String path) : base(context)
{
this._path = new String(path);