wgpu_core::binding_model

Type Alias ResolvedBindGroupEntry

Source
pub type ResolvedBindGroupEntry<'a> = BindGroupEntry<'a, Arc<Buffer>, Arc<Sampler>, Arc<TextureView>, Arc<Tlas>>;
Expand description

cbindgen:ignore

Aliased Type§

struct ResolvedBindGroupEntry<'a> {
    pub binding: u32,
    pub resource: BindingResource<'a, Arc<Buffer>, Arc<Sampler>, Arc<TextureView>, Arc<Tlas>>,
}

Fields§

§binding: u32

Slot for which binding provides resource. Corresponds to an entry of the same binding index in the BindGroupLayoutDescriptor.

§resource: BindingResource<'a, Arc<Buffer>, Arc<Sampler>, Arc<TextureView>, Arc<Tlas>>

Resource to attach to the binding

Trait Implementations

Source§

impl<'a, B: Clone, S: Clone, TV: Clone, TLAS: Clone> Clone for BindGroupEntry<'a, B, S, TV, TLAS>

Source§

fn clone(&self) -> BindGroupEntry<'a, B, S, TV, TLAS>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a, B: Debug, S: Debug, TV: Debug, TLAS: Debug> Debug for BindGroupEntry<'a, B, S, TV, TLAS>

Source§

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

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

impl<'de, 'a, B, S, TV, TLAS> Deserialize<'de> for BindGroupEntry<'a, B, S, TV, TLAS>
where [BufferBinding<B>]: ToOwned, [S]: ToOwned, [TV]: ToOwned, <[BufferBinding<B>] as ToOwned>::Owned: Debug, <[S] as ToOwned>::Owned: Debug, <[TV] as ToOwned>::Owned: Debug, BindingResource<'a, B, S, TV, TLAS>: Deserialize<'de>,

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<'a, B, S, TV, TLAS> Serialize for BindGroupEntry<'a, B, S, TV, TLAS>

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more