Interface: GpuProgramOptions

GpuProgramOptions

The options for the gpu program

Properties:
Name Type Description
fragment ProgramSource

The fragment glsl shader source.

gpuLayout ProgramPipelineLayoutDescription

The gpu layout of the program. If not provided, it will be generated from the shader sources.

layout ProgramLayout

The layout of the program. If not provided, it will be generated from the shader sources.

name string

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 ProgramSource

The vertex glsl shader source.

Members

fragment ProgramSource

The fragment glsl shader source.

The gpu layout of the program. If not provided, it will be generated from the shader sources.

layout ProgramLayout

The layout of the program. If not provided, it will be generated from the shader sources.

name string

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 ProgramSource

The vertex glsl shader source.