D3D12_LIBRARY_DESC 結構 (d3d12shader.h)

描述連結庫。

語法

typedef struct _D3D12_LIBRARY_DESC {
  LPCSTR Creator;
  UINT   Flags;
  UINT   FunctionCount;
} D3D12_LIBRARY_DESC;

成員

Creator

連結庫的原點名稱。

Flags

使用位 OR 運算結合 的D3DCOMPILE常數 組合。 產生的值會指定編譯程式如何編譯。

FunctionCount

從連結庫導出的函式數目。

備註

此結構是由 ID3D12LibraryReflection::GetDesc 傳回。

規格需求

需求
標頭 d3d12shader.h

另請參閱

ID3D12LibraryReflection::GetDesc

著色器結構