[][src]Enum webrender::api::DebugCommand

pub enum DebugCommand {
    EnableProfiler(bool),
    EnableTextureCacheDebug(bool),
    EnableRenderTargetDebug(bool),
    EnableGpuCacheDebug(bool),
    EnableGpuTimeQueries(bool),
    EnableGpuSampleQueries(bool),
    EnableDualSourceBlending(bool),
    EnableNewFrameIndicator(bool),
    EnableNewSceneIndicator(bool),
    EnableShowOverdraw(bool),
    FetchDocuments,
    FetchPasses,
    FetchClipScrollTree,
    FetchRenderTasks,
    FetchScreenshot,
    SaveCapture(PathBufCaptureBits),
    LoadCapture(PathBufMsgSender<CapturedDocument>),
    ClearCaches(ClearCache),
    InvalidateGpuCache,
    SimulateLongSceneBuild(u32),
    SimulateLongLowPrioritySceneBuild(u32),
}

Variants

[]

Display the frame profiler on screen.

[]

Display all texture cache pages on screen.

[]

Display intermediate render targets on screen.

[]

Display the contents of GPU cache.

[]

Display GPU timing results.

[]

Display GPU overdraw results

[]

Configure if dual-source blending is used, if available.

[]

Show an indicator that moves every time a frame is rendered.

[]

Show an indicator that moves every time a scene is built.

[]

Show an overlay displaying overdraw amount.

[]

Fetch current documents and display lists.

[]

Fetch current passes and batches.

[]

Fetch clip-scroll tree.

[]

Fetch render tasks.

[]

Fetch screenshot.

[]

Save a capture of all the documents state.

[]

Load a capture of all the documents state.

[]

Clear cached resources, forcing them to be re-uploaded from templates.

[]

Invalidate GPU cache, forcing the update from the CPU mirror.

[]

Causes the scene builder to pause for a given amount of miliseconds each time it processes a transaction.

[]

Causes the low priority scene builder to pause for a given amount of miliseconds each time it processes a transaction.

Trait Implementations

impl Clone for DebugCommand
[src]
[+]

[]

Returns a copy of the value. Read more

[]

Performs copy-assignment from source. Read more

impl Serialize for DebugCommand
[src]
[+]

[]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for DebugCommand
[src]
[+]

[]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for DebugCommand

impl !Sync for DebugCommand

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]
[]

[]

Creates owned data from borrowed data, usually by cloning. Read more

[]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> Into for T where
    U: From<T>, 
[src]
[]

[]

Performs the conversion.

impl<T> From for T
[src]
[]

[]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]
[]

[]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]
[]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

[]

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]
[]

[]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]
[]

[]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]