Struct ash::ext::shader_object::DeviceFn

source ·
pub struct DeviceFn {
Show 53 fields pub create_shaders_ext: PFN_vkCreateShadersEXT, pub destroy_shader_ext: PFN_vkDestroyShaderEXT, pub get_shader_binary_data_ext: PFN_vkGetShaderBinaryDataEXT, pub cmd_bind_shaders_ext: PFN_vkCmdBindShadersEXT, pub cmd_set_cull_mode_ext: PFN_vkCmdSetCullMode, pub cmd_set_front_face_ext: PFN_vkCmdSetFrontFace, pub cmd_set_primitive_topology_ext: PFN_vkCmdSetPrimitiveTopology, pub cmd_set_viewport_with_count_ext: PFN_vkCmdSetViewportWithCount, pub cmd_set_scissor_with_count_ext: PFN_vkCmdSetScissorWithCount, pub cmd_bind_vertex_buffers2_ext: PFN_vkCmdBindVertexBuffers2, pub cmd_set_depth_test_enable_ext: PFN_vkCmdSetDepthTestEnable, pub cmd_set_depth_write_enable_ext: PFN_vkCmdSetDepthWriteEnable, pub cmd_set_depth_compare_op_ext: PFN_vkCmdSetDepthCompareOp, pub cmd_set_depth_bounds_test_enable_ext: PFN_vkCmdSetDepthBoundsTestEnable, pub cmd_set_stencil_test_enable_ext: PFN_vkCmdSetStencilTestEnable, pub cmd_set_stencil_op_ext: PFN_vkCmdSetStencilOp, pub cmd_set_vertex_input_ext: PFN_vkCmdSetVertexInputEXT, pub cmd_set_patch_control_points_ext: PFN_vkCmdSetPatchControlPointsEXT, pub cmd_set_rasterizer_discard_enable_ext: PFN_vkCmdSetRasterizerDiscardEnable, pub cmd_set_depth_bias_enable_ext: PFN_vkCmdSetDepthBiasEnable, pub cmd_set_logic_op_ext: PFN_vkCmdSetLogicOpEXT, pub cmd_set_primitive_restart_enable_ext: PFN_vkCmdSetPrimitiveRestartEnable, pub cmd_set_tessellation_domain_origin_ext: PFN_vkCmdSetTessellationDomainOriginEXT, pub cmd_set_depth_clamp_enable_ext: PFN_vkCmdSetDepthClampEnableEXT, pub cmd_set_polygon_mode_ext: PFN_vkCmdSetPolygonModeEXT, pub cmd_set_rasterization_samples_ext: PFN_vkCmdSetRasterizationSamplesEXT, pub cmd_set_sample_mask_ext: PFN_vkCmdSetSampleMaskEXT, pub cmd_set_alpha_to_coverage_enable_ext: PFN_vkCmdSetAlphaToCoverageEnableEXT, pub cmd_set_alpha_to_one_enable_ext: PFN_vkCmdSetAlphaToOneEnableEXT, pub cmd_set_logic_op_enable_ext: PFN_vkCmdSetLogicOpEnableEXT, pub cmd_set_color_blend_enable_ext: PFN_vkCmdSetColorBlendEnableEXT, pub cmd_set_color_blend_equation_ext: PFN_vkCmdSetColorBlendEquationEXT, pub cmd_set_color_write_mask_ext: PFN_vkCmdSetColorWriteMaskEXT, pub cmd_set_rasterization_stream_ext: PFN_vkCmdSetRasterizationStreamEXT, pub cmd_set_conservative_rasterization_mode_ext: PFN_vkCmdSetConservativeRasterizationModeEXT, pub cmd_set_extra_primitive_overestimation_size_ext: PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT, pub cmd_set_depth_clip_enable_ext: PFN_vkCmdSetDepthClipEnableEXT, pub cmd_set_sample_locations_enable_ext: PFN_vkCmdSetSampleLocationsEnableEXT, pub cmd_set_color_blend_advanced_ext: PFN_vkCmdSetColorBlendAdvancedEXT, pub cmd_set_provoking_vertex_mode_ext: PFN_vkCmdSetProvokingVertexModeEXT, pub cmd_set_line_rasterization_mode_ext: PFN_vkCmdSetLineRasterizationModeEXT, pub cmd_set_line_stipple_enable_ext: PFN_vkCmdSetLineStippleEnableEXT, pub cmd_set_depth_clip_negative_one_to_one_ext: PFN_vkCmdSetDepthClipNegativeOneToOneEXT, pub cmd_set_viewport_w_scaling_enable_nv: PFN_vkCmdSetViewportWScalingEnableNV, pub cmd_set_viewport_swizzle_nv: PFN_vkCmdSetViewportSwizzleNV, pub cmd_set_coverage_to_color_enable_nv: PFN_vkCmdSetCoverageToColorEnableNV, pub cmd_set_coverage_to_color_location_nv: PFN_vkCmdSetCoverageToColorLocationNV, pub cmd_set_coverage_modulation_mode_nv: PFN_vkCmdSetCoverageModulationModeNV, pub cmd_set_coverage_modulation_table_enable_nv: PFN_vkCmdSetCoverageModulationTableEnableNV, pub cmd_set_coverage_modulation_table_nv: PFN_vkCmdSetCoverageModulationTableNV, pub cmd_set_shading_rate_image_enable_nv: PFN_vkCmdSetShadingRateImageEnableNV, pub cmd_set_representative_fragment_test_enable_nv: PFN_vkCmdSetRepresentativeFragmentTestEnableNV, pub cmd_set_coverage_reduction_mode_nv: PFN_vkCmdSetCoverageReductionModeNV,
}
Expand description

Raw VK_EXT_shader_object device-level function pointers

Fields§

