Options
All
  • Public
  • Public/Protected
  • All
Menu

Regular node of a decision tree

Each property (except for "yes" and "no"), if not empty, will be checked in order to determine the next node to select. If all checks are successful, the "yes" node will be selected, else the "no" node will be selected.

Hierarchy

  • INode

Index

Properties

alpha?: boolean

Checks if alpha is present in the texture

cap?: string

The name of the capability to check. Can be one of the following: astc bptc s3tc pvrtc etc2 etc1

needsPowerOfTwo?: boolean

Checks that the texture is a power of two

The node to select if at least one check is not successful

option?: string

The name of the option to check from the options object passed to the KTX2 decode function. IKTX2DecoderOptions

transcodeFormat?: TranscodeTarget | TranscodeTarget[]

Checks the currently selected transcoding format.

The node to select if all checks are successful

Legend

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

Settings

Theme