Optional
$alpha
$alpha?: number
hasProgramValueUpdater
hasProgramValueUpdater: boolean
hasValidator
hasValidator: boolean
method
method:
| "uniform1f"
| "uniform1i"
| "uniform2f"
| "uniform2i"
| "uniform3f"
| "uniform3i"
| "uniform4f"
| "uniform4i"
| "uniform1fv"
| "uniform1iv"
| "uniform2fv"
| "uniform2iv"
| "uniform3fv"
| "uniform3iv"
| "uniform4fv"
| "uniform4iv"
| "uniformMatrix2fv"
| "uniformMatrix3fv"
| "uniformMatrix4fv"
programValue
programValue: undefined | number | Float32Array
Optional
setUniformValue
setUniformValue?: (() => null | void)
updateOnBind
updateOnBind: boolean
Optional
validatedValue
validatedValue?: number | number[]
value
value:
| string
| number
| boolean
| number[]
Automatic shader prop for the dimensions of the Node being rendered
Remarks
Shader's who's rendering depends on the dimensions of the Node being rendered should extend this interface from their Prop interface type.