ID3D10ShaderReflectionVariable 介面 (d3d10shader.h)
這個著色器反映介面可讓您存取變數。
方法
ID3D10ShaderReflectionVariable介面具有這些方法。
ID3D10ShaderReflectionVariable::GetDesc 取得著色器變數描述。 (ID3D10ShaderReflectionVariable.GetDesc) |
ID3D10ShaderReflectionVariable::GetType 取得著色器變數類型。 (ID3D10ShaderReflectionVariable.GetType) |
備註
若要取得著色器-反映變數介面,請呼叫 ID3D10ShaderReflectionConstantBuffer::GetVariableByIndex之類的方法。
規格需求
目標平台 | Windows |
標頭 | d3d10shader.h |
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應