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