Options
All
  • Public
  • Public/Protected
  • All
Menu

Class default Abstract

Hierarchy

  • default

Index

Constructors

Properties

Methods

  • activateRenderTarget(target: <internal>.default): void
  • activateRenderTarget(target: null, viewport: number[]): void
  • Parameters

    Returns void

  • Parameters

    • target: null
    • viewport: number[]

    Returns void

  • Parameters

    Returns void

  • bindVertexBuffer(key: string): void
  • Parameters

    • key: string

    Returns void

  • Parameters

    Returns void

  • Parameters

    • vertex: string
    • fragment: string

    Returns <internal>.default

  • Parameters

    • props: Record<string, any>
    • Optional target: number

    Returns <internal>.default

  • destroy(): void
  • Returns void

  • draw(...args: any): void
  • Parameters

    • Rest ...args: any

    Returns void

  • resize(width: number, height: number, ratio?: number): number[]
  • Parameters

    • width: number
    • height: number
    • Optional ratio: number

    Returns number[]

  • setStates(states: Record<string, any>): void
  • Parameters

    Returns void

  • setViewport(x: number, y: number, width: number, height: number): number[]
  • Parameters

    • x: number
    • y: number
    • width: number
    • height: number

    Returns number[]

  • uploadUniform(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc