pub enum ArcCommand {
Show 15 variants
CopyBufferToBuffer {
src: Arc<Buffer>,
src_offset: BufferAddress,
dst: Arc<Buffer>,
dst_offset: BufferAddress,
size: Option<BufferAddress>,
},
CopyBufferToTexture {
src: TexelCopyBufferInfo<Arc<Buffer>>,
dst: TexelCopyTextureInfo<Arc<Texture>>,
size: Extent3d,
},
CopyTextureToBuffer {
src: TexelCopyTextureInfo<Arc<Texture>>,
dst: TexelCopyBufferInfo<Arc<Buffer>>,
size: Extent3d,
},
CopyTextureToTexture {
src: TexelCopyTextureInfo<Arc<Texture>>,
dst: TexelCopyTextureInfo<Arc<Texture>>,
size: Extent3d,
},
ClearBuffer {
dst: Arc<Buffer>,
offset: BufferAddress,
size: Option<BufferAddress>,
},
ClearTexture {
dst: Arc<Texture>,
subresource_range: ImageSubresourceRange,
},
WriteTimestamp {
query_set: Arc<QuerySet>,
query_index: u32,
},
ResolveQuerySet {
query_set: Arc<QuerySet>,
start_query: u32,
query_count: u32,
destination: Arc<Buffer>,
destination_offset: BufferAddress,
},
PushDebugGroup(String),
PopDebugGroup,
InsertDebugMarker(String),
RunComputePass {
pass: BasePass<ArcComputeCommand, Infallible>,
timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>,
},
RunRenderPass {
pass: BasePass<ArcRenderCommand, Infallible>,
color_attachments: ArcRenderPassColorAttachmentArray,
depth_stencil_attachment: Option<ArcRenderPassDepthStencilAttachment>,
timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>,
occlusion_query_set: Option<Arc<QuerySet>>,
},
BuildAccelerationStructures {
blas: Vec<ArcBlasBuildEntry>,
tlas: Vec<ArcTlasPackage>,
},
TransitionResources {
buffer_transitions: Vec<BufferTransition<Arc<Buffer>>>,
texture_transitions: Vec<TextureTransition<Arc<Texture>>>,
},
}
Variants§
CopyBufferToBuffer
CopyBufferToTexture
CopyTextureToBuffer
CopyTextureToTexture
ClearBuffer
ClearTexture
WriteTimestamp
ResolveQuerySet
Fields
§
destination_offset: BufferAddress
PushDebugGroup(String)
PopDebugGroup
InsertDebugMarker(String)
RunComputePass
Fields
§
pass: BasePass<ArcComputeCommand, Infallible>
§
timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>
RunRenderPass
Fields
§
pass: BasePass<ArcRenderCommand, Infallible>
§
color_attachments: ArcRenderPassColorAttachmentArray
§
depth_stencil_attachment: Option<ArcRenderPassDepthStencilAttachment>
§
timestamp_writes: Option<PassTimestampWrites<Arc<QuerySet>>>
BuildAccelerationStructures
TransitionResources
Fields
§
buffer_transitions: Vec<BufferTransition<Arc<Buffer>>>
§
texture_transitions: Vec<TextureTransition<Arc<Texture>>>
Trait Implementations§
Source§impl Clone for ArcCommand
impl Clone for ArcCommand
Source§fn clone(&self) -> ArcCommand
fn clone(&self) -> ArcCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ArcCommand
impl !RefUnwindSafe for ArcCommand
impl Send for ArcCommand
impl Sync for ArcCommand
impl Unpin for ArcCommand
impl !UnwindSafe for ArcCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more