Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GlslBuilder

Hierarchy

  • GlslBuilder

Index

Constructors

constructor

  • new GlslBuilder(cache?: Map<string, any>): GlslBuilder

Properties

Private Readonly cache

cache: Map<string, any>

Private global

global: string = ""

Private local

local: string = ""

Methods

addGlobal

  • addGlobal(content: string): this

addLocal

  • addLocal(content: string): this

child

getGlobal

  • getGlobal(): string

getLocal

  • getLocal(): string

once

  • once<R>(id: string, callback: () => R): R
  • Type parameters

    • R

    Parameters

    • id: string
    • callback: () => R
        • (): R
        • Returns R

    Returns R

Generated using TypeDoc