Struct ash::vk::LayerPropertiesBuilder
source · #[repr(transparent)]pub struct LayerPropertiesBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> LayerPropertiesBuilder<'a>
impl<'a> LayerPropertiesBuilder<'a>
pub fn layer_name(self, layer_name: [c_char; 256]) -> Self
pub fn spec_version(self, spec_version: u32) -> Self
pub fn implementation_version(self, implementation_version: u32) -> Self
pub fn description(self, description: [c_char; 256]) -> Self
sourcepub fn build(self) -> LayerProperties
pub fn build(self) -> LayerProperties
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.