#include <GraphicSettings.hpp>
|
| RequiredFeatureContainer::iterator | _GetRequiredFeature (const wgpu::FeatureName &feature) |
| RequiredFeatureContainer::const_iterator | _GetRequiredFeature (const wgpu::FeatureName &feature) const |
◆ RequiredFeatureContainer
◆ GraphicSettings()
| Graphic::Resource::GraphicSettings::GraphicSettings |
( |
| ) |
|
|
default |
◆ ~GraphicSettings()
| Graphic::Resource::GraphicSettings::~GraphicSettings |
( |
| ) |
|
|
default |
◆ _GetRequiredFeature() [1/2]
| RequiredFeatureContainer::iterator Graphic::Resource::GraphicSettings::_GetRequiredFeature |
( |
const wgpu::FeatureName & | feature | ) |
|
|
inlineprivate |
◆ _GetRequiredFeature() [2/2]
| RequiredFeatureContainer::const_iterator Graphic::Resource::GraphicSettings::_GetRequiredFeature |
( |
const wgpu::FeatureName & | feature | ) |
const |
|
inlineprivate |
◆ AddRequiredFeature()
| GraphicSettings & Graphic::Resource::GraphicSettings::AddRequiredFeature |
( |
wgpu::FeatureName | feature | ) |
|
|
inline |
◆ GetOnErrorCallback()
| WGPUUncapturedErrorCallback Graphic::Resource::GraphicSettings::GetOnErrorCallback |
( |
| ) |
const |
|
inline |
◆ GetPowerPreference()
| PowerPreference Graphic::Resource::GraphicSettings::GetPowerPreference |
( |
| ) |
const |
|
inline |
◆ GetRequiredFeatures()
◆ GetWantedLimits()
| Limits & Graphic::Resource::GraphicSettings::GetWantedLimits |
( |
| ) |
|
|
inline |
◆ GetWindowSystem()
| WindowSystem Graphic::Resource::GraphicSettings::GetWindowSystem |
( |
| ) |
const |
|
inline |
◆ HasRequiredFeature()
| bool Graphic::Resource::GraphicSettings::HasRequiredFeature |
( |
wgpu::FeatureName | feature | ) |
const |
|
inline |
◆ RemoveRequiredFeature()
| GraphicSettings & Graphic::Resource::GraphicSettings::RemoveRequiredFeature |
( |
wgpu::FeatureName | feature | ) |
|
|
inline |
◆ SetOnErrorCallback()
| GraphicSettings & Graphic::Resource::GraphicSettings::SetOnErrorCallback |
( |
WGPUUncapturedErrorCallback | callback | ) |
|
|
inline |
◆ SetPowerPreference()
◆ SetWindowSystem()
◆ onErrorCallback
| WGPUUncapturedErrorCallback Graphic::Resource::GraphicSettings::onErrorCallback |
|
private |
Initial value: = [](WGPUDevice const *device, WGPUErrorType type,
WGPUStringView message, WGPU_NULLABLE void *userdata1,
WGPU_NULLABLE void *userdata2) {
Log::Error(fmt::format(
"Uncaptured device error: type {:x} ({})",
static_cast<uint32_t
>(type),
std::string(message.data, message.length)));
}
void Error(const T &msg) noexcept
Definition Logger.hpp:51
◆ powerPreference
◆ requiredFeatures
◆ wantedLimits
◆ windowSystem
The documentation for this class was generated from the following file: