Vis2 Line Renderer
Linedata-Renderer with transparancy
GLSL::background Class Reference

Public Member Functions

 layout (set=0, binding=0) uniform UniformBlock
 
 layout (location=0) out vec4 oFragColor
 
void main ()
 
void main ()
 

Public Attributes

vec2 positions [6]
 

Detailed Description

A simple fragment shader that outputs a simple gradient for a given color

Author
Gerald Kimmersdorfer, Mathias Hürbe
Date
2022
Remarks
Fragment-Shader

A simple vertex shader that when invoked 6 times outputs a full screen quad

Author
Gerald Kimmersdorfer, Mathias Hürbe
Date
2022
Remarks
Vertex-Shader

Member Function Documentation

◆ layout() [1/2]

GLSL::background::layout ( location  = 0)

◆ layout() [2/2]

GLSL::background::layout ( set  = 0,
binding  = 0 
)
inline

◆ main() [1/2]

void GLSL::background::main ( )
inline

◆ main() [2/2]

void GLSL::background::main ( )
inline

Member Data Documentation

◆ positions

vec2 GLSL::background::positions[6]
Initial value:
= vec2[](
vec2(-1.0, -1.0),
vec2(1.0, -1.0),
vec2(-1.0, 1.0),
vec2(1.0, -1.0),
vec2(-1.0, 1.0),
vec2(1.0, 1.0)
)

The documentation for this class was generated from the following files: