Trait rin_gl::traits::ToSimpleVao [−][src]
pub trait ToSimpleVao<T, U> {
fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>>
where
C: CreationContext,
B: Bindings;
fn as_simple_vao_data(&self) -> Data<'_, T>;
}Required methods
fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, T>[src]
Implementations on Foreign Types
impl<T: VertexFormat + Clone + 'static> ToSimpleVao<T, Mesh<T>> for Mesh<T>[src]
impl<T: VertexFormat + Clone + 'static> ToSimpleVao<T, Mesh<T>> for Mesh<T>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, T>[src]
impl ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for Mesh<Vec2>[src]
impl ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for Mesh<Vec2>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec2>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec2>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, Vec2>[src]
impl ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for Mesh<Vec3>[src]
impl ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for Mesh<Vec3>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec3>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec3>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, Vec3>[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, MeshSlice<'a, T>> for MeshSlice<'a, T>[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, MeshSlice<'a, T>> for MeshSlice<'a, T>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, T>[src]
impl<'a> ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for MeshSlice<'a, Vec2>[src]
impl<'a> ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for MeshSlice<'a, Vec2>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec2>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec2>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, Vec2>[src]
impl<'a> ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for MeshSlice<'a, Vec3>[src]
impl<'a> ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for MeshSlice<'a, Vec3>[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec3>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<Vec3>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, Vec3>[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, (&'a [T], PrimitiveType)> for (&'a [T], PrimitiveType)[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, (&'a [T], PrimitiveType)> for (&'a [T], PrimitiveType)[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings,
fn as_simple_vao_data(&self) -> Data<'_, T>[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, (&'a [T], &'a [u32], PrimitiveType)> for (&'a [T], &'a [IndexT], PrimitiveType)[src]
impl<'a, T: VertexFormat + Clone + 'static> ToSimpleVao<T, (&'a [T], &'a [u32], PrimitiveType)> for (&'a [T], &'a [IndexT], PrimitiveType)[src]fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings, [src]
&self,
gl: &C,
bindings: &B,
usage: GLenum
) -> Result<SimpleVao<T>> where
C: CreationContext,
B: Bindings,