2018-06-22 20:51:16 +01:00
|
|
|
module glad.gl.ext;
|
|
|
|
|
|
|
|
|
|
|
|
private import glad.gl.types;
|
|
|
|
private import glad.gl.enums;
|
|
|
|
private import glad.gl.funcs;
|
2018-09-30 17:22:59 +01:00
|
|
|
bool GL_KHR_debug;
|
2018-06-22 20:51:16 +01:00
|
|
|
nothrow @nogc extern(System) {
|
2018-09-30 17:22:59 +01:00
|
|
|
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**);
|
2018-06-22 20:51:16 +01:00
|
|
|
}
|
|
|
|
__gshared {
|
2018-09-30 17:22:59 +01:00
|
|
|
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;
|
2018-06-22 20:51:16 +01:00
|
|
|
}
|