Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates a reflected interface binding.

API: scripting
Project: Inno.Rendering
Scope: Runtime

public InnoEngine.Rendering.ShaderInterfaceBinding.ShaderInterfaceBinding(InnoEngine.Rendering.ShaderPropertyId id, InnoEngine.Rendering.ShaderPropertyType type, InnoEngine.Rendering.ShaderStage stages, int arrayCount = 1, InnoEngine.Rendering.ShaderPropertyBindingKind bindingKind = InnoEngine.Rendering.ShaderPropertyBindingKind.Uniform, InnoEngine.Rendering.RenderStorageAccess storageAccess = InnoEngine.Rendering.RenderStorageAccess.Read, string? nativeName = null, int? location = null)

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.