mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
1968386808
* Add locking methods to the ogl resource cache * Remove some unused arguments * Add the ZF32 texture format
16 lines
376 B
C#
16 lines
376 B
C#
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public interface IGalTexture
|
|
{
|
|
void LockCache();
|
|
void UnlockCache();
|
|
|
|
void Create(long Key, byte[] Data, GalTexture Texture);
|
|
|
|
bool TryGetCachedTexture(long Key, long DataSize, out GalTexture Texture);
|
|
|
|
void Bind(long Key, int Index);
|
|
|
|
void SetSampler(GalTextureSampler Sampler);
|
|
}
|
|
} |