Struct gfx_core::dummy::DummyDevice
[−]
[src]
pub struct DummyDevice { /* fields omitted */ }Dummy device which does minimal work, just to allow testing gfx-rs apps for compilation.
Methods
impl DummyDevice[src]
pub fn new() -> DummyDevice[src]
Create a new dummy device
Trait Implementations
impl Device for DummyDevice[src]
type Resources = DummyResources
Associated Resources type.
type CommandBuffer = DummyCommandBuffer
Associated CommandBuffer type. Every Device type can only work with one CommandBuffer type. Read more
fn get_capabilities(&self) -> &Capabilities[src]
Returns the capabilities of this Ðevice.
fn pin_submitted_resources(&mut self, _: &Manager<DummyResources>)[src]
Pin everything from this handle manager to live for a frame.
fn submit(&mut self, _: &mut DummyCommandBuffer)[src]
Submits a CommandBuffer to the GPU for execution.
fn cleanup(&mut self)[src]
Cleanup unused resources. This should be called between frames.