示例#1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int CreateIncludeHandler(ref IDxcIncludeHandler *ppResult)
        {
            var @this = (IDxcLibrary *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(IDxcIncludeHandler **ppResultPtr = &ppResult)
            {
                ret = ((delegate * unmanaged[Cdecl] < IDxcLibrary *, IDxcIncludeHandler **, int >)LpVtbl[9])(@this, ppResultPtr);
            }

            return(ret);
        }
 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 int Compile([NativeTypeName("const DxcBuffer *")] DxcBuffer *pSource, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, [NativeTypeName("IDxcIncludeHandler *")] IDxcIncludeHandler *pIncludeHandler, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppResult)
 {
     return(((delegate * stdcall <IDxcCompiler3 *, DxcBuffer *, ushort **, uint, IDxcIncludeHandler *, Guid *, void **, int>)(lpVtbl[3]))((IDxcCompiler3 *)Unsafe.AsPointer(ref this), pSource, pArguments, argCount, pIncludeHandler, riid, ppResult));
 }
示例#4
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));
 }