This repository has been archived on 2026-01-05. You can view files and clone it, but cannot push or open issues/pull-requests.
Ryujinx/Ryujinx.Graphics/Gal/IGalTexture.cs

18 lines
435 B
C#

namespace Ryujinx.Graphics.Gal
{
public interface IGalTexture
{
void LockCache();
void UnlockCache();
void Create(long key, int size, GalImage image);
void Create(long key, byte[] data, GalImage image);
bool TryGetImage(long key, out GalImage image);
void Bind(long key, int index, GalImage image);
void SetSampler(GalImage image, GalTextureSampler sampler);
}
}