Support Forum       G3D Web Page     
Classes | Namespaces | Macros
compatibility.glsl File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

class  glsl::compatibility_glsl
 Shader program. More...
 

Namespaces

 glsl
 

Macros

#define bool1   bool
 
#define bool2   bvec2
 
#define bool3   bvec3
 
#define bool4   bvec4
 
#define compatability_glsl
 
#define ddx   dFdx
 
#define ddy   dFdy
 
#define float1   float
 
#define float2   vec2
 
#define float3   vec3
 
#define float4   vec4
 
#define half   float
 
#define half1   float
 
#define half2   vec2
 
#define half3   vec3
 
#define half4   vec4
 
#define int1   int
 
#define int2   ivec2
 
#define int3   ivec3
 
#define int4   ivec4
 
#define lerp   mix
 
#define rsqrt   inversesqrt
 
#define tex2D   texture2D
 
#define textureQueryLod   textureQueryLOD
 
Support for some GL 4.0 shader calls on older versions of OpenGL, and support for some HLSL types and functions. More...
 
#define uint1   uint
 
#define uint2   uvec2
 
#define uint3   uvec3
 
#define uint4   uvec4
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.

Macro Definition Documentation

◆ bool1

#define bool1   bool

◆ bool2

#define bool2   bvec2

◆ bool3

#define bool3   bvec3

◆ bool4

#define bool4   bvec4

◆ compatability_glsl

#define compatability_glsl

◆ ddx

#define ddx   dFdx

◆ ddy

#define ddy   dFdy

◆ float1

#define float1   float

◆ float2

#define float2   vec2

◆ float3

#define float3   vec3

◆ float4

#define float4   vec4

◆ half

#define half   float

◆ half1

#define half1   float

◆ half2

#define half2   vec2

◆ half3

#define half3   vec3

◆ half4

#define half4   vec4

◆ int1

#define int1   int

◆ int2

#define int2   ivec2

◆ int3

#define int3   ivec3

◆ int4

#define int4   ivec4

◆ lerp

#define lerp   mix

◆ rsqrt

#define rsqrt   inversesqrt

◆ tex2D

#define tex2D   texture2D

◆ textureQueryLod

#define textureQueryLod   textureQueryLOD


Support for some GL 4.0 shader calls on older versions of OpenGL, and support for some HLSL types and functions.

Referenced by glsl::LightingEnvironment_environmentMapUniforms_glsl::sampleEnvironmentMap().

◆ uint1

#define uint1   uint

◆ uint2

#define uint2   uvec2

◆ uint3

#define uint3   uvec3

◆ uint4

#define uint4   uvec4

documentation generated on Wed Nov 24 2021 08:01:50 using doxygen 1.8.15