TriangleExample

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

dispose
void dispose()
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.
prepareBuffer
void prepareBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
preparePipeline
void preparePipeline()
Undocumented in source. Be warned that the author may not have intended to support it.
prepareRenderPass
void prepareRenderPass()
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. Be warned that the author may not have intended to support it.

Structs

PerImage
struct PerImage
Undocumented in source.
Vertex
struct Vertex
Undocumented in source.

Variables

framebuffers
Framebuffer[] framebuffers;
Undocumented in source.
perImages
PerImage[] perImages;
Undocumented in source.
pipeline
Rc!Pipeline pipeline;
Undocumented in source.
renderPass
Rc!RenderPass renderPass;
Undocumented in source.
vertBuf
Rc!Buffer vertBuf;
Undocumented in source.

Inherited Members

From Example

title
string title;
Undocumented in source.
instance
Rc!Instance instance;
Undocumented in source.
window
Window window;
Undocumented in source.
graphicsQueueIndex
uint graphicsQueueIndex;
Undocumented in source.
presentQueueIndex
uint presentQueueIndex;
Undocumented in source.
physicalDevice
Rc!PhysicalDevice physicalDevice;
Undocumented in source.
device
Rc!Device device;
Undocumented in source.
graphicsQueue
Queue graphicsQueue;
Undocumented in source.
presentQueue
Queue presentQueue;
Undocumented in source.
surfaceSize
uint[2] surfaceSize;
Undocumented in source.
hasAlpha
bool hasAlpha;
Undocumented in source.
swapchain
Rc!Swapchain swapchain;
Undocumented in source.
scImages
Image[] scImages;
Undocumented in source.
imageAvailableSem
Rc!Semaphore imageAvailableSem;
Undocumented in source.
renderingFinishSem
Rc!Semaphore renderingFinishSem;
Undocumented in source.
cmdPool
Rc!CommandPool cmdPool;
Undocumented in source.
cmdBufs
CommandBuffer[] cmdBufs;
Undocumented in source.
fences
Fence[] fences;
Undocumented in source.
numCmdBufs
enum numCmdBufs;
Undocumented in source.
cmdBufInd
size_t cmdBufInd;
Undocumented in source.
dispose
void dispose()
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.
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.
prepareCmds
void prepareCmds()
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.
nextCmdBuf
size_t nextCmdBuf()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta