TextureData Interface

Information about Texture data returned by 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 maxTextureSize.  
transparency TextureTransparency | undefined Information about the transparency of the texture image.  
width number The width of the image, possibly reduced from the original width based on maxTextureSize.  

Defined in

Last Updated: 14 November, 2024