Texture2DMSArray::GetDimensions 函式
傳回資源的維度。
語法
void GetDimensions(
out UINT Width,
out UINT Height,
out UINT Elements,
out UINT NumberOfSamples
);
參數
-
寬度 [out]
-
類型: UINT
資源寬度,以紋素表示。
-
高度 [out]
-
類型: UINT
資源高度,以紋素表示。
-
元素 [out]
-
類型: UINT
陣列中的項目數。
-
NumberOfSamples [out]
-
類型: UINT
範例位置的數目。
傳回值
Nothing
備註
這是這個方法的多載版本清單。
void GetDimensions(out float Width,
out float Height,
out float Elements,
out float NumberOfSamples);
下列著色器類型支援此函式:
頂點 | 船體 | 網域 | 幾何形狀 | 像素 | 計算 |
---|---|---|---|---|---|
x | x |
另請參閱