OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
generate.cs File Reference

Go to the source code of this file.

Functions

 layout (local_size_x=4, local_size_y=4, local_size_z=4) in
 
 layout (binding=0, r32f) writeonly highp uniform image3D outSurface
 
float snoise (vec3 v)
 
float WeirdFloor (vec3 p)
 
float Sphere (vec3 p, float r2)
 
float Cloud (vec3 p, vec3 center)
 
float Scene (vec3 p)
 
void main ()
 
vec3 mod289 (vec3 x)
 
vec4 mod289 (vec4 x)
 
vec4 permute (vec4 x)
 
vec4 taylorInvSqrt (vec4 r)
 

Variables

precision highp float
 
uniform vec3 sphere_pos
 
uniform float sphere_radius
 
uniform int dimension
 
uniform float time
 

Function Documentation

float Cloud ( vec3  p,
vec3  center 
)

Definition at line 50 of file generate.cs.

layout ( local_size_x  = 4,
local_size_y  = 4,
local_size_z  = 4 
)
layout ( binding  = 0,
r32f   
)
void main ( )

Definition at line 75 of file generate.cs.

vec3 mod289 ( vec3  x)

Definition at line 110 of file generate.cs.

vec4 mod289 ( vec4  x)

Definition at line 114 of file generate.cs.

vec4 permute ( vec4  x)

Definition at line 118 of file generate.cs.

float Scene ( vec3  p)

Definition at line 63 of file generate.cs.

float snoise ( vec3  v)

Definition at line 127 of file generate.cs.

float Sphere ( vec3  p,
float  r2 
)

Definition at line 45 of file generate.cs.

vec4 taylorInvSqrt ( vec4  r)

Definition at line 122 of file generate.cs.

float WeirdFloor ( vec3  p)

Definition at line 34 of file generate.cs.

Variable Documentation

uniform int dimension

Definition at line 29 of file generate.cs.

precision highp float

Definition at line 23 of file generate.cs.

uniform vec3 sphere_pos

Definition at line 27 of file generate.cs.

uniform float sphere_radius

Definition at line 28 of file generate.cs.

uniform float time

Definition at line 30 of file generate.cs.