JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_OpenGLExtensions.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  juce::OpenGLExtensionFunctions
 This class contains a generated list of OpenGL extension functions, which are either dynamically loaded for a specific GL context, or simply call-through to the appropriate OS function where available. More...
 

Namespaces

 juce
 

Macros

#define JUCE_DECLARE_GL_FUNCTION(name, returnType, params, callparams)   typedef returnType (__stdcall *type_ ## name) params; type_ ## name name;
 
#define JUCE_GL_BASE_FUNCTIONS(USE_FUNCTION)
 
#define JUCE_GL_EXTENSION_FUNCTIONS(USE_FUNCTION)
 
#define JUCE_GL_VERTEXBUFFER_FUNCTIONS(USE_FUNCTION)
 

Macro Definition Documentation

◆ JUCE_DECLARE_GL_FUNCTION

#define JUCE_DECLARE_GL_FUNCTION (   name,
  returnType,
  params,
  callparams 
)    typedef returnType (__stdcall *type_ ## name) params; type_ ## name name;

◆ JUCE_GL_BASE_FUNCTIONS

#define JUCE_GL_BASE_FUNCTIONS (   USE_FUNCTION)

This macro contains a list of GL extension functions that need to be dynamically loaded on Windows/Linux.

See also
OpenGLExtensionFunctions

◆ JUCE_GL_EXTENSION_FUNCTIONS

#define JUCE_GL_EXTENSION_FUNCTIONS (   USE_FUNCTION)
Value:
USE_FUNCTION (glIsRenderbuffer, GLboolean, (GLuint p1), (p1))\
USE_FUNCTION (glBindRenderbuffer, void, (GLenum p1, GLuint p2), (p1, p2))\
USE_FUNCTION (glDeleteRenderbuffers, void, (GLsizei p1, const GLuint* p2), (p1, p2))\
USE_FUNCTION (glGenRenderbuffers, void, (GLsizei p1, GLuint* p2), (p1, p2))\
USE_FUNCTION (glRenderbufferStorage, void, (GLenum p1, GLenum p2, GLsizei p3, GLsizei p4), (p1, p2, p3, p4))\
USE_FUNCTION (glGetRenderbufferParameteriv, void, (GLenum p1, GLenum p2, GLint* p3), (p1, p2, p3))\
USE_FUNCTION (glIsFramebuffer, GLboolean, (GLuint p1), (p1))\
USE_FUNCTION (glBindFramebuffer, void, (GLenum p1, GLuint p2), (p1, p2))\
USE_FUNCTION (glDeleteFramebuffers, void, (GLsizei p1, const GLuint* p2), (p1, p2))\
USE_FUNCTION (glGenFramebuffers, void, (GLsizei p1, GLuint* p2), (p1, p2))\
USE_FUNCTION (glCheckFramebufferStatus, GLenum, (GLenum p1), (p1))\
USE_FUNCTION (glFramebufferTexture2D, void, (GLenum p1, GLenum p2, GLenum p3, GLuint p4, GLint p5), (p1, p2, p3, p4, p5))\
USE_FUNCTION (glFramebufferRenderbuffer, void, (GLenum p1, GLenum p2, GLenum p3, GLuint p4), (p1, p2, p3, p4))\
USE_FUNCTION (glGetFramebufferAttachmentParameteriv, void, (GLenum p1, GLenum p2, GLenum p3, GLint* p4), (p1, p2, p3, p4))

This macro contains a list of GL extension functions that need to be dynamically loaded on Windows/Linux.

See also
OpenGLExtensionFunctions

◆ JUCE_GL_VERTEXBUFFER_FUNCTIONS

#define JUCE_GL_VERTEXBUFFER_FUNCTIONS (   USE_FUNCTION)
Value:
USE_FUNCTION (glGenVertexArrays, void, (GLsizei p1, GLuint* p2), (p1, p2))\
USE_FUNCTION (glDeleteVertexArrays, void, (GLsizei p1, const GLuint* p2), (p1, p2))\
USE_FUNCTION (glBindVertexArray, void, (GLuint p1), (p1))

This macro contains a list of GL extension functions that need to be dynamically loaded on Windows/Linux.

See also
OpenGLExtensionFunctions