Skip to content

Latest commit

 

History

History
141 lines (93 loc) · 4.48 KB

ns-d3d11shader-d3d11_parameter_desc.md

File metadata and controls

141 lines (93 loc) · 4.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:d3d11shader._D3D11_PARAMETER_DESC
D3D11_PARAMETER_DESC (d3d11shader.h)
Describes a function parameter. (D3D11_PARAMETER_DESC)
D3D11_PARAMETER_DESC
D3D11_PARAMETER_DESC structure [Direct3D 11]
d3d11shader/D3D11_PARAMETER_DESC
direct3d11.d3d11_parameter_desc
direct3d11\d3d11_parameter_desc.htm
direct3d11
C6F1079C-A686-44EA-933B-9DE2D70CFA33
12/05/2018
D3D11_PARAMETER_DESC, D3D11_PARAMETER_DESC structure [Direct3D 11], d3d11shader/D3D11_PARAMETER_DESC, direct3d11.d3d11_parameter_desc
d3d11shader.h
Windows
Windows
D3D11_PARAMETER_DESC
19H1
_D3D11_PARAMETER_DESC
d3d11shader/_D3D11_PARAMETER_DESC
D3D11_PARAMETER_DESC
d3d11shader/D3D11_PARAMETER_DESC
c++
APIRef
kbSyntax
HeaderDef
D3D11Shader.h
D3D11_PARAMETER_DESC

D3D11_PARAMETER_DESC structure

-description

Describes a function parameter.

-struct-fields

-field Name

Type: LPCSTR

The name of the function parameter.

-field SemanticName

Type: LPCSTR

The HLSL semantic that is associated with this function parameter. This name includes the index, for example, SV_Target[n].

-field Type

Type: D3D_SHADER_VARIABLE_TYPE

A D3D_SHADER_VARIABLE_TYPE-typed value that identifies the variable type for the parameter.

-field Class

Type: D3D_SHADER_VARIABLE_CLASS

A D3D_SHADER_VARIABLE_CLASS-typed value that identifies the variable class for the parameter as one of scalar, vector, matrix, object, and so on.

-field Rows

Type: UINT

The number of rows for a matrix parameter.

-field Columns

Type: UINT

The number of columns for a matrix parameter.

-field InterpolationMode

Type: D3D_INTERPOLATION_MODE

A D3D_INTERPOLATION_MODE-typed value that identifies the interpolation mode for the parameter.

-field Flags

Type: D3D_PARAMETER_FLAGS

A combination of D3D_PARAMETER_FLAGS-typed values that are combined by using a bitwise OR operation. The resulting value specifies semantic flags for the parameter.

-field FirstInRegister

Type: UINT

The first input register for this parameter.

-field FirstInComponent

Type: UINT

The first input register component for this parameter.

-field FirstOutRegister

Type: UINT

The first output register for this parameter.

-field FirstOutComponent

Type: UINT

The first output register component for this parameter.

-remarks

Get a function-parameter description by calling ID3D11FunctionParameterReflection::GetDesc.

-see-also

ID3D11FunctionParameterReflection::GetDesc

Shader Structures