GPUSurfaceTexture
public final class GPUSurfaceTexture
Contains a texture to render to for a surface, along with status information.
Summary
Public constructors |
|---|
GPUSurfaceTexture(@NonNull GPUTexture texture, int status) |
Public methods |
|
|---|---|
final int |
The status of the texture acquisition. |
final @NonNull GPUTexture |
The texture for the current frame. |
final void |
setStatus(int value)The status of the texture acquisition. |
final void |
setTexture(@NonNull GPUTexture value)The texture for the current frame. |
Public constructors
GPUSurfaceTexture
Added in 1.0.0-alpha05
public GPUSurfaceTexture(@NonNull GPUTexture texture, int status)
Public methods
getStatus
Added in 1.0.0-alpha05
public final int getStatus()
The status of the texture acquisition.
getTexture
Added in 1.0.0-alpha05
public final @NonNull GPUTexture getTexture()
The texture for the current frame.
setStatus
Added in 1.0.0-alpha05
public final void setStatus(int value)
The status of the texture acquisition.
setTexture
Added in 1.0.0-alpha05
public final void setTexture(@NonNull GPUTexture value)
The texture for the current frame.