Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a shader property definition.

API: engine
Project: Inno.Rendering.Assets

public Inno.Rendering.Assets.ShaderPropertyDefinition.ShaderPropertyDefinition(Inno.Rendering.ShaderPropertyId id, string displayName, Inno.Rendering.ShaderPropertyType type, Inno.Rendering.ShaderStage stages, Inno.Rendering.Assets.MaterialValue defaultValue, Inno.Rendering.ShaderPropertyBindingKind? bindingKind = null, Inno.Rendering.RenderStorageAccess storageAccess = Inno.Rendering.RenderStorageAccess.Read, Inno.Rendering.Assets.ShaderPropertyBindingOwner bindingOwner = Inno.Rendering.Assets.ShaderPropertyBindingOwner.Material)

Parameter id: Stable property identifier.

Parameter displayName: Artist-facing property name.

Parameter type: Property type.

Parameter stages: Stages that access the property.

Parameter defaultValue: Native serializable default value.

Parameter bindingKind: Optional explicit binding domain. When omitted, numeric values become uniforms, textures become sampled textures, and buffers become storage buffers.

Parameter storageAccess: Required access for storage texture or buffer bindings.

Parameter bindingOwner: Layer responsible for supplying the binding value at execution time.