pub trait ExtShaderObjectExtension: DeviceV1_0 {
    const METADATA: Extension = EXT_SHADER_OBJECT_EXTENSION;
Show 53 methods // Provided methods unsafe fn cmd_bind_shaders_ext( &self, command_buffer: CommandBuffer, stages: &[ShaderStageFlags], shaders: &[ShaderEXT] ) { ... } unsafe fn cmd_bind_vertex_buffers2_ext( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], sizes: &[DeviceSize], strides: &[DeviceSize] ) { ... } unsafe fn cmd_set_alpha_to_coverage_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_coverage_enable: bool ) { ... } unsafe fn cmd_set_alpha_to_one_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_one_enable: bool ) { ... } unsafe fn cmd_set_color_blend_advanced_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_advanced: &[impl Cast<Target = ColorBlendAdvancedEXT>] ) { ... } unsafe fn cmd_set_color_blend_enable_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_enables: &[Bool32] ) { ... } unsafe fn cmd_set_color_blend_equation_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_equations: &[impl Cast<Target = ColorBlendEquationEXT>] ) { ... } unsafe fn cmd_set_color_write_mask_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_write_masks: &[ColorComponentFlags] ) { ... } unsafe fn cmd_set_conservative_rasterization_mode_ext( &self, command_buffer: CommandBuffer, conservative_rasterization_mode: ConservativeRasterizationModeEXT ) { ... } unsafe fn cmd_set_coverage_modulation_mode_nv( &self, command_buffer: CommandBuffer, coverage_modulation_mode: CoverageModulationModeNV ) { ... } unsafe fn cmd_set_coverage_modulation_table_enable_nv( &self, command_buffer: CommandBuffer, coverage_modulation_table_enable: bool ) { ... } unsafe fn cmd_set_coverage_modulation_table_nv( &self, command_buffer: CommandBuffer, coverage_modulation_table: &[f32] ) { ... } unsafe fn cmd_set_coverage_reduction_mode_nv( &self, command_buffer: CommandBuffer, coverage_reduction_mode: CoverageReductionModeNV ) { ... } unsafe fn cmd_set_coverage_to_color_enable_nv( &self, command_buffer: CommandBuffer, coverage_to_color_enable: bool ) { ... } unsafe fn cmd_set_coverage_to_color_location_nv( &self, command_buffer: CommandBuffer, coverage_to_color_location: u32 ) { ... } unsafe fn cmd_set_cull_mode_ext( &self, command_buffer: CommandBuffer, cull_mode: CullModeFlags ) { ... } unsafe fn cmd_set_depth_bias_enable_ext( &self, command_buffer: CommandBuffer, depth_bias_enable: bool ) { ... } unsafe fn cmd_set_depth_bounds_test_enable_ext( &self, command_buffer: CommandBuffer, depth_bounds_test_enable: bool ) { ... } unsafe fn cmd_set_depth_clamp_enable_ext( &self, command_buffer: CommandBuffer, depth_clamp_enable: bool ) { ... } unsafe fn cmd_set_depth_clip_enable_ext( &self, command_buffer: CommandBuffer, depth_clip_enable: bool ) { ... } unsafe fn cmd_set_depth_clip_negative_one_to_one_ext( &self, command_buffer: CommandBuffer, negative_one_to_one: bool ) { ... } unsafe fn cmd_set_depth_compare_op_ext( &self, command_buffer: CommandBuffer, depth_compare_op: CompareOp ) { ... } unsafe fn cmd_set_depth_test_enable_ext( &self, command_buffer: CommandBuffer, depth_test_enable: bool ) { ... } unsafe fn cmd_set_depth_write_enable_ext( &self, command_buffer: CommandBuffer, depth_write_enable: bool ) { ... } unsafe fn cmd_set_extra_primitive_overestimation_size_ext( &self, command_buffer: CommandBuffer, extra_primitive_overestimation_size: f32 ) { ... } unsafe fn cmd_set_front_face_ext( &self, command_buffer: CommandBuffer, front_face: FrontFace ) { ... } unsafe fn cmd_set_line_rasterization_mode_ext( &self, command_buffer: CommandBuffer, line_rasterization_mode: LineRasterizationModeEXT ) { ... } unsafe fn cmd_set_line_stipple_enable_ext( &self, command_buffer: CommandBuffer, stippled_line_enable: bool ) { ... } unsafe fn cmd_set_logic_op_ext( &self, command_buffer: CommandBuffer, logic_op: LogicOp ) { ... } unsafe fn cmd_set_logic_op_enable_ext( &self, command_buffer: CommandBuffer, logic_op_enable: bool ) { ... } unsafe fn cmd_set_patch_control_points_ext( &self, command_buffer: CommandBuffer, patch_control_points: u32 ) { ... } unsafe fn cmd_set_polygon_mode_ext( &self, command_buffer: CommandBuffer, polygon_mode: PolygonMode ) { ... } unsafe fn cmd_set_primitive_restart_enable_ext( &self, command_buffer: CommandBuffer, primitive_restart_enable: bool ) { ... } unsafe fn cmd_set_primitive_topology_ext( &self, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology ) { ... } unsafe fn cmd_set_provoking_vertex_mode_ext( &self, command_buffer: CommandBuffer, provoking_vertex_mode: ProvokingVertexModeEXT ) { ... } unsafe fn cmd_set_rasterization_samples_ext( &self, command_buffer: CommandBuffer, rasterization_samples: SampleCountFlags ) { ... } unsafe fn cmd_set_rasterization_stream_ext( &self, command_buffer: CommandBuffer, rasterization_stream: u32 ) { ... } unsafe fn cmd_set_rasterizer_discard_enable_ext( &self, command_buffer: CommandBuffer, rasterizer_discard_enable: bool ) { ... } unsafe fn cmd_set_representative_fragment_test_enable_nv( &self, command_buffer: CommandBuffer, representative_fragment_test_enable: bool ) { ... } unsafe fn cmd_set_sample_locations_enable_ext( &self, command_buffer: CommandBuffer, sample_locations_enable: bool ) { ... } unsafe fn cmd_set_sample_mask_ext( &self, command_buffer: CommandBuffer, samples: SampleCountFlags, sample_mask: &SampleMask ) { ... } unsafe fn cmd_set_scissor_with_count_ext( &self, command_buffer: CommandBuffer, scissors: &[impl Cast<Target = Rect2D>] ) { ... } unsafe fn cmd_set_shading_rate_image_enable_nv( &self, command_buffer: CommandBuffer, shading_rate_image_enable: bool ) { ... } unsafe fn cmd_set_stencil_op_ext( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, fail_op: StencilOp, pass_op: StencilOp, depth_fail_op: StencilOp, compare_op: CompareOp ) { ... } unsafe fn cmd_set_stencil_test_enable_ext( &self, command_buffer: CommandBuffer, stencil_test_enable: bool ) { ... } unsafe fn cmd_set_tessellation_domain_origin_ext( &self, command_buffer: CommandBuffer, domain_origin: TessellationDomainOrigin ) { ... } unsafe fn cmd_set_vertex_input_ext( &self, command_buffer: CommandBuffer, vertex_binding_descriptions: &[impl Cast<Target = VertexInputBindingDescription2EXT>], vertex_attribute_descriptions: &[impl Cast<Target = VertexInputAttributeDescription2EXT>] ) { ... } unsafe fn cmd_set_viewport_swizzle_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, viewport_swizzles: &[impl Cast<Target = ViewportSwizzleNV>] ) { ... } unsafe fn cmd_set_viewport_w_scaling_enable_nv( &self, command_buffer: CommandBuffer, viewport_w_scaling_enable: bool ) { ... } unsafe fn cmd_set_viewport_with_count_ext( &self, command_buffer: CommandBuffer, viewports: &[impl Cast<Target = Viewport>] ) { ... } unsafe fn create_shaders_ext( &self, create_infos: &[impl Cast<Target = ShaderCreateInfoEXT>], allocator: Option<&AllocationCallbacks> ) -> VkSuccessResult<Vec<ShaderEXT>> { ... } unsafe fn destroy_shader_ext( &self, shader: ShaderEXT, allocator: Option<&AllocationCallbacks> ) { ... } unsafe fn get_shader_binary_data_ext( &self, shader: ShaderEXT ) -> VkResult<Vec<u8>> { ... }
}
Expand description

