[][src]Struct bevy_render::renderer::BindGroupBuilder

pub struct BindGroupBuilder {
    pub indexed_bindings: Vec<IndexedBindGroupEntry>,
    pub dynamic_uniform_indices: Vec<u32>,
    pub hasher: AHasher,
}

Fields

indexed_bindings: Vec<IndexedBindGroupEntry>dynamic_uniform_indices: Vec<u32>hasher: AHasher

Implementations

impl BindGroupBuilder[src]

pub fn add_binding(self, index: u32, binding: RenderResourceBinding) -> Self[src]

pub fn add_texture(self, index: u32, texture: TextureId) -> Self[src]

pub fn add_sampler(self, index: u32, sampler: SamplerId) -> Self[src]

pub fn add_buffer(self, index: u32, buffer: BufferId, range: Range<u64>) -> Self[src]

pub fn add_dynamic_buffer(
    self,
    index: u32,
    buffer: BufferId,
    range: Range<u64>,
    dynamic_index: u32
) -> Self
[src]

pub fn finish(self) -> BindGroup[src]

Trait Implementations

impl Default for BindGroupBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Component for T where
    T: 'static + Send + Sync

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]

impl<T> From<T> for T[src]

impl<T> FromResources for T where
    T: Default
[src]

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

impl<T> Resource for T where
    T: 'static + Send + Sync
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,