RetroArch
Classes | Typedefs | Functions
surface.h File Reference
#include <wiiu/types.h>
#include "enum.h"
Include dependency graph for surface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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)
 
void GX2ClearColor (GX2ColorBuffer *colorBuffer, float red, float green, float blue, float alpha)
 
void GX2ClearDepthStencilEx (GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil, GX2ClearFlags clearMode)
 
void GX2ClearBuffersEx (GX2ColorBuffer *colorBuffer, GX2DepthBuffer *depthBuffer, float red, float green, float blue, float alpha, float depth, uint8_t stencil, GX2ClearFlags clearMode)
 
void GX2SetClearDepth (GX2DepthBuffer *depthBuffer, float depth)
 
void GX2SetClearStencil (GX2DepthBuffer *depthBuffer, uint8_t stencil)
 
void GX2SetClearDepthStencil (GX2DepthBuffer *depthBuffer, float depth, uint8_t stencil)
 

Typedef Documentation

◆ GX2ColorBuffer

◆ GX2DepthBuffer

◆ GX2Surface

typedef struct GX2Surface GX2Surface

Function Documentation

◆ GX2CalcColorBufferAuxInfo()

void GX2CalcColorBufferAuxInfo ( GX2ColorBuffer surface,
uint32_t outSize,
uint32_t outAlignment 
)

◆ GX2CalcDepthBufferHiZInfo()

void GX2CalcDepthBufferHiZInfo ( GX2DepthBuffer depthBuffer,
uint32_t outSize,
uint32_t outAlignment 
)

◆ GX2CalcSurfaceSizeAndAlignment()

void GX2CalcSurfaceSizeAndAlignment ( GX2Surface surface)
Here is the caller graph for this function:

◆ GX2ClearBuffersEx()

void GX2ClearBuffersEx ( GX2ColorBuffer colorBuffer,
GX2DepthBuffer depthBuffer,
float  red,
float  green,
float  blue,
float  alpha,
float  depth,
uint8_t  stencil,
GX2ClearFlags  clearMode 
)

◆ GX2ClearColor()

void GX2ClearColor ( GX2ColorBuffer colorBuffer,
float  red,
float  green,
float  blue,
float  alpha 
)
Here is the caller graph for this function:

◆ GX2ClearDepthStencilEx()

void GX2ClearDepthStencilEx ( GX2DepthBuffer depthBuffer,
float  depth,
uint8_t  stencil,
GX2ClearFlags  clearMode 
)

◆ GX2CopySurface()

void GX2CopySurface ( GX2Surface src,
uint32_t  srcLevel,
uint32_t  srcDepth,
GX2Surface dst,
uint32_t  dstLevel,
uint32_t  dstDepth 
)

◆ GX2GetSurfaceSwizzle()

uint32_t GX2GetSurfaceSwizzle ( GX2Surface surface)

◆ GX2InitColorBufferRegs()

void GX2InitColorBufferRegs ( GX2ColorBuffer colorBuffer)
Here is the caller graph for this function:

◆ GX2InitDepthBufferHiZEnable()

void GX2InitDepthBufferHiZEnable ( GX2DepthBuffer depthBuffer,
BOOL  enable 
)

◆ GX2InitDepthBufferRegs()

void GX2InitDepthBufferRegs ( GX2DepthBuffer depthBuffer)

◆ GX2SetClearDepth()

void GX2SetClearDepth ( GX2DepthBuffer depthBuffer,
float  depth 
)

◆ GX2SetClearDepthStencil()

void GX2SetClearDepthStencil ( GX2DepthBuffer depthBuffer,
float  depth,
uint8_t  stencil 
)

◆ GX2SetClearStencil()

void GX2SetClearStencil ( GX2DepthBuffer depthBuffer,
uint8_t  stencil 
)

◆ GX2SetColorBuffer()

void GX2SetColorBuffer ( GX2ColorBuffer colorBuffer,
GX2RenderTarget  target 
)
Here is the caller graph for this function:

◆ GX2SetDepthBuffer()

void GX2SetDepthBuffer ( GX2DepthBuffer depthBuffer)

◆ GX2SetSurfaceSwizzle()

void GX2SetSurfaceSwizzle ( GX2Surface surface,
uint32_t  swizzle 
)