pixi.js
    Preparing search index...

    Class GlTextureSystemAdvanced

    The system for managing textures in WebGL.

    Implements

    Index
    • Generic destroy methods to be overridden by the subclass

      Returns void

    • The multisampled renderbuffer an antialiased texture is drawn into, made on first use, with its storage at the texture's current size. It belongs to the texture, so every render target over the texture shares its samples, and it is deleted with the texture's GL texture.

      Parameters

      • source: TextureSource

        a colour attachment of an antialiased target, or its depth/stencil texture

      Returns WebGLRenderbuffer

      its multisampled renderbuffer

    • Initializes a texture source, if it has already been initialized nothing will happen.

      Parameters

      Returns void

      The initialized texture source.

    • Returns void

    • Binds the empty texture over every integer texture on unit location and above

      WebGL fails a draw when a float sampler's unit holds an integer texture, even if the shader never samples it. Call this after binding a batch's textures when the shader declares more samplers than the batch binds.

      Parameters

      • location: number

        The first texture unit to check.

      Returns void