TexelCopyTextureInfo


public final class TexelCopyTextureInfo


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

Summary

Public constructors

TexelCopyTextureInfo(
    @NonNull GPUTexture texture,
    int mipLevel,
    @NonNull Origin3D origin,
    int aspect
)

Public methods

final int

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

final int
final @NonNull Origin3D

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

TexelCopyTextureInfo

Added in 1.0.0-alpha01
public TexelCopyTextureInfo(
    @NonNull GPUTexture texture,
    int mipLevel,
    @NonNull Origin3D origin,
    int aspect
)

Public methods

getAspect

Added in 1.0.0-alpha01
public final int getAspect()

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

getMipLevel

Added in 1.0.0-alpha01
public final int getMipLevel()

getOrigin

Added in 1.0.0-alpha01
public final @NonNull Origin3D getOrigin()

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

getTexture

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

The texture involved in the copy.

setAspect

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

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

setMipLevel

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

setOrigin

Added in 1.0.0-alpha01
public final void setOrigin(@NonNull Origin3D origin)

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

setTexture

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

The texture involved in the copy.