WUT  0.1
Wii U Toolchain
Data Structures | Typedefs | Functions
Surface

Data Structures

struct  GX2Surface
 
struct  GX2DepthBuffer
 
struct  GX2ColorBuffer
 

Typedefs

typedef struct GX2Surface GX2Surface
 
typedef struct GX2DepthBuffer GX2DepthBuffer
 
typedef struct GX2ColorBuffer GX2ColorBuffer
 

Functions

void GX2CalcSurfaceSizeAndAlignment (GX2Surface *surface)
 
void GX2CalcDepthBufferHiZInfo (GX2DepthBuffer *depthBuffer, uint32_t *outSize, uint32_t *outAlignment)
 
void GX2CalcColorBufferAuxInfo (GX2ColorBuffer *surface, uint32_t *outSize, uint32_t *outAlignment)
 
void GX2SetColorBuffer (GX2ColorBuffer *colorBuffer, GX2RenderTarget target)
 
void GX2SetDepthBuffer (GX2DepthBuffer *depthBuffer)
 
void GX2InitColorBufferRegs (GX2ColorBuffer *colorBuffer)
 
void GX2InitDepthBufferRegs (GX2DepthBuffer *depthBuffer)
 
void GX2InitDepthBufferHiZEnable (GX2DepthBuffer *depthBuffer, BOOL enable)
 
uint32_t GX2GetSurfaceSwizzle (GX2Surface *surface)
 
void GX2SetSurfaceSwizzle (GX2Surface *surface, uint32_t swizzle)
 
void GX2CopySurface (GX2Surface *src, uint32_t srcLevel, uint32_t srcDepth, GX2Surface *dst, uint32_t dstLevel, uint32_t dstDepth)
 

Detailed Description

Typedef Documentation

typedef struct GX2Surface GX2Surface

Definition at line 15 of file surface.h.

Definition at line 16 of file surface.h.

Definition at line 17 of file surface.h.

Function Documentation

void GX2CalcSurfaceSizeAndAlignment ( GX2Surface surface)
void GX2CalcDepthBufferHiZInfo ( GX2DepthBuffer depthBuffer,
uint32_t *  outSize,
uint32_t *  outAlignment 
)
void GX2CalcColorBufferAuxInfo ( GX2ColorBuffer surface,
uint32_t *  outSize,
uint32_t *  outAlignment 
)
void GX2SetColorBuffer ( GX2ColorBuffer colorBuffer,
GX2RenderTarget  target 
)
void GX2SetDepthBuffer ( GX2DepthBuffer depthBuffer)
void GX2InitColorBufferRegs ( GX2ColorBuffer colorBuffer)
void GX2InitDepthBufferRegs ( GX2DepthBuffer depthBuffer)
void GX2InitDepthBufferHiZEnable ( GX2DepthBuffer depthBuffer,
BOOL  enable 
)
uint32_t GX2GetSurfaceSwizzle ( GX2Surface surface)
void GX2SetSurfaceSwizzle ( GX2Surface surface,
uint32_t  swizzle 
)
void GX2CopySurface ( GX2Surface src,
uint32_t  srcLevel,
uint32_t  srcDepth,
GX2Surface dst,
uint32_t  dstLevel,
uint32_t  dstDepth 
)