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 CommandBuffer
type. Every Device
type can only work with one CommandBuffer
type. Read more
fn get_capabilities(&self) -> &Capabilities
Returns the capabilities of this Ðevice
.
fn pin_submitted_resources(&mut self, _: &Manager<DummyResources>)
Pin everything from this handle manager to live for a frame.
fn submit(&mut self, _: &mut DummyCommandBuffer)
Submits a CommandBuffer
to the GPU for execution.
fn cleanup(&mut self)
Cleanup unused resources. This should be called between frames.