RenderTargetGroup

This commit is contained in:
Simon Lübeß
2022-05-20 18:37:59 +02:00
parent 4cd0bff91d
commit 1418063d68
15 changed files with 667 additions and 53 deletions
@@ -0,0 +1,16 @@
using System;
namespace GlitchyEngine.Renderer
{
/// Represents a reference to a texture that can be used as shader input resource.
public struct TextureViewBinding : IRefCounted, IDisposable
{
/// True if the view binding actually has a texture. False otherwise.
public extern bool IsEmpty { get; }
public extern void AddRef();
public extern void ReleaseRef();
public void Dispose() => ReleaseRef();
}
}