#include <GpuInformations.hpp>
◆ GpuInformations()
castor3d::GpuInformations::GpuInformations |
( |
| ) |
|
|
inline |
◆ addFeature()
void castor3d::GpuInformations::addFeature |
( |
GpuFeature | feature | ) |
|
|
inlinenoexcept |
◆ getRenderer()
castor::String const & castor3d::GpuInformations::getRenderer |
( |
| ) |
const |
|
inlinenoexcept |
◆ getTotalMemorySize()
uint32_t castor3d::GpuInformations::getTotalMemorySize |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The total VRAM size.
◆ getValue() [1/2]
uint32_t castor3d::GpuInformations::getValue |
( |
GpuMax | index | ) |
const |
|
inlinenoexcept |
- Parameters
-
- Returns
- The maximum value for given index.
◆ getValue() [2/2]
uint32_t castor3d::GpuInformations::getValue |
( |
GpuMin | index | ) |
const |
|
inlinenoexcept |
◆ getVendor()
- Returns
- The GPU vendor name.
◆ getVersion()
castor::String const & castor3d::GpuInformations::getVersion |
( |
| ) |
const |
|
inlinenoexcept |
- Returns
- The rendering API version.
◆ hasFeature()
bool castor3d::GpuInformations::hasFeature |
( |
GpuFeature | feature | ) |
const |
|
inlinenoexcept |
◆ hasShaderStorageBuffers()
bool castor3d::GpuInformations::hasShaderStorageBuffers |
( |
| ) |
const |
|
inlinenoexcept |
◆ hasShaderType()
bool castor3d::GpuInformations::hasShaderType |
( |
VkShaderStageFlagBits | type | ) |
const |
|
inlinenoexcept |
◆ hasStereoRendering()
bool castor3d::GpuInformations::hasStereoRendering |
( |
| ) |
const |
|
inlinenoexcept |
◆ removeFeature()
void castor3d::GpuInformations::removeFeature |
( |
GpuFeature | feature | ) |
|
|
inlinenoexcept |
◆ setRenderer()
- Parameters
-
[in] | value | The GPU platform. |
◆ setTotalMemorySize()
void castor3d::GpuInformations::setTotalMemorySize |
( |
uint32_t | value | ) |
|
|
inlinenoexcept |
- Parameters
-
[in] | value | The total VRAM size. |
◆ setValue() [1/2]
void castor3d::GpuInformations::setValue |
( |
GpuMax | index, |
|
|
uint32_t | value ) |
|
inlinenoexcept |
- Parameters
-
[in] | index | The index. |
[in] | value | The maximum value for given index. |
◆ setValue() [2/2]
void castor3d::GpuInformations::setValue |
( |
GpuMin | index, |
|
|
uint32_t | value ) |
|
inlinenoexcept |
- Parameters
-
[in] | index | The index. |
[in] | value | The minimum value for given index. |
◆ setVendor()
- Parameters
-
[in] | value | The GPU vendor name. |
◆ setVersion()
- Parameters
-
[in] | value | The rendering API version. |
◆ updateFeature()
void castor3d::GpuInformations::updateFeature |
( |
GpuFeature | feature, |
|
|
bool | supported ) |
|
inlinenoexcept |
◆ useShaderType()
void castor3d::GpuInformations::useShaderType |
( |
VkShaderStageFlagBits | type, |
|
|
bool | value ) |
|
inlinenoexcept |
Defines the support for given shader type.
- Parameters
-
[in] | type | The shader type. |
[in] | value | The new value. |
◆ Context
The documentation for this class was generated from the following file: