ShaderLoader Class

Language:

Encapsulates the functionality for loading shader objects.

Definition

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

Members Table

Method Description
static (Shared in Visual Basic) CompileShader
static (Shared in Visual Basic) CompileShaderFromFile
static (Shared in Visual Basic) CompileShaderFromStream
static (Shared in Visual Basic) DisassembleShader Disassembles a shader.
static (Shared in Visual Basic) FromFile Assembles a shader from a file.
static (Shared in Visual Basic) FromStream Assembles a shader from a stream.
static (Shared in Visual Basic) FromString Assembles a shader from a string.
static (Shared in Visual Basic) GetPixelShaderProfile Returns the name of the high-level shader language (HLSL) profile that is best suited to a given device.
static (Shared in Visual Basic) GetSamplers Gets the sampler names referenced in a shader.
static (Shared in Visual Basic) GetShaderInputSemantics Retrieves the semantics for all shader input elements.
static (Shared in Visual Basic) GetShaderOutputSemantics Retrieves the semantics for all shader output elements.
static (Shared in Visual Basic) GetShaderSize Returns the size of the shader byte code, in bytes.
static (Shared in Visual Basic) GetShaderVersion Returns the version of the compiled shader.
static (Shared in Visual Basic) GetVertexShaderProfile Returns the name of the high-level shader language (HLSL) profile that is best suited to a given device.

Inheritance Hierarchy

Object Leave Site
ShaderLoader

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