GPUTexelCopyTextureInfo
class GPUTexelCopyTextureInfo
Describes a texture used in a texel copy operation.
Summary
Public constructors |
|---|
GPUTexelCopyTextureInfo( |
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-alpha05
GPUTexelCopyTextureInfo(
texture: GPUTexture,
mipLevel: Int = 0,
origin: GPUOrigin3D = GPUOrigin3D(),
aspect: Int = TextureAspect.All
)
Public properties
aspect
Added in 1.0.0-alpha05
var aspect: Int
The texture aspect to use. Defaults to @see TextureAspect.All.