Type Alias: Vertex
> Vertex = object
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:5
Internal
the vertex source code, an obj
Properties
end?
> optional end?: string
Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:13
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:7
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:11
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:9
code will be added at the start of the shader