TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::d3d12::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/d3d12/d3d12_graphics_context.h>

Public Attributes

ID3D12Device * device = nullptr
 Runs Shader Model 6.6 with resource binding tier 3 (CheckDeviceSupport).
ID3D12CommandQueue * queue = nullptr
 A direct queue of device: every GUI submit, wait and present goes here.

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 releases it at Cleanup.

Member Data Documentation

◆ device

ID3D12Device* tachyon::d3d12::ExternalDevice::device = nullptr

Runs Shader Model 6.6 with resource binding tier 3 (CheckDeviceSupport).

◆ queue

ID3D12CommandQueue* tachyon::d3d12::ExternalDevice::queue = nullptr

A direct queue of device: every GUI submit, wait and present goes here.

Direct3D 12 queues are free-threaded, so the host submits to it from any thread.


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