Trait rin_gl::renderer::CreationContext[][src]

pub trait CreationContext: GlinCreationContext {
    fn new_ttf<'a>(&'a self, path: &'a str, pt_height: f32) -> Builder<'a>;
fn new_ttf_from_bytes<'a>(
        &'a self,
        bytes: &'a [u8],
        pt_height: f32
    ) -> Builder<'a>;
fn new_ttf_material<'a>(&self, ttf: &'a Ttf) -> MaterialBuilder<'a>;
fn new_vao_mesh(&self) -> Builder;
fn new_vao_path(&self) -> Builder;
fn new_auto_program<P: AsRef<Path> + Clone + 'static>(
        &self,
        settings: ProgramSettings<P>
    ) -> AutoLoader<Program>;
fn new_object(&self) -> Builder;
fn to_simple_vao<T, U, M: ToSimpleVao<T, U>>(
        &self,
        mesh: &M
    ) -> Result<SimpleVao<T>>; }

Required methods

fn new_ttf<'a>(&'a self, path: &'a str, pt_height: f32) -> Builder<'a>[src]

fn new_ttf_from_bytes<'a>(
    &'a self,
    bytes: &'a [u8],
    pt_height: f32
) -> Builder<'a>
[src]

fn new_ttf_material<'a>(&self, ttf: &'a Ttf) -> MaterialBuilder<'a>[src]

fn new_vao_mesh(&self) -> Builder[src]

fn new_vao_path(&self) -> Builder[src]

fn new_auto_program<P: AsRef<Path> + Clone + 'static>(
    &self,
    settings: ProgramSettings<P>
) -> AutoLoader<Program>
[src]

fn new_object(&self) -> Builder[src]

fn to_simple_vao<T, U, M: ToSimpleVao<T, U>>(
    &self,
    mesh: &M
) -> Result<SimpleVao<T>>
[src]

Loading content...

Implementations on Foreign Types

impl<'c, C: CreationContext> CreationContext for &'c C[src]

Loading content...

Implementors

impl CreationContext for CreationProxy[src]

impl<'c, R: RenderSurface> CreationContext for Renderer<'c, R>[src]

Loading content...