TexelCopyTextureInfo
class TexelCopyTextureInfo
Information about a texture used as a source or destination for a texel copy operation.
Summary
Public constructors |
|---|
TexelCopyTextureInfo( |
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 aspect: Int
The aspect of the texture (color, depth, or stencil) to copy.
origin
Added in 1.0.0-alpha01
var origin: Origin3D
The origin (x, y, z/layer) within the texture where the copy starts.