Synced
ShaderInterfaceBinding.Constructor
Section titled “ShaderInterfaceBinding.Constructor”
- Creates a reflected interface binding.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Rendering
Declaration
Section titled “Declaration”public Inno.Rendering.ShaderInterfaceBinding.ShaderInterfaceBinding(Inno.Rendering.ShaderPropertyId id, Inno.Rendering.ShaderPropertyType type, Inno.Rendering.ShaderStage stages, int arrayCount = 1, Inno.Rendering.ShaderPropertyBindingKind bindingKind = Inno.Rendering.ShaderPropertyBindingKind.Uniform, Inno.Rendering.RenderStorageAccess storageAccess = Inno.Rendering.RenderStorageAccess.Read, string? nativeName = null, int? location = null)Parameters
Section titled “Parameters”Parameter id: Stable property ID.
Parameter type: Expected value or resource type.
Parameter stages: Stages that consume the binding.
Parameter arrayCount: Required array element count.
Parameter bindingKind: Backend-neutral interface binding domain.
Parameter storageAccess: Required access for storage resources.
Parameter nativeName: Adapter-generated reflected symbol, or null when the logical ID is also the symbol.
Parameter location: Explicit resource slot, or null when the caller assigns an ordered layout.