coastline 0.0.4
Loading...
Searching...
No Matches
textureupload.h
Go to the documentation of this file.
1#ifndef COASTLINE_TEXTUREUPLOAD_H
2#define COASTLINE_TEXTUREUPLOAD_H
3
4#include "common/types.h"
5
7typedef union TextureUploadData {
8 unsigned value;
9 const u8 *pixels;
10#ifdef __cplusplus
12 TextureUploadData() = default;
14 TextureUploadData(unsigned value) : value(value) {
15 }
18 }
19#endif
21
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
37extern u8 *(*g_pfnGetTextureEntryPixelsWithPaint)(int nEntry, unsigned *pSize);
38
39#ifdef __cplusplus
40}
41#endif
42
43#endif /* COASTLINE_TEXTUREUPLOAD_H */
A texture waiting in g_aTextureUploadQueue.
Definition textureupload.h:23
TextureUploadData payload
Definition textureupload.h:25
int nEntry
Definition textureupload.h:24
union TextureUploadData TextureUploadData
A texture upload receives numeric command data or a pixel buffer.
The integer and floating-point types of the console, for headers shared with Windows.
unsigned char u8
Definition ultratypes.h:18
A texture upload receives numeric command data or a pixel buffer.
Definition textureupload.h:7
const u8 * pixels
Definition textureupload.h:9
unsigned value
Definition textureupload.h:8