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

Detailed Description

Specification


There is no global state in Wisdom. All per-application state is stored in an instance of WisInstance. Depending on the underlying graphics API, the instance may hold different resources. Most notably, in Vulkan, the instance holds a VkInstance handle, while in DX12, it may hold a IDXGIFactory or similar object. Vulkan implementation also carries global function pointers needed to call Vulkan functions.

Vulkan Version:

// Provided by Wisdom 0.7.0.
WIS_DEFINE_HANDLE(WisVKInstance,3);

DX12 Version:

// Provided by Wisdom 0.7.0.
WIS_DEFINE_HANDLE(WisDX12Instance,2);

See Also


See also
Functions: wisDestroyInstance, wisCreateInstance, wisInstanceQueryAdapters