Options
All
  • Public
  • Public/Protected
  • All
Menu

Some GL helper utils.

Hierarchy

  • GLU

Index

Constructors

Properties

Methods

Constructors

constructor

  • new GLU(gl: WebGLRenderingContext): GLU

Properties

gl

gl: WebGLRenderingContext

Methods

bufferData

  • bufferData(verts: Float32Array): WebGLBuffer

compileShader

  • compileShader(shaderCode: string, shaderType: any): WebGLShader

makeProgram

  • makeProgram(vertShader: WebGLShader, fragShader: WebGLShader): WebGLProgram
  • Parameters

    • vertShader: WebGLShader
    • fragShader: WebGLShader

    Returns WebGLProgram

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc