phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias Attachment

    type Attachment = {
        attachmentPoint: GLenum;
        internalFormat?: GLenum;
        renderbuffer?: WebGLRenderbuffer;
        texture?: WebGLTextureWrapper;
    }
    Index

    Properties

    attachmentPoint: GLenum

    The attachment point for the attachment. This is a GLenum such as gl.COLOR_ATTACHMENT0, gl.DEPTH_ATTACHMENT, gl.STENCIL_ATTACHMENT, or gl.DEPTH_STENCIL_ATTACHMENT.

    internalFormat?: GLenum

    The internal format for the renderbuffer. This is a GLenum such as gl.DEPTH_STENCIL.

    renderbuffer?: WebGLRenderbuffer

    The renderbuffer for the attachment. Either a texture or a renderbuffer is required.

    The texture for the attachment. Either a texture or a renderbuffer is required.