Header menu logo Nu

Texture Type

A 2d texture.

Union cases

Union case Description

EagerTexture TextureInternal

Full Usage: EagerTexture TextureInternal

Parameters:
Item : TextureInternal

EmptyTexture

Full Usage: EmptyTexture

LazyTexture LazyTexture

Full Usage: LazyTexture LazyTexture

Parameters:
Item : LazyTexture

Instance members

Instance member Description

this.Id

Full Usage: this.Id

Returns: uint32
Returns: uint32

this.Image

Full Usage: this.Image

Returns: VkImage
Returns: VkImage

this.ImageView

Full Usage: this.ImageView

Returns: VkImageView
Returns: VkImageView

this.InternalFormat

Full Usage: this.InternalFormat

Returns: ImageFormat
Returns: ImageFormat

this.IsEagerTexture

Full Usage: this.IsEagerTexture

Returns: bool
Returns: bool

this.IsEmptyTexture

Full Usage: this.IsEmptyTexture

Returns: bool
Returns: bool

this.IsLazyTexture

Full Usage: this.IsLazyTexture

Returns: bool
Returns: bool

this.LayerViews

Full Usage: this.LayerViews

Returns: VkImageView array
Returns: VkImageView array

this.Layers

Full Usage: this.Layers

Returns: int
Returns: int

this.MipLevels

Full Usage: this.MipLevels

Returns: int
Returns: int

this.SubViews

Full Usage: this.SubViews

Returns: VkImageView[,]
Returns: VkImageView[,]

this.TextureMetadata

Full Usage: this.TextureMetadata

Returns: TextureMetadata
Returns: TextureMetadata

this.VkFormat

Full Usage: this.VkFormat

Returns: VkFormat
Returns: VkFormat

Static members

Static member Description

Texture.destroy texture context

Full Usage: Texture.destroy texture context

Parameters:
texture : Texture
context : VulkanContext

Texture.equals this that

Full Usage: Texture.equals this that

Parameters:
Returns: bool
this : Texture
that : Texture
Returns: bool

Texture.hash texture

Full Usage: Texture.hash texture

Parameters:
Returns: int
texture : Texture
Returns: int

Texture.recordTransitionLayout srcLayout dstLayout texture commandBuffer

Full Usage: Texture.recordTransitionLayout srcLayout dstLayout texture commandBuffer

Parameters:

Asynchronously transition the layout of the current texture.

srcLayout : ImageLayout
dstLayout : ImageLayout
texture : Texture
commandBuffer : VkCommandBuffer

Texture.updateSize metadata texture context

Full Usage: Texture.updateSize metadata texture context

Parameters:

Check that the current texture size is the same as the given size, resizing if necessary. If used, must be called every frame.

metadata : TextureMetadata
texture : Texture
context : VulkanContext

Type something to start searching.