Example

Undocumented in source.

Constructors

this
this(string title)
Undocumented in source.

Members

Functions

dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
nextCmdBuf
size_t nextCmdBuf()
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
void prepare()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareCmds
void prepareCmds()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareDevice
void prepareDevice()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareSwapchain
void prepareSwapchain(Swapchain former)
Undocumented in source. Be warned that the author may not have intended to support it.
prepareSync
void prepareSync()
Undocumented in source. Be warned that the author may not have intended to support it.
recordCmds
void recordCmds(size_t cmdBufInd, size_t imgInd)
Undocumented in source.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

numCmdBufs
enum numCmdBufs;
Undocumented in source.

Variables

cmdBufInd
size_t cmdBufInd;
Undocumented in source.
cmdBufs
CommandBuffer[] cmdBufs;
Undocumented in source.
cmdPool
Rc!CommandPool cmdPool;
Undocumented in source.
device
Rc!Device device;
Undocumented in source.
fences
Fence[] fences;
Undocumented in source.
graphicsQueue
Queue graphicsQueue;
Undocumented in source.
graphicsQueueIndex
uint graphicsQueueIndex;
Undocumented in source.
hasAlpha
bool hasAlpha;
Undocumented in source.
imageAvailableSem
Rc!Semaphore imageAvailableSem;
Undocumented in source.
instance
Rc!Instance instance;
Undocumented in source.
physicalDevice
Rc!PhysicalDevice physicalDevice;
Undocumented in source.
presentQueue
Queue presentQueue;
Undocumented in source.
presentQueueIndex
uint presentQueueIndex;
Undocumented in source.
renderingFinishSem
Rc!Semaphore renderingFinishSem;
Undocumented in source.
scImages
Image[] scImages;
Undocumented in source.
surfaceSize
uint[2] surfaceSize;
Undocumented in source.
swapchain
Rc!Swapchain swapchain;
Undocumented in source.
title
string title;
Undocumented in source.
window
Window window;
Undocumented in source.

Inherited Members

From Disposable

dispose
void dispose()

Dispose the underlying resource

Meta