RetroArch
wiiu
include
wiiu
gx2r
draw.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wiiu/types.h
>
3
#include <
gx2/enum.h
>
4
#include "
resource.h
"
5
#include "
buffer.h
"
6
7
#ifdef __cplusplus
8
extern
"C"
{
9
#endif
10
11
void
GX2RSetAttributeBuffer
(
GX2RBuffer
*
buffer
,
uint32_t
index
,
uint32_t
stride
,
uint32_t
offset
);
12
void
GX2RDrawIndexed
(
GX2PrimitiveMode
mode
,
GX2RBuffer
*
buffer
,
GX2IndexType
indexType,
uint32_t
count
,
13
uint32_t
indexOffset,
uint32_t
vertexOffset,
uint32_t
numInstances);
14
15
#ifdef __cplusplus
16
}
17
#endif
GX2RBuffer
Definition:
buffer.h:9
mode
GLenum mode
Definition:
glext.h:6857
enum.h
buffer.h
GX2PrimitiveMode
GX2PrimitiveMode
Definition:
enum.h:222
count
GLuint GLuint GLsizei count
Definition:
glext.h:6292
GX2IndexType
GX2IndexType
Definition:
enum.h:168
types.h
GX2RSetAttributeBuffer
void GX2RSetAttributeBuffer(GX2RBuffer *buffer, uint32_t index, uint32_t stride, uint32_t offset)
index
GLuint index
Definition:
glext.h:6671
stride
GLsizei stride
Definition:
glext.h:6488
resource.h
buffer
Definition:
video4linux2.c:51
GX2RDrawIndexed
void GX2RDrawIndexed(GX2PrimitiveMode mode, GX2RBuffer *buffer, GX2IndexType indexType, uint32_t count, uint32_t indexOffset, uint32_t vertexOffset, uint32_t numInstances)
offset
GLintptr offset
Definition:
glext.h:6560
uint32_t
unsigned int uint32_t
Definition:
stdint.h:126
Generated by
1.8.15