Struct rin::gl::texture::LoadDataFormat [−][src]
Use to allocate a new texture
Fields
texture_format: Formatformat: u32ty: u32Implementations
impl LoadDataFormat[src]
impl LoadDataFormat[src]pub fn new(
internal: u32,
width: u32,
height: u32
) -> Result<LoadDataFormat, Error>[src]
internal: u32,
width: u32,
height: u32
) -> Result<LoadDataFormat, Error>
pub fn new_3d(
internal: u32,
width: u32,
height: u32,
depth: u32
) -> Result<LoadDataFormat, Error>[src]
internal: u32,
width: u32,
height: u32,
depth: u32
) -> Result<LoadDataFormat, Error>
pub fn new_1d(internal: u32, width: u32) -> Result<LoadDataFormat, Error>[src]
pub fn new_array(
internal: u32,
width: u32,
height: u32,
layers: u32
) -> Result<LoadDataFormat, Error>[src]
internal: u32,
width: u32,
height: u32,
layers: u32
) -> Result<LoadDataFormat, Error>
pub fn texture_format(&self) -> &Format[src]
pub fn data_format(&self) -> DataFormat[src]
Trait Implementations
impl Clone for LoadDataFormat[src]
impl Clone for LoadDataFormat[src]pub fn clone(&self) -> LoadDataFormat[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LoadDataFormat[src]
impl Debug for LoadDataFormat[src]impl Hash for LoadDataFormat[src]
impl Hash for LoadDataFormat[src]impl PartialEq<LoadDataFormat> for LoadDataFormat[src]
impl PartialEq<LoadDataFormat> for LoadDataFormat[src]pub fn eq(&self, other: &LoadDataFormat) -> bool[src]
pub fn ne(&self, other: &LoadDataFormat) -> bool[src]
impl TryFrom<Format> for LoadDataFormat[src]
impl TryFrom<Format> for LoadDataFormat[src]impl Eq for LoadDataFormat[src]
impl StructuralEq for LoadDataFormat[src]
impl StructuralPartialEq for LoadDataFormat[src]
Auto Trait Implementations
impl RefUnwindSafe for LoadDataFormat
impl Send for LoadDataFormat
impl Sync for LoadDataFormat
impl Unpin for LoadDataFormat
impl UnwindSafe for LoadDataFormat
Blanket Implementations
impl<T> CallHasher for T where
T: Hash, [src]
impl<T> CallHasher for T where
T: Hash, [src]impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]