Skip to content

Commit

Permalink
doc: add device feature requirement to `RecordingCommandBuffer::begin…
Browse files Browse the repository at this point in the history
…_rendering` (#2557)
  • Loading branch information
interacsion authored Aug 13, 2024
1 parent 2aafcf9 commit d02165a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vulkano/src/command_buffer/commands/render_pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d02165a

Please sign in to comment.