WUT  0.1
Wii U Toolchain
draw.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef enum GX2PrimitiveMode
15 {
21 
22 typedef enum GX2IndexType
23 {
28 } GX2IndexType;
29 
30 void
31 GX2SetAttribBuffer(uint32_t index,
32  uint32_t size,
33  uint32_t stride,
34  void *buffer);
35 
36 void
38  uint32_t numVertices,
39  uint32_t offset,
40  uint32_t numInstances);
41 
42 void
44  uint32_t numVertices,
45  GX2IndexType indexType,
46  void *indices,
47  uint32_t offset,
48  uint32_t numInstances);
49 
50 void
51 GX2SetPrimitiveRestartIndex(uint32_t index);
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
void GX2SetPrimitiveRestartIndex(uint32_t index)
GX2PrimitiveMode
Definition: draw.h:14
GX2IndexType
Definition: draw.h:22
void GX2DrawEx(GX2PrimitiveMode mode, uint32_t numVertices, uint32_t offset, uint32_t numInstances)
void GX2DrawIndexedEx(GX2PrimitiveMode mode, uint32_t numVertices, GX2IndexType indexType, void *indices, uint32_t offset, uint32_t numInstances)
void GX2SetAttribBuffer(uint32_t index, uint32_t size, uint32_t stride, void *buffer)