mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00: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