#include <GpuInformations.hpp>
◆ GpuInformations()
castor3d::GpuInformations::GpuInformations |
( |
| ) |
|
|
inline |
◆ addFeature()
void castor3d::GpuInformations::addFeature |
( |
GpuFeature |
feature | ) |
|
|
inline |
◆ getRenderer()
castor::String const & castor3d::GpuInformations::getRenderer |
( |
| ) |
const |
|
inline |
◆ getTotalMemorySize()
uint32_t castor3d::GpuInformations::getTotalMemorySize |
( |
| ) |
const |
|
inline |
- Returns
- The total VRAM size.
◆ getValue() [1/2]
uint32_t castor3d::GpuInformations::getValue |
( |
GpuMax |
index | ) |
const |
|
inline |
- Parameters
-
- Returns
- The maximum value for given index.
◆ getValue() [2/2]
uint32_t castor3d::GpuInformations::getValue |
( |
GpuMin |
index | ) |
const |
|
inline |
◆ getVendor()
castor::String const & castor3d::GpuInformations::getVendor |
( |
| ) |
const |
|
inline |
- Returns
- The GPU vendor name.
◆ getVersion()
castor::String const & castor3d::GpuInformations::getVersion |
( |
| ) |
const |
|
inline |
- Returns
- The rendering API version.
◆ hasFeature()
bool castor3d::GpuInformations::hasFeature |
( |
GpuFeature |
feature | ) |
const |
|
inline |
◆ hasShaderStorageBuffers()
bool castor3d::GpuInformations::hasShaderStorageBuffers |
( |
| ) |
const |
|
inline |
◆ hasShaderType()
bool castor3d::GpuInformations::hasShaderType |
( |
VkShaderStageFlagBits |
type | ) |
const |
|
inline |
◆ hasStereoRendering()
bool castor3d::GpuInformations::hasStereoRendering |
( |
| ) |
const |
|
inline |
◆ removeFeature()
void castor3d::GpuInformations::removeFeature |
( |
GpuFeature |
feature | ) |
|
|
inline |
◆ setRenderer()
void castor3d::GpuInformations::setRenderer |
( |
castor::String const & |
value | ) |
|
|
inline |
- Parameters
-
[in] | value | The GPU platform. |
◆ setTotalMemorySize()
void castor3d::GpuInformations::setTotalMemorySize |
( |
uint32_t |
value | ) |
|
|
inline |
- Parameters
-
[in] | value | The total VRAM size. |
◆ setValue() [1/2]
void castor3d::GpuInformations::setValue |
( |
GpuMax |
index, |
|
|
uint32_t |
value |
|
) |
| |
|
inline |
- 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 |
|
) |
| |
|
inline |
- Parameters
-
[in] | index | The index. |
[in] | value | The minimum value for given index. |
◆ setVendor()
void castor3d::GpuInformations::setVendor |
( |
castor::String const & |
value | ) |
|
|
inline |
- Parameters
-
[in] | value | The GPU vendor name. |
◆ setVersion()
void castor3d::GpuInformations::setVersion |
( |
castor::String const & |
value | ) |
|
|
inline |
- Parameters
-
[in] | value | The rendering API version. |
◆ updateFeature()
void castor3d::GpuInformations::updateFeature |
( |
GpuFeature |
feature, |
|
|
bool |
supported |
|
) |
| |
|
inline |
◆ useShaderType()
void castor3d::GpuInformations::useShaderType |
( |
VkShaderStageFlagBits |
type, |
|
|
bool |
value |
|
) |
| |
|
inline |
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: