Documentation
    Preparing search index...

    Class ShaderGraphOutput

    The two output slots of a graph under construction โ€” assigned, RFC 0001's spelling, as properties: builder.output.color = expr.

    Index
    • get color(): ShaderExpression | null

      The fragment result โ€” vec4, required before the graph can build.

      Returns ShaderExpression | null

    • set color(value: ShaderExpression | null): void

      Parameters

      Returns void

    • get positionOffset(): ShaderExpression | null

      Object-space vec3 displacement added to position โ€” surface graphs only, optional. Not a transform: ยง42's authority model is untouched and the physics world is not told (RFC 0001 Q4, decided).

      Returns ShaderExpression | null

    • set positionOffset(value: ShaderExpression | null): void

      Parameters

      Returns void