Skip to main content

GLDrawCreateEmptyTextureAlphaMask

Callable

  • GLDrawCreateEmptyTextureAlphaMask(gl: WebGL2RenderingContext, texWidth: any, texHeight: any): WebGLTexture

  • Creates an empty mask (fully opaque) for use when no mask layers are provided


    Parameters

    • gl: WebGL2RenderingContext

      The WebGL context

    • texWidth: any
    • texHeight: any

    Returns WebGLTexture

    • A default mask texture