Improve this doc

D3DCompiler API

This page is automatically generated from the assembly documentation.

It provides links between managed types and methods in the SharpDX.D3DCompiler assembly and the original documentation of the D3DCompiler API on MSDN.

The Direct3D shader compiler API.

Enumerations

Managed Native
ConstantBufferFlags D3D_SHADER_CBUFFER_FLAGS<p>Values that identify the indended use of a constant-data buffer.</p>
ConstantBufferType D3D_CBUFFER_TYPE<p>Values that identify the intended use of constant-buffer data.</p>
DisassemblyFlags D3DCOMPILE_DISASM_FLAGS<p>No documentation.</p>
EffectFlags D3DCOMPILE_EFFECT_FLAGS<p>No documentation.</p>
IncludeType D3D_INCLUDE_TYPE<p>Values that indicate the location of a shader #include file.</p>
InputPrimitive D3D_PRIMITIVE<p>Values that indicate how the pipeline interprets geometry or hull shader input primitives.</p>
ParameterFlags D3D_PARAMETER_FLAGS<p>Indicates semantic flags for function parameters.</p>
RegisterComponentMaskFlags ???<p>No documentation.</p>
RegisterComponentType D3D_REGISTER_COMPONENT_TYPE<p>Values that identify the data types that can be stored in a register.</p>
ResourceReturnType D3D_RESOURCE_RETURN_TYPE<p>Values that identify the return type of a resource.</p>
SecondaryDataFlags D3DCOMPILE_SECDATA_FLAGS<p>No documentation.</p>
ShaderBytecodePart D3D_BLOB_PART<p>Values that identify parts of the content of an arbitrary length data buffer.</p>
ShaderFlags D3DCOMPILE_SHADER_FLAGS<p>Describes a shader.</p>
ShaderInputFlags D3D_SHADER_INPUT_FLAGS<p>Values that identify shader-input options.</p>
ShaderInputType D3D_SHADER_INPUT_TYPE<p>Values that identify resource types that can be bound to a shader and that are reflected as part of the resource description for the shader.</p>
ShaderRequiresFlags D3DCOMPILE_SHADER_REQUIRES_FLAGS<p>No documentation.</p>
ShaderVariableClass D3D_SHADER_VARIABLE_CLASS<p>Values that identify the class of a shader variable.</p>
ShaderVariableFlags D3D_SHADER_VARIABLE_FLAGS<p>Values that identify information about a shader variable.</p>
ShaderVariableType D3D_SHADER_VARIABLE_TYPE<p>Values that identify various data, texture, and buffer types that can be assigned to a shader variable.</p>
ShaderVersion D3D11_SHADER_VERSION_TYPE<p>Indicates shader type.</p>
StripFlags D3DCOMPILER_STRIP_FLAGS<p>Strip flag options.</p>
SystemValueType D3D_NAME<p>Values that identify shader parameters that use system-value semantics.</p>
TessellatorDomain D3D_TESSELLATOR_DOMAIN<p>Values that identify domain options for tessellator data.</p>
TessellatorOutputPrimitive D3D_TESSELLATOR_OUTPUT_PRIMITIVE<p>Values that identify output primitive types.</p>
TessellatorPartitioning D3D_TESSELLATOR_PARTITIONING<p>Values that identify partitioning options.</p>

Structures

Managed Native
ConstantBuffer ID3D11ShaderReflectionConstantBuffer<p>This shader-reflection interface provides access to a constant buffer.</p>
ConstantBufferDescription D3D11_SHADER_BUFFER_DESC<p>Describes a shader constant-buffer.</p>
FunctionDescription D3D11_FUNCTION_DESC<p>Describes a function.</p>
FunctionParameterReflection ID3D11FunctionParameterReflection<p>A function-parameter-reflection interface accesses function-parameter info.</p>
FunctionReflection ID3D11FunctionReflection<p>A function-reflection interface accesses function info.</p>
Include ID3DInclude<p> is an include interface that the user implements to allow an application to call user-overridable methods for opening and closing shader #include files.</p>
InputBindingDescription D3D11_SHADER_INPUT_BIND_DESC<p>Describes how a shader resource is bound to a shader input.</p>
LibraryDescription D3D11_LIBRARY_DESC<p>Describes a library.</p>
ParameterDescription D3D11_PARAMETER_DESC<p>Describes a function parameter.</p>
ShaderBytecode ???<p>Represents the compiled bytecode of a shader or effect.</p>
ShaderDescription D3D11_SHADER_DESC<p>Describes a shader.</p>
ShaderParameterDescription D3D11_SIGNATURE_PARAMETER_DESC<p>Describes a shader signature.</p>
ShaderReflectionType ID3D11ShaderReflectionType<p>This shader-reflection interface provides access to variable type.</p>
ShaderReflectionVariable ID3D11ShaderReflectionVariable<p>This shader-reflection interface provides access to a variable.</p>
ShaderTypeDescription D3D11_SHADER_TYPE_DESC<p>Describes a shader-variable type.</p>
ShaderVariableDescription D3D11_SHADER_VARIABLE_DESC<p>Describes a shader variable.</p>

Interfaces

Managed Native
FunctionLinkingGraph<ul><li>CallFunction</li><li>CallFunction</li><li>CreateModuleInstance</li><li>GenerateHlsl</li><li>LastError</li><li>PassValue</li><li>PassValue</li><li>PassValueWithSwizzle</li><li>SetInputSignature</li><li>SetOutputSignature</li><li>SetOutputSignature</li></ul> ID3D11FunctionLinkingGraph<ul><li>CallFunction</li><li>CallFunction</li><li>CreateModuleInstance</li><li>GenerateHlsl</li><li>GetLastError</li><li>PassValue</li><li>PassValue</li><li>PassValueWithSwizzle</li><li>SetInputSignature</li><li>SetOutputSignature</li><li>SetOutputSignature</li></ul><p>[This documentation is preliminary and is subject to change.</p>
LibraryReflection<ul><li>Description</li><li>GetFunctionByIndex</li></ul> ID3D11LibraryReflection<ul><li>GetDesc</li><li>GetFunctionByIndex</li></ul><p>A library-reflection interface accesses library info.</p>
Linker<ul><li>AddClipPlaneFromCBuffer</li><li>Link</li><li>UseLibrary</li></ul> ID3D11Linker<ul><li>AddClipPlaneFromCBuffer</li><li>Link</li><li>UseLibrary</li></ul><p>A linker interface is used to link a shader module.</p>
LinkingNode ID3D11LinkingNode<p>A linking-node interface is used for shader linking.</p>
Module ID3D11Module<p>A module interface creates an instance of a module that is used for resource rebinding.</p>
ModuleInstance<ul><li>BindConstantBuffer</li><li>BindConstantBufferByName</li><li>BindResource</li><li>BindResourceAsUnorderedAccessView</li><li>BindResourceAsUnorderedAccessViewByName</li><li>BindResourceByName</li><li>BindSampler</li><li>BindSamplerByName</li><li>BindUnorderedAccessView</li><li>BindUnorderedAccessViewByName</li></ul> ID3D11ModuleInstance<ul><li>BindConstantBuffer</li><li>BindConstantBufferByName</li><li>BindResource</li><li>BindResourceAsUnorderedAccessView</li><li>BindResourceAsUnorderedAccessViewByName</li><li>BindResourceByName</li><li>BindSampler</li><li>BindSamplerByName</li><li>BindUnorderedAccessView</li><li>BindUnorderedAccessViewByName</li></ul><p>A module-instance interface is used for resource rebinding.</p>
ShaderReflection<ul><li>BitwiseInstructionCount</li><li>ConditionalMoveInstructionCount</li><li>ConversionInstructionCount</li><li>Description</li><li>GeometryShaderSInputPrimitive</li><li>GetConstantBuffer</li><li>GetConstantBuffer</li><li>GetInputParameterDescription</li><li>GetOutputParameterDescription</li><li>GetPatchConstantParameterDescription</li><li>GetResourceBindingDescription</li><li>GetResourceBindingDescription</li><li>GetThreadGroupSize</li><li>GetVariable</li><li>InterfaceSlotCount</li><li>IsSampleFrequencyShader</li><li>MinFeatureLevel</li><li>MoveInstructionCount</li><li>RequiresFlags</li></ul> ID3D11ShaderReflection<ul><li>GetBitwiseInstructionCount</li><li>GetMovcInstructionCount</li><li>GetConversionInstructionCount</li><li>GetDesc</li><li>GetGSInputPrimitive</li><li>GetConstantBufferByIndex</li><li>GetConstantBufferByName</li><li>GetInputParameterDesc</li><li>GetOutputParameterDesc</li><li>GetPatchConstantParameterDesc</li><li>GetResourceBindingDesc</li><li>GetResourceBindingDescByName</li><li>GetThreadGroupSize</li><li>GetVariableByName</li><li>GetNumInterfaceSlots</li><li>IsSampleFrequencyShader</li><li>GetMinFeatureLevel</li><li>GetMovInstructionCount</li><li>GetRequiresFlags</li></ul><p>A shader-reflection interface accesses shader information.</p>