ShaderLoader Class (Microsoft.DirectX.Direct3D)
Encapsulates the functionality for loading shader objects.
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.
Object
ShaderLoader
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
Show:
