LogoPixi’VN
pixi-jsInterfaces

Interface: HighShaderBit

Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:34

Internal

HighShaderBit is a part of a shader. it is used to compile HighShaders.

Internally shaders are made up of many of these. You can even write your own and compile them in.

Properties

fragment?

> optional fragment?: Fragment

Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:40

the snippets of fragment code


name?

> optional name?: string

Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:36

used to make the shader easier to understand!


vertex?

> optional vertex?: Vertex

Defined in: node_modules/pixi.js/lib/rendering/high-shader/compiler/types.d.ts:38

the snippets of vertex code