Struct gfx_core::dummy::DummyCommandBuffer
[−]
[src]
pub struct DummyCommandBuffer;
Dummy command buffer, which ignores all the calls.
Trait Implementations
impl CommandBuffer<DummyResources> for DummyCommandBuffer
[src]
fn clone_empty(&self) -> DummyCommandBuffer
Clone as an empty buffer
fn reset(&mut self)
Reset the command buffer contents, retain the allocated storage
fn bind_pipeline_state(&mut self, _: ())
Bind a pipeline state object
fn bind_vertex_buffers(&mut self, _: VertexBufferSet<DummyResources>)
Bind a complete set of vertex buffers
fn bind_constant_buffers(&mut self, _: ConstantBufferSet<DummyResources>)
Bind a complete set of constant buffers
fn bind_global_constant(&mut self, _: Location, _: UniformValue)
Bind a global constant
fn bind_resource_views(&mut self, _: ResourceViewSet<DummyResources>)
Bind a complete set of shader resource views
fn bind_unordered_views(&mut self, _: UnorderedViewSet<DummyResources>)
Bind a complete set of unordered access views
fn bind_samplers(&mut self, _: SamplerSet<DummyResources>)
Bind a complete set of samplers
fn bind_pixel_targets(&mut self, _: PixelTargetSet<DummyResources>)
Bind a complete set of pixel targets, including multiple colors views and an optional depth/stencil view. Read more
fn bind_index(&mut self, _: ())
Bind an index buffer
fn set_scissor(&mut self, _: Option<Rect>)
Set scissor test
fn set_ref_values(&mut self, _: RefValues)
Set reference values for the blending and stencil front/back
fn update_buffer(&mut self, _: (), _: DataPointer, _: usize)
Update a vertex/index/uniform buffer
fn update_texture(&mut self, _: (), _: Kind, _: Option<CubeFace>, _: DataPointer, _: RawImageInfo)
Update a texture
fn clear(&mut self, _: ClearSet)
Clear render targets
fn call_draw(&mut self, _: VertexCount, _: VertexCount, _: InstanceOption)
Draw a primitive
fn call_draw_indexed(&mut self, _: IndexType, _: VertexCount, _: VertexCount, _: VertexCount, _: InstanceOption)
Draw a primitive with index buffer