TextureTools

Hierarchy

  • TextureTools

Index

Methods

Static CreateResizedCopy

  • CreateResizedCopy(texture: Texture, width: number, height: number, useBilinearMode?: boolean): Texture
  • Uses the GPU to create a copy texture rescaled at a given size

    Parameters

    • texture: Texture

      Texture to copy from

    • width: number

      Desired width

    • height: number

      Desired height

    • Optional useBilinearMode: boolean

    Returns Texture

    Generated texture

Static GetEnvironmentBRDFTexture

Generated using TypeDoc