Provided Associated Constants§

source

const METADATA: Extension = EXT_SHADER_OBJECT_EXTENSION

The metadata for this extension.

Provided Methods§

source

unsafe fn cmd_bind_shaders_ext( &self, command_buffer: CommandBuffer, stages: &[ShaderStageFlags], shaders: &[ShaderEXT] )

source

unsafe fn cmd_bind_vertex_buffers2_ext( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], sizes: &[DeviceSize], strides: &[DeviceSize] )

source

unsafe fn cmd_set_alpha_to_coverage_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_coverage_enable: bool )

source

unsafe fn cmd_set_alpha_to_one_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_one_enable: bool )

source

unsafe fn cmd_set_color_blend_advanced_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_advanced: &[impl Cast<Target = ColorBlendAdvancedEXT>] )

source

unsafe fn cmd_set_color_blend_enable_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_enables: &[Bool32] )

source

unsafe fn cmd_set_color_blend_equation_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_blend_equations: &[impl Cast<Target = ColorBlendEquationEXT>] )

source

unsafe fn cmd_set_color_write_mask_ext( &self, command_buffer: CommandBuffer, first_attachment: u32, color_write_masks: &[ColorComponentFlags] )

source

unsafe fn cmd_set_conservative_rasterization_mode_ext( &self, command_buffer: CommandBuffer, conservative_rasterization_mode: ConservativeRasterizationModeEXT )

