Search Results for

    Show / Hide Table of Contents

    Class SamplerSourceLoader

    The sample source loader.

    Inheritance
    object
    AssetSourceLoadableConverter<SamplerSource, SamplerState>
    SamplerSourceLoader
    Implements
    IAssetSourceLoadableConverter
    Inherited Members
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.LoadableType
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.ExportedExtension
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.Convert(SamplerSource)
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.Convert<TLoadable>(SamplerSource)
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.Convert(SamplerSource, Type)
    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
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.ExportedExtension

    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.

    Overrides
    AssetSourceLoadableConverter<SamplerSource, SamplerState>.Convert(SamplerSource)

    Implements

    IAssetSourceLoadableConverter

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX