pub struct Bindless { /* private fields */ }Expand description
a large table of textures, samplers and buffers (level Voll: never in the browser)
Implementations§
Source§impl Bindless
impl Bindless
pub fn group(&self) -> &BindGroup
pub fn layout(&self) -> &BindGroupLayout
pub fn counts(&self) -> [u32; 4]
pub fn set_texture(&self, _slot: u32, _view: &TextureView) -> Result<()>
pub fn set_sampler(&self, _slot: u32, _s: &Sampler) -> Result<()>
pub fn set_buffer( &self, _slot: u32, _buf: &Buffer, _offset: u64, _size: u64, ) -> Result<()>
pub fn set_storage_texture(&self, _slot: u32, _view: &TextureView) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for Bindless
impl !Send for Bindless
impl !Sync for Bindless
impl !UnwindSafe for Bindless
impl Forget for Bindless
impl Freeze for Bindless
impl Unpin for Bindless
impl UnsafeUnpin for Bindless
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