GPUTexelCopyTextureInfo
class GPUTexelCopyTextureInfo
Information about a texture used as a source or destination for a texel copy operation.
Summary
Public constructors |
|---|
GPUTexelCopyTextureInfo( |
Public properties |
|
|---|---|
Int |
The aspect of the texture (color, depth, or stencil) to copy. |
Int |
|
GPUOrigin3D |
The origin (x, y, z/layer) within the texture where the copy starts. |
GPUTexture |
The texture involved in the copy. |
Public constructors
GPUTexelCopyTextureInfo
Added in 1.0.0-alpha02
GPUTexelCopyTextureInfo(
texture: GPUTexture,
mipLevel: Int = 0,
origin: GPUOrigin3D = GPUOrigin3D(),
aspect: Int = TextureAspect.All
)
Public properties
aspect
Added in 1.0.0-alpha02
var aspect: Int
The aspect of the texture (color, depth, or stencil) to copy.
origin
Added in 1.0.0-alpha02
var origin: GPUOrigin3D
The origin (x, y, z/layer) within the texture where the copy starts.