Enum gfx_core::dummy::DummyResources
[−]
[src]
pub enum DummyResources {}
Dummy resources phantom type
Trait Implementations
impl Clone for DummyResources
[src]
fn clone(&self) -> DummyResources
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for DummyResources
[src]
impl Debug for DummyResources
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for DummyResources
[src]
impl Hash for DummyResources
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for DummyResources
[src]
fn eq(&self, __arg_0: &DummyResources) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Resources for DummyResources
[src]
type Buffer = ()
type Shader = ()
type Program = ()
type PipelineStateObject = ()
type Texture = ()
type ShaderResourceView = ()
type UnorderedAccessView = ()
type RenderTargetView = ()
type DepthStencilView = ()
type Sampler = ()
type Fence = DummyFence
type Mapping = DummyMapping
impl Buffer<DummyResources> for DummyCommandBuffer
[src]
fn reset(&mut self)
[src]
Reset the command buffer contents, retain the allocated storage
fn bind_pipeline_state(&mut self, _: ())
[src]
Bind a pipeline state object
fn bind_vertex_buffers(&mut self, _: VertexBufferSet<DummyResources>)
[src]
Bind a complete set of vertex buffers
fn bind_constant_buffers(&mut self, _: &[ConstantBufferParam<DummyResources>])
[src]
Bind a complete set of constant buffers
fn bind_global_constant(&mut self, _: Location, _: UniformValue)
[src]
Bind a global constant
fn bind_resource_views(&mut self, _: &[ResourceViewParam<DummyResources>])
[src]
Bind a complete set of shader resource views
fn bind_unordered_views(&mut self, _: &[UnorderedViewParam<DummyResources>])
[src]
Bind a complete set of unordered access views
fn bind_samplers(&mut self, _: &[SamplerParam<DummyResources>])
[src]
Bind a complete set of samplers
fn bind_pixel_targets(&mut self, _: PixelTargetSet<DummyResources>)
[src]
Bind a complete set of pixel targets, including multiple colors views and an optional depth/stencil view. Read more
fn bind_index(&mut self, _: (), _: IndexType)
[src]
Bind an index buffer
fn set_scissor(&mut self, _: Rect)
[src]
Set scissor rectangle
fn set_ref_values(&mut self, _: RefValues)
[src]
Set reference values for the blending and stencil front/back
fn copy_buffer(&mut self, _: (), _: (), _: usize, _: usize, _: usize)
[src]
Copy part of a buffer to another
fn copy_buffer_to_texture(&mut self, _: (), _: usize, _: TextureCopyRegion<()>)
[src]
Copy part of a buffer to a texture
fn copy_texture_to_buffer(&mut self, _: TextureCopyRegion<()>, _: (), _: usize)
[src]
Copy part of a texture to a buffer
fn copy_texture_to_texture(
&mut self,
_: TextureCopyRegion<()>,
_: TextureCopyRegion<()>
)
[src]
&mut self,
_: TextureCopyRegion<()>,
_: TextureCopyRegion<()>
)
Copy part of one texture into another
fn update_buffer(&mut self, _: (), _: &[u8], _: usize)
[src]
Update a vertex/index/uniform buffer
fn update_texture(&mut self, _: TextureCopyRegion<()>, _: &[u8])
[src]
Update a texture
fn generate_mipmap(&mut self, _: ())
[src]
fn clear_color(&mut self, _: (), _: ClearColor)
[src]
Clear color target
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>
)
Draw a primitive
fn call_draw_indexed(
&mut self,
_: VertexCount,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
[src]
&mut self,
_: VertexCount,
_: VertexCount,
_: VertexCount,
_: Option<InstanceParams>
)
Draw a primitive with index buffer