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: StructureTypeNative field sType.
p_next: *mut c_voidNative field pNext.
constant_alpha_color_blend_factors: Bool32Native field constantAlphaColorBlendFactors.
events: Bool32Native field events.
image_view_format_reinterpretation: Bool32Native field imageViewFormatReinterpretation.
image_view_format_swizzle: Bool32Native field imageViewFormatSwizzle.
image_view2_d_on3_d_image: Bool32Native field imageView2DOn3DImage.
multisample_array_image: Bool32Native field multisampleArrayImage.
mutable_comparison_samplers: Bool32Native field mutableComparisonSamplers.
point_polygons: Bool32Native field pointPolygons.
sampler_mip_lod_bias: Bool32Native field samplerMipLodBias.
separate_stencil_mask_ref: Bool32Native field separateStencilMaskRef.
shader_sample_rate_interpolation_functions: Bool32Native field shaderSampleRateInterpolationFunctions.
tessellation_isolines: Bool32Native field tessellationIsolines.
tessellation_point_mode: Bool32Native field tessellationPointMode.
triangle_fans: Bool32Native field triangleFans.
vertex_attribute_access_beyond_stride: Bool32Native field vertexAttributeAccessBeyondStride.
Implementations§
Source§impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a>
impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a>
Sourcepub fn new() -> Self
pub fn new() -> Self
Construct the record with its canonical sType tag and default native state.
Sourcepub fn set_constant_alpha_color_blend_factors(self, value: Bool32) -> Self
pub fn set_constant_alpha_color_blend_factors(self, value: Bool32) -> Self
Set native field constantAlphaColorBlendFactors without native effects.
Sourcepub fn set_events(self, value: Bool32) -> Self
pub fn set_events(self, value: Bool32) -> Self
Set native field events without native effects.
Sourcepub fn set_image_view_format_reinterpretation(self, value: Bool32) -> Self
pub fn set_image_view_format_reinterpretation(self, value: Bool32) -> Self
Set native field imageViewFormatReinterpretation without native effects.
Sourcepub fn set_image_view_format_swizzle(self, value: Bool32) -> Self
pub fn set_image_view_format_swizzle(self, value: Bool32) -> Self
Set native field imageViewFormatSwizzle without native effects.
Sourcepub fn set_image_view2_d_on3_d_image(self, value: Bool32) -> Self
pub fn set_image_view2_d_on3_d_image(self, value: Bool32) -> Self
Set native field imageView2DOn3DImage without native effects.
Sourcepub fn set_multisample_array_image(self, value: Bool32) -> Self
pub fn set_multisample_array_image(self, value: Bool32) -> Self
Set native field multisampleArrayImage without native effects.
Sourcepub fn set_mutable_comparison_samplers(self, value: Bool32) -> Self
pub fn set_mutable_comparison_samplers(self, value: Bool32) -> Self
Set native field mutableComparisonSamplers without native effects.
Sourcepub fn set_point_polygons(self, value: Bool32) -> Self
pub fn set_point_polygons(self, value: Bool32) -> Self
Set native field pointPolygons without native effects.
Sourcepub fn set_sampler_mip_lod_bias(self, value: Bool32) -> Self
pub fn set_sampler_mip_lod_bias(self, value: Bool32) -> Self
Set native field samplerMipLodBias without native effects.
Sourcepub fn set_separate_stencil_mask_ref(self, value: Bool32) -> Self
pub fn set_separate_stencil_mask_ref(self, value: Bool32) -> Self
Set native field separateStencilMaskRef without native effects.
Sourcepub fn set_shader_sample_rate_interpolation_functions(
self,
value: Bool32,
) -> Self
pub fn set_shader_sample_rate_interpolation_functions( self, value: Bool32, ) -> Self
Set native field shaderSampleRateInterpolationFunctions without native effects.
Sourcepub fn set_tessellation_isolines(self, value: Bool32) -> Self
pub fn set_tessellation_isolines(self, value: Bool32) -> Self
Set native field tessellationIsolines without native effects.
Sourcepub fn set_tessellation_point_mode(self, value: Bool32) -> Self
pub fn set_tessellation_point_mode(self, value: Bool32) -> Self
Set native field tessellationPointMode without native effects.
Sourcepub fn set_triangle_fans(self, value: Bool32) -> Self
pub fn set_triangle_fans(self, value: Bool32) -> Self
Set native field triangleFans without native effects.
Sourcepub fn set_vertex_attribute_access_beyond_stride(self, value: Bool32) -> Self
pub fn set_vertex_attribute_access_beyond_stride(self, value: Bool32) -> Self
Set native field vertexAttributeAccessBeyondStride without native effects.
Sourcepub fn push_next<T: Extends<Self>>(
self,
next: &'a mut T,
) -> Result<Self, ConstructionError>
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.
impl<'a> Default for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>
provisional only.impl<'a, 'root> Extends<DeviceCreateInfo<'root>> for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>
provisional only.impl<'a, 'root> Extends<PhysicalDeviceFeatures2<'root>> for PhysicalDevicePortabilitySubsetFeaturesKHR<'a>
provisional only.