Class SubsurfaceScatteringRenderFeature
Custom render feature, that prepares constants needed by SubsurfaceScatteringBlurEffect.
public class SubsurfaceScatteringRenderFeature : SubRenderFeature, IComponent, IReferencable, ICollectorHolder, IGraphicsRendererCore, IDisposable- Inheritance
- 
      objectSubsurfaceScatteringRenderFeature
- Implements
- Inherited Members
- Extension Methods
Properties
DeduplicateMaterialParameters
Turns material parameter deduplication on or off.
[DataMember(20)]
[Display("Deduplicate material parameters", null)]
public bool DeduplicateMaterialParameters { get; set; }Property Value
SubsurfaceScatteringBlurEffect
[DataMember(10)]
[Display("SubsurfaceScatteringBlurEffect", null)]
public SubsurfaceScatteringBlur SubsurfaceScatteringBlurEffect { get; set; }Property Value
Methods
InitializeCore()
Initializes this instance. Query for specific cbuffer (either new one, like PerMaterial, or parts of an existing one, like PerObject=>Skinning)
protected override void InitializeCore()Prepare(RenderDrawContext)
Performs most of the work (computation and resource preparation). Later game simulation might be running during that step.
public override void Prepare(RenderDrawContext context)Parameters
- contextRenderDrawContext