取得著色器在指定索引處定義。 該值可以選擇性地為 null,例如 /DFOO 與 /DFOO=BAR。
語法
HRESULT GetDefine(
UINT32 index,
LPCWSTR * name,
LPCWSTR * value);
參數
index
沒有提供描述。
name
沒有提供描述。
value
沒有提供描述。
傳回
傳回值 HRESULT 。
取得著色器在指定索引處定義。 該值可以選擇性地為 null,例如 /DFOO 與 /DFOO=BAR。
HRESULT GetDefine(
UINT32 index,
LPCWSTR * name,
LPCWSTR * value);
index
沒有提供描述。
name
沒有提供描述。
value
沒有提供描述。
傳回值 HRESULT 。