mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 05:16:39 +00:00
726de8c46a
* Add multiple color outputs for fragment shaders * Add registers and gal enums * Use textures for framebuffers and split color and zeta framebuffers * Abstract texture and framebuffer targets as an image * Share images between framebuffers and textures * Unstub formats * Add some formats * Disable multiple attachments * Cache framebuffer attachments * Handle format types * Add some rendertarget formats * Code cleanup * Fixup half float types * Address feedback * Disable multiple attachments in shaders * Add A4B4G4R4 image format * Add reversed section for image enums
18 lines
No EOL
429 B
C#
18 lines
No EOL
429 B
C#
namespace Ryujinx.Graphics.Gal
|
|
{
|
|
public interface IGalTexture
|
|
{
|
|
void LockCache();
|
|
void UnlockCache();
|
|
|
|
void Create(long Key, byte[] Data, GalImage Image);
|
|
|
|
void CreateFb(long Key, long Size, GalImage Image);
|
|
|
|
bool TryGetCachedTexture(long Key, long DataSize, out GalImage Image);
|
|
|
|
void Bind(long Key, int Index);
|
|
|
|
void SetSampler(GalTextureSampler Sampler);
|
|
}
|
|
} |