phaser - v3.90.0
    Preparing search index...
    type WebGLPipelineShaderConfig = {
        attributes?: WebGLPipelineAttributeConfig[];
        fragShader?: string;
        name?: string;
        vertShader?: string;
    }
    Index

    Properties

    An array of shader attribute data. All shaders bound to this pipeline must use the same attributes.

    fragShader?: string

    The source code, as a string, for the fragment shader. Can include %count% and %forloop% declarations for multi-texture support. If not given, uses the Phaser.Types.Renderer.WebGL.WebGLPipelineConfig.fragShader property instead.

    name?: string

    The name of the shader. Doesn't have to be unique, but makes shader look-up easier if it is.

    vertShader?: string

    The source code, as a string, for the vertex shader. If not given, uses the Phaser.Types.Renderer.WebGL.WebGLPipelineConfig.vertShader property instead.