RAII wrapper for SDL_GPUDevice
.
More...
#include <candlewick/core/Device.h>
RAII wrapper for SDL_GPUDevice
.
◆ Device() [1/4]
candlewick::Device::Device |
( |
NoInitT | | ) |
|
|
inlineexplicitnoexcept |
◆ Device() [2/4]
candlewick::Device::Device |
( |
SDL_GPUShaderFormat | format_flags, |
|
|
bool | debug_mode = false ) |
|
explicit |
◆ Device() [3/4]
candlewick::Device::Device |
( |
const Device & | | ) |
|
|
delete |
◆ Device() [4/4]
candlewick::Device::Device |
( |
Device && | other | ) |
|
|
inlinenoexcept |
◆ create()
void candlewick::Device::create |
( |
SDL_GPUShaderFormat | format_flags, |
|
|
bool | debug_mode = false ) |
◆ destroy()
void candlewick::Device::destroy |
( |
| ) |
|
|
noexcept |
◆ driverName()
const char * candlewick::Device::driverName |
( |
| ) |
const |
|
noexcept |
◆ operator bool()
candlewick::Device::operator bool |
( |
| ) |
const |
|
inline |
◆ operator SDL_GPUDevice *()
candlewick::Device::operator SDL_GPUDevice * |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ operator==()
bool candlewick::Device::operator== |
( |
const Device & | other | ) |
const |
|
inline |
◆ release()
SDL_GPUDevice * candlewick::Device::release |
( |
| ) |
|
|
inlinenoexcept |
Release ownership of and return the SDL_GPUDevice
handle.
◆ shaderFormats()
SDL_GPUShaderFormat candlewick::Device::shaderFormats |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: