RetroArch
buffer.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "resource.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 typedef struct
10 {
14  void *buffer;
15 } GX2RBuffer;
16 
29 
30 #ifdef __cplusplus
31 }
32 #endif
Definition: buffer.h:9
BOOL X2RBufferExists(GX2RBuffer *buffer)
void GX2RDestroyBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
GLsizeiptr size
Definition: glext.h:6559
uint32_t elemSize
Definition: buffer.h:12
uint32_t GX2RGetBufferAlignment(GX2RResourceFlags flags)
BOOL GX2RCreateBufferUserMemory(GX2RBuffer *buffer, void *memory, uint32_t size)
void * buffer
Definition: buffer.h:14
GLint location
Definition: glext.h:6690
uint32_t elemCount
Definition: buffer.h:13
GX2RResourceFlags
Definition: resource.h:8
void GX2RUnlockBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
void * GX2RLockBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
void GX2RSetVertexUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
uint32_t GX2RGetBufferAllocationSize(GX2RBuffer *buffer)
unsigned int BOOL
Definition: gctypes.h:51
void GX2RSetGeometryUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
void GX2RSetPixelUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
GX2RResourceFlags flags
Definition: buffer.h:11
Definition: video4linux2.c:51
GLintptr offset
Definition: glext.h:6560
GLbitfield flags
Definition: glext.h:7828
void GX2RInvalidateBuffer(GX2RBuffer *buffer, GX2RResourceFlags flags)
BOOL X2RCreateBuffer(GX2RBuffer *buffer)
unsigned int uint32_t
Definition: stdint.h:126