Skip to main content
Version: 1.0.0-preview.34

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.

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 sound data.

CreateSoundLoader()

Creates a loader that loads sounds from disk.

public static Velaptor.Content.ILoader<Velaptor.Content.ISound> CreateSoundLoader();

Returns

Velaptor.Content.ILoader<ISound>
A loader for loading sound 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.