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 <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
20  uint32_t index,
21  uint32_t stride,
22  uint32_t offset);
23 
24 void
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 
GX2IndexType
Definition: enum.h:230
GX2PrimitiveMode
Definition: enum.h:289
void * buffer
Definition: buffer.h:22
void GX2RSetAttributeBuffer(GX2RBuffer *buffer, uint32_t index, uint32_t stride, uint32_t offset)
void GX2RDrawIndexed(GX2PrimitiveMode mode, GX2RBuffer *buffer, GX2IndexType indexType, uint32_t count, uint32_t indexOffset, uint32_t vertexOffset, uint32_t numInstances)