§create_shaders_ext: PFN_vkCreateShadersEXT§destroy_shader_ext: PFN_vkDestroyShaderEXT§get_shader_binary_data_ext: PFN_vkGetShaderBinaryDataEXT§cmd_bind_shaders_ext: PFN_vkCmdBindShadersEXT§cmd_set_cull_mode_ext: PFN_vkCmdSetCullMode§cmd_set_front_face_ext: PFN_vkCmdSetFrontFace§cmd_set_primitive_topology_ext: PFN_vkCmdSetPrimitiveTopology§cmd_set_viewport_with_count_ext: PFN_vkCmdSetViewportWithCount§cmd_set_scissor_with_count_ext: PFN_vkCmdSetScissorWithCount§cmd_bind_vertex_buffers2_ext: PFN_vkCmdBindVertexBuffers2§cmd_set_depth_test_enable_ext: PFN_vkCmdSetDepthTestEnable§cmd_set_depth_write_enable_ext: PFN_vkCmdSetDepthWriteEnable§cmd_set_depth_compare_op_ext: PFN_vkCmdSetDepthCompareOp§cmd_set_depth_bounds_test_enable_ext: PFN_vkCmdSetDepthBoundsTestEnable§cmd_set_stencil_test_enable_ext: PFN_vkCmdSetStencilTestEnable§cmd_set_stencil_op_ext: PFN_vkCmdSetStencilOp§cmd_set_vertex_input_ext: PFN_vkCmdSetVertexInputEXT§cmd_set_patch_control_points_ext: PFN_vkCmdSetPatchControlPointsEXT§cmd_set_rasterizer_discard_enable_ext: PFN_vkCmdSetRasterizerDiscardEnable§cmd_set_depth_bias_enable_ext: PFN_vkCmdSetDepthBiasEnable§cmd_set_logic_op_ext: PFN_vkCmdSetLogicOpEXT§cmd_set_primitive_restart_enable_ext: PFN_vkCmdSetPrimitiveRestartEnable§cmd_set_tessellation_domain_origin_ext: PFN_vkCmdSetTessellationDomainOriginEXT§cmd_set_depth_clamp_enable_ext: PFN_vkCmdSetDepthClampEnableEXT§cmd_set_polygon_mode_ext: PFN_vkCmdSetPolygonModeEXT§cmd_set_rasterization_samples_ext: PFN_vkCmdSetRasterizationSamplesEXT§cmd_set_sample_mask_ext: PFN_vkCmdSetSampleMaskEXT§cmd_set_alpha_to_coverage_enable_ext: PFN_vkCmdSetAlphaToCoverageEnableEXT§cmd_set_alpha_to_one_enable_ext: PFN_vkCmdSetAlphaToOneEnableEXT§cmd_set_logic_op_enable_ext: PFN_vkCmdSetLogicOpEnableEXT§cmd_set_color_blend_enable_ext: PFN_vkCmdSetColorBlendEnableEXT§cmd_set_color_blend_equation_ext: PFN_vkCmdSetColorBlendEquationEXT§cmd_set_color_write_mask_ext: PFN_vkCmdSetColorWriteMaskEXT§cmd_set_rasterization_stream_ext: PFN_vkCmdSetRasterizationStreamEXT§cmd_set_conservative_rasterization_mode_ext: PFN_vkCmdSetConservativeRasterizationModeEXT§cmd_set_extra_primitive_overestimation_size_ext: PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT§cmd_set_depth_clip_enable_ext: PFN_vkCmdSetDepthClipEnableEXT§cmd_set_sample_locations_enable_ext: PFN_vkCmdSetSampleLocationsEnableEXT§cmd_set_color_blend_advanced_ext: PFN_vkCmdSetColorBlendAdvancedEXT§cmd_set_provoking_vertex_mode_ext: PFN_vkCmdSetProvokingVertexModeEXT§cmd_set_line_rasterization_mode_ext: PFN_vkCmdSetLineRasterizationModeEXT§cmd_set_line_stipple_enable_ext: PFN_vkCmdSetLineStippleEnableEXT§cmd_set_depth_clip_negative_one_to_one_ext: PFN_vkCmdSetDepthClipNegativeOneToOneEXT§cmd_set_viewport_w_scaling_enable_nv: PFN_vkCmdSetViewportWScalingEnableNV§cmd_set_viewport_swizzle_nv: PFN_vkCmdSetViewportSwizzleNV§cmd_set_coverage_to_color_enable_nv: PFN_vkCmdSetCoverageToColorEnableNV§cmd_set_coverage_to_color_location_nv: PFN_vkCmdSetCoverageToColorLocationNV§cmd_set_coverage_modulation_mode_nv: PFN_vkCmdSetCoverageModulationModeNV§cmd_set_coverage_modulation_table_enable_nv: PFN_vkCmdSetCoverageModulationTableEnableNV§cmd_set_coverage_modulation_table_nv: PFN_vkCmdSetCoverageModulationTableNV§cmd_set_shading_rate_image_enable_nv: PFN_vkCmdSetShadingRateImageEnableNV§cmd_set_representative_fragment_test_enable_nv: PFN_vkCmdSetRepresentativeFragmentTestEnableNV§cmd_set_coverage_reduction_mode_nv: PFN_vkCmdSetCoverageReductionModeNV

Implementations§

source§

impl DeviceFn

source

pub fn load<F: FnMut(&CStr) -> *const c_void>(f: F) -> Self

source

fn load_erased(_f: &mut dyn FnMut(&CStr) -> *const c_void) -> Self

Trait Implementations§

source§

impl Clone for DeviceFn

source§

fn clone(&self) -> DeviceFn

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for DeviceFn

source§

impl Sync for DeviceFn

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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> ToOwned for T
where T: Clone,

source§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.