Trait kludgine::CanRenderTo

source ·
pub trait CanRenderTo {
    // Required method
    fn can_render_to(&self, kludgine: &Kludgine) -> bool;
}
Expand description

A resource that can be checked for surface compatibility.

Required Methods§

source

fn can_render_to(&self, kludgine: &Kludgine) -> bool

Returns true if this resource can be rendered into a graphics context for kludgine.

Implementors§