wut  v1.7.0
Wii U Toolchain
aperture.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "enum.h"
4 #include "surface.h"
5 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef uint32_t GX2ApertureHandle;
17 
41 void
43  uint32_t level,
44  uint32_t depth,
45  GX2EndianSwapMode endian,
46  GX2ApertureHandle *outHandle,
47  void **outAddress);
48 
55 void
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
void GX2AllocateTilingApertureEx(GX2Surface *surface, uint32_t level, uint32_t depth, GX2EndianSwapMode endian, GX2ApertureHandle *outHandle, void **outAddress)
Allocates a tiling aperture.
void GX2FreeTilingAperture(GX2ApertureHandle handle)
Frees an allocated tiling aperture.
uint32_t GX2ApertureHandle
Definition: aperture.h:16
GX2EndianSwapMode
Definition: enum.h:208