mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 17:36:42 +00:00
d4187aaa9d
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
18 lines
No EOL
419 B
C#
18 lines
No EOL
419 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(GalTextureSampler Sampler);
|
|
}
|
|
} |