Interface ITextureFactoryProvider
Finds the texture factory for a texture type and parameter type, and creates textures through it.
public interface ITextureFactoryProvider
Methods
CreateTexture<TTexture, TTextureParameters>(TTextureParameters)
Creates the texture that parameters describe, using the factory for its types.
TTexture CreateTexture<TTexture, TTextureParameters>(TTextureParameters parameters) where TTexture : class, ITexture where TTextureParameters : ITextureParameters
Parameters
parametersTTextureParameters
Returns
- TTexture
Type Parameters
TTextureTTextureParameters
GetFactory<TTexture, TTextureParameters>()
Returns the factory that creates TTexture from TTextureParameters.
ITextureFactory<TTexture, TTextureParameters> GetFactory<TTexture, TTextureParameters>() where TTexture : class, ITexture where TTextureParameters : ITextureParameters
Returns
- ITextureFactory<TTexture, TTextureParameters>
Type Parameters
TTextureTTextureParameters