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

    Class WebGL2DepthFrameBuffer

    Encapsulates a WebGL2 Framebuffer configured specifically for depth rendering (Shadow Maps). It has NO color attachment and a DEPTH_COMPONENT32F texture attachment.

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Resizes the depth framebuffer.

      Parameters

      • width: number

        The new width.

      • height: number

        The new height.

      Returns void