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

A host's device and queue, for the GUI to render on (SetExternalDevice) instead of making its own. More...

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

Public Attributes

void * device = nullptr
 id<MTLDevice>, of the Metal 3 GPU family
void * queue = nullptr
 id<MTLCommandQueue> of device: every GUI frame is committed to it

Detailed Description

A host's device and queue, for the GUI to render on (SetExternalDevice) instead of making its own.

The GUI holds a reference to each while it runs, and lets go at Cleanup.

Member Data Documentation

◆ device

void* tachyon::metal::ExternalDevice::device = nullptr

id<MTLDevice>, of the Metal 3 GPU family

◆ queue

void* tachyon::metal::ExternalDevice::queue = nullptr

id<MTLCommandQueue> of device: every GUI frame is committed to it


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