Enum renderdoc::CaptureOption [−][src]
RenderDoc capture options.
Variants
Let the application enable vertical synchronization.
Let the application enter fullscreen mode.
Record API debugging events and messages.
This option also goes by the deprecated name of DebugDeviceMode
.
Capture CPU callstacks for API events.
When capturing CPU callstacks, only capture them from drawcalls.
This option does nothing without the above option being enabled.
Specify a delay, measured in seconds, to wait for a debugger to attach to the application after being injected.
Verify any writes to mapped buffers by checking the memory after the bounds of the returned pointer to detect any modification.
Hooks any system API calls that create child processes and injects RenderDoc into them recursively with the same options.
Reference all resources available at the time of capture.
By default, RenderDoc only includes resources in the final capture file necessary for that frame. This option allows you to override that behavior.
Save the initial state for all resources, regardless of usage.
By default, RenderDoc skips saving initial states for resources where the previous contents don't appear to be used (assuming that writes before reads indicate the previous contents aren't used).
Capture all command lists generated from the start of the application.
In APIs that allow for recording of command lists to be replayed later, RenderDoc may choose to not capture command lists before a frame capture is triggered to reduce overhead. This means any command lists that are recorded one and replayed many times will not be available, potentially causing a failure to capture.
Note that this is only true for APIs where multithreading is difficult or otherwise discouraged. Newer APIs, e.g. Vulkan and D3D12, will ignore this option and always capture all command lists since they are heavily oriented around them and the associated overhead is mostly reduced due to superior API design.
Mute API debug output when CaptureOption::ApiValidation
is enabled.
Allow all vendor extensions to be used, even when they may be incompatible with RenderDoc and could potentially cause corrupted replays or crashes.
Trait Implementations
impl Clone for CaptureOption
[src]
fn clone(&self) -> CaptureOption
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CaptureOption
[src]
impl Debug for CaptureOption
[src]
impl Eq for CaptureOption
[src]
impl Hash for CaptureOption
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<CaptureOption> for CaptureOption
[src]
fn eq(&self, other: &CaptureOption) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for CaptureOption
[src]
impl StructuralPartialEq for CaptureOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for CaptureOption
[src]
impl Send for CaptureOption
[src]
impl Sync for CaptureOption
[src]
impl Unpin for CaptureOption
[src]
impl UnwindSafe for CaptureOption
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,