Skip to content

Shaders

The shader programs of JOID and of your own, the shader passes and the pipeline that chains them over an offscreen framebuffer. Learn: Shaders.

TypeKindSummary
BlurShaderclassThe shader of the one-axis blur that BlurShaderPass runs.
BlurShaderPassclassBlurs the previous result along one axis; chain a horizontal and a vertical pass for a full blur.
BorderShaderclassThe shader of the outline that BorderShaderPass draws around the alpha of a texture.
BorderShaderPassclassOutlines the shape of the previous result with a colored stroke that follows its alpha, rounded corners included.
CircleShaderclassThe shader of discs, which masks what is drawn outside a circle with a smooth edge.
CircleShaderPassclassKeeps only the disc of the previous result, with a smooth edge.
GradientShaderclassThe shader of linear gradients, which colors what is drawn along a line between two stops.
IShaderPassinterfaceOne step of a ShaderPipeline, which binds a shader that reads the previous result as a texture.
RoundedShaderclassThe shader of rounded rectangles and rounded borders, which masks what is drawn outside a rounded box.
RoundedShaderPassclassKeeps only a rounded rectangle of the previous result, with smooth corners.
ShaderFillTypeenumWhat the rounded and circle shaders mask: the texture tinted by the color, the texture alone, or the color alone.
ShaderPassContextclassWhat a shader pass needs to know about the area it runs on, the part of it rendered and the framebuffer that holds it.
ShaderPipelineclassDraws something into an offscreen framebuffer, runs it through a chain of shader passes, and draws the result in place.
ShaderProgramclassBase class of a shader of your own, loaded from JOID GLSL sources and created on the render bridge the first time it is used.
ShadowShaderclassThe shader of soft shadows, which draws the blurred silhouette of a rounded box.

Nested types and listeners that the main types use.

TypeKindSummary
BorderShader.BorderModeenumWhere a border stroke sits relative to the edge of the shape.

Report a problem with this page