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]

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Send for RenderContext
[src]

impl Sync for RenderContext
[src]