Search Results for

    Show / Hide Table of Contents

    Class ReflectionProbe

    A reflection probe generator. Receives a texture cube as a framebuffer target.

    Inheritance
    object
    DisposableObject
    ReflectionProbe
    Implements
    ILoadable
    IDependencyObject
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ReflectionProbe : DisposableObject, ILoadable, IDependencyObject

    Constructors

    ReflectionProbe()

    Initializes a new instance of the ReflectionProbe class.

    Declaration
    public ReflectionProbe()

    Fields

    IBLIrradianceSH

    The IBL irradiance specified with 3-band spherical harmonics.

    Declaration
    public Vector4[] IBLIrradianceSH
    Field Value
    Type Description
    Vector4[]

    irradianceTextureLink

    Dependency system reference model.

    Declaration
    protected LoadableDependencyLink<Texture> irradianceTextureLink
    Field Value
    Type Description
    LoadableDependencyLink<Texture>

    radianceTextureLink

    Dependency system reference model.

    Declaration
    protected LoadableDependencyLink<Texture> radianceTextureLink
    Field Value
    Type Description
    LoadableDependencyLink<Texture>

    Properties

    Dependencies

    Gets the list of dependencies.

    Declaration
    public Lazy<List<IDependencyLink>> Dependencies { get; }
    Property Value
    Type Description
    Lazy<List<IDependencyLink>>

    IBLIrradianceTexture

    Gets or sets the IBL irradiance texture. It is used for diffuse reflection.

    Declaration
    public Texture IBLIrradianceTexture { get; set; }
    Property Value
    Type Description
    Texture

    IBLRadianceTexture

    Gets or sets the IBL radiance texture. It is used for diffuse reflection.

    Declaration
    public Texture IBLRadianceTexture { get; set; }
    Property Value
    Type Description
    Texture

    Id

    Gets or sets the asset ID.

    Declaration
    public Guid Id { get; set; }
    Property Value
    Type Description
    Guid

    The asset path.

    ReaderVersion

    Gets the reader version.

    Declaration
    public Version ReaderVersion { get; }
    Property Value
    Type Description
    Version

    The reader version.

    Methods

    Destroy()

    Destroys all resources of this instance.

    Declaration
    protected override void Destroy()
    Overrides
    DisposableObject.Destroy()

    Invalidate(ILoadable)

    Invalidates this instance and raises the Invalidated event with the new ILoadable instance.

    Declaration
    public void Invalidate(ILoadable newInstance)
    Parameters
    Type Name Description
    ILoadable newInstance

    The new ILoadable instance.

    ReleaseUnusedMemory()

    Releases unused memory.

    Declaration
    public void ReleaseUnusedMemory()

    Events

    Invalidated

    Occurs when this instance is invalidated and all references must be reloaded.

    Declaration
    public event EventHandler<ILoadable> Invalidated
    Event Type
    Type Description
    EventHandler<ILoadable>

    Implements

    ILoadable
    IDependencyObject

    Extension Methods

    ReflectionProbeExtension.AssetExists(ReflectionProbe, ContentDirectory, string)
    ReflectionProbeExtension.SaveAsset(ReflectionProbe, GraphicsContext, ContentDirectory, string)
    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX