Trait vulkanalia::vk::NvShadingRateImageExtension
source · pub trait NvShadingRateImageExtension: DeviceV1_0 {
const METADATA: Extension = NV_SHADING_RATE_IMAGE_EXTENSION;
// Provided methods
unsafe fn cmd_bind_shading_rate_image_nv(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
) { ... }
unsafe fn cmd_set_coarse_sample_order_nv(
&self,
command_buffer: CommandBuffer,
sample_order_type: CoarseSampleOrderTypeNV,
custom_sample_orders: &[impl Cast<Target = CoarseSampleOrderCustomNV>]
) { ... }
unsafe fn cmd_set_viewport_shading_rate_palette_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
shading_rate_palettes: &[impl Cast<Target = ShadingRatePaletteNV>]
) { ... }
}
Expand description
Provided Associated Constants§
Provided Methods§
sourceunsafe fn cmd_bind_shading_rate_image_nv(
&self,
command_buffer: CommandBuffer,
image_view: ImageView,
image_layout: ImageLayout
)
unsafe fn cmd_bind_shading_rate_image_nv( &self, command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout )
sourceunsafe fn cmd_set_coarse_sample_order_nv(
&self,
command_buffer: CommandBuffer,
sample_order_type: CoarseSampleOrderTypeNV,
custom_sample_orders: &[impl Cast<Target = CoarseSampleOrderCustomNV>]
)
unsafe fn cmd_set_coarse_sample_order_nv( &self, command_buffer: CommandBuffer, sample_order_type: CoarseSampleOrderTypeNV, custom_sample_orders: &[impl Cast<Target = CoarseSampleOrderCustomNV>] )
sourceunsafe fn cmd_set_viewport_shading_rate_palette_nv(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
shading_rate_palettes: &[impl Cast<Target = ShadingRatePaletteNV>]
)
unsafe fn cmd_set_viewport_shading_rate_palette_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, shading_rate_palettes: &[impl Cast<Target = ShadingRatePaletteNV>] )
Object Safety§
This trait is not object safe.