Struct radiant_rs::RenderContext
[−]
[src]
pub struct RenderContext(_);
A thread-safe render-context.
Required to load fonts or sprites and aquired from Renderer::context()
.
Methods
impl RenderContext
[src]
pub fn prune(&self)
[src]
Prunes no longer used textures. Requires all layers to be cleared before adding new sprites or rendering the layer.
Trait Implementations
impl Clone for RenderContext
[src]
fn clone(&self) -> RenderContext
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more