FrameContextExt

Trait FrameContextExt 

Source
pub trait FrameContextExt {
    // Required methods
    fn encoder_ref(&self) -> Option<&CommandEncoder>;
    fn encoder_mut(&mut self) -> Option<&mut CommandEncoder>;
    fn surface_view(&self) -> &TextureView;
    fn surface_texture(&self) -> &Texture;
}
Expand description

Extended access to FrameContext internals.

Required Methods§

Source

fn encoder_ref(&self) -> Option<&CommandEncoder>

Get direct access to the command encoder.

Source

fn encoder_mut(&mut self) -> Option<&mut CommandEncoder>

Get mutable access to the command encoder.

Source

fn surface_view(&self) -> &TextureView

Get the surface texture view for this frame.

Source

fn surface_texture(&self) -> &Texture

Get the surface texture for this frame.

Implementors§