GPUSurfaceCapabilities
public final class GPUSurfaceCapabilities
Describes the capabilities of a surface for a given adapter.
Summary
Public constructors |
|---|
GPUSurfaceCapabilities( |
Public methods |
|
|---|---|
final @NonNull int[] |
|
final @NonNull int[] |
An array of supported texture formats for the surface. |
final @NonNull int[] |
|
final int |
The supported texture usages for the surface. |
final void |
setAlphaModes(@NonNull int[] value) |
final void |
setFormats(@NonNull int[] value)An array of supported texture formats for the surface. |
final void |
setPresentModes(@NonNull int[] value) |
final void |
setUsages(int value)The supported texture usages for the surface. |
Public constructors
GPUSurfaceCapabilities
Added in 1.0.0-alpha05
public GPUSurfaceCapabilities(
int usages,
@NonNull int[] formats,
@NonNull int[] presentModes,
@NonNull int[] alphaModes
)
Public methods
getFormats
Added in 1.0.0-alpha05
public final @NonNull int[] getFormats()
An array of supported texture formats for the surface.
getUsages
Added in 1.0.0-alpha05
public final int getUsages()
The supported texture usages for the surface.
setFormats
Added in 1.0.0-alpha05
public final void setFormats(@NonNull int[] value)
An array of supported texture formats for the surface.
setUsages
Added in 1.0.0-alpha05
public final void setUsages(int value)
The supported texture usages for the surface.