Struct tea::texture::TextureCubeMap
source · pub struct TextureCubeMap(_);Implementations§
source§impl TextureCubeMap
impl TextureCubeMap
pub fn new() -> Result<Self, String>
pub fn data( &self, side: CubeMapSide, level: i32, format: PixelFormat, size: (i32, i32), data_type: PixelDataType, data: Vec<u8> )
pub fn subdata( &self, side: CubeMapSide, level: i32, offset: (i32, i32), size: (i32, i32), format: PixelFormat, data_type: PixelDataType, data: Vec<u8> )
Trait Implementations§
source§impl Debug for TextureCubeMap
impl Debug for TextureCubeMap
source§impl Default for TextureCubeMap
impl Default for TextureCubeMap
source§fn default() -> TextureCubeMap
fn default() -> TextureCubeMap
Returns the “default value” for a type. Read more
source§impl Drop for TextureCubeMap
impl Drop for TextureCubeMap
source§impl GlTarget for TextureCubeMap
impl GlTarget for TextureCubeMap
source§impl Ord for TextureCubeMap
impl Ord for TextureCubeMap
source§fn cmp(&self, other: &TextureCubeMap) -> Ordering
fn cmp(&self, other: &TextureCubeMap) -> 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<TextureCubeMap> for TextureCubeMap
impl PartialEq<TextureCubeMap> for TextureCubeMap
source§fn eq(&self, other: &TextureCubeMap) -> bool
fn eq(&self, other: &TextureCubeMap) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TextureCubeMap> for TextureCubeMap
impl PartialOrd<TextureCubeMap> for TextureCubeMap
source§fn partial_cmp(&self, other: &TextureCubeMap) -> Option<Ordering>
fn partial_cmp(&self, other: &TextureCubeMap) -> 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 TextureCubeMap
impl StructuralEq for TextureCubeMap
impl StructuralPartialEq for TextureCubeMap
Auto Trait Implementations§
impl RefUnwindSafe for TextureCubeMap
impl Send for TextureCubeMap
impl Sync for TextureCubeMap
impl Unpin for TextureCubeMap
impl UnwindSafe for TextureCubeMap
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