Skip to main content
Version: 1.0.0-preview.35

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.

CreateAudioPathResolver()

Creates a path resolver that resolves paths to audio content.

public static Velaptor.Content.IContentPathResolver CreateAudioPathResolver();

Returns

IContentPathResolver
The resolver to audio 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.

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.