Struct ppapi::gles::BoundBufferExperimental [-]  [+] [src]

pub struct BoundBuffer<T>(_);

Methods

impl BoundBuffer<VertexBuffer>

fn buffer_vertex_data<'a, TUsage: Usage>(&self, ctxt: &mut Context3d, buf: BufferOption<'a, u8>, usage: TUsage)

fn vertex_attribute<T: VertexAttribType>(&self, ctxt: &Context3d, index: usize, size: usize, ty: T, normalized: bool, stride: usize, offset: Option<usize>)

fn draw_slice<T: GeometryMode>(&self, ctxt: &Context3d, mode: T, slice_start: usize, slice_len: usize)

impl BoundBuffer<IndexBuffer>

fn buffer_index_data<'a, TUsage: Usage>(&self, ctxt: &mut Context3d, buf: BufferOption<'a, u16>, usage: TUsage)

fn draw_elements<T: GeometryMode, U: IndexElementType>(&self, ctxt: &Context3d, mode: T, ty: U, slice_start: usize, slice_len: usize)

impl BoundBuffer<FrameBuffer>

fn attach_tex2d(&mut self, ctxt: &Context3d, attachment: Enum, tex: TextureBuffer, mip_lvl: Int)

Trait Implementations

impl<T: Buffer> Buffer for BoundBuffer<T>

fn unwrap(&self) -> UInt

fn get_type(&self) -> BufferType

fn to_object(&self) -> BufferObject

fn is_default(&self) -> bool

Derived Implementations

impl<__S: Writer + Hasher, T: Hash<__S>> Hash<__S> for BoundBuffer<T>

fn hash(&self, __arg_0: &mut __S)

impl<T: Clone> Clone for BoundBuffer<T>

fn clone(&self) -> BoundBuffer<T>

fn clone_from(&mut self, source: &Self)

impl<T: PartialOrd> PartialOrd for BoundBuffer<T>

fn partial_cmp(&self, __arg_0: &BoundBuffer<T>) -> Option<Ordering>

fn lt(&self, __arg_0: &BoundBuffer<T>) -> bool

fn le(&self, __arg_0: &BoundBuffer<T>) -> bool

fn gt(&self, __arg_0: &BoundBuffer<T>) -> bool

fn ge(&self, __arg_0: &BoundBuffer<T>) -> bool

impl<T: Ord> Ord for BoundBuffer<T>

fn cmp(&self, __arg_0: &BoundBuffer<T>) -> Ordering

impl<T: PartialEq> PartialEq for BoundBuffer<T>

fn eq(&self, __arg_0: &BoundBuffer<T>) -> bool

fn ne(&self, __arg_0: &BoundBuffer<T>) -> bool

impl<T: Eq> Eq for BoundBuffer<T>

fn assert_receiver_is_total_eq(&self)