Struct tea::buffer::TextureBuffer
source · pub struct TextureBuffer(_);Implementations§
source§impl TextureBuffer
impl TextureBuffer
Trait Implementations§
source§impl Debug for TextureBuffer
impl Debug for TextureBuffer
source§impl Default for TextureBuffer
impl Default for TextureBuffer
source§fn default() -> TextureBuffer
fn default() -> TextureBuffer
Returns the “default value” for a type. Read more
source§impl Drop for TextureBuffer
impl Drop for TextureBuffer
source§impl GlBuffer for TextureBuffer
impl GlBuffer for TextureBuffer
fn data<T: Sized>(&self, data: &Vec<T>, usage: BufferUsage)
fn subdata<T: Sized>(&self, offset: isize, count: usize, data: &Vec<T>)
fn bind_read(&self)
fn bind_write(&self)
fn copy(&self, read_offset: isize, write_offset: isize, size: isize)
fn copy_from( &self, other: impl GlBuffer, read_offset: isize, write_offset: isize, size: isize )
fn is_binded(&self) -> bool
source§impl GlTarget for TextureBuffer
impl GlTarget for TextureBuffer
source§impl Ord for TextureBuffer
impl Ord for TextureBuffer
source§fn cmp(&self, other: &TextureBuffer) -> Ordering
fn cmp(&self, other: &TextureBuffer) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TextureBuffer> for TextureBuffer
impl PartialEq<TextureBuffer> for TextureBuffer
source§fn eq(&self, other: &TextureBuffer) -> bool
fn eq(&self, other: &TextureBuffer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TextureBuffer> for TextureBuffer
impl PartialOrd<TextureBuffer> for TextureBuffer
source§fn partial_cmp(&self, other: &TextureBuffer) -> Option<Ordering>
fn partial_cmp(&self, other: &TextureBuffer) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for TextureBuffer
impl StructuralEq for TextureBuffer
impl StructuralPartialEq for TextureBuffer
Auto Trait Implementations§
impl RefUnwindSafe for TextureBuffer
impl Send for TextureBuffer
impl Sync for TextureBuffer
impl Unpin for TextureBuffer
impl UnwindSafe for TextureBuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more