#include "shader_structures.glsl"
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 () |
vec3 color_from_id_hash | ( | uint | a | ) |
uint compute_hash | ( | uint | a | ) |
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 | ( | lines_adjacency | ) |
layout | ( | location | = 1 | ) |
layout | ( | push_constant | ) |
layout | ( | set | = 0 , |
binding | = 0 |
||
) |
layout | ( | triangle_strip | , |
max_vertices | = 4 |
||
) |
void main | ( | ) |