mightymandel v16

GPU-based Mandelbrot set explorer

colour2::fp32::frag Class Reference

Fragment Shader. More...

Public Member Functions

out layout (location=0, index=0) vec4 c
 Output RGBA colours.
void main ()
 Output the colour for the pixel.

Data Fields

uniform sampler2D rgb
 RGB texture sampler.
smooth in vec2 t
 Texture coordinate for the current pixel.

Detailed Description

Fragment Shader.

Definition at line 6 of file fp32_colour2_frag.glsl.

Member Function Documentation

out colour2::fp32::frag::layout ( location  = 0,
index  = 0 
)

Output RGBA colours.

void colour2::fp32::frag::main ( )
inline

Output the colour for the pixel.

Definition at line 30 of file fp32_colour2_frag.glsl.

Field Documentation

uniform sampler2D colour2::fp32::frag::rgb

RGB texture sampler.

Definition at line 15 of file fp32_colour2_frag.glsl.

smooth in vec2 colour2::fp32::frag::t

Texture coordinate for the current pixel.

Definition at line 20 of file fp32_colour2_frag.glsl.


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