JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_opengl.h File Reference
Include dependency graph for juce_opengl.h:

Namespaces

 juce
 

Macros

#define APIENTRY   __stdcall
 
#define CLEAR_TEMP_APIENTRY   1
 
#define CLEAR_TEMP_WINGDIAPI   1
 
#define JUCE_GLSL_VERSION   ""
 This macro is a helper for use in GLSL shader code which needs to compile on both OpenGL 2.1 and OpenGL 3.0. More...
 
#define JUCE_HIGHP   "highp"
 This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL. More...
 
#define JUCE_LOWP   "lowp"
 This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL. More...
 
#define JUCE_MEDIUMP   "mediump"
 This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL. More...
 
#define JUCE_OPENGL   1
 
#define JUCE_OPENGL_ES   1
 
#define JUCE_OPENGL_H_INCLUDED
 
#define WINGDIAPI   __declspec(dllimport)
 

Macro Definition Documentation

◆ APIENTRY

#define APIENTRY   __stdcall

◆ CLEAR_TEMP_APIENTRY

#define CLEAR_TEMP_APIENTRY   1

◆ CLEAR_TEMP_WINGDIAPI

#define CLEAR_TEMP_WINGDIAPI   1

◆ JUCE_GLSL_VERSION

#define JUCE_GLSL_VERSION   ""

This macro is a helper for use in GLSL shader code which needs to compile on both OpenGL 2.1 and OpenGL 3.0.

It's mandatory in OpenGL 3.0 to specify the GLSL version.

◆ JUCE_HIGHP

#define JUCE_HIGHP   "highp"

This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL.

Since it's mandatory in GLES to mark a variable with a precision, but the keywords don't exist in normal GLSL, these macros define the various precision keywords only on GLES.

◆ JUCE_LOWP

#define JUCE_LOWP   "lowp"

This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL.

Since it's mandatory in GLES to mark a variable with a precision, but the keywords don't exist in normal GLSL, these macros define the various precision keywords only on GLES.

◆ JUCE_MEDIUMP

#define JUCE_MEDIUMP   "mediump"

This macro is a helper for use in GLSL shader code which needs to compile on both GLES and desktop GL.

Since it's mandatory in GLES to mark a variable with a precision, but the keywords don't exist in normal GLSL, these macros define the various precision keywords only on GLES.

◆ JUCE_OPENGL

#define JUCE_OPENGL   1

◆ JUCE_OPENGL_ES

#define JUCE_OPENGL_ES   1

◆ JUCE_OPENGL_H_INCLUDED

#define JUCE_OPENGL_H_INCLUDED

◆ WINGDIAPI

#define WINGDIAPI   __declspec(dllimport)