mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
internal/graphpicsdriver/playstation5: add consts
This commit is contained in:
parent
043164e17c
commit
508922250a
@ -36,14 +36,16 @@ extern "C" void ebitengine_Begin() {}
|
||||
|
||||
extern "C" void ebitengine_End(int present) {}
|
||||
|
||||
extern "C" void ebitengine_SetVertices(float *vertices, int vertexCount,
|
||||
uint32_t *indices, int indexCount) {}
|
||||
extern "C" void ebitengine_SetVertices(const float *vertices, int vertexCount,
|
||||
const uint32_t *indices,
|
||||
int indexCount) {}
|
||||
|
||||
extern "C" ebitengine_Error
|
||||
ebitengine_DrawTriangles(int dst, int *srcs, int srcCount, int shader,
|
||||
ebitengine_DstRegion *dstRegions, int dstRegionCount,
|
||||
int indexOffset, ebitengine_Blend blend,
|
||||
uint32_t *uniforms, int uniformCount, int fillRule) {
|
||||
ebitengine_DrawTriangles(int dst, const int *srcs, int srcCount, int shader,
|
||||
const ebitengine_DstRegion *dstRegions,
|
||||
int dstRegionCount, int indexOffset,
|
||||
ebitengine_Blend blend, const uint32_t *uniforms,
|
||||
int uniformCount, int fillRule) {
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -59,14 +59,15 @@ void ebitengine_DisposeImage(int id);
|
||||
|
||||
void ebitengine_Begin();
|
||||
void ebitengine_End(int present);
|
||||
void ebitengine_SetVertices(float *vertices, int vertexCount, uint32_t *indices,
|
||||
int indexCount);
|
||||
void ebitengine_SetVertices(const float *vertices, int vertexCount,
|
||||
const uint32_t *indices, int indexCount);
|
||||
|
||||
ebitengine_Error
|
||||
ebitengine_DrawTriangles(int dst, int *srcs, int srcCount, int shader,
|
||||
ebitengine_DstRegion *dstRegions, int dstRegionCount,
|
||||
int indexOffset, ebitengine_Blend blend,
|
||||
uint32_t *uniforms, int uniformCount, int fillRule);
|
||||
ebitengine_DrawTriangles(int dst, const int *srcs, int srcCount, int shader,
|
||||
const ebitengine_DstRegion *dstRegions,
|
||||
int dstRegionCount, int indexOffset,
|
||||
ebitengine_Blend blend, const uint32_t *uniforms,
|
||||
int uniformCount, int fillRule);
|
||||
|
||||
ebitengine_Error ebitengine_NewShader(int *shader, const char *source);
|
||||
void ebitengine_DisposeShader(int id);
|
||||
|
Loading…
Reference in New Issue
Block a user