doc: add device feature requirement to RecordingCommandBuffer::begin_rendering (#2557)

This commit is contained in:
Mai 2024-08-13 21:03:21 +03:00 committed by GitHub
parent 2aafcf9a3d
commit d02165a28c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,