Package-level declarations
Types
Link copied to clipboard
class AndroidContext(val surfaceHolder: SurfaceHolder, val wgpuContext: WGPUContext) : AutoCloseable
Link copied to clipboard
Link copied to clipboard
GLFWContext
Link copied to clipboard
class GLFWContext(val windowHandler: CValuesRef<<Error class: unknown class>>, val wgpuContext: WGPUContext) : AutoCloseable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SurfaceRenderingContext(surface: Surface, val textureFormat: GPUTextureFormat) : RenderingContext
Link copied to clipboard
class TextureRenderingContext(val width: UInt, val height: UInt, val textureFormat: GPUTextureFormat, device: GPUDevice) : RenderingContext
Link copied to clipboard
class WGPUContext(val surface: Surface, val adapter: GPUAdapter, val device: GPUDevice, val renderingContext: RenderingContext) : AutoCloseable
Functions
Link copied to clipboard
suspend fun androidContextRenderer(surfaceHolder: SurfaceHolder, width: Int, height: Int, deferredRendering: Boolean = false, onUncapturedError: GPUUncapturedErrorCallback? = null): AndroidContext
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun canvasContextRenderer(htmlCanvas: HTMLCanvasElement? = null, deferredRendering: Boolean = false, width: Int? = null, height: Int? = null, onUncapturedError: GPUUncapturedErrorCallback? = null): CanvasContext
Link copied to clipboard
glfw Context Renderer
Link copied to clipboard
suspend fun glfwContextRenderer(width: Int = 1, height: Int = 1, title: String = "", deferredRendering: Boolean = false, onUncapturedError: GPUUncapturedErrorCallback? = null): GLFWContext
suspend fun glfwContextRenderer(width: Int = 1, height: Int = 1, title: String = "", deferredRendering: Boolean = false, onUncapturedError: GPUUncapturedErrorCallback? = null): GLFWContext
Link copied to clipboard
suspend fun iosContextRenderer(view: MTKView, width: Int, height: Int, deferredRendering: Boolean = false): IosContext
Link copied to clipboard
Link copied to clipboard