From 21fab534e37a48e640aa7ffee4aa39ff78f414f6 Mon Sep 17 00:00:00 2001 From: Mai <63251610+interacsion@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:16:43 +0300 Subject: [PATCH] doc: add device feature requirement to `RecordingCommandBuffer::begin_rendering` --- vulkano/src/command_buffer/commands/render_pass.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vulkano/src/command_buffer/commands/render_pass.rs b/vulkano/src/command_buffer/commands/render_pass.rs index 58a49aaa3b..48ebd3ca2d 100644 --- a/vulkano/src/command_buffer/commands/render_pass.rs +++ b/vulkano/src/command_buffer/commands/render_pass.rs @@ -333,7 +333,11 @@ impl RecordingCommandBuffer { impl RecordingCommandBuffer { /// Begins a render pass without a render pass object or framebuffer. /// + /// Requires the [`dynamic_rendering`] device feature. + /// /// You must call this or `begin_render_pass` before you can record draw commands. + /// + /// [`dynamic_rendering`]: crate::device::DeviceFeatures::dynamic_rendering pub fn begin_rendering( &mut self, mut rendering_info: RenderingInfo,