Class ReflectionProbe
A reflection probe generator. Receive a texture cube as framebuffer target.
Inherited Members
Namespace: Evergine.Framework.Graphics
Assembly: Evergine.Framework.dll
Syntax
public class ReflectionProbe : DisposableObject, ILoadable, IDisposable, 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 dependency list.
Declaration
public Lazy<List<IDependencyLink>> Dependencies { get; }
Property Value
Type | Description |
---|---|
Lazy<List<IDependencyLink>> |
IBLIrradianceTexture
Gets or sets the IBL irradiance texture. Used for diffuse reflection.
Declaration
public Texture IBLIrradianceTexture { get; set; }
Property Value
Type | Description |
---|---|
Texture |
IBLRadianceTexture
Gets or sets the IBL radiance texture. 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()
Destroy all resources of this instance.
Declaration
protected override void Destroy()
Overrides
Invalidate(ILoadable)
Invalidates this instance and raise 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()
Release unused memory.
Declaration
public void ReleaseUnusedMemory()
Events
Invalidated
Occurs when this instance has been invalidated and all references must be reloaded.
Declaration
public event EventHandler<ILoadable> Invalidated
Event Type
Type | Description |
---|---|
EventHandler<ILoadable> |