[][src]Struct web_sys::GpuComputePassEncoder

#[repr(transparent)]pub struct GpuComputePassEncoder { /* fields omitted */ }

The GpuComputePassEncoder class.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Methods

impl GpuComputePassEncoder[src]

pub fn label(&self) -> Option<String>[src]

Getter for the label field of this object.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_label(&self, value: Option<&str>)[src]

Setter for the label field of this object.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn dispatch(&self, x: u32)[src]

The dispatch() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn dispatch_with_y(&self, x: u32, y: u32)[src]

The dispatch() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn dispatch_with_y_and_z(&self, x: u32, y: u32, z: u32)[src]

The dispatch() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn dispatch_indirect_with_u32(
    &self,
    indirect_buffer: &GpuBuffer,
    indirect_offset: u32
)
[src]

The dispatchIndirect() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBuffer, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn dispatch_indirect_with_f64(
    &self,
    indirect_buffer: &GpuBuffer,
    indirect_offset: f64
)
[src]

The dispatchIndirect() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBuffer, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn end_pass(&self)[src]

The endPass() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_pipeline(&self, pipeline: &GpuComputePipeline)[src]

The setPipeline() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder, GpuComputePipeline

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn insert_debug_marker(&self, marker_label: &str)[src]

The insertDebugMarker() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn pop_debug_group(&self)[src]

The popDebugGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn push_debug_group(&self, group_label: &str)[src]

The pushDebugGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_bind_group(&self, index: u32, bind_group: &GpuBindGroup)[src]

The setBindGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBindGroup, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_bind_group_with_u32_sequence(
    &self,
    index: u32,
    bind_group: &GpuBindGroup,
    dynamic_offsets: &JsValue
)
[src]

The setBindGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBindGroup, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_bind_group_with_u32_array_and_u32_and_dynamic_offsets_data_length(
    &self,
    index: u32,
    bind_group: &GpuBindGroup,
    dynamic_offsets_data: &[u32],
    dynamic_offsets_data_start: u32,
    dynamic_offsets_data_length: u32
)
[src]

The setBindGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBindGroup, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

impl GpuComputePassEncoder[src]

pub fn set_bind_group_with_u32_array_and_f64_and_dynamic_offsets_data_length(
    &self,
    index: u32,
    bind_group: &GpuBindGroup,
    dynamic_offsets_data: &[u32],
    dynamic_offsets_data_start: f64,
    dynamic_offsets_data_length: u32
)
[src]

The setBindGroup() method.

MDN Documentation

This API requires the following crate features to be activated: GpuBindGroup, GpuComputePassEncoder

This API is unstable and requires --cfg=web_sys_unstable_apis to be activated, as described in the wasm-bindgen guide

Trait Implementations

impl AsRef<GpuComputePassEncoder> for GpuComputePassEncoder[src]

impl AsRef<JsValue> for GpuComputePassEncoder[src]

impl AsRef<Object> for GpuComputePassEncoder[src]

impl Clone for GpuComputePassEncoder[src]

impl Debug for GpuComputePassEncoder[src]

impl Deref for GpuComputePassEncoder[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for GpuComputePassEncoder[src]

impl From<GpuComputePassEncoder> for JsValue[src]

impl From<GpuComputePassEncoder> for Object[src]

impl From<JsValue> for GpuComputePassEncoder[src]

impl FromWasmAbi for GpuComputePassEncoder[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for GpuComputePassEncoder[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a GpuComputePassEncoder[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl JsCast for GpuComputePassEncoder[src]

impl OptionFromWasmAbi for GpuComputePassEncoder[src]

impl OptionIntoWasmAbi for GpuComputePassEncoder[src]

impl<'a> OptionIntoWasmAbi for &'a GpuComputePassEncoder[src]

impl PartialEq<GpuComputePassEncoder> for GpuComputePassEncoder[src]

impl RefFromWasmAbi for GpuComputePassEncoder[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<GpuComputePassEncoder>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl StructuralEq for GpuComputePassEncoder[src]

impl StructuralPartialEq for GpuComputePassEncoder[src]

impl WasmDescribe for GpuComputePassEncoder[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> From<T> for T[src]

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

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.