Struct rafx_api::empty::RafxCommandBufferEmpty[][src]

pub struct RafxCommandBufferEmpty;

Implementations

impl RafxCommandBufferEmpty[src]

pub fn begin(&self) -> RafxResult<()>[src]

pub fn end(&self) -> RafxResult<()>[src]

pub fn return_to_pool(&self) -> RafxResult<()>[src]

pub fn cmd_begin_render_pass(
    &self,
    color_targets: &[RafxColorRenderTargetBinding<'_>],
    depth_target: Option<RafxDepthRenderTargetBinding<'_>>
) -> RafxResult<()>
[src]

pub fn cmd_end_render_pass(&self) -> RafxResult<()>[src]

pub fn cmd_set_viewport(
    &self,
    x: f32,
    y: f32,
    width: f32,
    height: f32,
    depth_min: f32,
    depth_max: f32
) -> RafxResult<()>
[src]

pub fn cmd_set_scissor(
    &self,
    x: u32,
    y: u32,
    width: u32,
    height: u32
) -> RafxResult<()>
[src]

pub fn cmd_set_stencil_reference_value(&self, value: u32) -> RafxResult<()>[src]

pub fn cmd_bind_pipeline(&self, pipeline: &RafxPipelineEmpty) -> RafxResult<()>[src]

pub fn cmd_bind_vertex_buffers(
    &self,
    first_binding: u32,
    bindings: &[RafxVertexBufferBinding<'_>]
) -> RafxResult<()>
[src]

pub fn cmd_bind_index_buffer(
    &self,
    binding: &RafxIndexBufferBinding<'_>
) -> RafxResult<()>
[src]

pub fn cmd_bind_descriptor_set(
    &self,
    descriptor_set_array: &RafxDescriptorSetArrayEmpty,
    index: u32
) -> RafxResult<()>
[src]

pub fn cmd_bind_descriptor_set_handle(
    &self,
    root_signature: &RafxRootSignatureEmpty,
    set_index: u32,
    descriptor_set_handle: &RafxDescriptorSetHandleEmpty
) -> RafxResult<()>
[src]

pub fn cmd_draw(&self, vertex_count: u32, first_vertex: u32) -> RafxResult<()>[src]

pub fn cmd_draw_instanced(
    &self,
    vertex_count: u32,
    first_vertex: u32,
    instance_count: u32,
    first_instance: u32
) -> RafxResult<()>
[src]

pub fn cmd_draw_indexed(
    &self,
    index_count: u32,
    first_index: u32,
    vertex_offset: i32
) -> RafxResult<()>
[src]

pub fn cmd_draw_indexed_instanced(
    &self,
    index_count: u32,
    first_index: u32,
    instance_count: u32,
    first_instance: u32,
    vertex_offset: i32
) -> RafxResult<()>
[src]

pub fn cmd_dispatch(
    &self,
    group_count_x: u32,
    group_count_y: u32,
    group_count_z: u32
) -> RafxResult<()>
[src]

pub fn cmd_resource_barrier(
    &self,
    buffer_barriers: &[RafxBufferBarrier<'_>],
    texture_barriers: &[RafxTextureBarrier<'_>]
) -> RafxResult<()>
[src]

pub fn cmd_copy_buffer_to_buffer(
    &self,
    src_buffer: &RafxBufferEmpty,
    dst_buffer: &RafxBufferEmpty,
    src_offset: u64,
    dst_offset: u64,
    size: u64
) -> RafxResult<()>
[src]

pub fn cmd_copy_buffer_to_texture(
    &self,
    src_buffer: &RafxBufferEmpty,
    dst_texture: &RafxTextureEmpty,
    params: &RafxCmdCopyBufferToTextureParams
) -> RafxResult<()>
[src]

Trait Implementations

impl Debug for RafxCommandBufferEmpty[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Downcast + Send + Sync
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.