Companion

expect object Companion(source)
actual object Companion(source)
actual object Companion(source)

Functions

Link copied to clipboard
expect fun drawerUniforms(contextBlock: Boolean = true, styleBlock: Boolean = true): String

This granule is used to set up Drawer uniform declarations. It declares uniforms for transformations and DrawStyle. This is used in fragment and vertex shaders.

actual fun drawerUniforms(contextBlock: Boolean, styleBlock: Boolean): String

This granule is used to set up Drawer uniform declarations. It declares uniforms for transformations and DrawStyle. This is used in fragment and vertex shaders.

actual fun drawerUniforms(contextBlock: Boolean, styleBlock: Boolean): String

This granule is used to set up Drawer uniform declarations. It declares uniforms for transformations and DrawStyle. This is used in fragment and vertex shaders.

Link copied to clipboard
expect fun fragmentMainConstants(instance: String = "v_instance", element: String = "0", screenPosition: String = "gl_FragCoord.xy / u_contentScale", contourPosition: String = "0.0", boundsPosition: String = "vec3(0.0)", boundsSize: String = "vec3(0.0)"): String

This granule is used inside the main() function of fragment shaders to set up constants that are part of the shade style language. It sets up:

actual fun fragmentMainConstants(instance: String, element: String, screenPosition: String, contourPosition: String, boundsPosition: String, boundsSize: String): String

This granule is used inside the main() function of fragment shaders to set up constants that are part of the shade style language. It sets up:

actual fun fragmentMainConstants(instance: String, element: String, screenPosition: String, contourPosition: String, boundsPosition: String, boundsSize: String): String

This granule is used inside the main() function of fragment shaders to set up constants that are part of the shade style language. It sets up:

Link copied to clipboard
expect fun primitiveTypes(type: String): String

This granule is to set up definitions for primitive types.

actual fun primitiveTypes(type: String): String

This granule is to set up definitions for primitive types.

actual fun primitiveTypes(type: String): String

This granule is to set up definitions for primitive types.

Link copied to clipboard
expect fun vertexMainConstants(instance: String = "gl_InstanceID", element: String = "0"): String

This granule is used inside the main() function of vertex shaders to set up constants that are part of the shade style language.

actual fun vertexMainConstants(instance: String, element: String): String

This granule is used inside the main() function of vertex shaders to set up constants that are part of the shade style language.

actual fun vertexMainConstants(instance: String, element: String): String

This granule is used inside the main() function of vertex shaders to set up constants that are part of the shade style language.

Properties

Link copied to clipboard

This granule is used in the main function of a vertex shader. It assigns values to out-varyings declared in transformVaryingOut. It is used right after ShadeStructure.vertexTransform is inserted into the shader template.

This granule is used in the main function of a vertex shader. It assigns values to out-varyings declared in transformVaryingOut. It is used right after ShadeStructure.vertexTransform is inserted into the shader template.

This granule is used in the main function of a vertex shader. It assigns values to out-varyings declared in transformVaryingOut. It is used right after ShadeStructure.vertexTransform is inserted into the shader template.

Link copied to clipboard

This granule is used in the main function of a vertex shader. It sets up declarations of transformable variables in the shade style language. It is used right before ShadeStructure.vertexTransform is inserted into the shader template.

This granule is used in the main function of a vertex shader. It sets up declarations of transformable variables in the shade style language. It is used right before ShadeStructure.vertexTransform is inserted into the shader template.

This granule is used in the main function of a vertex shader. It sets up declarations of transformable variables in the shade style language. It is used right before ShadeStructure.vertexTransform is inserted into the shader template.

Link copied to clipboard

This granule is used in the preamble of a fragment shader. It sets up the declarations of in-varyings holding transformations of position and normal.

This granule is used in the preamble of a fragment shader. It sets up the declarations of in-varyings holding transformations of position and normal.

This granule is used in the preamble of a fragment shader. It sets up the declarations of in-varyings holding transformations of position and normal.

Link copied to clipboard

This granule is used in the preamble of a vertex shader. It sets up the declarations of out-varyings holding transformations of position and normal.

This granule is used in the preamble of a vertex shader. It sets up the declarations of out-varyings holding transformations of position and normal.

This granule is used in the preamble of a vertex shader. It sets up the declarations of out-varyings holding transformations of position and normal.