Struct rafx_api::empty::RafxCommandBufferEmpty [−][src]
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]
&self,
color_targets: &[RafxColorRenderTargetBinding<'_>],
depth_target: Option<RafxDepthRenderTargetBinding<'_>>
) -> RafxResult<()>
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]
&self,
x: f32,
y: f32,
width: f32,
height: f32,
depth_min: f32,
depth_max: f32
) -> RafxResult<()>
pub fn cmd_set_scissor(
&self,
x: u32,
y: u32,
width: u32,
height: u32
) -> RafxResult<()>
[src]
&self,
x: u32,
y: u32,
width: u32,
height: u32
) -> RafxResult<()>
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]
&self,
first_binding: u32,
bindings: &[RafxVertexBufferBinding<'_>]
) -> RafxResult<()>
pub fn cmd_bind_index_buffer(
&self,
binding: &RafxIndexBufferBinding<'_>
) -> RafxResult<()>
[src]
&self,
binding: &RafxIndexBufferBinding<'_>
) -> RafxResult<()>
pub fn cmd_bind_descriptor_set(
&self,
descriptor_set_array: &RafxDescriptorSetArrayEmpty,
index: u32
) -> RafxResult<()>
[src]
&self,
descriptor_set_array: &RafxDescriptorSetArrayEmpty,
index: u32
) -> RafxResult<()>
pub fn cmd_bind_descriptor_set_handle(
&self,
root_signature: &RafxRootSignatureEmpty,
set_index: u32,
descriptor_set_handle: &RafxDescriptorSetHandleEmpty
) -> RafxResult<()>
[src]
&self,
root_signature: &RafxRootSignatureEmpty,
set_index: u32,
descriptor_set_handle: &RafxDescriptorSetHandleEmpty
) -> RafxResult<()>
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]
&self,
vertex_count: u32,
first_vertex: u32,
instance_count: u32,
first_instance: u32
) -> RafxResult<()>
pub fn cmd_draw_indexed(
&self,
index_count: u32,
first_index: u32,
vertex_offset: i32
) -> RafxResult<()>
[src]
&self,
index_count: u32,
first_index: u32,
vertex_offset: i32
) -> RafxResult<()>
pub fn cmd_draw_indexed_instanced(
&self,
index_count: u32,
first_index: u32,
instance_count: u32,
first_instance: u32,
vertex_offset: i32
) -> RafxResult<()>
[src]
&self,
index_count: u32,
first_index: u32,
instance_count: u32,
first_instance: u32,
vertex_offset: i32
) -> RafxResult<()>
pub fn cmd_dispatch(
&self,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> RafxResult<()>
[src]
&self,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> RafxResult<()>
pub fn cmd_resource_barrier(
&self,
buffer_barriers: &[RafxBufferBarrier<'_>],
texture_barriers: &[RafxTextureBarrier<'_>]
) -> RafxResult<()>
[src]
&self,
buffer_barriers: &[RafxBufferBarrier<'_>],
texture_barriers: &[RafxTextureBarrier<'_>]
) -> RafxResult<()>
pub fn cmd_copy_buffer_to_buffer(
&self,
src_buffer: &RafxBufferEmpty,
dst_buffer: &RafxBufferEmpty,
src_offset: u64,
dst_offset: u64,
size: u64
) -> RafxResult<()>
[src]
&self,
src_buffer: &RafxBufferEmpty,
dst_buffer: &RafxBufferEmpty,
src_offset: u64,
dst_offset: u64,
size: u64
) -> RafxResult<()>
pub fn cmd_copy_buffer_to_texture(
&self,
src_buffer: &RafxBufferEmpty,
dst_texture: &RafxTextureEmpty,
params: &RafxCmdCopyBufferToTextureParams
) -> RafxResult<()>
[src]
&self,
src_buffer: &RafxBufferEmpty,
dst_texture: &RafxTextureEmpty,
params: &RafxCmdCopyBufferToTextureParams
) -> RafxResult<()>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RafxCommandBufferEmpty
[src]
impl Send for RafxCommandBufferEmpty
[src]
impl Sync for RafxCommandBufferEmpty
[src]
impl Unpin for RafxCommandBufferEmpty
[src]
impl UnwindSafe for RafxCommandBufferEmpty
[src]
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> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Resource for T where
T: Downcast + Send + Sync,
[src]
T: Downcast + Send + Sync,
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>,