#[repr(C)]pub struct TextureStorageConfig {
pub binding_slot: u32,
pub format: StorageTextureFormat,
pub is_input: bool,
}Expand description
§========================================================================== Port Configuration (Discriminated Union)
Storage texture port configuration
Fields§
§binding_slot: u32Binding slot for @group(2) @binding(N) in shader
format: StorageTextureFormatTexture format (must match shader declaration)
is_input: boolWhether this storage texture accepts input connections (default: false) When true, the engine will auto-blit from connected texture output
Trait Implementations§
Source§impl Clone for TextureStorageConfig
impl Clone for TextureStorageConfig
Source§fn clone(&self) -> TextureStorageConfig
fn clone(&self) -> TextureStorageConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextureStorageConfig
impl Debug for TextureStorageConfig
impl Copy for TextureStorageConfig
Auto Trait Implementations§
impl Freeze for TextureStorageConfig
impl RefUnwindSafe for TextureStorageConfig
impl Send for TextureStorageConfig
impl Sync for TextureStorageConfig
impl Unpin for TextureStorageConfig
impl UnwindSafe for TextureStorageConfig
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