canvas-toy
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • new Texture2D(gl: WebGLRenderingContext, url?: string): Texture2D

Properties

_asyncFinished

_asyncFinished: Promise

_image

_image: HTMLImageElement

glTexture

glTexture: WebGLTexture

isReadyToUpdate

isReadyToUpdate: boolean = false

Accessors

format

format:

image

image:

magFilter

magFilter:

minFilter

minFilter:

target

target:

type

type:

wrapS

wrapS:

wrapT

wrapT:

Methods

asyncFinished

  • asyncFinished(): any

setAsyncFinished

  • setAsyncFinished(promise: Promise): void

setFormat

  • setFormat(_format: number): this

setMagFilter

  • setMagFilter(_magFilter: number): this

setMinFilter

  • setMinFilter(_minFilter: number): this

setTarget

  • setTarget(_target: number): this

setType

  • setType(_type: number): this

setUpTextureData

  • setUpTextureData(gl: WebGLRenderingContext): void

setWrapS

  • setWrapS(_wrapS: number): this

setWrapT

  • setWrapT(_wrapT: number): this

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc