public record class ResourceBindingAssetOne resource a node binds, as a document says it.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Prefer Name to Binding. A binding index is the shader's — Raven assigns it from declaration order within a set — so a document that writes one down is recording a number that changes when a resource is added above it. Naming the shader's own name for the resource resolves it against the effect's plan instead.
The index remains for a shader whose provider reports no plan — a test fake, a host supplying effects of its own. The shipped ones do report it: a baked EffectData carries the binding plan and EffectLoader puts it on the effect.
Fields and properties (7)
public string? NameThe shader's own name for this resource, resolved against its binding plan.
public uint BindingIts index within the set, when Name is absent or unknown.
public DescriptorKind KindWhat it binds. Taken from the shader's plan when Name resolves.
public string ResourceThe frame resource to bind, by the name the document gave it.
public SamplerPreset SamplerThe sampler, for a sampler binding.
public long OffsetWhere in the buffer the binding starts.
public long SizeHow much of the buffer, or zero for the rest of it.
Used by (10)
- CompositorAssetTestsVixen.Rendering.Tests
- CompositorBuilderVixen.Rendering
- ComputeAssetVixen.Rendering
- FullScreenAssetVixen.Rendering
- RenderPassAssetVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Compositor_ComputeAssetSerializerVixen.Rendering
- Vixen_Rendering_Compositor_FullScreenAssetSerializerVixen.Rendering
- Vixen_Rendering_Compositor_RenderPassAssetSerializerVixen.Rendering
- Vixen_Rendering_Compositor_ResourceBindingAssetSerializerVixen.Rendering