mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
TexCache: create a const Config struct
This commit is contained in:
parent
d640453274
commit
d95e5e2b6f
6 changed files with 72 additions and 54 deletions
|
@ -36,7 +36,7 @@ private:
|
|||
//TexMode0 mode; // current filter and clamp modes that texture is set to
|
||||
//TexMode1 mode1; // current filter and clamp modes that texture is set to
|
||||
|
||||
TCacheEntry();
|
||||
TCacheEntry(const TCacheEntryConfig& config);
|
||||
~TCacheEntry();
|
||||
|
||||
void Load(unsigned int width, unsigned int height,
|
||||
|
@ -56,7 +56,7 @@ private:
|
|||
TCacheEntryBase* CreateTexture(unsigned int width, unsigned int height,
|
||||
unsigned int tex_levels, PC_TexFormat pcfmt) override;
|
||||
|
||||
TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h) override;
|
||||
TCacheEntryBase* CreateRenderTargetTexture(unsigned int scaled_tex_w, unsigned int scaled_tex_h, unsigned int layers) override;
|
||||
|
||||
void CompileShaders() override;
|
||||
void DeleteShaders() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue