[−][src]Enum renderdoc::CaptureOption
RenderDoc capture options.
Variants
AllowVSync
Let the application enable vertical synchronization.
AllowFullscreen
Let the application enter fullscreen mode.
ApiValidation
Record API debugging events and messages.
This option also goes by the deprecated name of DebugDeviceMode
.
CaptureCallstacks
Capture CPU callstacks for API events.
CaptureCallstacksOnlyDraws
When capturing CPU callstacks, only capture them from drawcalls.
This option does nothing without the above option being enabled.
DelayForDebugger
Specify a delay, measured in seconds, to wait for a debugger to attach to the application after being injected.
VerifyMapWrites
Verify any writes to mapped buffers by checking the memory after the bounds of the returned pointer to detect any modification.
HookIntoChildren
Hooks any system API calls that create child processes and injects RenderDoc into them recursively with the same options.
RefAllResources
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.
SaveAllInitials
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).
CaptureAllCmdLists
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.
DebugOutputMute
Mute API debug output when CaptureOption::ApiValidation
is enabled.
AllowUnsupportedVendorExtensions
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]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for CaptureOption
[src]
impl Copy for CaptureOption
[src]
impl PartialEq<CaptureOption> for CaptureOption
[src]
fn eq(&self, other: &CaptureOption) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for CaptureOption
[src]
impl Hash for CaptureOption
[src]
Auto Trait Implementations
impl Send for CaptureOption
impl Sync for CaptureOption
Blanket Implementations
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.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,