logo
pub struct InstanceBuilder<'a> { /* private fields */ }
Expand description

Allows to easily create an erupt::InstanceLoader and friends.

Implementations

Create a new instance builder with opinionated defaults.

Create a new instance builder with a custom erupt::InstanceLoaderBuilder and opinionated defaults.

Application name to advertise.

Application version to advertise.

Application version to advertise.

Engine name to advertise.

Engine version to advertise.

Engine version to advertise.

Instance API version to be used as minimum requirement.

Instance API version to be used as minimum requirement.

Instance API version to request. If it is not supported, fall back to the highest supported version.

Instance API version to request. If it is not supported, fall back to the highest supported version.

Try to enable this layer, ignore if it’s not supported

Enable this layer, fail if it’s not supported.

Try to enable this extension, ignore if it is not supported.

Enable this extension, fail if it’s not supported.

Adds an requirement on all Vulkan extensions necessary to create a surface on window_handle. You can also manually add these extensions. Returns None if the corresponding Vulkan surface extensions couldn’t be found. This is only supported on feature surface.

Add Khronos validation layers.

Try to create a debug messenger with the config provided by debug_messenger.

Filter for the severity of debug messages.

Filter for the type of debug messages.

Enable an additional feature in the validation layers.

Disable an feature in the validation layers.

Allocation callback to use for internal Vulkan calls in the builder.

Returns the erupt::InstanceLoader, an debug messenger if it was requested and successfully created, and InstanceMetadata about what is actually enabled in the instance.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.