pub enum DebugCommand {
Show 13 variants
SetFlags(DebugFlags),
EnableDualSourceBlending(bool),
SaveCapture(PathBuf, CaptureBits),
LoadCapture(PathBuf, Option<(u32, u32)>, Sender<CapturedDocument>),
StartCaptureSequence(PathBuf, CaptureBits),
StopCaptureSequence,
ClearCaches(ClearCache),
EnableNativeCompositor(bool),
EnableMultithreading(bool),
SetBatchingLookback(u32),
InvalidateGpuCache,
SimulateLongSceneBuild(u32),
SetPictureTileSize(Option<DeviceIntSize>),
}
Expand description
Update of the state of built-in debugging facilities.
Variants§
SetFlags(DebugFlags)
Sets the provided debug flags.
EnableDualSourceBlending(bool)
Configure if dual-source blending is used, if available.
SaveCapture(PathBuf, CaptureBits)
Save a capture of all the documents state.
LoadCapture(PathBuf, Option<(u32, u32)>, Sender<CapturedDocument>)
Load a capture of all the documents state.
StartCaptureSequence(PathBuf, CaptureBits)
Start capturing a sequence of scene/frame changes.
StopCaptureSequence
Stop capturing a sequence of scene/frame changes.
ClearCaches(ClearCache)
Clear cached resources, forcing them to be re-uploaded from templates.
EnableNativeCompositor(bool)
Enable/disable native compositor usage
EnableMultithreading(bool)
Enable/disable parallel job execution with rayon.
SetBatchingLookback(u32)
Sets the maximum amount of existing batches to visit before creating a new one.
InvalidateGpuCache
Invalidate GPU cache, forcing the update from the CPU mirror.
SimulateLongSceneBuild(u32)
Causes the scene builder to pause for a given amount of milliseconds each time it processes a transaction.
SetPictureTileSize(Option<DeviceIntSize>)
Set an override tile size to use for picture caches
Trait Implementations§
Source§impl Clone for DebugCommand
impl Clone for DebugCommand
Source§fn clone(&self) -> DebugCommand
fn clone(&self) -> DebugCommand
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DebugCommand
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl Sync for DebugCommand
impl Unpin for DebugCommand
impl UnwindSafe for DebugCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more