Trait rin::gl::renderer::CreationContext[][src]

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

Required methods

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

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

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

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

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

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

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

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

Loading content...

Implementations on Foreign Types

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

Loading content...

Implementors

impl CreationContext for CreationProxy[src]

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

Loading content...