Struct rin_gl::cubemap::Face [−][src]
Represents a cubemap levels face
Can be used to easily draw a specific level of this cubemap
Fields
cubemap: &'a CubeMap
level: f32
face: GLenum
Trait Implementations
impl<'a> Render2d for Face<'a>
[src]
impl<'a> Render2d for Face<'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 Face<'a>
[src]
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Face<'a>
impl<'a> !Send for Face<'a>
impl<'a> !Sync for Face<'a>
impl<'a> Unpin for Face<'a>
impl<'a> !UnwindSafe for Face<'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]