1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 08:46:40 +00:00
Ryujinx/Ryujinx.Graphics/Gal/IGalTexture.cs

18 lines
435 B
C#
Raw Normal View History

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);
}
}