Skip to main content

TRenderableTexture

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

publicfilter

filter: TTextureFilter = TTextureFilter.Linear

publicoptionaltexture

texture?: WebGLTexture

publicuuid

uuid: string = ...

Methods

publicload

  • load(gl: WebGL2RenderingContext, image: ImageBitmap, options?: TTextureOptions): void
  • Returns the WebGL texture so it can be bound.


    Parameters

    • gl: WebGL2RenderingContext
    • image: ImageBitmap
    • optionaloptions: TTextureOptions

    Returns void

    WebGLTexture

Page Options