GPUTexelCopyTextureInfo


class GPUTexelCopyTextureInfo


Describes a texture used in a texel copy operation.

Summary

Public constructors

GPUTexelCopyTextureInfo(
    texture: GPUTexture,
    mipLevel: Int,
    origin: GPUOrigin3D,
    aspect: Int
)

Public properties

Int

The texture aspect to use.

Int
GPUOrigin3D

The origin of the copy region in the texture.

GPUTexture

The texture object.

Public constructors

GPUTexelCopyTextureInfo

Added in 1.0.0-alpha04
GPUTexelCopyTextureInfo(
    texture: GPUTexture,
    mipLevel: Int = 0,
    origin: GPUOrigin3D = GPUOrigin3D(),
    aspect: Int = TextureAspect.All
)

Public properties

aspect

Added in 1.0.0-alpha04
var aspectInt

The texture aspect to use. Defaults to @see TextureAspect.All.

mipLevel

Added in 1.0.0-alpha04
var mipLevelInt

origin

Added in 1.0.0-alpha04
var originGPUOrigin3D

The origin of the copy region in the texture.

texture

Added in 1.0.0-alpha04
var textureGPUTexture

The texture object.