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>
pub fn default_material(&self) -> Material<'a>
[src]
pub fn render_with_material<R, M>(
&self,
gl: &Renderer<'_, R>,
pos: &Point<f32, U2>,
material: &M
) where
M: Material,
R: RenderSurface,
[src]
&self,
gl: &Renderer<'_, R>,
pos: &Point<f32, U2>,
material: &M
) where
M: Material,
R: RenderSurface,
pub fn render_size_with_material<R, M>(
&self,
gl: &Renderer<'_, R>,
pos: &Point<f32, U2>,
size: &Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>,
material: &M
) where
M: Material,
R: RenderSurface,
[src]
&self,
gl: &Renderer<'_, R>,
pos: &Point<f32, U2>,
size: &Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>,
material: &M
) where
M: Material,
R: RenderSurface,
pub fn render<R>(&self, renderer: &Renderer<'_, R>, pos: &Point<f32, U2>) where
R: RenderSurface,
[src]
R: RenderSurface,
pub fn render_size<R>(
&self,
renderer: &Renderer<'_, R>,
pos: &Point<f32, U2>,
size: &Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>
) where
R: RenderSurface,
[src]
&self,
renderer: &Renderer<'_, R>,
pos: &Point<f32, U2>,
size: &Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>
) where
R: RenderSurface,
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]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<T> Slottable for T where
T: Copy,
[src]
T: Copy,