Skip to content

@modoki/engine / index / ShaderParam

Interface: ShaderParam ​

Materials, Shaders & Textures ​

default ​

default: unknown

Default value when a material omits this param. color → hex number; float → number; bool → boolean; vecN → number[].


label? ​

optional label?: string

Optional human label; falls back to the param key.


max? ​

optional max?: number


min? ​

optional min?: number


step? ​

optional step?: number


type ​

type: ShaderParamType

Built with Modoki.