coastline 0.0.4
Loading...
Searching...
No Matches
textureworkspace.h
Go to the documentation of this file.
1#ifndef COASTLINE_TEXTUREWORKSPACE_H
2#define COASTLINE_TEXTUREWORKSPACE_H
3
5#define TEXTURE_DECODE_WORKSPACE_BYTES 0x80000
7#define RGBA5551_IMAGE_PIXEL_COUNT 0x10000
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
14typedef union {
16 unsigned short rgba5551[TEXTURE_DECODE_WORKSPACE_BYTES / sizeof(unsigned short)];
19
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif /* COASTLINE_TEXTUREWORKSPACE_H */
#define TEXTURE_DECODE_WORKSPACE_BYTES
The size of the shared texture-decoding workspace, in bytes.
Definition textureworkspace.h:5
TextureDecodeWorkspace g_TextureDecodeWorkspace
The shared buffer used while decoding textures.
The shared workspace of decoded pixels.
Definition textureworkspace.h:14
unsigned char decoded[TEXTURE_DECODE_WORKSPACE_BYTES]
Definition textureworkspace.h:15
unsigned short rgba5551[TEXTURE_DECODE_WORKSPACE_BYTES/sizeof(unsigned short)]
Definition textureworkspace.h:16