Struct dotrix_core::renderer::Renderer [−][src]
pub struct Renderer { /* fields omitted */ }
Expand description
Service providing an interface to WGPU
and WINIT
Implementations
Laods the vertex buffer to GPU
pub fn load_texture_buffer<'a>(
&self,
buffer: &mut TextureBuffer,
width: u32,
height: u32,
layers: &'a [&'a [u8]]
)
pub fn load_texture_buffer<'a>(
&self,
buffer: &mut TextureBuffer,
width: u32,
height: u32,
layers: &'a [&'a [u8]]
)
Loads the texture buffer to GPU
Loads the uniform buffer to GPU
Loads the sampler to GPU
Loads the sahder module to GPU
Binds uniforms and other data to the pipeline
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more