TextureLoader Class

Language:

Contains functions to load and save textures.

Definition

Visual Basic NotInheritable MustInherit Public Class TextureLoader
    Inherits Object
C# public abstract sealed class TextureLoader : Object
C++ public ref class TextureLoader abstract sealed : Object
JScript public final abstract class TextureLoader extends Object

Members Table

Method Description
static (Shared in Visual Basic) CheckCubeTextureRequirements Checks creation parameters for a cube texture.
static (Shared in Visual Basic) CheckTextureRequirements Checks creation parameters for a texture.
static (Shared in Visual Basic) CheckVolumeTextureRequirements Checks creation parameters for a volume texture.
static (Shared in Visual Basic) ComputeNormalMap Converts a height map into a normal map.
static (Shared in Visual Basic) 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.
static (Shared in Visual Basic) FilterTexture Filters mipmap levels of a texture.
static (Shared in Visual Basic) FromCubeFile Creates a cube texture from a file.
static (Shared in Visual Basic) FromCubeStream Creates a cube texture from a file in memory.
static (Shared in Visual Basic) FromFile Creates a texture from a file.
static (Shared in Visual Basic) FromStream Creates a texture from a file in memory.
static (Shared in Visual Basic) FromVolumeFile Creates a volume texture from a file.
static (Shared in Visual Basic) FromVolumeStream Creates a volume texture from a file in memory.
static (Shared in Visual Basic) ImageInformationFromFile Retrieves information about a given image file.
static (Shared in Visual Basic) ImageInformationFromStream Retrieves information about an image file in memory.
static (Shared in Visual Basic) Save Saves a texture to a file.
static (Shared in Visual Basic) SaveToStream Saves a volume to a graphics stream.

Inheritance Hierarchy

Object Leave Site
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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center