Struct gfx_core::dummy::DummyCommandBuffer [] [src]

pub struct DummyCommandBuffer;

Dummy command buffer, which ignores all the calls.

Trait Implementations

impl CommandBuffer<DummyResources> for DummyCommandBuffer

fn clone_empty(&self) -> DummyCommandBuffer

fn reset(&mut self)

fn bind_pipeline_state(&mut self, _: ())

fn bind_vertex_buffers(&mut self, _: VertexBufferSet<DummyResources>)

fn bind_constant_buffers(&mut self, _: &[ConstantBufferParam<DummyResources>])

fn bind_global_constant(&mut self, _: Location, _: UniformValue)

fn bind_resource_views(&mut self, _: &[ResourceViewParam<DummyResources>])

fn bind_unordered_views(&mut self, _: &[UnorderedViewParam<DummyResources>])

fn bind_samplers(&mut self, _: &[SamplerParam<DummyResources>])

fn bind_pixel_targets(&mut self, _: PixelTargetSet<DummyResources>)

fn bind_index(&mut self, _: (), _: IndexType)

fn set_scissor(&mut self, _: Rect)

fn set_ref_values(&mut self, _: RefValues)

fn update_buffer(&mut self, _: (), _: &[u8], _: usize)

fn update_texture(&mut self, _: (), _: Kind, _: Option<CubeFace>, _: &[u8], _: RawImageInfo)

fn generate_mipmap(&mut self, _: ())

fn clear_color(&mut self, _: (), _: ClearColor)

fn clear_depth_stencil(&mut self, _: (), _: Option<Depth>, _: Option<Stencil>)

fn call_draw(&mut self, _: VertexCount, _: VertexCount, _: InstanceOption)

fn call_draw_indexed(&mut self, _: VertexCount, _: VertexCount, _: VertexCount, _: InstanceOption)