GPUTexelCopyTextureInfo
public final class GPUTexelCopyTextureInfo
Describes a texture used in a texel copy operation.
Summary
Public constructors |
|---|
GPUTexelCopyTextureInfo( |
Public methods |
|
|---|---|
final int |
The texture aspect to use. |
final int |
|
final @NonNull GPUOrigin3D |
The origin of the copy region in the texture. |
final @NonNull GPUTexture |
The texture object. |
final void |
setAspect(int value)The texture aspect to use. |
final void |
setMipLevel(int value) |
final void |
setOrigin(@NonNull GPUOrigin3D value)The origin of the copy region in the texture. |
final void |
setTexture(@NonNull GPUTexture value)The texture object. |
Public constructors
GPUTexelCopyTextureInfo
Added in 1.0.0-alpha05
public GPUTexelCopyTextureInfo(
@NonNull GPUTexture texture,
int mipLevel,
@NonNull GPUOrigin3D origin,
int aspect
)
Public methods
getAspect
Added in 1.0.0-alpha05
public final int getAspect()
The texture aspect to use. Defaults to @see TextureAspect.All.
getOrigin
Added in 1.0.0-alpha05
public final @NonNull GPUOrigin3D getOrigin()
The origin of the copy region in the texture.
setAspect
Added in 1.0.0-alpha05
public final void setAspect(int value)
The texture aspect to use. Defaults to @see TextureAspect.All.
setOrigin
Added in 1.0.0-alpha05
public final void setOrigin(@NonNull GPUOrigin3D value)
The origin of the copy region in the texture.
setTexture
Added in 1.0.0-alpha05
public final void setTexture(@NonNull GPUTexture value)
The texture object.