toPixelType

Converts a Inochi2D TextureFormat to a Gamut PixelType.

@nogc nothrow pure
PixelType
toPixelType

Parameters

format TextureFormat

The texture format

Return Value

Type: PixelType

The equivalent pixel type.

Meta