Header menu logo Nu

ImageFormat Type

The format of an image.

Union cases

Union case Description

Astc

Full Usage: Astc

Bc3

Full Usage: Bc3

Bc5

Full Usage: Bc5

D16

Full Usage: D16

D16s8ui

Full Usage: D16s8ui

D24s8ui

Full Usage: D24s8ui

D32f

Full Usage: D32f

D32fs8ui

Full Usage: D32fs8ui

R16f

Full Usage: R16f

R32f

Full Usage: R32f

Rg32f

Full Usage: Rg32f

Rgb16f

Full Usage: Rgb16f

Rgb32f

Full Usage: Rgb32f

Rgba16f

Full Usage: Rgba16f

Rgba32f

Full Usage: Rgba32f

Rgba8

Full Usage: Rgba8

X8d24Pack32

Full Usage: X8d24Pack32

Instance members

Instance member Description

this.IsAstc

Full Usage: this.IsAstc

Returns: bool
Returns: bool

this.IsBc3

Full Usage: this.IsBc3

Returns: bool
Returns: bool

this.IsBc5

Full Usage: this.IsBc5

Returns: bool
Returns: bool

this.IsD16

Full Usage: this.IsD16

Returns: bool
Returns: bool

this.IsD16s8ui

Full Usage: this.IsD16s8ui

Returns: bool
Returns: bool

this.IsD24s8ui

Full Usage: this.IsD24s8ui

Returns: bool
Returns: bool

this.IsD32f

Full Usage: this.IsD32f

Returns: bool
Returns: bool

this.IsD32fs8ui

Full Usage: this.IsD32fs8ui

Returns: bool
Returns: bool

this.IsR16f

Full Usage: this.IsR16f

Returns: bool
Returns: bool

this.IsR32f

Full Usage: this.IsR32f

Returns: bool
Returns: bool

this.IsRg32f

Full Usage: this.IsRg32f

Returns: bool
Returns: bool

this.IsRgb16f

Full Usage: this.IsRgb16f

Returns: bool
Returns: bool

this.IsRgb32f

Full Usage: this.IsRgb32f

Returns: bool
Returns: bool

this.IsRgba16f

Full Usage: this.IsRgba16f

Returns: bool
Returns: bool

this.IsRgba32f

Full Usage: this.IsRgba32f

Returns: bool
Returns: bool

this.IsRgba8

Full Usage: this.IsRgba8

Returns: bool
Returns: bool

this.IsX8d24Pack32

Full Usage: this.IsX8d24Pack32

Returns: bool
Returns: bool

this.VkFormat

Full Usage: this.VkFormat

Returns: VkFormat

The VkFormat.

Returns: VkFormat

this.VkImageAspectFlags

Full Usage: this.VkImageAspectFlags

Returns: VkImageAspectFlags

The VkImageAspectFlags.

Returns: VkImageAspectFlags

Static members

Static member Description

ImageFormat.getImageSize width height imageFormat

Full Usage: ImageFormat.getImageSize width height imageFormat

Parameters:
Returns: int

Get the size in bytes of an image with given width, height and format.

width : int
height : int
imageFormat : ImageFormat
Returns: int

Type something to start searching.