Skip to main content

PhysicalDevicePortabilitySubsetFeaturesKHR

Struct PhysicalDevicePortabilitySubsetFeaturesKHR 

Source
pub struct PhysicalDevicePortabilitySubsetFeaturesKHR<'a> {
Show 17 fields pub s_type: StructureType, pub p_next: *mut c_void, pub constant_alpha_color_blend_factors: Bool32, pub events: Bool32, pub image_view_format_reinterpretation: Bool32, pub image_view_format_swizzle: Bool32, pub image_view2_d_on3_d_image: Bool32, pub multisample_array_image: Bool32, pub mutable_comparison_samplers: Bool32, pub point_polygons: Bool32, pub sampler_mip_lod_bias: Bool32, pub separate_stencil_mask_ref: Bool32, pub shader_sample_rate_interpolation_functions: Bool32, pub tessellation_isolines: Bool32, pub tessellation_point_mode: Bool32, pub triangle_fans: Bool32, pub vertex_attribute_access_beyond_stride: Bool32, /* private fields */
}
Expand description

Native structure VkPhysicalDevicePortabilitySubsetFeaturesKHR.

Khronos reference: VkPhysicalDevicePortabilitySubsetFeaturesKHR

Fields§

§s_type: StructureType

Native field sType.

§p_next: *mut c_void

Native field pNext.

§constant_alpha_color_blend_factors: Bool32

Native field constantAlphaColorBlendFactors.

§events: Bool32

Native field events.

§image_view_format_reinterpretation: Bool32

Native field imageViewFormatReinterpretation.

§image_view_format_swizzle: Bool32

Native field imageViewFormatSwizzle.

§image_view2_d_on3_d_image: Bool32

Native field imageView2DOn3DImage.

§multisample_array_image: Bool32

Native field multisampleArrayImage.

§mutable_comparison_samplers: Bool32

Native field mutableComparisonSamplers.

§point_polygons: Bool32

Native field pointPolygons.

§sampler_mip_lod_bias: Bool32

Native field samplerMipLodBias.

§separate_stencil_mask_ref: Bool32

Native field separateStencilMaskRef.

§shader_sample_rate_interpolation_functions: Bool32

Native field shaderSampleRateInterpolationFunctions.

§tessellation_isolines: Bool32

Native field tessellationIsolines.

§tessellation_point_mode: Bool32

Native field tessellationPointMode.

§triangle_fans: Bool32

Native field triangleFans.

§vertex_attribute_access_beyond_stride: Bool32

Native field vertexAttributeAccessBeyondStride.

Implementations§

Source§

impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a>

Source

pub fn new() -> Self

Construct the record with its canonical sType tag and default native state.

Source

pub fn set_constant_alpha_color_blend_factors(self, value: Bool32) -> Self

Set native field constantAlphaColorBlendFactors without native effects.

Source

pub fn set_events(self, value: Bool32) -> Self

Set native field events without native effects.

Source

pub fn set_image_view_format_reinterpretation(self, value: Bool32) -> Self

Set native field imageViewFormatReinterpretation without native effects.

Source

pub fn set_image_view_format_swizzle(self, value: Bool32) -> Self

Set native field imageViewFormatSwizzle without native effects.

Source

pub fn set_image_view2_d_on3_d_image(self, value: Bool32) -> Self

Set native field imageView2DOn3DImage without native effects.

Source

pub fn set_multisample_array_image(self, value: Bool32) -> Self

Set native field multisampleArrayImage without native effects.

Source

pub fn set_mutable_comparison_samplers(self, value: Bool32) -> Self

Set native field mutableComparisonSamplers without native effects.

Source

pub fn set_point_polygons(self, value: Bool32) -> Self

Set native field pointPolygons without native effects.

Source

pub fn set_sampler_mip_lod_bias(self, value: Bool32) -> Self

Set native field samplerMipLodBias without native effects.

Source

pub fn set_separate_stencil_mask_ref(self, value: Bool32) -> Self

Set native field separateStencilMaskRef without native effects.

Source

pub fn set_shader_sample_rate_interpolation_functions( self, value: Bool32, ) -> Self

Set native field shaderSampleRateInterpolationFunctions without native effects.

Source

pub fn set_tessellation_isolines(self, value: Bool32) -> Self

Set native field tessellationIsolines without native effects.

Source

pub fn set_tessellation_point_mode(self, value: Bool32) -> Self

Set native field tessellationPointMode without native effects.

Source

pub fn set_triangle_fans(self, value: Bool32) -> Self

Set native field triangleFans without native effects.

Source

pub fn set_vertex_attribute_access_beyond_stride(self, value: Bool32) -> Self

Set native field vertexAttributeAccessBeyondStride without native effects.

Source

pub fn push_next<T: Extends<Self>>( self, next: &'a mut T, ) -> Result<Self, ConstructionError>

Prepend one registry-compatible node, retaining its exclusive borrow.

The node must have a null p_next and both headers must have canonical tags. Existing links are never traversed and remain written after the borrow ends. Type compatibility does not establish enabled extensions or Vulkan valid usage.

§Errors

Returns a construction error for a changed structure tag or already-linked node.

Trait Implementations§

Source§

impl<'a> Default for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>

Available on crate feature provisional only.
Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'a, 'root> Extends<DeviceCreateInfo<'root>> for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>

Available on crate feature provisional only.
Source§

impl<'a, 'root> Extends<PhysicalDeviceFeatures2<'root>> for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>

Available on crate feature provisional only.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.