TextureFormat#

class ansys.stk.core.graphics.TextureFormat#

IntEnum

Overview#

ALPHA4

Each texel is an 4-bit alpha component.

ALPHA8

Each texel is an 8-bit alpha component.

ALPHA12

Each texel is an 12-bit alpha component.

ALPHA16

Each texel is an 16-bit alpha component.

R3G3B2

Each texel contains 3-bit red and green components and 2-bit blue component.

RGB4

Each texel contains 4-bit red, green, and blue components.

RGB5

Each texel contains 5-bit red, green, and blue components.

RGB8

Each texel contains 8-bit red, green, and blue components.

RGB10

Each texel contains 10-bit red, green, and blue components.

RGB12

Each texel contains 12-bit red, green, and blue components.

RGB16

Each texel contains 16-bit red, green, and blue components.

RGB16_F

Each texel contains 16-bit red, green, and blue floating point components.

RGB32_F

Each texel contains 32-bit red, green, and blue floating point components.

RGBA2

Each texel contains 2-bit red, green, blue, and alpha components.

RGBA4

Each texel contains 4-bit red, green, blue, and alpha components.

RGB5_A1

Each texel contains 5-bit red, green, blue components and 1-bit alpha component.

RGBA8

Each texel contains 8-bit red, green, blue, and alpha components.

RGB10_A2

Each texel contains 10-bit red, green, blue components and 2-bit alpha component.

RGBA12

Each texel contains 12-bit red, green, blue, and alpha components.

RGBA16

Each texel contains 16-bit red, green, blue, and alpha components.

RGBA16_F

Each texel contains 16-bit red, green, blue, and alpha floating point components.

RGBA32_F

Each texel contains 32-bit red, green, blue, and alpha floating point components.

LUMINANCE4

Each texel is an 4-bit luminance, e.g. intensity, component.

LUMINANCE8

Each texel is an 8-bit luminance, e.g. intensity, component.

LUMINANCE12

Each texel is an 12-bit luminance, e.g. intensity, component.

LUMINANCE16

Each texel is an 16-bit luminance, e.g. intensity, component.

LUMINANCE16_F

Each texel is an 16-bit luminance, e.g. intensity, floating point component.

LUMINANCE32_F

Each texel is an 32-bit luminance, e.g. intensity, floating point component.

LUMINANCE4_ALPHA4

Each texel contains an 4-bit luminance and 4-bit alpha component.

LUMINANCE6_ALPHA2

Each texel contains an 6-bit luminance and 2-bit alpha component.

LUMINANCE8_ALPHA8

Each texel contains an 8-bit luminance and 8-bit alpha component.

LUMINANCE12_ALPHA4

Each texel contains an 12-bit luminance and 4-bit alpha component.

LUMINANCE12_ALPHA12

Each texel contains an 12-bit luminance and 12-bit alpha component.

LUMINANCE16_ALPHA16

Each texel contains an 16-bit luminance and 16-bit alpha component.

LUMINANCE16_ALPHA16_F

Each texel contains an 16-bit luminance and 16-bit alpha floating point component.

LUMINANCE32_ALPHA32_F

Each texel contains an 32-bit luminance and 32-bit alpha floating point component.

Import detail#

from ansys.stk.core.graphics import TextureFormat