babylon.quarks - v1.0.0
    Preparing search index...

    Interface DepthTextureOptions

    How a depth texture given to BatchedRenderer.setDepthTexture is read.

    interface DepthTextureOptions {
        encoding?: SoftDepthEncoding;
        packed?: boolean;
    }
    Index

    What the texture stores. Defaults to the encoding of the DepthRenderer given, else 'linear'.

    packed?: boolean

    The depth is packed into the four 8-bit channels, as a DepthRenderer of type UNSIGNED_BYTE writes it. Defaults to the DepthRenderer's isPacked, else false.