PyMaterialXRender.BaseType

class BaseType

Bases: pybind11_object

Enumeration of Image base types.

See:

https://materialx.org/docs/api/class_image.html#pub-types

Members:

UINT8 : 8-bit unsigned integer number.

UINT16 : 16-bit unsigned integer number.

HALF : Half-precision floating-point number.

FLOAT : Full-precision floating-point number.

Methods

__init__(self, value)

Properties

FLOAT = <BaseType.FLOAT: 5>
HALF = <BaseType.HALF: 4>
UINT16 = <BaseType.UINT16: 2>
UINT8 = <BaseType.UINT8: 0>
name
value

Methods

__init__(self: BaseType, value: int) None