API

Class CopyTextureToTexture

Class used for fast copy from one texture to another

Index
  • Constructs a new instance of the class

    Parameters

    • engine: AbstractEngine

      The engine to use for the copy

    • isDepthTexture: boolean = false

      True means that we should write (using gl_FragDepth) into the depth texture attached to the destination (default: false)

    • sameSizeCopy: boolean = false

      True means that the copy will be done without any sampling (more efficient, but requires the source and destination to be of the same size) (default: false)

    Returns CopyTextureToTexture