public HRESULT BuildArguments([NativeTypeName("LPCWSTR")] ushort *pSourceName, [NativeTypeName("LPCWSTR")] ushort *pEntryPoint, [NativeTypeName("LPCWSTR")] ushort *pTargetProfile, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, [NativeTypeName("const DxcDefine *")] DxcDefine *pDefines, [NativeTypeName("UINT32")] uint defineCount, IDxcCompilerArgs **ppArgs)
 {
     return(((delegate * unmanaged <IDxcUtils *, ushort *, ushort *, ushort *, ushort **, uint, DxcDefine *, uint, IDxcCompilerArgs **, int>)(lpVtbl[14]))((IDxcUtils *)Unsafe.AsPointer(ref this), pSourceName, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, ppArgs));
 }
Example #2
0
 public int Preprocess(IDxcBlob *pSource, [NativeTypeName("LPCWSTR")] ushort *pSourceName, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, [NativeTypeName("const DxcDefine *")] DxcDefine *pDefines, [NativeTypeName("UINT32")] uint defineCount, IDxcIncludeHandler *pIncludeHandler, IDxcOperationResult **ppResult)
 {
     return(((delegate * unmanaged <IDxcCompiler *, IDxcBlob *, ushort *, ushort **, uint, DxcDefine *, uint, IDxcIncludeHandler *, IDxcOperationResult **, int>)(lpVtbl[4]))((IDxcCompiler *)Unsafe.AsPointer(ref this), pSource, pSourceName, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult));
 }
 public int CompileWithDebug([NativeTypeName("IDxcBlob *")] IDxcBlob *pSource, [NativeTypeName("LPCWSTR")] ushort *pSourceName, [NativeTypeName("LPCWSTR")] ushort *pEntryPoint, [NativeTypeName("LPCWSTR")] ushort *pTargetProfile, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, [NativeTypeName("const DxcDefine *")] DxcDefine *pDefines, [NativeTypeName("UINT32")] uint defineCount, [NativeTypeName("IDxcIncludeHandler *")] IDxcIncludeHandler *pIncludeHandler, [NativeTypeName("IDxcOperationResult **")] IDxcOperationResult **ppResult, [NativeTypeName("LPWSTR *")] ushort **ppDebugBlobName, [NativeTypeName("IDxcBlob **")] IDxcBlob **ppDebugBlob)
 {
     return(((delegate * unmanaged <IDxcCompiler2 *, IDxcBlob *, ushort *, ushort *, ushort *, ushort **, uint, DxcDefine *, uint, IDxcIncludeHandler *, IDxcOperationResult **, ushort **, IDxcBlob **, int>)(lpVtbl[6]))((IDxcCompiler2 *)Unsafe.AsPointer(ref this), pSource, pSourceName, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult, ppDebugBlobName, ppDebugBlob));
 }
 public HRESULT AddDefines([NativeTypeName("const DxcDefine *")] DxcDefine *pDefines, [NativeTypeName("UINT32")] uint defineCount)
 {
     return(((delegate * unmanaged <IDxcCompilerArgs *, DxcDefine *, uint, int>)(lpVtbl[7]))((IDxcCompilerArgs *)Unsafe.AsPointer(ref this), pDefines, defineCount));
 }