pub struct SurfaceGpuParams {
pub min_z: f32,
pub max_z: f32,
pub alpha: f32,
pub flatten_z: bool,
pub x_stride: u32,
pub y_stride: u32,
pub lod_x_len: u32,
pub lod_y_len: u32,
}Expand description
Parameters describing how the GPU vertices should be generated.
Fields§
§min_z: f32§max_z: f32§alpha: f32§flatten_z: bool§x_stride: u32§y_stride: u32§lod_x_len: u32§lod_y_len: u32Auto Trait Implementations§
impl Freeze for SurfaceGpuParams
impl RefUnwindSafe for SurfaceGpuParams
impl Send for SurfaceGpuParams
impl Sync for SurfaceGpuParams
impl Unpin for SurfaceGpuParams
impl UnsafeUnpin for SurfaceGpuParams
impl UnwindSafe for SurfaceGpuParams
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more