texture_storage_input

Function texture_storage_input 

Source
pub fn texture_storage_input(
    name: &str,
    binding_slot: u32,
    format: StorageTextureFormat,
) -> NodePort
Expand description

Helper to create a texture storage input port (read/write for compute shaders, accepts connections)

Use this for compute shader ports that need to receive input from other nodes. The engine will automatically blit from the connected texture output to this storage texture.

§Example

let port = texture_storage_input("input", 0, StorageTextureFormat::Rgba8Unorm);