SDL3pp
A slim C++ wrapper for SDL3
Loading...
Searching...
No Matches
SDL::prop::GPUDevice Namespace Reference

Properties for GPUDevice creation and information. More...

Namespaces

namespace  Create
 Properties for GPUDevice creation.

Variables

constexpr auto NAME_STRING
 String for name.
constexpr auto DRIVER_NAME_STRING
 String for driver name.
constexpr auto DRIVER_VERSION_STRING
 String for driver version.
constexpr auto DRIVER_INFO_STRING
 String for driver info.

Detailed Description

Properties for GPUDevice creation and information.

The properties in namespace Create:: can be used in the properties object passed to CreateGPUDeviceWithProperties to specify the desired GPU device and driver features, while the remainder can be queried from an existing GPU device via GPUDevice.GetProperties.

See also
CreateGPUDeviceWithProperties
GPUDevice.GetProperties
prop::GPUDevice::Create

Variable Documentation

◆ DRIVER_INFO_STRING

auto SDL::prop::GPUDevice::DRIVER_INFO_STRING
constexpr
Initial value:
=
SDL_PROP_GPU_DEVICE_DRIVER_INFO_STRING

String for driver info.

◆ DRIVER_NAME_STRING

auto SDL::prop::GPUDevice::DRIVER_NAME_STRING
constexpr
Initial value:
=
SDL_PROP_GPU_DEVICE_DRIVER_NAME_STRING

String for driver name.

◆ DRIVER_VERSION_STRING

auto SDL::prop::GPUDevice::DRIVER_VERSION_STRING
constexpr
Initial value:
=
SDL_PROP_GPU_DEVICE_DRIVER_VERSION_STRING

String for driver version.

◆ NAME_STRING

auto SDL::prop::GPUDevice::NAME_STRING
constexpr
Initial value:
=
SDL_PROP_GPU_DEVICE_NAME_STRING

String for name.