source

unsafe fn cmd_set_coverage_modulation_mode_nv( &self, command_buffer: CommandBuffer, coverage_modulation_mode: CoverageModulationModeNV )

source

unsafe fn cmd_set_coverage_modulation_table_enable_nv( &self, command_buffer: CommandBuffer, coverage_modulation_table_enable: bool )

source

unsafe fn cmd_set_coverage_modulation_table_nv( &self, command_buffer: CommandBuffer, coverage_modulation_table: &[f32] )

source

unsafe fn cmd_set_coverage_reduction_mode_nv( &self, command_buffer: CommandBuffer, coverage_reduction_mode: CoverageReductionModeNV )

source

unsafe fn cmd_set_coverage_to_color_enable_nv( &self, command_buffer: CommandBuffer, coverage_to_color_enable: bool )

source

unsafe fn cmd_set_coverage_to_color_location_nv( &self, command_buffer: CommandBuffer, coverage_to_color_location: u32 )

source

unsafe fn cmd_set_cull_mode_ext( &self, command_buffer: CommandBuffer, cull_mode: CullModeFlags )

source

unsafe fn cmd_set_depth_bias_enable_ext( &self, command_buffer: CommandBuffer, depth_bias_enable: bool )

source

unsafe fn cmd_set_depth_bounds_test_enable_ext( &self, command_buffer: CommandBuffer, depth_bounds_test_enable: bool )

source

unsafe fn cmd_set_depth_clamp_enable_ext( &self, command_buffer: CommandBuffer, depth_clamp_enable: bool )

source

unsafe fn cmd_set_depth_clip_enable_ext( &self, command_buffer: CommandBuffer, depth_clip_enable: bool )

source

unsafe fn cmd_set_depth_clip_negative_one_to_one_ext( &self, command_buffer: CommandBuffer, negative_one_to_one: bool )

source

unsafe fn cmd_set_depth_compare_op_ext( &self, command_buffer: CommandBuffer, depth_compare_op: CompareOp )

source

unsafe fn cmd_set_depth_test_enable_ext( &self, command_buffer: CommandBuffer, depth_test_enable: bool )

source

unsafe fn cmd_set_depth_write_enable_ext( &self, command_buffer: CommandBuffer, depth_write_enable: bool )

source

unsafe fn cmd_set_extra_primitive_overestimation_size_ext( &self, command_buffer: CommandBuffer, extra_primitive_overestimation_size: f32 )

source

unsafe fn cmd_set_front_face_ext( &self, command_buffer: CommandBuffer, front_face: FrontFace )

source

unsafe fn cmd_set_line_rasterization_mode_ext( &self, command_buffer: CommandBuffer, line_rasterization_mode: LineRasterizationModeEXT )

