Skip to content
InterfaceRendering & Filters@public

FlxShaderUniformDefinition

Initial type and value for one shader uniform.

ts
export interface FlxShaderUniformDefinition<T extends FlxShaderUniformType = FlxShaderUniformType>

Properties

PropertyModifiersTypeDescription
typereadonlyTScalar, vector, or matrix storage type shared by GLSL and WGSL.
valuereadonlyFlxShaderUniformValue<T>Initial value; vector and matrix lengths are checked at compile time.

Released under the MIT License.