Files
glitchy-engine-beef/GlitchyEngine/src/Renderer/TextureViewBinding.bf
T
2022-07-25 17:03:28 +02:00

17 lines
416 B
Beef

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 Release();
public void Dispose() => Release();
}
}