Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class WebGL2CubeFrameBuffer

    Encapsulates a WebGL2 Framebuffer with a cube map color texture and depth/stencil renderbuffer.

    Index
    • Binds a specific face of the cube map to the framebuffer for rendering.

      Parameters

      • faceIndex: number

        0-5 for Positive X to Negative Z.

      Returns void