Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::ParticleSurface_wireframe_geo Class Reference

Shader program. More...

Public Member Functions

void emit (float x, float y, Vector2 csRight, Vector2 csUp, Vector3 wsRight, Vector3 wsUp)
 Produce a vertex. More...
 
 layout (points) in
 
 layout (line_strip, max_vertices=5) out
 
 layout (location=0) in vec3 wsCenterVertexOutput[]
 
 layout (location=1) in vec3 shapeVertexOutput[]
 
 layout (location=2) in int4 materialIndexVertexOutput[]
 
 layout (location=3) in float angleVertexOutput[]
 
void main ()
 

Public Attributes

uniform float nearPlaneZ
 

Detailed Description

Shader program.

Member Function Documentation

◆ emit()

void glsl::ParticleSurface_wireframe_geo::emit ( float  x,
float  y,
Vector2  csRight,
Vector2  csUp,
Vector3  wsRight,
Vector3  wsUp 
)
inline

Produce a vertex.

Note that x and y are compile-time constants, so most of this arithmetic compiles out.

◆ layout() [1/6]

glsl::ParticleSurface_wireframe_geo::layout ( points  )

◆ layout() [2/6]

glsl::ParticleSurface_wireframe_geo::layout ( line_strip  ,
max_vertices  = 5 
)

◆ layout() [3/6]

glsl::ParticleSurface_wireframe_geo::layout ( location  = 0)

◆ layout() [4/6]

glsl::ParticleSurface_wireframe_geo::layout ( location  = 1)

◆ layout() [5/6]

glsl::ParticleSurface_wireframe_geo::layout ( location  = 2)

◆ layout() [6/6]

glsl::ParticleSurface_wireframe_geo::layout ( location  = 3)

◆ main()

void glsl::ParticleSurface_wireframe_geo::main ( void  )
inline

Member Data Documentation

◆ nearPlaneZ

uniform float glsl::ParticleSurface_wireframe_geo::nearPlaneZ

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15