Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    LambertianPrefilteringSH Class

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

    Performs Lambertian pre-filtering in the form of Spherical Harmonics.

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

    public class LambertianPrefilteringSH : DrawEffect, IComponent, IReferencable, ICollectorHolder, IGraphicsRenderer, IGraphicsRendererBase, IGraphicsRendererCore, IDisposable
    Name Description
    Constructors
    LambertianPrefilteringSH(RenderContext)
    Properties
    HarmonicOrder

    Gets or sets the level of precision desired when calculating the spherical harmonics.

    PrefilteredLambertianSH

    Gets the computed spherical harmonics corresponding to the pre-filtered lambertian.

    RadianceMap

    Gets or sets the input radiance map to pre-filter.

    Methods
    DrawCore(RenderDrawContext)
    | Improve this Doc View Source

    Constructors


    LambertianPrefilteringSH(RenderContext)

    public LambertianPrefilteringSH(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context
    | Improve this Doc View Source

    Properties


    HarmonicOrder

    Gets or sets the level of precision desired when calculating the spherical harmonics.

    public int HarmonicOrder { get; set; }
    Property Value
    Type Description
    System.Int32

    PrefilteredLambertianSH

    Gets the computed spherical harmonics corresponding to the pre-filtered lambertian.

    public SphericalHarmonics PrefilteredLambertianSH { get; }
    Property Value
    Type Description
    SphericalHarmonics

    RadianceMap

    Gets or sets the input radiance map to pre-filter.

    public Texture RadianceMap { get; set; }
    Property Value
    Type Description
    Texture
    | 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