Struct vulkano::descriptor::descriptor_set::UnsafeDescriptorSetLayout [] [src]

pub struct UnsafeDescriptorSetLayout<P = Arc<Device>> where P: SafeDeref<Target=Device> { /* fields omitted */ }

Describes to the Vulkan implementation the layout of all descriptors within a descriptor set.

Despite its name, this type is technically not unsafe. However it serves the same purpose in the API as other types whose names start with Unsafe.

The P template parameter contains a pointer to the Device object.

Methods

impl<P> UnsafeDescriptorSetLayout<P> where P: SafeDeref<Target=Device>
[src]

See the docs of new().

Builds a new UnsafeDescriptorSetLayout with the given descriptors.

Panic

  • Panics if the device or host ran out of memory.

Returns the device used to create this layout.

Trait Implementations

impl<P> VulkanObject for UnsafeDescriptorSetLayout<P> where P: SafeDeref<Target=Device>
[src]

The type of the object.

Returns a reference to the object.

impl<P> Drop for UnsafeDescriptorSetLayout<P> where P: SafeDeref<Target=Device>
[src]

A method called when the value goes out of scope. Read more