pixi.js
    Preparing search index...

    Interface GpuProgramOptionsAdvanced

    The options for the gpu program

    interface GpuProgramOptions {
        fragment?: ProgramSource;
        gpuLayout?: ProgramPipelineLayoutDescription;
        layout?: ProgramLayout;
        name?: string;
        vertex?: ProgramSource;
    }
    Index

    Properties

    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.