pub struct TextureBuffer(/* private fields */);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 for TextureBuffer
impl PartialEq for TextureBuffer
Source§impl PartialOrd for TextureBuffer
impl PartialOrd for TextureBuffer
impl Eq for TextureBuffer
impl StructuralPartialEq for TextureBuffer
Auto Trait Implementations§
impl Freeze for TextureBuffer
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