Class FrameData

Data that is duplicated for every frame in the swapchain. This typically includes a framebuffer and command pool.

class FrameData
  : gfx.core.rc.AtomicRefCounted ;

Constructors

NameDescription
this (device, queueFamilyIndex, swapChainColor)

Fields

NameTypeDescription
cmdPool gfx.core.rc.Rc!(gfx.graal.cmd.CommandPool)
fence gfx.core.rc.Rc!(gfx.graal.sync.Fence)To keep track of when command processing is done.
size SizeSize of this frame's framebuffer.
swapChainColor gfx.graal.image.ImageBase

Methods

NameDescription
dispose ()