Struct egui_vulkano_backend::EguiVulkanoRenderPass[][src]

pub struct EguiVulkanoRenderPass { /* fields omitted */ }
Expand description

egui rendering command builder

Implementations

create command builder

if render target format incompatible with SwapChain format may cause color glitch

you must call when SwapChain resize or before first create_command_buffer call

execute command and present to screen

translate egui rendering request to vulkano AutoCommandBuffer

Update egui system texture You must call before every create_command_buffer

waiting image upload done.

usually you don’t need to call .

this cause blocking but ensure no image glitch.

you must call before create command buffer

register vulkano image view as egui texture

Usable for render to image rectangle

init render area with given dimensions.

image format is R8G8B8A8Srgb.

enabled image usage is below.

  • sampled
  • color_attachment
  • transfer_destination

this is shortcut function for register_vulkano_image_view

example usage

  • model viewer
  • video playback

recreate vulkano texture.

usable for render target resize.

this function create descriptor set for image, so you do not have to call [register_vulkano_image_view]

Trait Implementations

Allocate a new user texture. Read more

Free the given texture.

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

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.