mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Update metadata to 39.0.18-preview
Generator: Add initial Interface generation.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("091f7a26-1c1f-4948-904b-e6e3a8a771d5")]
|
||||
[NativeTypeName("struct IDxcAssembler : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcAssembler : INativeGuid
|
||||
public unsafe partial struct IDxcAssembler : IDxcAssembler.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcAssembler
|
||||
{
|
||||
@@ -79,5 +79,10 @@ public unsafe partial struct IDxcAssembler : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcAssembler*, IDxcBlob*, IDxcOperationResult**, int>)(lpVtbl[3]))((IDxcAssembler*)Unsafe.AsPointer(ref this), pShader, ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult AssembleToContainer(IDxcBlob* pShader, IDxcOperationResult** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("8ba5fb08-5195-40e2-ac58-0d989c3a0102")]
|
||||
[NativeTypeName("struct IDxcBlob : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcBlob : INativeGuid
|
||||
public unsafe partial struct IDxcBlob : IDxcBlob.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcBlob
|
||||
{
|
||||
@@ -86,5 +86,13 @@ public unsafe partial struct IDxcBlob : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcBlob*, nuint>)(lpVtbl[4]))((IDxcBlob*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
void* GetBufferPointer();
|
||||
|
||||
[VtblIndex(4)]
|
||||
nuint GetBufferSize();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("7241d424-2646-4191-97c0-98e96e42fc68")]
|
||||
[NativeTypeName("struct IDxcBlobEncoding : IDxcBlob")]
|
||||
[NativeInheritance("IDxcBlob")]
|
||||
public unsafe partial struct IDxcBlobEncoding : INativeGuid
|
||||
public unsafe partial struct IDxcBlobEncoding : IDxcBlobEncoding.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcBlobEncoding
|
||||
{
|
||||
@@ -95,5 +95,10 @@ public unsafe partial struct IDxcBlobEncoding : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcBlobEncoding*, Bool32*, DxcCp*, int>)(lpVtbl[5]))((IDxcBlobEncoding*)Unsafe.AsPointer(ref this), pKnown, pCodePage);
|
||||
}
|
||||
public interface Interface : IDxcBlob.Interface
|
||||
{
|
||||
[VtblIndex(5)]
|
||||
HResult GetEncoding(Bool32* pKnown, DxcCp* pCodePage);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("a3f84eab-0faa-497e-a39c-ee6ed60b2d84")]
|
||||
[NativeTypeName("struct IDxcBlobUtf16 : IDxcBlobEncoding")]
|
||||
[NativeInheritance("IDxcBlobEncoding")]
|
||||
public unsafe partial struct IDxcBlobUtf16 : INativeGuid
|
||||
public unsafe partial struct IDxcBlobUtf16 : IDxcBlobUtf16.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcBlobUtf16
|
||||
{
|
||||
@@ -110,5 +110,13 @@ public unsafe partial struct IDxcBlobUtf16 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcBlobUtf16*, nuint>)(lpVtbl[7]))((IDxcBlobUtf16*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IDxcBlobEncoding.Interface
|
||||
{
|
||||
[VtblIndex(6)]
|
||||
ushort* GetStringPointer();
|
||||
|
||||
[VtblIndex(7)]
|
||||
nuint GetStringLength();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("3da636c9-ba71-4024-a301-30cbf125305b")]
|
||||
[NativeTypeName("struct IDxcBlobUtf8 : IDxcBlobEncoding")]
|
||||
[NativeInheritance("IDxcBlobEncoding")]
|
||||
public unsafe partial struct IDxcBlobUtf8 : INativeGuid
|
||||
public unsafe partial struct IDxcBlobUtf8 : IDxcBlobUtf8.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcBlobUtf8
|
||||
{
|
||||
@@ -110,5 +110,13 @@ public unsafe partial struct IDxcBlobUtf8 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcBlobUtf8*, nuint>)(lpVtbl[7]))((IDxcBlobUtf8*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IDxcBlobEncoding.Interface
|
||||
{
|
||||
[VtblIndex(6)]
|
||||
sbyte* GetStringPointer();
|
||||
|
||||
[VtblIndex(7)]
|
||||
nuint GetStringLength();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("8c210bf3-011f-4422-8d70-6f9acb8db617")]
|
||||
[NativeTypeName("struct IDxcCompiler : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcCompiler : INativeGuid
|
||||
public unsafe partial struct IDxcCompiler : IDxcCompiler.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcCompiler
|
||||
{
|
||||
@@ -93,5 +93,16 @@ public unsafe partial struct IDxcCompiler : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcCompiler*, IDxcBlob*, IDxcBlobEncoding**, int>)(lpVtbl[5]))((IDxcCompiler*)Unsafe.AsPointer(ref this), pSource, ppDisassembly);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Compile(IDxcBlob* pSource, ushort* pSourceName, ushort* pEntryPoint, ushort* pTargetProfile, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcIncludeHandler* pIncludeHandler, IDxcOperationResult** ppResult);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult Preprocess(IDxcBlob* pSource, ushort* pSourceName, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcIncludeHandler* pIncludeHandler, IDxcOperationResult** ppResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult Disassemble(IDxcBlob* pSource, IDxcBlobEncoding** ppDisassembly);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("a005a9d9-b8bb-4594-b5c9-0e633bec4d37")]
|
||||
[NativeTypeName("struct IDxcCompiler2 : IDxcCompiler")]
|
||||
[NativeInheritance("IDxcCompiler")]
|
||||
public unsafe partial struct IDxcCompiler2 : INativeGuid
|
||||
public unsafe partial struct IDxcCompiler2 : IDxcCompiler2.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcCompiler2
|
||||
{
|
||||
@@ -103,5 +103,10 @@ public unsafe partial struct IDxcCompiler2 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<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 interface Interface : IDxcCompiler.Interface
|
||||
{
|
||||
[VtblIndex(6)]
|
||||
HResult CompileWithDebug(IDxcBlob* pSource, ushort* pSourceName, ushort* pEntryPoint, ushort* pTargetProfile, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcIncludeHandler* pIncludeHandler, IDxcOperationResult** ppResult, ushort** ppDebugBlobName, IDxcBlob** ppDebugBlob);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("228b4687-5a6a-4730-900c-9702b2203f54")]
|
||||
[NativeTypeName("struct IDxcCompiler3 : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcCompiler3 : INativeGuid
|
||||
public unsafe partial struct IDxcCompiler3 : IDxcCompiler3.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcCompiler3
|
||||
{
|
||||
@@ -86,5 +86,13 @@ public unsafe partial struct IDxcCompiler3 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcCompiler3*, DxcBuffer*, Guid*, void**, int>)(lpVtbl[4]))((IDxcCompiler3*)Unsafe.AsPointer(ref this), pObject, riid, ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Compile(DxcBuffer* pSource, ushort** pArguments, uint argCount, IDxcIncludeHandler* pIncludeHandler, Guid* riid, void** ppResult);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult Disassemble(DxcBuffer* pObject, Guid* riid, void** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("73effe2a-70dc-45f8-9690-eff64c02429d")]
|
||||
[NativeTypeName("struct IDxcCompilerArgs : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcCompilerArgs : INativeGuid
|
||||
public unsafe partial struct IDxcCompilerArgs : IDxcCompilerArgs.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcCompilerArgs
|
||||
{
|
||||
@@ -107,5 +107,22 @@ public unsafe partial struct IDxcCompilerArgs : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcCompilerArgs*, DxcDefine*, uint, int>)(lpVtbl[7]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this), pDefines, defineCount);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
ushort** GetArguments();
|
||||
|
||||
[VtblIndex(4)]
|
||||
uint GetCount();
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult AddArguments(ushort** pArguments, uint argCount);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult AddArgumentsUTF8(sbyte** pArguments, uint argCount);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult AddDefines(DxcDefine* pDefines, uint defineCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("334b1f50-2292-4b35-99a1-25588d8c17fe")]
|
||||
[NativeTypeName("struct IDxcContainerBuilder : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcContainerBuilder : INativeGuid
|
||||
public unsafe partial struct IDxcContainerBuilder : IDxcContainerBuilder.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcContainerBuilder
|
||||
{
|
||||
@@ -100,5 +100,19 @@ public unsafe partial struct IDxcContainerBuilder : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcContainerBuilder*, IDxcOperationResult**, int>)(lpVtbl[6]))((IDxcContainerBuilder*)Unsafe.AsPointer(ref this), ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Load(IDxcBlob* pDxilContainerHeader);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult AddPart(uint fourCC, IDxcBlob* pSource);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult RemovePart(uint fourCC);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult SerializeContainer(IDxcOperationResult** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("d2c21b26-8350-4bdc-976a-331ce6f4c54c")]
|
||||
[NativeTypeName("struct IDxcContainerReflection : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcContainerReflection : INativeGuid
|
||||
public unsafe partial struct IDxcContainerReflection : IDxcContainerReflection.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcContainerReflection
|
||||
{
|
||||
@@ -114,5 +114,25 @@ public unsafe partial struct IDxcContainerReflection : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcContainerReflection*, uint, Guid*, void**, int>)(lpVtbl[8]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), idx, iid, ppvObject);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Load(IDxcBlob* pContainer);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetPartCount(uint* pResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetPartKind(uint idx, uint* pResult);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult GetPartContent(uint idx, IDxcBlob** ppResult);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult FindFirstPartKind(uint kind, uint* pResult);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult GetPartReflection(uint idx, Guid* iid, void** ppvObject);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("319b37a2-a5c2-494a-a5de-4801b2faf989")]
|
||||
[NativeTypeName("struct IDxcExtraOutputs : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcExtraOutputs : INativeGuid
|
||||
public unsafe partial struct IDxcExtraOutputs : IDxcExtraOutputs.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcExtraOutputs
|
||||
{
|
||||
@@ -86,5 +86,13 @@ public unsafe partial struct IDxcExtraOutputs : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcExtraOutputs*, uint, Guid*, void**, IDxcBlobUtf16**, IDxcBlobUtf16**, int>)(lpVtbl[4]))((IDxcExtraOutputs*)Unsafe.AsPointer(ref this), uIndex, iid, ppvObject, ppOutputType, ppOutputName);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
uint GetOutputCount();
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetOutput(uint uIndex, Guid* iid, void** ppvObject, IDxcBlobUtf16** ppOutputType, IDxcBlobUtf16** ppOutputName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("7f61fc7d-950d-467f-b3e3-3c02fb49187c")]
|
||||
[NativeTypeName("struct IDxcIncludeHandler : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcIncludeHandler : INativeGuid
|
||||
public unsafe partial struct IDxcIncludeHandler : IDxcIncludeHandler.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcIncludeHandler
|
||||
{
|
||||
@@ -79,5 +79,10 @@ public unsafe partial struct IDxcIncludeHandler : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcIncludeHandler*, ushort*, IDxcBlob**, int>)(lpVtbl[3]))((IDxcIncludeHandler*)Unsafe.AsPointer(ref this), pFilename, ppIncludeSource);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult LoadSource(ushort* pFilename, IDxcBlob** ppIncludeSource);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("e5204dc7-d18c-4c3c-bdfb-851673980fe7")]
|
||||
[NativeTypeName("struct IDxcLibrary : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcLibrary : INativeGuid
|
||||
public unsafe partial struct IDxcLibrary : IDxcLibrary.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcLibrary
|
||||
{
|
||||
@@ -142,5 +142,37 @@ public unsafe partial struct IDxcLibrary : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcLibrary*, IDxcBlob*, IDxcBlobEncoding**, int>)(lpVtbl[12]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pBlob, pBlobEncoding);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult SetMalloc(Com.IMalloc* pMalloc);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult CreateBlobFromBlob(IDxcBlob* pBlob, uint offset, uint length, IDxcBlob** ppResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult CreateBlobFromFile(ushort* pFileName, DxcCp* codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult CreateBlobWithEncodingFromPinned(void* pText, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult CreateBlobWithEncodingOnHeapCopy(void* pText, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult CreateBlobWithEncodingOnMalloc(void* pText, Com.IMalloc* pIMalloc, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult CreateIncludeHandler(IDxcIncludeHandler** ppResult);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult CreateStreamFromBlobReadOnly(IDxcBlob* pBlob, Com.IStream** ppStream);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult GetBlobAsUtf8(IDxcBlob* pBlob, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult GetBlobAsUtf16(IDxcBlob* pBlob, IDxcBlobEncoding** pBlobEncoding);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("f1b5be2a-62dd-4327-a1c2-42ac1e1e78e6")]
|
||||
[NativeTypeName("struct IDxcLinker : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcLinker : INativeGuid
|
||||
public unsafe partial struct IDxcLinker : IDxcLinker.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcLinker
|
||||
{
|
||||
@@ -86,5 +86,13 @@ public unsafe partial struct IDxcLinker : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcLinker*, ushort*, ushort*, ushort**, uint, ushort**, uint, IDxcOperationResult**, int>)(lpVtbl[4]))((IDxcLinker*)Unsafe.AsPointer(ref this), pEntryName, pTargetProfile, pLibNames, libCount, pArguments, argCount, ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult RegisterLibrary(ushort* pLibName, IDxcBlob* pLib);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult Link(ushort* pEntryName, ushort* pTargetProfile, ushort** pLibNames, uint libCount, ushort** pArguments, uint argCount, IDxcOperationResult** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("cedb484a-d4e9-445a-b991-ca21ca157dc2")]
|
||||
[NativeTypeName("struct IDxcOperationResult : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcOperationResult : INativeGuid
|
||||
public unsafe partial struct IDxcOperationResult : IDxcOperationResult.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcOperationResult
|
||||
{
|
||||
@@ -93,5 +93,16 @@ public unsafe partial struct IDxcOperationResult : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcOperationResult*, IDxcBlobEncoding**, int>)(lpVtbl[5]))((IDxcOperationResult*)Unsafe.AsPointer(ref this), ppErrors);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult GetStatus(HResult* pStatus);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetResult(IDxcBlob** ppResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetErrorBuffer(IDxcBlobEncoding** ppErrors);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("25740e2e-9cba-401b-9119-4fb42f39f270")]
|
||||
[NativeTypeName("struct IDxcOptimizer : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcOptimizer : INativeGuid
|
||||
public unsafe partial struct IDxcOptimizer : IDxcOptimizer.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcOptimizer
|
||||
{
|
||||
@@ -93,5 +93,16 @@ public unsafe partial struct IDxcOptimizer : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcOptimizer*, IDxcBlob*, ushort**, uint, IDxcBlob**, IDxcBlobEncoding**, int>)(lpVtbl[5]))((IDxcOptimizer*)Unsafe.AsPointer(ref this), pBlob, ppOptions, optionCount, pOutputModule, ppOutputText);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult GetAvailablePassCount(uint* pCount);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetAvailablePass(uint index, IDxcOptimizerPass** ppResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult RunOptimizer(IDxcBlob* pBlob, ushort** ppOptions, uint optionCount, IDxcBlob** pOutputModule, IDxcBlobEncoding** ppOutputText);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("ae2cd79f-cc22-453f-9b6b-b124e7a5204c")]
|
||||
[NativeTypeName("struct IDxcOptimizerPass : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcOptimizerPass : INativeGuid
|
||||
public unsafe partial struct IDxcOptimizerPass : IDxcOptimizerPass.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcOptimizerPass
|
||||
{
|
||||
@@ -107,5 +107,22 @@ public unsafe partial struct IDxcOptimizerPass : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcOptimizerPass*, uint, ushort**, int>)(lpVtbl[7]))((IDxcOptimizerPass*)Unsafe.AsPointer(ref this), argIndex, ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult GetOptionName(ushort** ppResult);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetDescription(ushort** ppResult);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetOptionArgCount(uint* pCount);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult GetOptionArgName(uint argIndex, ushort** ppResult);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult GetOptionArgDescription(uint argIndex, ushort** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("e6c9647e-9d6a-4c3b-b94c-524b5a6c343d")]
|
||||
[NativeTypeName("struct IDxcPdbUtils : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcPdbUtils : INativeGuid
|
||||
public unsafe partial struct IDxcPdbUtils : IDxcPdbUtils.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcPdbUtils
|
||||
{
|
||||
@@ -240,5 +240,79 @@ public unsafe partial struct IDxcPdbUtils : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcPdbUtils*, ushort*, int>)(lpVtbl[26]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pRootSignature);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Load(IDxcBlob* pPdbOrDxil);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetSourceCount(uint* pCount);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult GetSource(uint uIndex, IDxcBlobEncoding** ppResult);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult GetSourceName(uint uIndex, char** pResult);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult GetFlagCount(uint* pCount);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult GetFlag(uint uIndex, char** pResult);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult GetArgCount(uint* pCount);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult GetArg(uint uIndex, char** pResult);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult GetArgPairCount(uint* pCount);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult GetArgPair(uint uIndex, char** pName, char** pValue);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult GetDefineCount(uint* pCount);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult GetDefine(uint uIndex, char** pResult);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult GetTargetProfile(char** pResult);
|
||||
|
||||
[VtblIndex(16)]
|
||||
HResult GetEntryPoint(char** pResult);
|
||||
|
||||
[VtblIndex(17)]
|
||||
HResult GetMainFileName(char** pResult);
|
||||
|
||||
[VtblIndex(18)]
|
||||
HResult GetHash(IDxcBlob** ppResult);
|
||||
|
||||
[VtblIndex(19)]
|
||||
HResult GetName(char** pResult);
|
||||
|
||||
[VtblIndex(20)]
|
||||
Bool32 IsFullPDB();
|
||||
|
||||
[VtblIndex(21)]
|
||||
HResult GetFullPDB(IDxcBlob** ppFullPDB);
|
||||
|
||||
[VtblIndex(22)]
|
||||
HResult GetVersionInfo(IDxcVersionInfo** ppVersionInfo);
|
||||
|
||||
[VtblIndex(23)]
|
||||
HResult SetCompiler(IDxcCompiler3* pCompiler);
|
||||
|
||||
[VtblIndex(24)]
|
||||
HResult CompileForFullPDB(IDxcResult** ppResult);
|
||||
|
||||
[VtblIndex(25)]
|
||||
HResult OverrideArgs(DxcArgPair* pArgPairs, uint uNumArgPairs);
|
||||
|
||||
[VtblIndex(26)]
|
||||
HResult OverrideRootSignature(ushort* pRootSignature);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("58346cda-dde7-4497-9461-6f87af5e0659")]
|
||||
[NativeTypeName("struct IDxcResult : IDxcOperationResult")]
|
||||
[NativeInheritance("IDxcOperationResult")]
|
||||
public unsafe partial struct IDxcResult : INativeGuid
|
||||
public unsafe partial struct IDxcResult : IDxcResult.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcResult
|
||||
{
|
||||
@@ -131,5 +131,22 @@ public unsafe partial struct IDxcResult : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcResult*, DxcOutKind>)(lpVtbl[10]))((IDxcResult*)Unsafe.AsPointer(ref this));
|
||||
}
|
||||
public interface Interface : IDxcOperationResult.Interface
|
||||
{
|
||||
[VtblIndex(6)]
|
||||
Bool32 HasOutput(DxcOutKind dxcOutKind);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult GetOutput(DxcOutKind dxcOutKind, Guid* iid, void** ppvObject, IDxcBlobUtf16** ppOutputName);
|
||||
|
||||
[VtblIndex(8)]
|
||||
uint GetNumOutputs();
|
||||
|
||||
[VtblIndex(9)]
|
||||
DxcOutKind GetOutputByIndex(uint Index);
|
||||
|
||||
[VtblIndex(10)]
|
||||
DxcOutKind PrimaryOutput();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("4605c4cb-2019-492a-ada4-65f20bb7d67f")]
|
||||
[NativeTypeName("struct IDxcUtils : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcUtils : INativeGuid
|
||||
public unsafe partial struct IDxcUtils : IDxcUtils.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcUtils
|
||||
{
|
||||
@@ -163,5 +163,46 @@ public unsafe partial struct IDxcUtils : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcUtils*, IDxcBlob*, IDxcBlob**, IDxcBlob**, int>)(lpVtbl[15]))((IDxcUtils*)Unsafe.AsPointer(ref this), pPDBBlob, ppHash, ppContainer);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult CreateBlobFromBlob(IDxcBlob* pBlob, uint offset, uint length, IDxcBlob** ppResult);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult CreateBlobFromPinned(void* pData, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(5)]
|
||||
HResult MoveToBlob(void* pData, Com.IMalloc* pIMalloc, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(6)]
|
||||
HResult CreateBlob(void* pData, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(7)]
|
||||
HResult LoadFile(ushort* pFileName, DxcCp* pCodePage, IDxcBlobEncoding** pBlobEncoding);
|
||||
|
||||
[VtblIndex(8)]
|
||||
HResult CreateReadOnlyStreamFromBlob(IDxcBlob* pBlob, Com.IStream** ppStream);
|
||||
|
||||
[VtblIndex(9)]
|
||||
HResult CreateDefaultIncludeHandler(IDxcIncludeHandler** ppResult);
|
||||
|
||||
[VtblIndex(10)]
|
||||
HResult GetBlobAsUtf8(IDxcBlob* pBlob, IDxcBlobUtf8** pBlobEncoding);
|
||||
|
||||
[VtblIndex(11)]
|
||||
HResult GetBlobAsUtf16(IDxcBlob* pBlob, IDxcBlobUtf16** pBlobEncoding);
|
||||
|
||||
[VtblIndex(12)]
|
||||
HResult GetDxilContainerPart(DxcBuffer* pShader, uint DxcPart, void** ppPartData, uint* pPartSizeInBytes);
|
||||
|
||||
[VtblIndex(13)]
|
||||
HResult CreateReflection(DxcBuffer* pData, Guid* iid, void** ppvReflection);
|
||||
|
||||
[VtblIndex(14)]
|
||||
HResult BuildArguments(ushort* pSourceName, ushort* pEntryPoint, ushort* pTargetProfile, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcCompilerArgs** ppArgs);
|
||||
|
||||
[VtblIndex(15)]
|
||||
HResult GetPDBContents(IDxcBlob* pPDBBlob, IDxcBlob** ppHash, IDxcBlob** ppContainer);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("a6e82bd2-1fd7-4826-9811-2857e797f49a")]
|
||||
[NativeTypeName("struct IDxcValidator : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcValidator : INativeGuid
|
||||
public unsafe partial struct IDxcValidator : IDxcValidator.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcValidator
|
||||
{
|
||||
@@ -79,5 +79,10 @@ public unsafe partial struct IDxcValidator : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcValidator*, IDxcBlob*, DxcValidatorFlags, IDxcOperationResult**, int>)(lpVtbl[3]))((IDxcValidator*)Unsafe.AsPointer(ref this), pShader, Flags, ppResult);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult Validate(IDxcBlob* pShader, DxcValidatorFlags Flags, IDxcOperationResult** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("458e1fd1-b1b2-4750-a6e1-9c10f03bed92")]
|
||||
[NativeTypeName("struct IDxcValidator2 : IDxcValidator")]
|
||||
[NativeInheritance("IDxcValidator")]
|
||||
public unsafe partial struct IDxcValidator2 : INativeGuid
|
||||
public unsafe partial struct IDxcValidator2 : IDxcValidator2.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcValidator2
|
||||
{
|
||||
@@ -87,5 +87,10 @@ public unsafe partial struct IDxcValidator2 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcValidator2*, IDxcBlob*, DxcValidatorFlags, DxcBuffer*, IDxcOperationResult**, int>)(lpVtbl[4]))((IDxcValidator2*)Unsafe.AsPointer(ref this), pShader, Flags, pOptDebugBitcode, ppResult);
|
||||
}
|
||||
public interface Interface : IDxcValidator.Interface
|
||||
{
|
||||
[VtblIndex(4)]
|
||||
HResult ValidateWithDebug(IDxcBlob* pShader, DxcValidatorFlags Flags, DxcBuffer* pOptDebugBitcode, IDxcOperationResult** ppResult);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("b04f5b50-2059-4f12-a8ff-a1e0cde1cc7e")]
|
||||
[NativeTypeName("struct IDxcVersionInfo : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcVersionInfo : INativeGuid
|
||||
public unsafe partial struct IDxcVersionInfo : IDxcVersionInfo.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcVersionInfo
|
||||
{
|
||||
@@ -86,5 +86,13 @@ public unsafe partial struct IDxcVersionInfo : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcVersionInfo*, DxcVersionInfoFlags*, int>)(lpVtbl[4]))((IDxcVersionInfo*)Unsafe.AsPointer(ref this), pFlags);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult GetVersion(uint* pMajor, uint* pMinor);
|
||||
|
||||
[VtblIndex(4)]
|
||||
HResult GetFlags(DxcVersionInfoFlags* pFlags);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("fb6904c4-42f0-4b62-9c46-983af7da7c83")]
|
||||
[NativeTypeName("struct IDxcVersionInfo2 : IDxcVersionInfo")]
|
||||
[NativeInheritance("IDxcVersionInfo")]
|
||||
public unsafe partial struct IDxcVersionInfo2 : INativeGuid
|
||||
public unsafe partial struct IDxcVersionInfo2 : IDxcVersionInfo2.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcVersionInfo2
|
||||
{
|
||||
@@ -95,5 +95,10 @@ public unsafe partial struct IDxcVersionInfo2 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcVersionInfo2*, uint*, sbyte**, int>)(lpVtbl[5]))((IDxcVersionInfo2*)Unsafe.AsPointer(ref this), pCommitCount, pCommitHash);
|
||||
}
|
||||
public interface Interface : IDxcVersionInfo.Interface
|
||||
{
|
||||
[VtblIndex(5)]
|
||||
HResult GetCommitInfo(uint* pCommitCount, sbyte** pCommitHash);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Win32.Graphics.Direct3D.Dxc;
|
||||
[Guid("5e13e843-9d25-473c-9ad2-03b2d0b44b1e")]
|
||||
[NativeTypeName("struct IDxcVersionInfo3 : IUnknown")]
|
||||
[NativeInheritance("IUnknown")]
|
||||
public unsafe partial struct IDxcVersionInfo3 : INativeGuid
|
||||
public unsafe partial struct IDxcVersionInfo3 : IDxcVersionInfo3.Interface, INativeGuid
|
||||
{
|
||||
public static ref readonly Guid IID_IDxcVersionInfo3
|
||||
{
|
||||
@@ -79,5 +79,10 @@ public unsafe partial struct IDxcVersionInfo3 : INativeGuid
|
||||
{
|
||||
return ((delegate* unmanaged[Stdcall]<IDxcVersionInfo3*, sbyte**, int>)(lpVtbl[3]))((IDxcVersionInfo3*)Unsafe.AsPointer(ref this), pVersionString);
|
||||
}
|
||||
public interface Interface : IUnknown.Interface
|
||||
{
|
||||
[VtblIndex(3)]
|
||||
HResult GetCustomVersionString(sbyte** pVersionString);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user