GPUTexelCopyTextureInfo
public final class GPUTexelCopyTextureInfo
Information about a texture used as a source or destination for a texel copy operation.
Summary
Public constructors |
|---|
GPUTexelCopyTextureInfo( |
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 |
setOrigin(@NonNull GPUOrigin3D origin)The origin (x, y, z/layer) within the texture where the copy starts. |
final void |
setTexture(@NonNull GPUTexture texture)The texture involved in the copy. |
Public constructors
GPUTexelCopyTextureInfo
public GPUTexelCopyTextureInfo(
@NonNull GPUTexture texture,
int mipLevel,
@NonNull GPUOrigin3D origin,
int aspect
)
Public methods
getAspect
public final int getAspect()
The aspect of the texture (color, depth, or stencil) to copy.
getOrigin
public final @NonNull GPUOrigin3D getOrigin()
The origin (x, y, z/layer) within the texture where the copy starts.
getTexture
public final @NonNull GPUTexture getTexture()
The texture involved in the copy.
setAspect
public final void setAspect(int aspect)
The aspect of the texture (color, depth, or stencil) to copy.
setOrigin
public final void setOrigin(@NonNull GPUOrigin3D origin)
The origin (x, y, z/layer) within the texture where the copy starts.
setTexture
public final void setTexture(@NonNull GPUTexture texture)
The texture involved in the copy.