TextureData Interface

Information about Texture data returned by IModelReadRpcInterface.queryTextureData.

Properties

Name Type Description
bytes Uint8Array The encoded image bytes.  
format ImageSourceFormat The format of the image (Jpeg or Png).  
height number The height of the image, possibly reduced from the original height based on TextureLoadProps.maxTextureSize.  
transparency undefined | TextureTransparency Information about the transparency of the texture image.  
width number The width of the image, possibly reduced from the original width based on TextureLoadProps.maxTextureSize.  

Defined in

Last Updated: 20 April, 2024