mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:48:17 +01:00
gx2: Add some more draw functions.
This commit is contained in:
parent
a7b9e58c09
commit
29d6e56963
@ -20,18 +20,42 @@ GX2SetAttribBuffer(uint32_t index,
|
||||
|
||||
void
|
||||
GX2DrawEx(GX2PrimitiveMode mode,
|
||||
uint32_t numVertices,
|
||||
uint32_t count,
|
||||
uint32_t offset,
|
||||
uint32_t numInstances);
|
||||
|
||||
void
|
||||
GX2DrawEx2(GX2PrimitiveMode mode,
|
||||
uint32_t count,
|
||||
uint32_t offset,
|
||||
uint32_t numInstances,
|
||||
uint32_t baseInstance);
|
||||
|
||||
void
|
||||
GX2DrawIndexedEx(GX2PrimitiveMode mode,
|
||||
uint32_t numVertices,
|
||||
uint32_t count,
|
||||
GX2IndexType indexType,
|
||||
void *indices,
|
||||
uint32_t offset,
|
||||
uint32_t numInstances);
|
||||
|
||||
void
|
||||
GX2DrawIndexedEx2(GX2PrimitiveMode mode,
|
||||
uint32_t count,
|
||||
GX2IndexType indexType,
|
||||
void *indices,
|
||||
uint32_t offset,
|
||||
uint32_t numInstances,
|
||||
uint32_t baseInstance);
|
||||
|
||||
void
|
||||
GX2DrawIndexedImmediateEx(GX2PrimitiveMode mode,
|
||||
uint32_t count,
|
||||
GX2IndexType indexType,
|
||||
void *indices,
|
||||
uint32_t offset,
|
||||
uint32_t numInstances);
|
||||
|
||||
void
|
||||
GX2SetPrimitiveRestartIndex(uint32_t index);
|
||||
|
||||
|
@ -37,7 +37,10 @@ EXPORT(GX2CopyDisplayList);
|
||||
// gx2/draw.h
|
||||
EXPORT(GX2SetAttribBuffer);
|
||||
EXPORT(GX2DrawEx);
|
||||
EXPORT(GX2DrawEx2);
|
||||
EXPORT(GX2DrawIndexedEx);
|
||||
EXPORT(GX2DrawIndexedEx2);
|
||||
EXPORT(GX2DrawIndexedImmediateEx);
|
||||
EXPORT(GX2SetPrimitiveRestartIndex);
|
||||
|
||||
// gx2/event.h
|
||||
|
Loading…
Reference in New Issue
Block a user