Click or drag to resize
AB4D logo

InputElementFactoryIsSupportedInputLayout Method

Returns boolean that specifies if the requiredInputLayout can be used with the availableInputLayout.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public static bool IsSupportedInputLayout(
	InputLayoutType availableInputLayout,
	InputLayoutType requiredInputLayout
)

Parameters

availableInputLayout  InputLayoutType
available InputLayout
requiredInputLayout  InputLayoutType
required InputLayout

Return Value

Boolean
boolean that specifies if the requiredInputLayout can be used with the availableInputLayout
Remarks

IsSupportedInputLayout returns boolean that specifies if the requiredInputLayout can be used with the availableInputLayout.

For example Position_Normal_TextureCoordinate input layout can be used for effects that require Position_Normal input layout.

See Also