wut
v1.7.0
Wii U Toolchain
include
gx2r
draw.h
Go to the documentation of this file.
1
#pragma once
2
#include <
wut.h
>
3
#include <
gx2/enum.h
>
4
#include "
resource.h
"
5
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
typedef
struct
GX2RBuffer
GX2RBuffer
;
17
18
void
19
GX2RSetAttributeBuffer
(
GX2RBuffer
*
buffer
,
20
uint32_t index,
21
uint32_t stride,
22
uint32_t offset);
23
24
void
25
GX2RDrawIndexed
(
GX2PrimitiveMode
mode,
26
GX2RBuffer
*
buffer
,
27
GX2IndexType
indexType,
28
uint32_t count,
29
uint32_t indexOffset,
30
uint32_t vertexOffset,
31
uint32_t numInstances);
32
33
#ifdef __cplusplus
34
}
35
#endif
36
enum.h
GX2IndexType
GX2IndexType
Definition:
enum.h:230
GX2PrimitiveMode
GX2PrimitiveMode
Definition:
enum.h:289
GX2RBuffer::buffer
void * buffer
Definition:
buffer.h:22
GX2RBuffer
Definition:
buffer.h:18
GX2RSetAttributeBuffer
void GX2RSetAttributeBuffer(GX2RBuffer *buffer, uint32_t index, uint32_t stride, uint32_t offset)
GX2RDrawIndexed
void GX2RDrawIndexed(GX2PrimitiveMode mode, GX2RBuffer *buffer, GX2IndexType indexType, uint32_t count, uint32_t indexOffset, uint32_t vertexOffset, uint32_t numInstances)
resource.h
wut.h
Generated by
1.9.1