Function
shader
(id: string, uniform?: Uniform | ( () => Uniform)): ShaderCompCustom shader.
param id- The shader id.
param uniform- The uniform to pass to the shader.
returns The shader comp.
since v2000.0
group Components
Custom shader.
param id- The shader id.
param uniform- The uniform to pass to the shader.
returns The shader comp.
since v2000.0
group Components
Assets
Game Obj
Components
Component Types
Scene
Input
Events
Info
Math
Layer
Camera
Layers
Level
Draw
Plugins
Button Bindings
GFX
Miscalenous