Utility class to perform various graphics operations like copying textures to canvas

Constructors

Methods

  • Copy a texture to a new texture

    Parameters

    • texture: Texture

      the texture to copy

    • Optional blitMaterial: ShaderMaterial

      the material to use for copying (optional)

    Returns Texture

    the newly created, copied texture

  • Create a blit material for copying textures

    Parameters

    • fragment: string

    Returns ShaderMaterial

Generated using TypeDoc