TextureLoader Class (Microsoft.DirectX.Direct3D)
Contains functions to load and save textures.
Definition
Visual Basic NotInheritable MustInherit Public Class TextureLoader
Inherits ObjectC# public abstract sealed class TextureLoader : Object C++ public ref class TextureLoader abstract sealed : Object JScript public final abstract class TextureLoader extends Object
Members Table
The following table lists the members exposed by the object.
Methods
Method Description CheckCubeTextureRequirements Checks creation parameters for a cube texture. CheckTextureRequirements Checks creation parameters for a texture. CheckVolumeTextureRequirements Checks creation parameters for a volume texture. ComputeNormalMap Converts a height map into a normal map. FillTexture Uses a user-provided function or a compiled high-level shader language (HLSL) function to fill each texel of each mip level of a given texture. FilterTexture Filters mipmap levels of a texture. FromCubeFile Creates a cube texture from a file. FromCubeStream Creates a cube texture from a file in memory. FromFile Creates a texture from a file. FromStream Creates a texture from a file in memory. FromVolumeFile Creates a volume texture from a file. FromVolumeStream Creates a volume texture from a file in memory. ImageInformationFromFile Retrieves information about a given image file. ImageInformationFromStream Retrieves information about an image file in memory. Save Saves a texture to a file. SaveToStream Saves a volume to a graphics stream.
Inheritance Hierarchy
TextureLoader
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) Strong Name Microsoft.DirectX.Direct3DX, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492