Table of Contents

Interface ITextureFactory<TTexture, TTextureParameters>

Namespace
BSGameLib.Game.Textures
Assembly
BSGameLib.Game.dll

Creates textures of one type from one kind of parameters.

public interface ITextureFactory<out TTexture, in TTextureParameters> where TTexture : class, ITexture where TTextureParameters : ITextureParameters

Type Parameters

TTexture
TTextureParameters

Methods

CreateTexture(TTextureParameters)

Creates the texture that parameters describe.

TTexture CreateTexture(TTextureParameters parameters)

Parameters

parameters TTextureParameters

Returns

TTexture