Struct gfx_device_gl::CommandBuffer [] [src]

pub struct CommandBuffer {
    pub buf: Vec<Command>,
    pub data: DataBuffer,
    // some fields omitted
}

Fields

Methods

impl CommandBuffer
[src]

[src]

Trait Implementations

impl CommandBuffer<Resources> for CommandBuffer
[src]

[src]

Clone as an empty buffer

[src]

Reset the command buffer contents, retain the allocated storage

[src]

Bind a pipeline state object

[src]

Bind a complete set of vertex buffers

[src]

Bind a complete set of constant buffers

[src]

Bind a global constant

[src]

Bind a complete set of shader resource views

[src]

Bind a complete set of unordered access views

[src]

Bind a complete set of samplers

[src]

Bind a complete set of pixel targets, including multiple colors views and an optional depth/stencil view. Read more

[src]

Bind an index buffer

[src]

Set scissor rectangle

[src]

Set reference values for the blending and stencil front/back

[src]

Update a vertex/index/uniform buffer

[src]

Update a texture

[src]

[src]

Clear color target

[src]

[src]

Draw a primitive

[src]

Draw a primitive with index buffer