Type Alias: Fragment
> Fragment = object
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:16
Internal
Properties
end?
> optional end?: string
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:24
code here will to modify anything before it is passed to the fragment shader
header?
> optional header?: string
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:18
stick uniforms and functions in here all headers will be compiled at the top of the shader
main?
> optional main?: string
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:22
code will be run here before lighting happens
start?
> optional start?: string
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:20
code will be added at the start of the shader