Skip to content

Format

typescript
Texture.isReadable

class: Texture

Description

(Read Only) Whether the texture is readable.

Readability refers to whether pixel data can be read from the texture.

Parameters

param_nametypedescription

Return

typedescription
booleanWhether the texture is readable.

Code Example

typescript
let texture = Resources.Load<Texture>(Texture, "textureId");
texture.isReadable;