Render device information. More...
#include <GraphicsTypes.h>
Public Member Functions | |
constexpr bool | operator== (const RenderDeviceInfo &RHS) const |
Comparison operator tests if two structures are equivalent. | |
Public Attributes | |
enum RENDER_DEVICE_TYPE | Type = RENDER_DEVICE_TYPE_UNDEFINED |
Device type. See Diligent::RENDER_DEVICE_TYPE. | |
Version | APIVersion = {} |
Major revision of the graphics API supported by the graphics adapter. | |
DeviceFeatures | Features |
Enabled device features. See Diligent::DeviceFeatures. | |
NDCAttribs | NDC = {} |
Normalized device coordinates. | |
RenderDeviceShaderVersionInfo | MaxShaderVersion = {} |
Maximum supported version for each shader language, see Diligent::RenderDeviceShaderVersionInfo. | |
Render device information.
|
inlineconstexpr |
Comparison operator tests if two structures are equivalent.
[in] | RHS | - reference to the structure to perform comparison with |
Version Diligent::RenderDeviceInfo::APIVersion = {} |
Major revision of the graphics API supported by the graphics adapter.
Note that this value indicates the maximum supported feature level, so, for example, if the device type is D3D11, this value will be 10 when the maximum supported Direct3D feature level of the graphics adapter is 10.0.
DeviceFeatures Diligent::RenderDeviceInfo::Features |
Enabled device features. See Diligent::DeviceFeatures.
For optional features requested during the initialization, the struct will indicate the actual feature state (enabled or disabled).
The feature state in the adapter info indicates if the GPU supports the feature, but if it is not enabled, an application must not use it.