Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    RadiancePrefilteringGGXNoCompute Class

    Namespace: Stride.Rendering.ComputeEffect.GGXPrefiltering
    Assembly: Stride.Rendering.dll

    A class for radiance pre-filtering using the GGX distribution function.

    System.Object → DisposeBase → ComponentBase → RendererCoreBase → RendererBase → DrawEffect → RadiancePrefilteringGGXNoCompute
    Derived from RadiancePrefilteringGGXNoCompute:

    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)
    | Improve this Doc View Source

    Constructors


    RadiancePrefilteringGGXNoCompute(RenderContext)

    Create a new instance of the class.

    public RadiancePrefilteringGGXNoCompute(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context

    the context

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    Methods


    DrawCore(RenderDrawContext)

    protected override void DrawCore(RenderDrawContext context)
    Parameters
    Type Name Description
    RenderDrawContext context
    Overrides
    RendererBase.DrawCore(RenderDrawContext)

    Inherited Members

    DrawEffect.SamplingPattern
    DrawEffect.Parameters
    DrawEffect.Scaler
    DrawEffect.Reset()
    DrawEffect.SetDefaultParameters()
    DrawEffect.Draw(RenderDrawContext, String)
    DrawEffect.Draw(RenderDrawContext, String, Object[])
    DrawEffect.ToString()
    RendererBase.Draw(RenderDrawContext)
    RendererCoreBase.Enabled
    RendererCoreBase.Profiling
    RendererCoreBase.ProfilingKey
    RendererCoreBase.Context
    RendererCoreBase.Services
    RendererCoreBase.Content
    RendererCoreBase.GraphicsDevice
    RendererCoreBase.EffectSystem
    RendererCoreBase.Initialized
    RendererCoreBase.Initialize(RenderContext)
    RendererCoreBase.InitializeCore()
    RendererCoreBase.Unload()
    RendererCoreBase.PreDrawCore(RenderDrawContext)
    RendererCoreBase.PostDrawCore(RenderDrawContext)
    RendererCoreBase.NewScopedBuffer(BufferDescription, PixelFormat)
    RendererCoreBase.NewScopedTypedBuffer(Int32, PixelFormat, Boolean, GraphicsResourceUsage)
    RendererCoreBase.PushScopedResource<T>(T)
    RendererCoreBase.CheckIsInDrawCore()
    RendererCoreBase.Destroy()
    RendererCoreBase.ToLoadAndUnload<T>(T)
    RendererCoreBase.PreDrawCoreInternal(RenderDrawContext)
    RendererCoreBase.EnsureContext(RenderContext)
    RendererCoreBase.PostDrawCoreInternal(RenderDrawContext)
    ComponentBase.Tags
    ComponentBase.Name
    ComponentBase.ICollectorHolder.Collector
    ComponentBase.OnNameChanged()
    DisposeBase.Dispose()
    DisposeBase.IsDisposed
    DisposeBase.IReferencable.ReferenceCount
    DisposeBase.IReferencable.AddReference()
    DisposeBase.IReferencable.Release()
    DisposeBase.OnAddReference()
    DisposeBase.OnReleaseReference()

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation