mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
AbstractTexture: Add support for depth textures/formats
This commit is contained in:
parent
6374a4c4a8
commit
2a6d9e4713
7 changed files with 155 additions and 16 deletions
|
@ -39,6 +39,7 @@ public:
|
|||
bool Save(const std::string& filename, unsigned int level);
|
||||
|
||||
static bool IsCompressedFormat(AbstractTextureFormat format);
|
||||
static bool IsDepthFormat(AbstractTextureFormat format);
|
||||
static size_t CalculateStrideForFormat(AbstractTextureFormat format, u32 row_length);
|
||||
static size_t GetTexelSizeForFormat(AbstractTextureFormat format);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue