Interface: GpuProgramOptions
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:32
The options for the gpu program
Advanced
Properties
fragment?
> optional fragment?: ProgramSource
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:39
The fragment glsl shader source.
gpuLayout?
> optional gpuLayout?: ProgramPipelineLayoutDescription
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:45
The gpu layout of the program. If not provided, it will be generated from the shader sources.
layout?
> optional layout?: ProgramLayout
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:43
The layout of the program. If not provided, it will be generated from the shader sources.
name?
> optional name?: string
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:37
the name of the program, this is added to the label of the GPU Program created under the hood. Makes it much easier to debug!
vertex?
> optional vertex?: ProgramSource
Defined in: node_modules/pixi.js/lib/rendering/renderers/gpu/shader/GpuProgram.d.ts:41
The vertex glsl shader source.