IDxcCompiler3::Compile 函数 (dxcapi.h) 项目 2024/11/09 本文内容 语法 参数 要求 编译着色器。 根据参数,可以使用此方法: 将单个入口点编译到目标着色器模型 将库编译到库目标(-T lib_*) 编译根签名(-T rootsig_*), 预处理 HLSL 源 (-P) ...
Compile a shader. Depending on the arguments, you can use this method to: Compile a single entry point to the target shader model Compile a library to a library target (-T lib_*) Compile a root signature (-T rootsig_*), Preprocess HLSL source (-P) You can use IDxcUtils::BuildArgume...
HRESULT Compile( const DxcBuffer *pSource, LPCWSTR *pArguments, UINT32 argCount, IDxcIncludeHandler *pIncludeHandler, REFIID riid, LPVOID *ppResult ); 參數 pSource 要編譯的來源文字。 pArguments 自變數指標的陣列。 argCount 引數數目。 pIncludeHandler 用來處理 #include 指示詞的選擇性使用者提供介面...
The source text to compile. pArguments An array of pointers to arguments. argCount The number of arguments. pIncludeHandler An optional user-provided interface to handle#includedirectives. riid The interface ID for the result. ppResult AnIDxcResultrepresenting the compiler output status, buffer, and...
IDxcCompiler3::Compile function (dxcapi.h) מאמר 23.02.2024 משוב במאמר זה Syntax Parameters Requirements Compile a shader. Depending on the arguments, you can use this method to: Compile a single entry point to the target shader model Compile a ...
Compile a shader. Depending on the arguments, you can use this method to: Compile a single entry point to the target shader model Compile a library to a library target (-T lib_*) Compile a root signature (-T rootsig_*), Preprocess HLSL source (-P) You can use IDxcUtils::BuildArgume...
The source text to compile. pArguments An array of pointers to arguments. argCount The number of arguments. pIncludeHandler An optional user-provided interface to handle#includedirectives. riid The interface ID for the result. ppResult AnIDxcResultrepresenting the compiler output status, buffer, and...
Compile a single entry point to the target shader model, or compile a library to a library target, or compile a root signature, or preprocess HLSL source.
HRESULT Compile( const DxcBuffer *pSource, LPCWSTR *pArguments, UINT32 argCount, IDxcIncludeHandler *pIncludeHandler, REFIID riid, LPVOID *ppResult ); 參數 pSource 要編譯的來源文字。 pArguments 引數指標的陣列。 argCount 引數數目。 pIncludeHandler 用來處理 #include 指示詞的選擇性使用者提供介面。
Compile a single entry point to the target shader model, or compile a library to a library target, or compile a root signature, or preprocess HLSL source.