Table of Contents

Delegate FragShader

Namespace
RenderSharp
Assembly
RenderSharp.dll

Delegate type for fragment shaders.

public delegate void FragShader(FRGBA fragIn, out FRGBA fragOut, Vec2 fragCoord, Vec2 res, double time)

Parameters

fragIn FRGBA

Input pixel for the shader.

fragOut FRGBA

Output pixel to write to for the shader.

fragCoord Vec2

Coordinate within the space of the rendered texture.

res Vec2

Size of the rendered texture.

time double

Time elapsed.