Table of Contents

Class SubsurfaceScatteringRenderFeature

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

Custom render feature, that prepares constants needed by SubsurfaceScatteringBlurEffect.

public class SubsurfaceScatteringRenderFeature : SubRenderFeature, IComponent, IReferencable, ICollectorHolder, IGraphicsRendererCore, IDisposable
Inheritance
SubsurfaceScatteringRenderFeature
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

bool

SubsurfaceScatteringBlurEffect

[DataMember(10)]
[Display("SubsurfaceScatteringBlurEffect", null)]
public SubsurfaceScatteringBlur SubsurfaceScatteringBlurEffect { get; set; }

Property Value

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()

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

context RenderDrawContext