Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Quad

Hierarchy

  • Quad

Index

Constructors

constructor

  • new Quad(gl: WebGLRenderingContext): Quad
  • Parameters

    • gl: WebGLRenderingContext

    Returns Quad

Properties

gl

gl: WebGLRenderingContext

indices

indices: number[]

interleaved

interleaved: number[]

uvs

uvs: number[]

vao

vertexBuffer

vertexBuffer: WebGLBuffer

vertices

vertices: number[]

Methods

destroy

  • destroy(): void
  • Returns void

initVao

  • Parameters

    Returns void

map

  • Parameters

    Returns Quad

upload

  • Returns Quad

Generated using TypeDoc