Share via


RenderCapability.MaxPixelShaderInstructionSlots(Int16, Int16) 메서드

정의

현재 픽셀 셰이더 버전에서 지원되는 최대 명령 슬롯 수를 가져옵니다.

public:
 static int MaxPixelShaderInstructionSlots(short majorVersionRequested, short minorVersionRequested);
public static int MaxPixelShaderInstructionSlots (short majorVersionRequested, short minorVersionRequested);
static member MaxPixelShaderInstructionSlots : int16 * int16 -> int
Public Shared Function MaxPixelShaderInstructionSlots (majorVersionRequested As Short, minorVersionRequested As Short) As Integer

매개 변수

majorVersionRequested
Int16

픽셀 셰이더의 주 버전입니다.

minorVersionRequested
Int16

픽셀 셰이더의 부 버전입니다.

반환

Int32

픽셀 셰이더 2.0의 경우 96, 픽셀 셰이더 3.0의 경우 512 이상 또는 기타 버전 픽셀 셰이더의 경우 0입니다.

설명

픽셀 셰이더 3.0에서 지원하는 명령 슬롯 수는 다양하지만 항상 512 이상입니다.

픽셀 셰이더 2.0 및 3.0만 지원됩니다.

적용 대상

추가 정보