OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
centroid.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) uniform readonly image3D inSurface
 
 layout (binding=1, rgba8) uniform writeonly image3D outCentroid
 
 layout (binding=2) uniform atomic_uint outCount
 
 layout (binding=3, std430) buffer IndexBuffer
 
vec4 ComputeCentroid (ivec3 texel)
 
void main ()
 

Variables

precision highp float
 
precision highp image3D
 
uniform float voxel_mode
 

Function Documentation

vec4 ComputeCentroid ( ivec3  texel)

Definition at line 38 of file centroid.cs.

layout ( local_size_x  = 4,
local_size_y  = 4,
local_size_z  = 4 
)
layout ( binding  = 0,
r32f   
)
layout ( binding  = 1,
rgba8   
)
layout ( binding  = 2)
layout ( binding  = 3,
std430   
)

Definition at line 30 of file centroid.cs.

void main ( )

Definition at line 181 of file centroid.cs.

Variable Documentation

precision highp float

Definition at line 23 of file centroid.cs.

precision highp image3D

Definition at line 24 of file centroid.cs.

uniform float voxel_mode

Definition at line 32 of file centroid.cs.