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]

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Send for RenderContext
[src]

impl Sync for RenderContext
[src]

impl Debug for RenderContext
[src]

Formats the value using the given formatter. Read more