Struct vulkanalia::vk::Extension [−][src]
pub struct Extension {
pub name: StringArray<{_: usize}>,
pub number: i32,
pub type_: &'static str,
pub author: &'static str,
pub contact: &'static str,
pub platform: Option<&'static str>,
pub required_extensions: Option<&'static [StringArray<{_: usize}>]>,
pub required_version: Option<&'static str>,
pub deprecated_by: Option<&'static str>,
pub obsoleted_by: Option<&'static str>,
pub promoted_to: Option<&'static str>,
}
Expand description
A collection of metadata for a Vulkan extension.
Fields
name: StringArray<{_: usize}>
The name of the extension.
number: i32
The unique number assigned to the extension.
type_: &'static str
The type of the extension (device
or instance
).
The author of the extension (e.g., KHR
).
contact: &'static str
The primary contact(s) for the extension.
platform: Option<&'static str>
The platform the extension applies to (e.g., wayland
or win32
).
required_extensions: Option<&'static [StringArray<{_: usize}>]>
The other extensions required by the extension.
required_version: Option<&'static str>
The Vulkan version required by the extension (e.g., 1.1
).
deprecated_by: Option<&'static str>
The Vulkan extension or version that deprecated the extension (e.g., VK_VERSION_1_1
).
obsoleted_by: Option<&'static str>
The Vulkan extension or version that obsoleted the extension (e.g., VK_VERSION_1_1
).
promoted_to: Option<&'static str>
The Vulkan version the extension was promoted to core in (e.g., VK_VERSION_1_1
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl UnwindSafe for Extension
Blanket Implementations
Mutably borrows from an owned value. Read more