disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

ExtendedTextureFormat

Variables

ETF_NONE = 0

ETF_YUY2_AS_BGRA = 1

ETF_FP_RGBA = 2

ETF_FP_R = 3

ETF_FP_R16 = 4

ETF_FP_RG = 5

ETF_FP_RGB = 6

ETF_FP_RGBA16 = 7

ETF_FP_RGB11_11_10 = 8

ETF_UINT_R = 9

ETF_DEPTH_D24_S8 = 10

ETF_DEPTH_FP_32 = 11

ETF_UINT_RG = 12

ETF_UINT_A = 13

ETF_UINT_RGBA = 14

ETF_UINT_RGBA16 = 15

ETF_UINT_RGB10A2 = 17

ETF_Y210_AS_RGB10A2 = 18

ETF_UINT_RGBA12_AS_RGBA16 = 19

ETF_UINT_RGB_AS_RGBA = 20

ETF_UINT_RGBA16_UNNORMALISED = 21

ETF_UINT_R16 = 22

Constructors

__init__(self)

Default constructor for ExtendedTextureFormat

__init__(self, other: ExtendedTextureFormat)

Copy constructor for ExtendedTextureFormat

Methods

toString(self) -> str

The name of this enumerator, or an empty string if its value is not a named enumerator

Static Methods

fromInt(arg0: int) -> ExtendedTextureFormat

The enumerator with the given integer value, which need not be one of the named enumerators

Special Methods

__index__(self) -> int

The integer value of this enumerator, for use as a list index

__int__(self) -> int

The integer value of this enumerator

__repr__(self) -> str

The enum and enumerator names, as ; str() and print give the same

__lt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__le__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__gt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__ge__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError