Skip to main content
Version: 1.0.0-preview.36

Velaptor.Factories.ContentLoaderFactory

Velaptor

Velaptor.Factories

ContentLoaderFactory Class

Creates instances of a content loader.

public static class ContentLoaderFactory

Inheritance System.Object → ContentLoaderFactory

Methods

CreateAtlasLoader()

Creates a loader for loading atlas data from disk.

public static Velaptor.Content.ILoader<Velaptor.Content.IAtlasData> CreateAtlasLoader();

Returns

Velaptor.Content.ILoader<IAtlasData>
A loader for loading texture atlas data.

CreateAudioLoader()

Creates a loader that loads audio from disk.

public static Velaptor.Content.ILoader<Velaptor.Content.IAudio> CreateAudioLoader();

Returns

Velaptor.Content.ILoader<IAudio>
A loader for loading audio data.

CreateFontLoader()

Creates a loader that loads fonts from disk for rendering test.

public static Velaptor.Content.ILoader<Velaptor.Content.Fonts.IFont> CreateFontLoader();

Returns

Velaptor.Content.ILoader<IFont>
A loader for loading audio data.

CreateTextureLoader()

Creates a loader that loads textures from disk.

public static Velaptor.Content.ILoader<Velaptor.Content.ITexture> CreateTextureLoader();

Returns

Velaptor.Content.ILoader<ITexture>
A loader for loading textures.