wut  v1.7.0
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  const void *buffer);
20 
21 void
23  uint32_t count,
24  uint32_t offset,
25  uint32_t numInstances);
26 
27 void
29  uint32_t count,
30  uint32_t offset,
31  uint32_t numInstances,
32  uint32_t baseInstance);
33 
34 void
36  uint32_t count,
37  GX2IndexType indexType,
38  const void *indices,
39  uint32_t offset,
40  uint32_t numInstances);
41 
42 void
44  uint32_t count,
45  GX2IndexType indexType,
46  const void *indices,
47  uint32_t offset,
48  uint32_t numInstances,
49  uint32_t baseInstance);
50 
51 void
53  uint32_t count,
54  GX2IndexType indexType,
55  const void *indices,
56  uint32_t offset,
57  uint32_t numInstances);
58 
59 void
61 
62 #ifdef __cplusplus
63 }
64 #endif
65 
void GX2DrawEx(GX2PrimitiveMode mode, uint32_t count, uint32_t offset, uint32_t numInstances)
void GX2DrawIndexedEx2(GX2PrimitiveMode mode, uint32_t count, GX2IndexType indexType, const void *indices, uint32_t offset, uint32_t numInstances, uint32_t baseInstance)
void GX2DrawIndexedImmediateEx(GX2PrimitiveMode mode, uint32_t count, GX2IndexType indexType, const void *indices, uint32_t offset, uint32_t numInstances)
void GX2SetPrimitiveRestartIndex(uint32_t index)
void GX2DrawEx2(GX2PrimitiveMode mode, uint32_t count, uint32_t offset, uint32_t numInstances, uint32_t baseInstance)
void GX2DrawIndexedEx(GX2PrimitiveMode mode, uint32_t count, GX2IndexType indexType, const void *indices, uint32_t offset, uint32_t numInstances)
void GX2SetAttribBuffer(uint32_t index, uint32_t size, uint32_t stride, const void *buffer)
GX2IndexType
Definition: enum.h:230
GX2PrimitiveMode
Definition: enum.h:289