Class ReflectionProbeSourceLoader
Class that converts a texturesource 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 | 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.
Declaration
public override ReflectionProbe Convert(ReflectionProbeSource source)
Parameters
Type | Name | Description |
---|---|---|
ReflectionProbeSource | source | The asset source. |
Returns
Type | Description |
---|---|
ReflectionProbe | The loadable element. |