Interface GpuBackend
- All Known Implementing Classes:
GlBackend, VulkanBackend
public interface GpuBackend
-
Method Summary
Modifier and TypeMethodDescriptioncreateDevice(long window, ShaderSource defaultShaderSource, GpuDebugOptions debugOptions, Runnable criticalShaderLoader) getName()voidvoid
-
Method Details
-
getName
String getName() -
setWindowHints
void setWindowHints() -
handleWindowCreationErrors
- Throws:
BackendCreationException
-
createDevice
GpuDevice createDevice(long window, ShaderSource defaultShaderSource, GpuDebugOptions debugOptions, Runnable criticalShaderLoader) throws BackendCreationException - Throws:
BackendCreationException
-