wisdom
Loading...
Searching...
No Matches
WisDeviceExtensionHeader Struct Reference

Detailed Description

Specification


An opaque structure used to extend device functionality. Serves as a type marker for device extensions. Defined only for C API. C++ API uses special polymorphic classes for instance extensions.

C Version:

// Provided by Wisdom 0.7.0.
typedef struct WisDeviceExtensionHeader {
const void* opaque;
C Implementation Specific Version:
// Provided by Wisdom 0.7.0.
typedef struct WisVKDeviceExtensionHeader {
const void* opaque;
} WisVKDeviceExtensionHeader;
// Provided by Wisdom 0.7.0.
typedef struct WisDX12DeviceExtensionHeader {
const void* opaque;
} WisDX12DeviceExtensionHeader;

Members


  • opaque indicates opaque member; it must not be changed directly outside extension development.

Description


This structure is always present in every device extension and must be initialized with extension-specific initialization function before being passed to wisCreateDevice.

See Also


See also
Structs: WisDeviceRequirements