pub struct ImguiRenderRoutine {
pub renderer: Renderer,
}Expand description
An instance of a render routine, holding in imgui_wgpu renderer.
Fields§
§renderer: RendererImplementations§
Source§impl ImguiRenderRoutine
impl ImguiRenderRoutine
Sourcepub fn new(
renderer: &Renderer,
imgui: &mut Context,
output_format: TextureFormat,
) -> Self
pub fn new( renderer: &Renderer, imgui: &mut Context, output_format: TextureFormat, ) -> Self
Imgui will always output gamma-encoded color. It will determine if to do this in the shader manually based on the output format.
pub fn add_to_graph<'node>( &'node mut self, graph: &mut RenderGraph<'node>, draw_data: &'node DrawData, output: RenderTargetHandle, )
Auto Trait Implementations§
impl !Freeze for ImguiRenderRoutine
impl !RefUnwindSafe for ImguiRenderRoutine
impl !UnwindSafe for ImguiRenderRoutine
impl Send for ImguiRenderRoutine
impl Sync for ImguiRenderRoutine
impl Unpin for ImguiRenderRoutine
impl UnsafeUnpin for ImguiRenderRoutine
Blanket Implementations§
impl<T> AnyBound<dyn Any + Send> for T
impl<T> AnyBound<dyn Any + Sync + Send> for T
impl<T> AnyBound<dyn Any + Sync> for T
impl<T> AnyBound<dyn Any> for Twhere
T: Any,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more