Trait glin::vao::VaoRange[][src]

pub trait VaoRange {
    fn id(&self) -> GLuint;
fn start(&self) -> usize;
fn end(&self) -> usize;
fn count(&self) -> usize;
fn num_indices(&self) -> usize;
fn num_vertices(&self) -> usize;
fn has_indices(&self) -> bool;
fn base_vertex(&self) -> Option<i32>;
fn base_instance(&self) -> Option<u32>; }

range of a vao’s vertices or elements

Required methods

fn id(&self) -> GLuint[src]

fn start(&self) -> usize[src]

fn end(&self) -> usize[src]

fn count(&self) -> usize[src]

fn num_indices(&self) -> usize[src]

fn num_vertices(&self) -> usize[src]

fn has_indices(&self) -> bool[src]

fn base_vertex(&self) -> Option<i32>[src]

fn base_instance(&self) -> Option<u32>[src]

Loading content...

Implementors

impl VaoRange for IntoRange[src]

impl<'a> VaoRange for &'a Vao[src]

impl<'a> VaoRange for &'a Range<'a>[src]

impl<'a> VaoRange for &'a dyn VaoDraw[src]

impl<'a> VaoRange for &'a mut Range<'a>[src]

impl<'a> VaoRange for Range<'a>[src]

impl<'a, T> VaoRange for &'a SimpleVao<T>[src]

impl<'a, T> VaoRange for &'a mut SimpleVao<T>[src]

Loading content...