mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:44:19 +01:00
gx2r: Add gx2r display list functions.
This commit is contained in:
parent
c70b7be365
commit
bb3543b626
37
include/gx2r/displaylist.h
Normal file
37
include/gx2r/displaylist.h
Normal file
@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
#include "resource.h"
|
||||
|
||||
/**
|
||||
* \defgroup gx2r_displaylist Display List
|
||||
* \ingroup gx2r
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct GX2RBuffer GX2RBuffer;
|
||||
|
||||
void
|
||||
GX2RBeginDisplayListEx(GX2RBuffer *displayList,
|
||||
uint32_t unknown,
|
||||
GX2RResourceFlags flags);
|
||||
|
||||
uint32_t
|
||||
GX2REndDisplayList(GX2RBuffer *displayList);
|
||||
|
||||
void
|
||||
GX2RCallDisplayList(GX2RBuffer *displayList,
|
||||
uint32_t size);
|
||||
|
||||
void
|
||||
GX2RDirectCallDisplayList(GX2RBuffer *displayList,
|
||||
uint32_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -214,3 +214,9 @@ EXPORT(GX2RSetVertexUniformBlock);
|
||||
EXPORT(GX2RSetPixelUniformBlock);
|
||||
EXPORT(GX2RSetGeometryUniformBlock);
|
||||
|
||||
// gx2r/displaylist.h
|
||||
EXPORT(GX2RBeginDisplayListEx);
|
||||
EXPORT(GX2REndDisplayList);
|
||||
EXPORT(GX2RCallDisplayList);
|
||||
EXPORT(GX2RDirectCallDisplayList);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user