#[repr(C)]pub struct DepthClampRangeEXT {
pub min_depth_clamp: f32,
pub max_depth_clamp: f32,
}Expand description
Native structure VkDepthClampRangeEXT.
Fields§
§min_depth_clamp: f32Native field minDepthClamp.
max_depth_clamp: f32Native field maxDepthClamp.
Implementations§
Source§impl DepthClampRangeEXT
impl DepthClampRangeEXT
Sourcepub fn set_min_depth_clamp(self, value: f32) -> Self
pub fn set_min_depth_clamp(self, value: f32) -> Self
Set native field minDepthClamp without native effects.
Sourcepub fn set_max_depth_clamp(self, value: f32) -> Self
pub fn set_max_depth_clamp(self, value: f32) -> Self
Set native field maxDepthClamp without native effects.
Trait Implementations§
Source§impl Clone for DepthClampRangeEXT
impl Clone for DepthClampRangeEXT
impl Copy for DepthClampRangeEXT
Auto Trait Implementations§
impl Forget for DepthClampRangeEXT
impl Freeze for DepthClampRangeEXT
impl Move for DepthClampRangeEXT
impl RefUnwindSafe for DepthClampRangeEXT
impl Send for DepthClampRangeEXT
impl Sync for DepthClampRangeEXT
impl Unpin for DepthClampRangeEXT
impl UnsafeUnpin for DepthClampRangeEXT
impl UnwindSafe for DepthClampRangeEXT
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