chipd8/source/glad/gl/ext.d

56 lines
3.0 KiB
D

module glad.gl.ext;
private import glad.gl.types;
private import glad.gl.enums;
private import glad.gl.funcs;
bool GL_KHR_debug;
nothrow @nogc extern(System) {
alias fp_glDebugMessageControl = void function(GLenum, GLenum, GLenum, GLsizei, const(GLuint)*, GLboolean);
alias fp_glDebugMessageInsert = void function(GLenum, GLenum, GLuint, GLenum, GLsizei, const(GLchar)*);
alias fp_glDebugMessageCallback = void function(GLDEBUGPROC, const(void)*);
alias fp_glGetDebugMessageLog = GLuint function(GLuint, GLsizei, GLenum*, GLenum*, GLuint*, GLenum*, GLsizei*, GLchar*);
alias fp_glPushDebugGroup = void function(GLenum, GLuint, GLsizei, const(GLchar)*);
alias fp_glPopDebugGroup = void function();
alias fp_glObjectLabel = void function(GLenum, GLuint, GLsizei, const(GLchar)*);
alias fp_glGetObjectLabel = void function(GLenum, GLuint, GLsizei, GLsizei*, GLchar*);
alias fp_glObjectPtrLabel = void function(const(void)*, GLsizei, const(GLchar)*);
alias fp_glGetObjectPtrLabel = void function(const(void)*, GLsizei, GLsizei*, GLchar*);
alias fp_glGetPointerv = void function(GLenum, void**);
alias fp_glDebugMessageControlKHR = void function(GLenum, GLenum, GLenum, GLsizei, const(GLuint)*, GLboolean);
alias fp_glDebugMessageInsertKHR = void function(GLenum, GLenum, GLuint, GLenum, GLsizei, const(GLchar)*);
alias fp_glDebugMessageCallbackKHR = void function(GLDEBUGPROCKHR, const(void)*);
alias fp_glGetDebugMessageLogKHR = GLuint function(GLuint, GLsizei, GLenum*, GLenum*, GLuint*, GLenum*, GLsizei*, GLchar*);
alias fp_glPushDebugGroupKHR = void function(GLenum, GLuint, GLsizei, const(GLchar)*);
alias fp_glPopDebugGroupKHR = void function();
alias fp_glObjectLabelKHR = void function(GLenum, GLuint, GLsizei, const(GLchar)*);
alias fp_glGetObjectLabelKHR = void function(GLenum, GLuint, GLsizei, GLsizei*, GLchar*);
alias fp_glObjectPtrLabelKHR = void function(const(void)*, GLsizei, const(GLchar)*);
alias fp_glGetObjectPtrLabelKHR = void function(const(void)*, GLsizei, GLsizei*, GLchar*);
alias fp_glGetPointervKHR = void function(GLenum, void**);
}
__gshared {
fp_glGetObjectLabelKHR glGetObjectLabelKHR;
fp_glGetDebugMessageLog glGetDebugMessageLog;
fp_glObjectLabel glObjectLabel;
fp_glGetObjectPtrLabelKHR glGetObjectPtrLabelKHR;
fp_glDebugMessageControlKHR glDebugMessageControlKHR;
fp_glGetObjectPtrLabel glGetObjectPtrLabel;
fp_glObjectLabelKHR glObjectLabelKHR;
fp_glGetObjectLabel glGetObjectLabel;
fp_glDebugMessageControl glDebugMessageControl;
fp_glDebugMessageInsert glDebugMessageInsert;
fp_glGetDebugMessageLogKHR glGetDebugMessageLogKHR;
fp_glGetPointervKHR glGetPointervKHR;
fp_glDebugMessageCallbackKHR glDebugMessageCallbackKHR;
fp_glPushDebugGroup glPushDebugGroup;
fp_glGetPointerv glGetPointerv;
fp_glPushDebugGroupKHR glPushDebugGroupKHR;
fp_glDebugMessageCallback glDebugMessageCallback;
fp_glDebugMessageInsertKHR glDebugMessageInsertKHR;
fp_glPopDebugGroupKHR glPopDebugGroupKHR;
fp_glObjectPtrLabel glObjectPtrLabel;
fp_glObjectPtrLabelKHR glObjectPtrLabelKHR;
fp_glPopDebugGroup glPopDebugGroup;
}