[][src]Struct imgui_gfx_renderer::Renderer

pub struct Renderer<R: Resources> { /* fields omitted */ }

Methods

impl<R: Resources> Renderer<R>[src]

pub fn init<F: Factory<R>>(
    imgui: &mut ImGui,
    factory: &mut F,
    shaders: Shaders,
    out: RenderTargetView<R, Rgba8>
) -> RendererResult<Renderer<R>>
[src]

pub fn update_render_target(&mut self, out: RenderTargetView<R, Rgba8>)[src]

pub fn textures(&mut self) -> &mut Textures<Texture<R>>[src]

pub fn render<'a, F: Factory<R>, C: CommandBuffer<R>>(
    &mut self,
    ui: Ui<'a>,
    factory: &mut F,
    encoder: &mut Encoder<R, C>
) -> RendererResult<()>
[src]

Auto Trait Implementations

impl<R> Send for Renderer<R> where
    <R as Resources>::Buffer: Send + Sync,
    <R as Resources>::Mapping: Send,
    <R as Resources>::PipelineStateObject: Send + Sync,
    <R as Resources>::Program: Send + Sync,
    <R as Resources>::RenderTargetView: Send + Sync,
    <R as Resources>::Sampler: Send + Sync,
    <R as Resources>::ShaderResourceView: Send + Sync,
    <R as Resources>::Texture: Send + Sync

impl<R> Sync for Renderer<R> where
    <R as Resources>::Buffer: Send + Sync,
    <R as Resources>::Mapping: Send,
    <R as Resources>::PipelineStateObject: Send + Sync,
    <R as Resources>::Program: Send + Sync,
    <R as Resources>::RenderTargetView: Send + Sync,
    <R as Resources>::Sampler: Send + Sync,
    <R as Resources>::ShaderResourceView: Send + Sync,
    <R as Resources>::Texture: Send + Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.