SubsurfaceScatteringBlur Class
Namespace: Stride.Rendering.SubsurfaceScattering
Assembly: Stride.Rendering.dll
Derived from SubsurfaceScatteringBlur:
[DataContract("SubsurfaceScatteringBlur")]
[Display("Subsurface Scattering Blur", null)]
public class SubsurfaceScatteringBlur : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffectRenderer, IImageEffect, IGraphicsRenderer, IGraphicsRendererCore, IDisposable, ISharedRenderer, IIdentifiable, IGraphicsRendererBase
|
Improve this Doc
View Source
Fields
MaxMaterialCount
public const uint MaxMaterialCount = 256U
Field Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
Properties
ActiveRenderMode
[DataMember(60)]
[Display("Render mode", null)]
public SubsurfaceScatteringBlur.RenderMode ActiveRenderMode { get; set; }
Property Value
FollowSurface
[DataMember(20)]
[Display("Follow surface", null)]
public bool FollowSurface { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Id
Gets the id of this instance
[DataMember(-100)]
[Display(null, null, Browsable = false)]
public Guid Id { get; set; }
Property Value
| Type |
Description |
| System.Guid |
|
JitterKernelSize
[DataMember(50)]
[Display("Jitter Kernel Size", null)]
public bool JitterKernelSize { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
NumberOfPasses
[DataMember(40)]
[DataMemberRange(1, 10, 1, 1, 0)]
[Display("Number of passes", null)]
public int NumberOfPasses { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Methods
Draw(RenderDrawContext, Texture, Texture, Texture, Texture)
public void Draw(RenderDrawContext context, Texture color, Texture materialIndex, Texture depthStencil, Texture output)
Parameters
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Overrides
Finalize()
protected void Finalize()
InitializeCore()
protected override void InitializeCore()
Overrides
SetScatteringKernel(UInt32, Vector4[])
public void SetScatteringKernel(uint materialIndex, Vector4[] scatteringKernel)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
materialIndex |
|
| Vector4[] |
scatteringKernel |
|
SetScatteringWidth(UInt32, Single)
public void SetScatteringWidth(uint materialIndex, float width)
Parameters
| Type |
Name |
Description |
| System.UInt32 |
materialIndex |
|
| System.Single |
width |
|
Extension Methods