Enum webrender_api::DebugCommand [−][src]
pub enum DebugCommand { EnableProfiler(bool), EnableTextureCacheDebug(bool), EnableRenderTargetDebug(bool), EnableGpuTimeQueries(bool), EnableGpuSampleQueries(bool), EnableDualSourceBlending(bool), EnableNewFrameIndicator(bool), EnableNewSceneIndicator(bool), EnableShowOverdraw(bool), FetchDocuments, FetchPasses, FetchClipScrollTree, FetchRenderTasks, FetchScreenshot, SaveCapture(PathBuf, CaptureBits), LoadCapture(PathBuf, MsgSender<CapturedDocument>), ClearCaches(ClearCache), InvalidateGpuCache, }
Variants
EnableProfiler(bool)
Display the frame profiler on screen.
EnableTextureCacheDebug(bool)
Display all texture cache pages on screen.
EnableRenderTargetDebug(bool)
Display intermediate render targets on screen.
EnableGpuTimeQueries(bool)
Display GPU timing results.
EnableGpuSampleQueries(bool)
Display GPU overdraw results
EnableDualSourceBlending(bool)
Configure if dual-source blending is used, if available.
EnableNewFrameIndicator(bool)
Show an indicator that moves every time a frame is rendered.
EnableNewSceneIndicator(bool)
Show an indicator that moves every time a scene is built.
EnableShowOverdraw(bool)
Show an overlay displaying overdraw amount.
FetchDocuments
Fetch current documents and display lists.
FetchPasses
Fetch current passes and batches.
FetchClipScrollTree
Fetch clip-scroll tree.
FetchRenderTasks
Fetch render tasks.
FetchScreenshot
Fetch screenshot.
SaveCapture(PathBuf, CaptureBits)
Save a capture of all the documents state.
LoadCapture(PathBuf, MsgSender<CapturedDocument>)
Load a capture of all the documents state.
ClearCaches(ClearCache)
Clear cached resources, forcing them to be re-uploaded from templates.
InvalidateGpuCache
Invalidate GPU cache, forcing the update from the CPU mirror.
Trait Implementations
impl Clone for DebugCommand
[src]
impl Clone for DebugCommand
fn clone(&self) -> DebugCommand
[src]
fn clone(&self) -> DebugCommand
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DebugCommand
impl Send for DebugCommand
impl !Sync for DebugCommand
impl !Sync for DebugCommand