wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
Buffer
Collaboration diagram for Buffer:

Data Structures

struct  GX2RBuffer
 

Typedefs

typedef struct GX2RBuffer GX2RBuffer
 

Functions

BOOL GX2RBufferExists (GX2RBuffer *buffer)
 
BOOL GX2RCreateBuffer (GX2RBuffer *buffer)
 
BOOL GX2RCreateBufferUserMemory (GX2RBuffer *buffer, void *memory, uint32_t size)
 
void GX2RDestroyBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
uint32_t GX2RGetBufferAlignment (GX2RResourceFlags flags)
 
uint32_t GX2RGetBufferAllocationSize (GX2RBuffer *buffer)
 
void GX2RInvalidateBuffer (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void * GX2RLockBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void GX2RUnlockBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void GX2RSetVertexUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 
void GX2RSetPixelUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 
void GX2RSetGeometryUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 

Detailed Description


Data Structure Documentation

◆ GX2RBuffer

struct GX2RBuffer

Definition at line 17 of file buffer.h.

Data Fields
GX2RResourceFlags flags
uint32_t elemSize
uint32_t elemCount
void * buffer

Typedef Documentation

◆ GX2RBuffer

typedef struct GX2RBuffer GX2RBuffer

Definition at line 1 of file buffer.h.

Function Documentation

◆ GX2RBufferExists()

BOOL GX2RBufferExists ( GX2RBuffer buffer)

◆ GX2RCreateBuffer()

BOOL GX2RCreateBuffer ( GX2RBuffer buffer)

◆ GX2RCreateBufferUserMemory()

BOOL GX2RCreateBufferUserMemory ( GX2RBuffer buffer,
void *  memory,
uint32_t  size 
)

◆ GX2RDestroyBufferEx()

void GX2RDestroyBufferEx ( GX2RBuffer buffer,
GX2RResourceFlags  flags 
)

◆ GX2RGetBufferAlignment()

uint32_t GX2RGetBufferAlignment ( GX2RResourceFlags  flags)

◆ GX2RGetBufferAllocationSize()

uint32_t GX2RGetBufferAllocationSize ( GX2RBuffer buffer)

◆ GX2RInvalidateBuffer()

void GX2RInvalidateBuffer ( GX2RBuffer buffer,
GX2RResourceFlags  flags 
)

◆ GX2RLockBufferEx()

void* GX2RLockBufferEx ( GX2RBuffer buffer,
GX2RResourceFlags  flags 
)

◆ GX2RUnlockBufferEx()

void GX2RUnlockBufferEx ( GX2RBuffer buffer,
GX2RResourceFlags  flags 
)

◆ GX2RSetVertexUniformBlock()

void GX2RSetVertexUniformBlock ( GX2RBuffer buffer,
uint32_t  location,
uint32_t  offset 
)

◆ GX2RSetPixelUniformBlock()

void GX2RSetPixelUniformBlock ( GX2RBuffer buffer,
uint32_t  location,
uint32_t  offset 
)

◆ GX2RSetGeometryUniformBlock()

void GX2RSetGeometryUniformBlock ( GX2RBuffer buffer,
uint32_t  location,
uint32_t  offset 
)