mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[PICA] More textures. Upstream should also build now
This commit is contained in:
parent
51130b295a
commit
ccdab41c28
5 changed files with 66 additions and 36 deletions
|
@ -55,11 +55,11 @@ struct Texture {
|
|||
}
|
||||
|
||||
void allocate();
|
||||
void decodeTexture(void* data);
|
||||
void decodeTexture(const void* data);
|
||||
void free();
|
||||
u64 sizeInBytes();
|
||||
|
||||
u32 decodeTexel(u32 u, u32 v, Formats fmt, void* data);
|
||||
u32 decodeTexel(u32 u, u32 v, Formats fmt, const void* data);
|
||||
|
||||
// Get the morton interleave offset of a texel based on its U and V values
|
||||
static u32 mortonInterleave(u32 u, u32 v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue