RadiancePrefilteringGGXNoCompute Class
Namespace: Stride.Rendering.ComputeEffect.GGXPrefilteringAssembly: Stride.Rendering.dll
A class for radiance pre-filtering using the GGX distribution function.
public class RadiancePrefilteringGGXNoCompute : DrawEffect, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
Name | Description | |
---|---|---|
Constructors | ||
RadiancePrefilteringGGXNoCompute(RenderContext) | Create a new instance of the class. |
|
Properties | ||
DoNotFilterHighestLevel | Gets or sets the boolean indicating if the highest level of mipmaps should be let as-is or pre-filtered. |
|
MipmapGenerationCount | Gets or sets the number of pre-filtered mipmap to generate. |
|
PrefilteredRadiance | Gets or sets the texture to use to store the result of the pre-filtering. |
|
RadianceMap | Gets or sets the input radiance map to pre-filter. |
|
SamplingsCount | Gets or sets the number of sampling used during the importance sampling |
|
Methods | ||
DrawCore(RenderDrawContext) |
Constructors
RadiancePrefilteringGGXNoCompute(RenderContext)
Create a new instance of the class.
public RadiancePrefilteringGGXNoCompute(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context | the context |
Properties
DoNotFilterHighestLevel
Gets or sets the boolean indicating if the highest level of mipmaps should be let as-is or pre-filtered.
public bool DoNotFilterHighestLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MipmapGenerationCount
Gets or sets the number of pre-filtered mipmap to generate.
public int MipmapGenerationCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PrefilteredRadiance
Gets or sets the texture to use to store the result of the pre-filtering.
public Texture PrefilteredRadiance { get; set; }
Property Value
Type | Description |
---|---|
Texture |
RadianceMap
Gets or sets the input radiance map to pre-filter.
public Texture RadianceMap { get; set; }
Property Value
Type | Description |
---|---|
Texture |
SamplingsCount
Gets or sets the number of sampling used during the importance sampling
public int SamplingsCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Remarks
Should be a power of 2 and maximum value is 1024
Methods
DrawCore(RenderDrawContext)
protected override void DrawCore(RenderDrawContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderDrawContext | context |