GPUTexelCopyTextureInfo


public final class GPUTexelCopyTextureInfo


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

Summary

Public constructors

GPUTexelCopyTextureInfo(
    @NonNull GPUTexture texture,
    int mipLevel,
    @NonNull GPUOrigin3D origin,
    int aspect
)

Public methods

final int

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

final int
final @NonNull GPUOrigin3D

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

final @NonNull GPUTexture

The texture involved in the copy.

final void
setAspect(int aspect)

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

final void
setMipLevel(int mipLevel)
final void

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

final void

The texture involved in the copy.

Public constructors

GPUTexelCopyTextureInfo

Added in 1.0.0-alpha02
public GPUTexelCopyTextureInfo(
    @NonNull GPUTexture texture,
    int mipLevel,
    @NonNull GPUOrigin3D origin,
    int aspect
)

Public methods

getAspect

Added in 1.0.0-alpha02
public final int getAspect()

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

getMipLevel

Added in 1.0.0-alpha02
public final int getMipLevel()

getOrigin

Added in 1.0.0-alpha02
public final @NonNull GPUOrigin3D getOrigin()

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

getTexture

Added in 1.0.0-alpha02
public final @NonNull GPUTexture getTexture()

The texture involved in the copy.

setAspect

Added in 1.0.0-alpha02
public final void setAspect(int aspect)

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

setMipLevel

Added in 1.0.0-alpha02
public final void setMipLevel(int mipLevel)

setOrigin

Added in 1.0.0-alpha02
public final void setOrigin(@NonNull GPUOrigin3D origin)

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

setTexture

Added in 1.0.0-alpha02
public final void setTexture(@NonNull GPUTexture texture)

The texture involved in the copy.