Struct rin_gl::cubemap::Level [−][src]
Represents a cubemap level
Can be used to easily draw a specific level of this cubemap
Fields
cubemap: &'a CubeMap
level: f32
Trait Implementations
impl<'a> Render2d for Level<'a>
[src]
impl<'a> Render2d for Level<'a>
[src]type Material = Material<'a>
fn default_material(&self) -> Material<'a>
[src]
fn render_with_material<R: RenderSurface, M: Material>(
&self,
gl: &Renderer<'_, R>,
pos: &Pnt2,
material: &M
)
[src]
&self,
gl: &Renderer<'_, R>,
pos: &Pnt2,
material: &M
)
fn render_size_with_material<R: RenderSurface, M: Material>(
&self,
gl: &Renderer<'_, R>,
pos: &Pnt2,
size: &Vec2,
material: &M
)
[src]
&self,
gl: &Renderer<'_, R>,
pos: &Pnt2,
size: &Vec2,
material: &M
)
fn render<R: RenderSurface>(&self, renderer: &Renderer<'_, R>, pos: &Pnt2)
[src]
fn render_size<R: RenderSurface>(
&self,
renderer: &Renderer<'_, R>,
pos: &Pnt2,
size: &Vec2
)
[src]
&self,
renderer: &Renderer<'_, R>,
pos: &Pnt2,
size: &Vec2
)
impl<'a> Copy for Level<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Level<'a>
impl<'a> !Send for Level<'a>
impl<'a> !Sync for Level<'a>
impl<'a> Unpin for Level<'a>
impl<'a> !UnwindSafe for Level<'a>
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]