semicongine/rendering/swapchain

Procs

proc clearSwapchain() {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc destroySwapchain(swapchain: Swapchain) {....raises: [Exception],
    tags: [RootEffect], forbids: [].}
proc frameHeight(): uint32 {....raises: [], tags: [], forbids: [].}
proc frameWidth(): uint32 {....raises: [], tags: [], forbids: [].}
proc recreateSwapchain() {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc recreateSwapchain(vSync: bool; tripleBuffering: bool) {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
proc setupSwapchain(renderPass: RenderPass; vSync: bool = false;
                    tripleBuffering: bool = true) {....raises: [Exception],
    tags: [RootEffect], forbids: [].}

Templates

template withNextFrame(framebufferName, commandBufferName, body: untyped): untyped