Struct gfx::device::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(capabilities: Capabilities) -> DummyDevice
Trait Implementations
impl Device for DummyDevice
[src]
type Resources = DummyResources
Associated resources type.
type CommandBuffer = CommandBuffer<Self::Resources>
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, (_cb, _db, _handles): SubmitInfo<Self>)
Submit a command buffer for execution.
fn cleanup(&mut self)
Cleanup unused resources, to be called between frames.