csharp
public interface IDrawSubFeatureA sub-feature that contributes commands to each draw.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
An interface rather than another virtual on SubRenderFeature, because most sub-features contribute data and never touch a command list — a transform written into a constant buffer is read by the shader, not bound per draw. Only the ones that really do record implement this, so the per-node loop asks a short list rather than every sub-feature attached.
Fields and properties (1)
bool IsRecordingWhether it has anything to record per node this frame.
Methods (1)
void Draw(RenderSystem system, RenderDrawContext context, in RenderNode node)Records this sub-feature's contribution for one node.
Used by (7)
- ForwardLightingRenderFeatureVixen.Rendering
- LodRenderFeatureVixen.Rendering
- MeshRenderFeatureVixen.Rendering
- MotionVectorRenderFeatureVixen.Rendering
- SkinningRenderFeatureVixen.Rendering
- SpriteRenderFeatureVixen.Rendering
- TransformRenderFeatureVixen.Rendering