Struct vulkano::framebuffer::UnsafeRenderPass [] [src]

pub struct UnsafeRenderPass { /* fields omitted */ }

Defines the layout of multiple subpasses.

Methods

impl UnsafeRenderPass
[src]

Builds a new renderpass.

Safety

This function doesn't check whether all the restrictions in the attachments, passes and passes dependencies were enforced.

See the documentation of the structs of this module for more info about these restrictions.

Panic

  • Can panic if it detects some violations in the restrictions. Only unexpensive checks are performed. debug_assert! is used, so some restrictions are only checked in debug mode.

Returns the granularity of this render pass.

If the render area of a render pass in a command buffer is a multiple of this granularity, then the performances will be optimal. Performances are always optimal for render areas that cover the whole framebuffer.

Returns the device that was used to create this render pass.

Trait Implementations

impl VulkanObject for UnsafeRenderPass
[src]

The type of the object.

Returns a reference to the object.

impl RenderPass for UnsafeRenderPass
[src]

Returns the underlying UnsafeRenderPass. Used by vulkano's internals.

impl Drop for UnsafeRenderPass
[src]

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