Class WebGpuConfig
java.lang.Object
dev.engine.graphics.GraphicsConfig
dev.engine.graphics.webgpu.WebGpuConfig
WebGPU graphics configuration.
var gfx = new WebGpuConfig(toolkit, wgpuBindings);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RenderDevicecreateDevice(WindowHandle window) Creates the backend-specific render device for the given window.Methods inherited from class GraphicsConfig
create, headless, headless, maxAnisotropy, maxAnisotropy, msaaSamples, msaaSamples, presentMode, presentMode, srgb, srgb, toolkit, validation, validation
-
Constructor Details
-
WebGpuConfig
-
-
Method Details
-
createDevice
Description copied from class:GraphicsConfigCreates the backend-specific render device for the given window. Implemented by each backend config.- Specified by:
createDevicein classGraphicsConfig
-