Interface GpuSurface
- All Superinterfaces:
AutoCloseable, UncheckedAutoCloseable
- All Known Implementing Classes:
FrontendGpuSurface
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic enum -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidblitFromTexture(CommandEncoder commandEncoder, GpuTextureView textureView) voidconfigure(GpuSurface.Configuration config) booleanbooleanvoidpresent()Methods inherited from interface UncheckedAutoCloseable
close
-
Method Details
-
configure
- Throws:
SurfaceException
-
currentConfiguration
Optional<GpuSurface.Configuration> currentConfiguration() -
supportedPresentModes
Collection<GpuSurface.PresentMode> supportedPresentModes() -
isSuboptimal
boolean isSuboptimal() -
isAcquired
boolean isAcquired() -
acquireNextTexture
- Throws:
SurfaceException
-
blitFromTexture
-
present
void present()
-