Enum gfx_device_gl::command::Command
[−]
[src]
pub enum Command { BindProgram(Program), BindConstantBuffers(ConstantBufferSet<Resources>), BindResourceViews(ResourceViewSet<Resources>), BindUnorderedViews(UnorderedViewSet<Resources>), BindSamplers(SamplerSet<Resources>), BindPixelTargets(PixelTargetSet<Resources>), BindAttribute(AttributeSlot, Buffer, AttributeDesc), BindIndex(Buffer), BindFrameBuffer(Access, FrameBuffer), BindUniform(Location, UniformValue), SetDrawColorBuffers(ColorSlot), SetRasterizer(Rasterizer), SetViewport(Rect), SetScissor(Option<Rect>), SetDepthState(Option<Depth>), SetStencilState(Option<Stencil>, (Stencil, Stencil), CullFace), SetBlendState(ColorSlot, Color), SetBlendColor(ColorValue), UpdateBuffer(Buffer, DataPointer, usize), UpdateTexture(Texture, Kind, Option<CubeFace>, DataPointer, RawImageInfo), Clear(ClearSet), Draw(GLenum, VertexCount, VertexCount, InstanceOption), DrawIndexed(GLenum, IndexType, VertexCount, VertexCount, VertexCount, InstanceOption), Blit(Rect, Rect, Mirror, usize), }
Serialized device command.
Variants
BindProgram(Program)
BindConstantBuffers(ConstantBufferSet<Resources>)
BindResourceViews(ResourceViewSet<Resources>)
BindUnorderedViews(UnorderedViewSet<Resources>)
BindSamplers(SamplerSet<Resources>)
BindPixelTargets(PixelTargetSet<Resources>)
BindAttribute(AttributeSlot, Buffer, AttributeDesc)
BindIndex(Buffer)
BindFrameBuffer(Access, FrameBuffer)
BindUniform(Location, UniformValue)
SetDrawColorBuffers(ColorSlot)
SetRasterizer(Rasterizer)
SetViewport(Rect)
SetScissor(Option<Rect>)
SetDepthState(Option<Depth>)
SetStencilState(Option<Stencil>, (Stencil, Stencil), CullFace)
SetBlendState(ColorSlot, Color)
SetBlendColor(ColorValue)
UpdateBuffer(Buffer, DataPointer, usize)
UpdateTexture(Texture, Kind, Option<CubeFace>, DataPointer, RawImageInfo)
Clear(ClearSet)
Draw(GLenum, VertexCount, VertexCount, InstanceOption)
DrawIndexed(GLenum, IndexType, VertexCount, VertexCount, VertexCount, InstanceOption)
Blit(Rect, Rect, Mirror, usize)
Trait Implementations
impl Debug for Command
[src]
impl Copy for Command
[src]
impl Clone for Command
[src]
fn clone(&self) -> Command
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more