pub struct SamplingOptions {
pub project: bool,
pub compare: bool,
pub gather: bool,
}Expand description
Options of a sampling operation.
Fields§
§project: boolProjection sampling: the division by W is expected to happen in the texture unit.
compare: boolDepth comparison sampling with a reference value.
gather: boolGather sampling: Operates on four samples of one channel.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SamplingOptions
impl RefUnwindSafe for SamplingOptions
impl Send for SamplingOptions
impl Sync for SamplingOptions
impl Unpin for SamplingOptions
impl UnwindSafe for SamplingOptions
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