Skip to main content

SgComputePass

Struct SgComputePass 

Source
pub struct SgComputePass { /* private fields */ }

Trait Implementations§

Source§

impl ComputePassInterface for SgComputePass

Source§

fn set_pipeline(&mut self, pipeline: &DispatchComputePipeline)

Source§

fn set_bind_group( &mut self, index: u32, bind_group: Option<&DispatchBindGroup>, offsets: &[DynamicOffset], )

Source§

fn set_immediates(&mut self, offset: u32, data: &[u8])

Source§

fn insert_debug_marker(&mut self, label: &str)

Source§

fn push_debug_group(&mut self, group_label: &str)

Source§

fn pop_debug_group(&mut self)

Source§

fn write_timestamp(&mut self, query_set: &DispatchQuerySet, query_index: u32)

Source§

fn begin_pipeline_statistics_query( &mut self, query_set: &DispatchQuerySet, query_index: u32, )

Source§

fn end_pipeline_statistics_query(&mut self)

Source§

fn dispatch_workgroups(&mut self, x: u32, y: u32, z: u32)

Source§

fn dispatch_workgroups_indirect( &mut self, indirect_buffer: &DispatchBuffer, indirect_offset: BufferAddress, )

Source§

fn transition_resources<'a>( &mut self, _b: &mut dyn Iterator<Item = BufferTransition<&'a DispatchBuffer>>, _t: &mut dyn Iterator<Item = TextureTransition<&'a DispatchTextureView>>, )

Source§

impl Debug for SgComputePass

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Drop for SgComputePass

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> AsAny for T
where T: 'static,

§

fn as_any(&self) -> &(dyn Any + 'static)

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> CommonTraits for T
where T: AsAny + Any + Debug + WasmNotSendSync,

§

impl<T> WasmNotSend for T

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T