Struct comfy::BindableTexture
source · pub struct BindableTexture {
pub texture: Texture,
pub bind_group: BindGroup,
}Fields§
§texture: Texture§bind_group: BindGroupImplementations§
source§impl BindableTexture
impl BindableTexture
pub fn new( device: &Device, layout: &BindGroupLayout, params: &TextureCreationParams<'_> ) -> BindableTexture
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for BindableTexture
impl Send for BindableTexture
impl Sync for BindableTexture
impl Unpin for BindableTexture
impl !UnwindSafe for BindableTexture
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