Struct gfx_core::dummy::DummyCommandBuffer [−][src]
pub struct DummyCommandBuffer;
Dummy command buffer, which ignores all the calls.
Trait Implementations
impl Buffer<DummyResources> for DummyCommandBuffer
[src]
fn reset(&mut self)
[src]
fn bind_pipeline_state(&mut self, _: ())
[src]
fn bind_vertex_buffers(&mut self, _: VertexBufferSet<DummyResources>)
[src]
fn bind_constant_buffers(&mut self, _: &[ConstantBufferParam<DummyResources>])
[src]
fn bind_global_constant(&mut self, _: Location, _: UniformValue)
[src]
fn bind_resource_views(&mut self, _: &[ResourceViewParam<DummyResources>])
[src]
fn bind_unordered_views(&mut self, _: &[UnorderedViewParam<DummyResources>])
[src]
fn bind_samplers(&mut self, _: &[SamplerParam<DummyResources>])
[src]
fn bind_pixel_targets(&mut self, _: PixelTargetSet<DummyResources>)
[src]
fn bind_index(&mut self, _: (), _: IndexType)
[src]
fn set_scissor(&mut self, _: Rect)
[src]
fn set_ref_values(&mut self, _: RefValues)
[src]
fn copy_buffer(&mut self, _: (), _: (), _: usize, _: usize, _: usize)
[src]
fn copy_buffer_to_texture(&mut self, _: (), _: usize, _: TextureCopyRegion<()>)
[src]
fn copy_texture_to_buffer(&mut self, _: TextureCopyRegion<()>, _: (), _: usize)
[src]
fn copy_texture_to_texture(
&mut self,
_: TextureCopyRegion<()>,
_: TextureCopyRegion<()>
)
[src]
&mut self,
_: TextureCopyRegion<()>,
_: TextureCopyRegion<()>
)
fn update_buffer(&mut self, _: (), _: &[u8], _: usize)
[src]
fn update_texture(&mut self, _: TextureCopyRegion<()>, _: &[u8])
[src]
fn generate_mipmap(&mut self, _: ())
[src]
fn clear_color(&mut self, _: (), _: ClearColor)
[src]
fn clear_depth_stencil(&mut self, _: (), _: Option<Depth>, _: Option<Stencil>)
[src]
fn call_draw(
&mut self,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
[src]
&mut self,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
fn call_draw_indexed(
&mut self,
_: VertexCount,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
[src]
&mut self,
_: VertexCount,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
Auto Trait Implementations
impl RefUnwindSafe for DummyCommandBuffer
impl Send for DummyCommandBuffer
impl Sync for DummyCommandBuffer
impl Unpin for DummyCommandBuffer
impl UnwindSafe for DummyCommandBuffer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,