ComposedShadeStyle
A shade style made of members that are applied in order, made with a + b or composeShadeStyles. Every member keeps its own namespace: its parameters, buffers and images, and the functions, variables, structs and macros declared in its preambles are prefixed with s<index>_, so members can use the same names, and the same shade style can be a member more than once. The transforms of the members are applied in order, each in its own scope, x_fill and the other x_ values flow from one member to the next.
Changes to the members are used by the composition: values of parameters directly, changes of structure when the composition is drawn next.
Parameters set on the composition itself are not namespaced, members read them under their own names when they do not have a parameter with that name. Shade style filters set their fill and inputs this way.
Properties
Represents an optional preamble string for a shader's fragment stage. This property allows customization of the initial setup or definitions that precede main shader code for the fragment stage.
Specifies the transformation applied to the fragment shader stage. This property holds an optional string value which represents the GLSL code or expressions defining the transformation logic. When the value of this property is changed, the dirty flag is set to true, indicating that the shader needs to be recompiled or updated.
The GLSL libraries the code of this shade style uses, their code is emitted before the preambles of the stages that read their names
Counts the changes of the structure of this shade style: its code, parameter types and outputs
Represents the preamble for vertex shading code in the shade style. This property is used to define custom vertex processing logic and, when modified, marks the state as dirty to trigger a necessary update.
Specifies a transformation applied to the vertex shader in the form of a string.
Functions
Binds an ArrayCubemap as an image to be used in computations such as shaders. Validates the presence of an existing image binding with the specified name and configures the binding using the given ArrayCubemap and mipmap level.
Sets name to a parameter that is resolved in the shader, read from a texture or computed by GLSL code
This shade style with its dynamic parameters and libraries resolved: the shade style itself when it has none, otherwise a shade style that reads them through resolver functions and has the code of the libraries it uses in its preambles. Shade style managers use it to make shaders.