source

unsafe fn cmd_set_line_stipple_enable_ext( &self, command_buffer: CommandBuffer, stippled_line_enable: bool )

source

unsafe fn cmd_set_logic_op_ext( &self, command_buffer: CommandBuffer, logic_op: LogicOp )

source

unsafe fn cmd_set_logic_op_enable_ext( &self, command_buffer: CommandBuffer, logic_op_enable: bool )

source

unsafe fn cmd_set_patch_control_points_ext( &self, command_buffer: CommandBuffer, patch_control_points: u32 )

source

unsafe fn cmd_set_polygon_mode_ext( &self, command_buffer: CommandBuffer, polygon_mode: PolygonMode )

source

unsafe fn cmd_set_primitive_restart_enable_ext( &self, command_buffer: CommandBuffer, primitive_restart_enable: bool )

source

unsafe fn cmd_set_primitive_topology_ext( &self, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology )

source

unsafe fn cmd_set_provoking_vertex_mode_ext( &self, command_buffer: CommandBuffer, provoking_vertex_mode: ProvokingVertexModeEXT )

source

unsafe fn cmd_set_rasterization_samples_ext( &self, command_buffer: CommandBuffer, rasterization_samples: SampleCountFlags )

source

unsafe fn cmd_set_rasterization_stream_ext( &self, command_buffer: CommandBuffer, rasterization_stream: u32 )

source

unsafe fn cmd_set_rasterizer_discard_enable_ext( &self, command_buffer: CommandBuffer, rasterizer_discard_enable: bool )

source

unsafe fn cmd_set_representative_fragment_test_enable_nv( &self, command_buffer: CommandBuffer, representative_fragment_test_enable: bool )

source

unsafe fn cmd_set_sample_locations_enable_ext( &self, command_buffer: CommandBuffer, sample_locations_enable: bool )

source

unsafe fn cmd_set_sample_mask_ext( &self, command_buffer: CommandBuffer, samples: SampleCountFlags, sample_mask: &SampleMask )

source

unsafe fn cmd_set_scissor_with_count_ext( &self, command_buffer: CommandBuffer, scissors: &[impl Cast<Target = Rect2D>] )

source

unsafe fn cmd_set_shading_rate_image_enable_nv( &self, command_buffer: CommandBuffer, shading_rate_image_enable: bool )

source

unsafe fn cmd_set_stencil_op_ext( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, fail_op: StencilOp, pass_op: StencilOp, depth_fail_op: StencilOp, compare_op: CompareOp )

source

unsafe fn cmd_set_stencil_test_enable_ext( &self, command_buffer: CommandBuffer, stencil_test_enable: bool )

source

unsafe fn cmd_set_tessellation_domain_origin_ext( &self, command_buffer: CommandBuffer, domain_origin: TessellationDomainOrigin )

source

unsafe fn cmd_set_vertex_input_ext( &self, command_buffer: CommandBuffer, vertex_binding_descriptions: &[impl Cast<Target = VertexInputBindingDescription2EXT>], vertex_attribute_descriptions: &[impl Cast<Target = VertexInputAttributeDescription2EXT>] )

source

unsafe fn cmd_set_viewport_swizzle_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, viewport_swizzles: &[impl Cast<Target = ViewportSwizzleNV>] )

source

unsafe fn cmd_set_viewport_w_scaling_enable_nv( &self, command_buffer: CommandBuffer, viewport_w_scaling_enable: bool )

source

unsafe fn cmd_set_viewport_with_count_ext( &self, command_buffer: CommandBuffer, viewports: &[impl Cast<Target = Viewport>] )

source

unsafe fn create_shaders_ext( &self, create_infos: &[impl Cast<Target = ShaderCreateInfoEXT>], allocator: Option<&AllocationCallbacks> ) -> VkSuccessResult<Vec<ShaderEXT>>

source

unsafe fn destroy_shader_ext( &self, shader: ShaderEXT, allocator: Option<&AllocationCallbacks> )

source

unsafe fn get_shader_binary_data_ext( &self, shader: ShaderEXT ) -> VkResult<Vec<u8>>

Object Safety§

This trait is not object safe.

Implementors§