Table of Contents

Class TextureModelRepository

Namespace
HelixToolkit.SharpDX.Utilities
Assembly
HelixToolkit.SharpDX.dll
public sealed class TextureModelRepository : ITextureModelRepository
Inheritance
TextureModelRepository
Implements
Inherited Members

Methods

Create(Stream?)

Creates texture model from a specified stream such as memory stream or file stream.

This is used for implicit conversion from a Stream to TextureModel

public TextureModel? Create(Stream? stream)

Parameters

stream Stream

The stream.

Returns

TextureModel

Create(string)

Creates texture model from a specified texture path

public TextureModel? Create(string texturePath)

Parameters

texturePath string

The texture path.

Returns

TextureModel