TexelCopyTextureInfo


class TexelCopyTextureInfo


Information about a texture used as a source or destination for a texel copy operation.

Summary

Public constructors

TexelCopyTextureInfo(
    texture: GPUTexture,
    mipLevel: Int,
    origin: Origin3D,
    aspect: Int
)

Public properties

Int

The aspect of the texture (color, depth, or stencil) to copy.

Int
Origin3D

The origin (x, y, z/layer) within the texture where the copy starts.

GPUTexture

The texture involved in the copy.

Public constructors

TexelCopyTextureInfo

Added in 1.0.0-alpha01
TexelCopyTextureInfo(
    texture: GPUTexture,
    mipLevel: Int = 0,
    origin: Origin3D = Origin3D(),
    aspect: Int = TextureAspect.All
)

Public properties

aspect

Added in 1.0.0-alpha01
var aspectInt

The aspect of the texture (color, depth, or stencil) to copy.

mipLevel

Added in 1.0.0-alpha01
var mipLevelInt

origin

Added in 1.0.0-alpha01
var originOrigin3D

The origin (x, y, z/layer) within the texture where the copy starts.

texture

Added in 1.0.0-alpha01
var textureGPUTexture

The texture involved in the copy.