Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GLUtility

Provides misc features for WebGL. Typically not limited to specific context.

Hierarchy

  • GLUtility

Index

Methods

Static arrayBufferToElementType

  • arrayBufferToElementType(buffer: ArrayBufferView): number
  • Obtain GL type from typed array buffer view.

    Parameters

    • buffer: ArrayBufferView

    Returns number

Static formatToElementCount

  • formatToElementCount(format: number): number

Static typeToTypedArrayConstructor

Generated using TypeDoc