Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GLRelatedRegistryBase

Registry of gl related stuff. These instance are singleton for each gl context.

Hierarchy

Index

Methods

Methods

Static Protected ___get

  • ___get<T>(gl: WebGLRenderingContext, ctor: object): T
  • Get specified resource by glContext and constructor of registry

    Type parameters

    • T

    Parameters

    • gl: WebGLRenderingContext
    • ctor: object
      • constructor: function
        • new __type(gl: WebGLRenderingContext): T
      • registryName: string

    Returns T

Static Protected ___getAll

  • ___getAll<T>(ctor: object): T[]

Generated using TypeDoc