ShaderLoader Class (Microsoft.DirectX.Direct3D)

Encapsulates the functionality for loading shader objects.

Definition

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

Members Table

The following table lists the members exposed by the object.

Methods

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

ObjectLeave 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