Class SamplerSourceLoader
The sample source loader.
Implements
Inherited Members
Namespace: Evergine.Framework.Assets
Assembly: Evergine.Framework.dll
Syntax
public class SamplerSourceLoader : AssetSourceLoadableConverter<SamplerSource, SamplerState>, IAssetSourceLoadableConverter
Constructors
SamplerSourceLoader(GraphicsContext)
Initializes a new instance of the SamplerSourceLoader class.
Declaration
public SamplerSourceLoader(GraphicsContext graphicsContext)
Parameters
| Type | Name | Description |
|---|---|---|
| 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(SamplerSource)
Converts from SamplerSource to SamplerState.
Declaration
public override SamplerState Convert(SamplerSource source)
Parameters
| Type | Name | Description |
|---|---|---|
| SamplerSource | source | SamplerSource instance. |
Returns
| Type | Description |
|---|---|
| SamplerState | SamplerState instance. |