pub struct SamplingOptions {
pub project: bool,
pub compare: bool,
}
Expand description
Options of a sampling operation.
Fields§
§project: bool
Projection sampling: the division by W is expected to happen in the texture unit.
compare: bool
Depth comparison sampling with a reference value.
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