SubsurfaceScatteringRenderFeature Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Custom render feature, that prepares constants needed by SubsurfaceScatteringBlurEffect.
public class SubsurfaceScatteringRenderFeature : SubRenderFeature, IComponent, IReferencable, ICollectorHolder, IGraphicsRendererCore, IDisposable
| Name | Description | |
|---|---|---|
| Properties | ||
| DeduplicateMaterialParameters | Turns material parameter deduplication on or off. |
|
| SubsurfaceScatteringBlurEffect | ||
| Methods | ||
| InitializeCore() | Initializes this instance. Query for specific cbuffer (either new one, like PerMaterial, or parts of an existing one, like PerObject=>Skinning) |
|
| Prepare(RenderDrawContext) | Performs most of the work (computation and resource preparation). Later game simulation might be running during that step. |
|
Properties
DeduplicateMaterialParameters
Turns material parameter deduplication on or off.
[DataMember(20)]
[Display("Deduplicate material parameters", null)]
public bool DeduplicateMaterialParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SubsurfaceScatteringBlurEffect
[DataMember(10)]
[Display("SubsurfaceScatteringBlurEffect", null)]
public SubsurfaceScatteringBlur SubsurfaceScatteringBlurEffect { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsurfaceScatteringBlur |
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()
Overrides
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
| Type | Name | Description |
|---|---|---|
| RenderDrawContext | context |