Loading...
Searching...
No Matches
juce_opengl.h File Reference

Namespaces

namespace  juce

Macros

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

Macro Definition Documentation

◆ JUCE_OPENGL_H_INCLUDED

#define JUCE_OPENGL_H_INCLUDED

◆ JUCE_OPENGL

#define JUCE_OPENGL   1

◆ JUCE_OPENGL_ES

#define JUCE_OPENGL_ES   1

◆ 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_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.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram