pub enum IndirectArgumentType {
Draw,
DrawIndexed,
Dispatch,
VertexBuffer,
IndexBuffer,
PushConstants,
ConstantBuffer,
ShaderResource,
UnorderedAccess,
}Expand description
Different types of arguments which can be changed through execute indirect calls
Variants§
Draw
Used to issue indirect draw calls
DrawIndexed
Used to issue indirect draw_indexed calls
Dispatch
Used to issue indirect compute dispatch calls
VertexBuffer
Used to change a vertex buffer binding
IndexBuffer
Used to change an index buffer binding
PushConstants
Used to change push constants
ConstantBuffer
Used to change constant buffer binding
ShaderResource
Used to change a shader resource view binding
UnorderedAccess
Userd to change an unordered access view binding
Trait Implementations§
Source§impl Clone for IndirectArgumentType
impl Clone for IndirectArgumentType
Source§fn clone(&self) -> IndirectArgumentType
fn clone(&self) -> IndirectArgumentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IndirectArgumentType
Auto Trait Implementations§
impl Freeze for IndirectArgumentType
impl RefUnwindSafe for IndirectArgumentType
impl Send for IndirectArgumentType
impl Sync for IndirectArgumentType
impl Unpin for IndirectArgumentType
impl UnsafeUnpin for IndirectArgumentType
impl UnwindSafe for IndirectArgumentType
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