Struct three_d::core::texture::CPUTexture [−][src]
pub struct CPUTexture<T: TextureDataType> {
pub data: Vec<T>,
pub width: u32,
pub height: u32,
pub depth: u32,
pub format: Format,
pub min_filter: Interpolation,
pub mag_filter: Interpolation,
pub mip_map_filter: Option<Interpolation>,
pub wrap_s: Wrapping,
pub wrap_t: Wrapping,
pub wrap_r: Wrapping,
}
Expand description
Fields
data: Vec<T>
width: u32
height: u32
depth: u32
format: Format
min_filter: Interpolation
mag_filter: Interpolation
mip_map_filter: Option<Interpolation>
wrap_s: Wrapping
wrap_t: Wrapping
wrap_r: Wrapping
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for CPUTexture<T> where
T: RefUnwindSafe,
impl<T> Send for CPUTexture<T> where
T: Send,
impl<T> Sync for CPUTexture<T> where
T: Sync,
impl<T> Unpin for CPUTexture<T> where
T: Unpin,
impl<T> UnwindSafe for CPUTexture<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more