XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALDeviceFeatureState Struct Reference

This describes the graphics device feature state. More...

#include <GraphicsTypes.h>

Inheritance diagram for xiiGALDeviceFeatureState:
[legend]

Public Types

enum  Enum : StorageType {
  Disabled = -1 , Enabled , Optional , ENUM_COUNT ,
  Default = Disabled
}
 
using StorageType = xiiInt8
 

Detailed Description

This describes the graphics device feature state.

Member Enumeration Documentation

◆ Enum

enum xiiGALDeviceFeatureState::Enum : StorageType
Enumerator
Disabled 

Device feature is disabled.

Enabled 

Device feature is enabled. If a feature is requested to be enabled during the initialization but is not supported by the device/driver/platform, the device will fail to be initialized.

Optional 

Device feature is optional. The device will attempt to enable the feature during initialization. If the feature is not supported by the device/driver/platform, the device will initialize successfully, but the feature will be disabled. The actual feature state can be queried from the device capabilities description.


The documentation for this struct was generated from the following file: