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 status)

The status of the texture acquisition.

final void

The texture for the current frame.

Public constructors

GPUSurfaceTexture

Added in 1.0.0-alpha04
public GPUSurfaceTexture(@NonNull GPUTexture texture, int status)

Public methods

getStatus

Added in 1.0.0-alpha04
public final int getStatus()

The status of the texture acquisition.

getTexture

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

The texture for the current frame.

setStatus

Added in 1.0.0-alpha04
public final void setStatus(int status)

The status of the texture acquisition.

setTexture

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

The texture for the current frame.