WUT  0.1
Wii U Toolchain
draw.h
Go to the documentation of this file.
1 #pragma once
2 #include <wut.h>
3 #include "enum.h"
4 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 void
16 GX2SetAttribBuffer(uint32_t index,
17  uint32_t size,
18  uint32_t stride,
19  void *buffer);
20 
21 void
23  uint32_t numVertices,
24  uint32_t offset,
25  uint32_t numInstances);
26 
27 void
29  uint32_t numVertices,
30  GX2IndexType indexType,
31  void *indices,
32  uint32_t offset,
33  uint32_t numInstances);
34 
35 void
36 GX2SetPrimitiveRestartIndex(uint32_t index);
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
GX2PrimitiveMode
Definition: enum.h:206
void GX2SetPrimitiveRestartIndex(uint32_t index)
void GX2DrawEx(GX2PrimitiveMode mode, uint32_t numVertices, uint32_t offset, uint32_t numInstances)
GX2IndexType
Definition: enum.h:169
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)