mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 13:48:30 +09:00
[Feat] (Diligent/PSO, MG_State/Buffer): implement GL_TRIANGLE_FAN emulation, fixing sky
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
namespace MG_GL::GL {
|
||||
bool IsSamplerType(GLenum type);
|
||||
Diligent::VALUE_TYPE ConvertGLTypeToDiligent(GLenum type);
|
||||
void PrepareForDraw(GLenum mode, GLsizei* pCount, GLenum type, const void*& pIndices);
|
||||
|
||||
void DrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices);
|
||||
void DrawArrays(GLenum mode, GLint first, GLsizei count);
|
||||
|
||||
Reference in New Issue
Block a user