Skip to main content
Version: 1.0.0-preview.34

Velaptor.Factories.PathResolverFactory

Velaptor

Velaptor.Factories

PathResolverFactory Class

Creates path resolver instances.

public static class PathResolverFactory

Inheritance System.Object → PathResolverFactory

Methods

CreateAtlasPathResolver()

Creates a path resolver that resolves paths to texture atlas textures.

public static Velaptor.Content.IContentPathResolver CreateAtlasPathResolver();

Returns

IContentPathResolver
The resolver to texture content.

CreateContentFontPathResolver()

Creates a path resolver that resolves paths to fonts in the application's content directory.

public static Velaptor.Content.IContentPathResolver CreateContentFontPathResolver();

Returns

IContentPathResolver
The resolver instance.

CreateFontPathResolver()

Creates a path resolver that resolves paths to font content.

public static Velaptor.Content.IContentPathResolver CreateFontPathResolver();

Returns

IContentPathResolver
The resolver to atlas content.

CreateSoundPathResolver()

Creates a path resolver that resolves paths to sound content.

public static Velaptor.Content.IContentPathResolver CreateSoundPathResolver();

Returns

IContentPathResolver
The resolver to sound content.

CreateSystemFontPathResolver()

Creates a path resolver that resolves paths to fonts in the system's font directory.

public static Velaptor.Content.IContentPathResolver CreateSystemFontPathResolver();

Returns

IContentPathResolver
The resolver instance.

CreateTexturePathResolver()

Creates a path resolver that resolves paths to texture content.

public static Velaptor.Content.IContentPathResolver CreateTexturePathResolver();

Returns

IContentPathResolver
The resolver to texture content.