wut  v1.7.0
Wii U Toolchain
surface.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "resource.h"
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 typedef struct GX2Surface GX2Surface;
16 
17 BOOL
19  GX2RResourceFlags flags);
20 
21 BOOL
23  uint8_t *image,
24  uint8_t *mipmap,
25  GX2RResourceFlags flags);
26 
27 BOOL
29  GX2RResourceFlags flags);
30 
31 BOOL
33  int32_t level,
34  GX2RResourceFlags flags);
35 
36 void *
38  int32_t level,
39  GX2RResourceFlags flags);
40 
41 void
43  int32_t level,
44  GX2RResourceFlags flags);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
void * image
Definition: surface.h:36
GX2RResourceFlags
Definition: resource.h:15
BOOL GX2RCreateSurface(GX2Surface *surface, GX2RResourceFlags flags)
void GX2RUnlockSurfaceEx(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
BOOL GX2RDestroySurfaceEx(GX2Surface *surface, GX2RResourceFlags flags)
BOOL GX2RCreateSurfaceUserMemory(GX2Surface *surface, uint8_t *image, uint8_t *mipmap, GX2RResourceFlags flags)
BOOL GX2RInvalidateSurface(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
void * GX2RLockSurfaceEx(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
int32_t BOOL
Definition: wut_types.h:7