Vis2 Line Renderer
Linedata-Renderer with transparancy
billboard_creation.geom File Reference

Classes

struct  PushConstants
 

Namespaces

namespace  GLSL
 

Functions

 layout (lines_adjacency) in
 
 layout (triangle_strip, max_vertices=4) out
 
 layout (push_constant) uniform PushConstantsBlock
 
 layout (set=0, binding=0) uniform UniformBlock
 
 layout (location=1) in float inCurvature[]
 
void construct_billboard_for_line (vec4 posA, vec4 posB, float radA, float radB, vec4 eyePos, vec4 camDir, vec4 posAPre, vec4 posBSuc, vec4 colA, vec4 colB)
 
uint compute_hash (uint a)
 
vec3 color_from_id_hash (uint a)
 
void main ()
 

Function Documentation

◆ color_from_id_hash()

vec3 color_from_id_hash ( uint  a)

◆ compute_hash()

uint compute_hash ( uint  a)

◆ construct_billboard_for_line()

void construct_billboard_for_line ( vec4  posA,
vec4  posB,
float  radA,
float  radB,
vec4  eyePos,
vec4  camDir,
vec4  posAPre,
vec4  posBSuc,
vec4  colA,
vec4  colB 
)

◆ layout() [1/5]

layout ( lines_adjacency  )

◆ layout() [2/5]

layout ( location  = 1)

◆ layout() [3/5]

layout ( push_constant  )

◆ layout() [4/5]

layout ( set  = 0,
binding  = 0 
)

◆ layout() [5/5]

layout ( triangle_strip  ,
max_vertices  = 4 
)

◆ main()

void main ( )