TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::metal::FrameArena Struct Reference

A frame slot's transient data: one buffer, written from the start each time the slot comes round, grown when a frame needs more. More...

#include <gui_core/graphics/metal/metal_rhi.h>

Public Member Functions

void Reset (MetalGraphicsContext::Impl &device)
 The slot again, its last frame done: writes start over, the outgrown buffers go.

Public Attributes

Buffer buffer
size_t offset = 0
std::vector< Buffer > retired
 Buffers outgrown this frame: their addresses stay valid until the slot comes round.

Detailed Description

A frame slot's transient data: one buffer, written from the start each time the slot comes round, grown when a frame needs more.

Member Function Documentation

◆ Reset()

void tachyon::metal::FrameArena::Reset ( MetalGraphicsContext::Impl & device)
inline

The slot again, its last frame done: writes start over, the outgrown buffers go.

Member Data Documentation

◆ buffer

Buffer tachyon::metal::FrameArena::buffer

◆ offset

size_t tachyon::metal::FrameArena::offset = 0

◆ retired

std::vector<Buffer> tachyon::metal::FrameArena::retired

Buffers outgrown this frame: their addresses stay valid until the slot comes round.


The documentation for this struct was generated from the following file: