Trait rin::gl::vao::VaoRange [−][src]
pub trait VaoRange { pub fn id(&self) -> u32; pub fn start(&self) -> usize; pub fn end(&self) -> usize; pub fn count(&self) -> usize; pub fn num_indices(&self) -> usize; pub fn num_vertices(&self) -> usize; pub fn has_indices(&self) -> bool; pub fn base_vertex(&self) -> Option<i32>; pub fn base_instance(&self) -> Option<u32>; }
range of a vao’s vertices or elements
Required methods
pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
Implementors
impl VaoRange for IntoRange
[src]
impl VaoRange for IntoRange
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a> VaoRange for &'a (dyn VaoDraw + 'a)
[src]
impl<'a> VaoRange for &'a (dyn VaoDraw + 'a)
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a> VaoRange for &'a Vao
[src]
impl<'a> VaoRange for &'a Vao
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a> VaoRange for &'a Range<'a>
[src]
impl<'a> VaoRange for &'a Range<'a>
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a> VaoRange for &'a mut Range<'a>
[src]
impl<'a> VaoRange for &'a mut Range<'a>
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a> VaoRange for Range<'a>
[src]
impl<'a> VaoRange for Range<'a>
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a, T> VaoRange for &'a SimpleVao<T>
[src]
impl<'a, T> VaoRange for &'a SimpleVao<T>
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a, T> VaoRange for &'a VaoMesh<T> where
T: 'static + Clone,
[src]
impl<'a, T> VaoRange for &'a VaoMesh<T> where
T: 'static + Clone,
[src]pub fn id(&self) -> u32
[src]
pub fn start(&self) -> usize
[src]
pub fn end(&self) -> usize
[src]
pub fn count(&self) -> usize
[src]
pub fn num_indices(&self) -> usize
[src]
pub fn num_vertices(&self) -> usize
[src]
pub fn has_indices(&self) -> bool
[src]
pub fn base_vertex(&self) -> Option<i32>
[src]
pub fn base_instance(&self) -> Option<u32>
[src]
impl<'a, T> VaoRange for &'a mut SimpleVao<T>
[src]
impl<'a, T> VaoRange for &'a mut SimpleVao<T>
[src]