#[repr(C)]pub struct PipelineViewportWScalingStateCreateInfoNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub viewport_w_scaling_enable: u32,
pub viewport_count: u32,
pub p_viewport_w_scalings: *const ViewportWScalingNV,
}Expand description
VkPipelineViewportWScalingStateCreateInfoNV
Provided by VK_NV_clip_space_w_scaling.
§Extends
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV.
p_next: *const c_voidOptional, may be null.
viewport_w_scaling_enable: u32§viewport_count: u32Length of p_viewport_w_scalings.
p_viewport_w_scalings: *const ViewportWScalingNVOptional, may be null.
Implementations§
Source§impl PipelineViewportWScalingStateCreateInfoNV
impl PipelineViewportWScalingStateCreateInfoNV
Sourcepub fn builder<'a>() -> PipelineViewportWScalingStateCreateInfoNVBuilder<'a>
pub fn builder<'a>() -> PipelineViewportWScalingStateCreateInfoNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for PipelineViewportWScalingStateCreateInfoNV
impl Clone for PipelineViewportWScalingStateCreateInfoNV
Source§fn clone(&self) -> PipelineViewportWScalingStateCreateInfoNV
fn clone(&self) -> PipelineViewportWScalingStateCreateInfoNV
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PipelineViewportWScalingStateCreateInfoNV
impl ExtendsPipelineViewportStateCreateInfo for PipelineViewportWScalingStateCreateInfoNV
Auto Trait Implementations§
impl Freeze for PipelineViewportWScalingStateCreateInfoNV
impl RefUnwindSafe for PipelineViewportWScalingStateCreateInfoNV
impl !Send for PipelineViewportWScalingStateCreateInfoNV
impl !Sync for PipelineViewportWScalingStateCreateInfoNV
impl Unpin for PipelineViewportWScalingStateCreateInfoNV
impl UnsafeUnpin for PipelineViewportWScalingStateCreateInfoNV
impl UnwindSafe for PipelineViewportWScalingStateCreateInfoNV
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