mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:24:17 +01:00
gx2: Add some tessellation functions.
This commit is contained in:
parent
29d6e56963
commit
b85e35dc7d
31
include/gx2/tessellation.h
Normal file
31
include/gx2/tessellation.h
Normal file
@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
#include <wut.h>
|
||||
#include <coreinit/time.h>
|
||||
#include "enum.h"
|
||||
|
||||
/**
|
||||
* \defgroup gx2_tessellation Tessellation
|
||||
* \ingroup gx2
|
||||
* @{
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void
|
||||
GX2SetTessellation(GX2TessellationMode tessellationMode,
|
||||
GX2PrimitiveMode primitiveMode,
|
||||
GX2IndexType indexType);
|
||||
|
||||
void
|
||||
GX2SetMinTessellationLevel(float min);
|
||||
|
||||
void
|
||||
GX2SetMaxTessellationLevel(float max);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
@ -189,6 +189,11 @@ EXPORT(GX2GetLastFrameGamma);
|
||||
EXPORT(GX2GetSwapInterval);
|
||||
EXPORT(GX2SetSwapInterval);
|
||||
|
||||
// gx2/tessellation.h
|
||||
EXPORT(GX2SetTessellation);
|
||||
EXPORT(GX2SetMinTessellationLevel);
|
||||
EXPORT(GX2SetMaxTessellationLevel);
|
||||
|
||||
// gx2/texture.h
|
||||
EXPORT(GX2InitTextureRegs);
|
||||
EXPORT(GX2SetPixelTexture);
|
||||
|
Loading…
Reference in New Issue
Block a user