Skip to content

Pipeline

What a draw call carries to the render bridge: the matrices and the pixel grid, the render state with its blending and stencil, the vertices, and the JOID GLSL sources with their translation and uniforms. Learn: Render pipeline, Shader translation, Drawing resources and transforms.

TypeKindSummary
BlendStateclassHow a draw combines its colors with the pixels already on the target, an equation and four factors.
CoreShaderenumThe JOID GLSL shaders of the core, which draw text, shapes, lines and the built-in effects on every backend.
DepthRangeclassConverts a projection from the OpenGL depth range, -1 to 1, to a clip space whose depth goes from 0 to 1.
GlslDialectenumA GLSL or GLSL ES version that the shader translator writes, with the language features that each version allows.
GlslShaderTranslatorclassRewrites the JOID GLSL stages of a shader into the dialect of a backend, with the declarations, uniforms and wrappers that JOID adds around the body.
ImplicitConversionclassRewrites the integer literals of a GLSL body as float literals where a float is expected, for the dialects whose compiler does not convert them.
MatrixStackclassA 4×4 transformation matrix with a stack that saves and restores it, as the model-view and the projection of the render bridge.
PipelineKeyclassThe part of the render state that a pipeline object bakes in, as a value that a backend uses as the key of its pipeline cache.
PixelGridclassMaps design pixels onto the screen pixels of the current projection, model-view and viewport, and snaps edges, sizes and motions onto whole pixels.
PrimitiveenumHow the vertices of a draw join, in segments or in triangles.
RenderStateclassThe settings that every draw reads, color, blending, texture, shader, lines, depth, stencil, viewport and target.
ShaderBuiltinenumThe names that a JOID GLSL source uses without declaring them, the vertex attributes, the matrices and the lighting that JOID provides, and the fragment output.
ShaderFeatureenumA GLSL feature that only some dialects accept, with the first desktop and ES versions that have it and the pattern that finds it in a source.
ShaderSourceclassOne stage of a shader written in JOID GLSL, parsed so that every backend can translate it.
ShaderStageenumThe two programmable stages of a JOID shader.
ShaderTranslationclassThe translated sources of a shader, ready for the graphics API, the vertex and fragment stages and the optional stencil write stage.
ShaderVariableclassA variable that a shader source declares, an input, an output, a uniform or a sampler, as the translator reads and writes it again.
StencilEmulationclassStencil test and update done in the fragment shader, for a backend whose targets have no stencil buffer.
StencilFunctionenumThe comparison of a stencil test between the masked reference and the masked stored value.
StencilOperationenumWhat a draw does to the stored stencil value after the stencil and depth tests.
StencilStateclassThe immutable stencil settings of the render state, comparison, reference, mask and the three operations.
UniformBlockclassHolds every uniform value of a shader at its std140 offset, tracks which ones changed, and packs or hands them to the backend before a draw.
UniformLayoutenumHow a translated program declares its uniforms, in one std140 block or one by one.
UniformMemberclassOne uniform of a block, its std140 place, its current value as raw 32-bit words, and whether it changed since the backend last sent it.
UniformSamplerclassOne sampler of a shader, its texture unit and the texture, filter and wrap bound to it.
UniformTypeenumThe GLSL types that a uniform can have, with the component and column counts that set its std140 size and the values that it accepts.
VertexAttributeenumThe attributes of a JOID vertex, each with its shader input, its location, its byte offset and its format.
VertexBufferclassThe vertices of one draw, in the fixed 32-byte layout that every backend reads.
VertexComponentenumThe numeric type of the components of a vertex attribute.
VertexFillclassCopies a vertex buffer into memory of the backend and writes neutral values where the draw left optional attributes out.

Nested types and listeners that the main types use.

TypeKindSummary
BlendState.EquationenumThe operation that combines the weighted source and destination colors of a blend state.
BlendState.FactorenumA weight that a blend state applies to the source or the destination color before its equation.
PixelGrid.SpanclassThe snapped edges of a shape along one axis, with the coverage that fades a span thinner than a pixel.
ShaderBuiltin.KindenumHow the translator declares a built-in name, as a vertex attribute, a uniform or the fragment output.
StencilEmulation.PassenumWhich stencil code a translated fragment stage carries.

Report a problem with this page