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: u32height: u32depth: u32format: Formatmin_filter: Interpolationmag_filter: Interpolationmip_map_filter: Option<Interpolation>wrap_s: Wrappingwrap_t: Wrappingwrap_r: WrappingImplementations
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