InstanceKey#
A candidate group from MeshInstancing, identified by mesh, shader and material resources. The planner omits numeric and string material values; this key does not describe the renderer's actual batches.
public readonly record struct InstanceKey(string MeshId, string ShaderId, string Resources)Record properties#
| Property | Type | Access | Constructor default |
|---|---|---|---|
MeshId | string | get; init; | required |
ShaderId | string | get; init; | required |
Resources | string | get; init; | required |
Source#
- MeshInstancing.cs