Class ReflectionProbeSourceLoader
Class that converts a texture source to a Texture object.
Inheritance
ReflectionProbeSourceLoader
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class ReflectionProbeSourceLoader : AssetSourceLoadableConverter<ReflectionProbeSource, ReflectionProbe>, IAssetSourceLoadableConverter
Constructors
ReflectionProbeSourceLoader(AssetsService, GraphicsContext)
Initializes a new instance of the ReflectionProbeSourceLoader class.
Declaration
public ReflectionProbeSourceLoader(AssetsService assetsService, GraphicsContext graphicsContext)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetsService | assetsService | The assets service. |
| GraphicsContext | graphicsContext | The graphics context. |
Properties
ExportedExtension
Gets the exported extension of the asset.
Declaration
public override string ExportedExtension { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
Convert(ReflectionProbeSource)
Converts an asset source into a loadable element.
Declaration
public override ReflectionProbe Convert(ReflectionProbeSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| ReflectionProbeSource | source | The asset source. |
Returns
| Type | Description |
|---|---|
| ReflectionProbe | The loadable element. |