Class RGBDTextureTools
Constructors
constructor
-
Returns RGBDTextureTools
Methods
StaticEncode Texture To RGBD
-
EncodeTextureToRGBD(
internalTexture: InternalTexture,
scene: Scene,
outputTextureType?: number,
): Promise<InternalTexture>Encode the texture to RGBD if possible.
Parameters
- internalTexture: InternalTexture
the texture to encode
- scene: Scene
the scene hosting the texture
- outputTextureType: number = Constants.TEXTURETYPE_UNSIGNED_BYTE
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
- internalTexture: InternalTexture
StaticExpand RGBD Texture
-
Expand the RGBD Texture from RGBD to Half Float if possible.
Parameters
- texture: Texture
the texture to expand.
Returns void
- texture: Texture
Class used to host RGBD texture specific utilities