Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RGBDTextureTools

Class used to host RGBD texture specific utilities

Hierarchy

  • RGBDTextureTools

Index

Methods

Static EncodeTextureToRGBDSearch playground for EncodeTextureToRGBD

  • Encode the texture to RGBD if possible.

    Parameters

    • internalTexture: InternalTexture

      the texture to encode

    • scene: Scene

      the scene hosting the texture

    • Optional outputTextureType: number

      type of the texture in which the encoding is performed

    Returns Promise<InternalTexture>

    a promise with the internalTexture having its texture replaced by the result of the processing

Static ExpandRGBDTextureSearch playground for ExpandRGBDTexture

  • ExpandRGBDTexture(texture: Texture): void
  • Expand the RGBD Texture from RGBD to Half Float if possible.

    Parameters

    • texture: Texture

      the texture to expand.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method