Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encapsulates the functionality for loading shader objects.
Definition
Visual Basic NotInheritable MustInherit Public Class ShaderLoader
Inherits ObjectC# public abstract sealed class ShaderLoader : Object C++ public ref class ShaderLoader abstract sealed : Object JScript public final abstract class ShaderLoader extends Object
Members Table
The following table lists the members exposed by the object.
Methods
Method Description CompileShader
CompileShaderFromFile
CompileShaderFromStream
DisassembleShader
Disassembles a shader. FromFile
Assembles a shader from a file. FromStream
Assembles a shader from a stream. FromString
Assembles a shader from a string. GetPixelShaderProfile
Returns the name of the high-level shader language (HLSL) profile that is best suited to a given device. GetSamplers
Gets the sampler names referenced in a shader. GetShaderInputSemantics
Retrieves the semantics for all shader input elements. GetShaderOutputSemantics
Retrieves the semantics for all shader output elements. GetShaderSize
Returns the size of the shader byte code, in bytes. GetShaderVersion
Returns the version of the compiled shader. GetVertexShaderProfile
Returns the name of the high-level shader language (HLSL) profile that is best suited to a given device.
Inheritance Hierarchy
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
.gif)