mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 00:08:21 -05:00
GPU: Added a function to retrieve the bytes per pixel of the render target formats.
This commit is contained in:
@ -21,6 +21,9 @@ enum class RenderTargetFormat : u32 {
|
||||
RGBA8_SRGB = 0xD6,
|
||||
};
|
||||
|
||||
/// Returns the number of bytes per pixel of each rendertarget format.
|
||||
u32 RenderTargetBytesPerPixel(RenderTargetFormat format);
|
||||
|
||||
class DebugContext;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user