pub struct Core { /* fields omitted */ }
Vulkan core commands
This struct is used to initialize vulkan core commands and holds function pointers to them.
Function pointers are initialized during construction.
After successfull instantiation the global core functions are ready to use.
There must be always at maximum a single instance of this struct.
Initialized core commands for the newest available vulkan version
let vk_lib = nobs_vk::Core::new();
is the same as
let vk_lib = nobs_vk::Core::with_feature(nobs_vk::VERSION_1_1);
Initialized core commands for the specified vulkan feature
Select a feature either with the predefined constants VERSION_x_x
,
or use the make_version macro
Gets the feature level with which vulkan was initialized
The fature is formatted as described in make_version.
Executes the destructor for this type. Read more
Initializes all function pointers to functions that immediately panic.
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static