Struct voodoo::DeviceBuilder
[−]
[src]
pub struct DeviceBuilder<'db> { /* fields omitted */ }
A builder for Device
.
Methods
impl<'db> DeviceBuilder<'db>
[src]
pub fn new() -> DeviceBuilder<'db>
[src]
Returns a new instance builder.
pub fn queue_create_infos<'s, 'ci>(
&'s mut self,
queue_create_infos: &'ci [DeviceQueueCreateInfo]
) -> &'s mut DeviceBuilder<'db> where
'ci: 'db,
[src]
&'s mut self,
queue_create_infos: &'ci [DeviceQueueCreateInfo]
) -> &'s mut DeviceBuilder<'db> where
'ci: 'db,
Specifies the list of VkDeviceQueueCreateInfo structures describing the queues that are requested to be created along with the logical device.
pub fn enabled_layer_names<'s, 'cs, Cs>(
&'s mut self,
enabled_layer_names: Cs
) -> &'s mut DeviceBuilder<'db> where
'cs: 'db,
Cs: 'cs + Into<CharStrs<'cs>>,
[src]
&'s mut self,
enabled_layer_names: Cs
) -> &'s mut DeviceBuilder<'db> where
'cs: 'db,
Cs: 'cs + Into<CharStrs<'cs>>,
Deprecated
: ignored by Vulkan API
Specifies the layer names to enable.
Ignored.
pub fn enabled_extension_names<'s, 'cs, Cs>(
&'s mut self,
enabled_extension_names: Cs
) -> &'s mut DeviceBuilder<'db> where
'cs: 'db,
Cs: 'cs + Into<CharStrs<'cs>>,
[src]
&'s mut self,
enabled_extension_names: Cs
) -> &'s mut DeviceBuilder<'db> where
'cs: 'db,
Cs: 'cs + Into<CharStrs<'cs>>,
Specifies the list of names of extensions to enable for the created device.
pub fn enabled_features<'s, 'f>(
&'s mut self,
enabled_features: &'f PhysicalDeviceFeatures
) -> &'s mut DeviceBuilder<'db> where
'f: 'db,
[src]
&'s mut self,
enabled_features: &'f PhysicalDeviceFeatures
) -> &'s mut DeviceBuilder<'db> where
'f: 'db,
Specifies the structure that contains boolean indicators of all the features to be enabled.
pub fn build(&self, physical_device: PhysicalDevice) -> VdResult<Device>
[src]
Builds and returns a new Device
.
Trait Implementations
impl<'db> Debug for DeviceBuilder<'db>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'db> Clone for DeviceBuilder<'db>
[src]
fn clone(&self) -> DeviceBuilder<'db>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more