Topaz 5.0
Topaz Game Engine
Loading...
Searching...
No Matches
tz::gpu::hardware Struct Reference

Description

Contains some basic information about a particular piece of hardware on the machine that the driver thinks could do GPU work.

If you're looking to request information about the hardware available on your machine, look through iterate_hardware.

#include "hardware.hpp"

Public Attributes

std::string name
 User-facing name of the hardware. In most cases this should be the name of your graphics card. Note that some drivers may truncate this to an implementation-defined maximum size.
 
std::uint64_t vram_size_mib
 Estimated size of the biggest heap, in MiB. If the hardware is not a discrete GPU, this value could be inaccurate.
 
hardware_type type
 Describes which type of hardware this is (e.g a discrete GPU, or a CPU).
 
hardware_feature_coverage features
 Describes whether this hardware is suited to Topaz rendering based upon the GPU features it supports.
 
hardware_capabilities caps
 Describes which sort of GPU operations this hardware is capable of doing.
 

Member Data Documentation

◆ name

std::string tz::gpu::hardware::name

User-facing name of the hardware. In most cases this should be the name of your graphics card. Note that some drivers may truncate this to an implementation-defined maximum size.

◆ vram_size_mib

std::uint64_t tz::gpu::hardware::vram_size_mib

Estimated size of the biggest heap, in MiB. If the hardware is not a discrete GPU, this value could be inaccurate.

◆ type

hardware_type tz::gpu::hardware::type

Describes which type of hardware this is (e.g a discrete GPU, or a CPU).

◆ features

hardware_feature_coverage tz::gpu::hardware::features

Describes whether this hardware is suited to Topaz rendering based upon the GPU features it supports.

◆ caps

hardware_capabilities tz::gpu::hardware::caps

Describes which sort of GPU operations this hardware is capable of doing.