Allow changing Effect of Materials

+ TextureDimension Property for Texture
This commit is contained in:
Simon Lübeß
2023-08-01 13:28:04 +02:00
parent 5d8c1b111a
commit e8a5594540
7 changed files with 142 additions and 27 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ namespace GlitchyEngine.Renderer
public override uint32 ArraySize => _description.ArraySize;
public override uint32 MipLevels => _description.MipLevels;
public override Format Format => _description.PixelFormat;
public override TextureDimension Dimension => .Texture2D;
protected internal DepthStencilTarget _depthStenilTarget ~ _?.ReleaseRef();
// TODO: DepthStencilTarget is just a renderTarget