JUCE v8.0.9
JUCE API
 
Loading...
Searching...
No Matches
juce_opengl.h File Reference
Include dependency graph for juce_opengl.h:

Namespaces

namespace  juce
 

Macros

#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.
 
#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.
 
#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.
 
#define JUCE_OPENGL   1
 
#define JUCE_OPENGL_ES   1
 
#define JUCE_OPENGL_H_INCLUDED
 

Macro Definition Documentation

◆ 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