Struct gfx_core::dummy::DummyDevice [] [src]

pub struct DummyDevice {
    // some fields omitted
}

Dummy device which does minimal work, just to allow testing gfx-rs apps for compilation.

Methods

impl DummyDevice
[src]

fn new() -> DummyDevice

Create a new dummy device

Trait Implementations

impl Device for DummyDevice
[src]

type Resources = DummyResources

Associated resources type.

type CommandBuffer = DummyCommandBuffer

Associated command buffer type.

fn get_capabilities<'a>(&'a self) -> &'a Capabilities

Returns the capabilities available to the specific API implementation.

fn reset_state(&mut self)

Reset all the states to disabled/default.

fn submit(&mut self, _: SubmitInfo<Self>)

Submit a command buffer for execution.

fn cleanup(&mut self)

Cleanup unused resources, to be called between frames.