[PICA] More textoor
This commit is contained in:
@@ -55,9 +55,12 @@ struct Texture {
|
||||
}
|
||||
|
||||
void allocate();
|
||||
void decodeTexture(void* data);
|
||||
void free();
|
||||
u64 sizeInBytes();
|
||||
|
||||
u32 decodeTexel(u32 u, u32 v, Formats fmt, void* data);
|
||||
|
||||
// Get the morton interleave offset of a texel based on its U and V values
|
||||
static u32 mortonInterleave(u32 u, u32 v);
|
||||
// Get the byte offset of texel (u, v) in the texture
|
||||
|
||||
Reference in New Issue
Block a user