[−][src]Struct nuklear_backend_gfx::Drawer
Fields
col: Option<RenderTargetView<R, (R8_G8_B8_A8, Unorm)>>
Implementations
impl<R: Resources> Drawer<R>
[src]
pub fn new<F>(
factory: &mut F,
col: RenderTargetView<R, (R8_G8_B8_A8, Unorm)>,
texture_count: usize,
vbo_size: usize,
ebo_size: usize,
command_buffer: Buffer,
backend: GfxBackend
) -> Drawer<R> where
F: Factory<R>,
[src]
factory: &mut F,
col: RenderTargetView<R, (R8_G8_B8_A8, Unorm)>,
texture_count: usize,
vbo_size: usize,
ebo_size: usize,
command_buffer: Buffer,
backend: GfxBackend
) -> Drawer<R> where
F: Factory<R>,
pub fn add_texture<F>(
&mut self,
factory: &mut F,
image: &[u8],
width: u32,
height: u32
) -> Handle where
F: Factory<R>,
[src]
&mut self,
factory: &mut F,
image: &[u8],
width: u32,
height: u32
) -> Handle where
F: Factory<R>,
pub fn draw<F, B: CommandBuffer<R>>(
&mut self,
ctx: &mut Context,
cfg: &mut ConvertConfig,
encoder: &mut Encoder<R, B>,
factory: &mut F,
width: u32,
height: u32,
scale: Vec2
) where
F: Factory<R>,
[src]
&mut self,
ctx: &mut Context,
cfg: &mut ConvertConfig,
encoder: &mut Encoder<R, B>,
factory: &mut F,
width: u32,
height: u32,
scale: Vec2
) where
F: Factory<R>,
Auto Trait Implementations
impl<R> !RefUnwindSafe for Drawer<R>
impl<R> !Send for Drawer<R>
impl<R> !Sync for Drawer<R>
impl<R> Unpin for Drawer<R>
impl<R> !UnwindSafe for Drawer<R>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,