webgl-dsl
    Preparing search index...

    Class Settings

    Index

    Constructors

    • Parameters

      • gl: Gl
      • cache: SettingsCache
      • apply: <T>(callback: () => T) => T = ...

      Returns Settings

    Properties

    activeTexture: (this: Settings, value: number) => Settings = ...
    apply: <T>(callback: () => T) => T = ...
    arrayBuffer: (this: Settings, value: null | ArrayBuffer) => Settings = ...
    blend: (this: Settings, value: boolean) => Settings = ...
    blendEquation: (
        this: Settings,
        rgb: BlendEquation,
        alpha?: BlendEquation,
    ) => Settings = ...
    blendFunction: (
        this: Settings,
        srcRgb: BlendFunction,
        dstRgb: BlendFunction,
        srcAlpha?: BlendFunction,
        dstAlpha?: BlendFunction,
    ) => Settings = ...
    clearColor: (
        this: Settings,
        r: number,
        g: number,
        b: number,
        a: number,
    ) => Settings = ...
    clearDepth: (this: Settings, value: number) => Settings = ...
    depthFunction: (this: Settings, value: DepthFunction) => Settings = ...
    depthTest: (this: Settings, value: boolean) => Settings = ...
    elementsBuffer: (this: Settings, value: null | ElementsBuffer) => Settings = ...
    frameBuffer: (this: Settings, value: null | FrameBuffer) => Settings = ...
    gl: Gl
    lineWidth: (this: Settings, value: number) => Settings = ...
    program: (this: Settings, value: null | Program) => Settings = ...
    renderBuffer: (this: Settings, value: null | RenderBuffer) => Settings = ...
    scissorBox: (
        this: Settings,
        x: number,
        y: number,
        width: number,
        height: number,
    ) => Settings = ...
    scissorTest: (this: Settings, value: boolean) => Settings = ...
    texture: (this: Settings, i: number, texture: null | Texture) => Settings = ...
    viewport: (
        this: Settings,
        x: number,
        y: number,
        width: number,
        height: number,
    ) => Settings = ...

    Methods