mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
17 lines
416 B
Beef
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();
|
|
}
|
|
}
|