From bbd36faeeb6b9091a0a0c731d1bde191b88b20a7 Mon Sep 17 00:00:00 2001 From: Amer Koleci Date: Fri, 7 Oct 2022 10:02:22 +0200 Subject: [PATCH] Rework bindings in per folder and per type file. --- src/Generator/Program.cs | 246 +- .../Generated/AesCtrIv.cs | 21 + .../Generated/Apis.Functions.cs | 19 + .../Generated/Apis.cs | 2401 +++ .../Generated/AsyncGetDataFlags.cs | 21 + .../Generated/AuthenticatedChannelType.cs | 25 + ...catedConfigureAccessibleEncryptionInput.cs | 21 + ...uthenticatedConfigureCryptoSessionInput.cs | 27 + .../AuthenticatedConfigureInitializeInput.cs | 24 + .../Generated/AuthenticatedConfigureInput.cs | 27 + .../Generated/AuthenticatedConfigureOutput.cs | 30 + .../AuthenticatedConfigureProtectionInput.cs | 21 + ...thenticatedConfigureSharedResourceInput.cs | 27 + .../AuthenticatedProcessIdentifierType.cs | 25 + .../Generated/AuthenticatedProtectionFlags.cs | 30 + ...yAccessibilityEncryptionGuidCountOutput.cs | 21 + ...edQueryAccessibilityEncryptionGuidInput.cs | 21 + ...dQueryAccessibilityEncryptionGuidOutput.cs | 24 + .../AuthenticatedQueryAccessibilityOutput.cs | 27 + .../AuthenticatedQueryChannelTypeOutput.cs | 21 + .../AuthenticatedQueryCryptoSessionInput.cs | 21 + .../AuthenticatedQueryCryptoSessionOutput.cs | 27 + ...eryCurrentAccessibilityEncryptionOutput.cs | 21 + .../AuthenticatedQueryDeviceHandleOutput.cs | 21 + .../Generated/AuthenticatedQueryInput.cs | 24 + .../Generated/AuthenticatedQueryOutput.cs | 30 + .../AuthenticatedQueryOutputIdCountInput.cs | 24 + .../AuthenticatedQueryOutputIdCountOutput.cs | 27 + .../AuthenticatedQueryOutputIdInput.cs | 27 + .../AuthenticatedQueryOutputIdOutput.cs | 30 + .../AuthenticatedQueryProtectionOutput.cs | 21 + ...trictedSharedResourceProcessCountOutput.cs | 21 + ...eryRestrictedSharedResourceProcessInput.cs | 21 + ...ryRestrictedSharedResourceProcessOutput.cs | 27 + ...ictedProtectedSharedResourceCountOutput.cs | 21 + .../Generated/BindFlags.cs | 48 + .../Generated/Blend.cs | 67 + .../Generated/BlendDescription.cs | 53 + .../Generated/BlendDescription1.cs | 53 + .../Generated/BlendOperation.cs | 31 + src/Vortice.Win32.Direct3D11/Generated/Box.cs | 33 + .../Generated/BufferDescription.cs | 33 + .../Generated/BufferExtendedSrv.cs | 24 + .../Generated/BufferExtendedSrvFlags.cs | 21 + .../Generated/BufferRtv.cs | 84 + .../Generated/BufferSrv.cs | 84 + .../Generated/BufferUav.cs | 24 + .../Generated/BufferUavFlags.cs | 27 + .../Generated/BusType.cs | 49 + .../CheckMultisampleQualityLevelsFlags.cs | 21 + .../Generated/ClassInstanceDescription.cs | 39 + .../Generated/ClearFlags.cs | 24 + .../Generated/ColorWriteEnable.cs | 33 + .../Generated/ComparisonFunction.cs | 40 + .../ComputeShaderTraceDescription.cs | 24 + .../ConservativeRasterizationMode.cs | 22 + .../ConservativeRasterizationTier.cs | 28 + .../Generated/ContentProtectionCaps.cs | 64 + .../Generated/ContextType.cs | 31 + .../Generated/CopyFlags.cs | 24 + .../Generated/Counter.cs | 19 + .../Generated/CounterDescription.cs | 21 + .../Generated/CounterInfo.cs | 24 + .../Generated/CounterType.cs | 28 + .../Generated/CpuAccessFlags.cs | 24 + .../CreateDeviceContextStateFlags.cs | 21 + .../Generated/CreateDeviceFlags.cs | 45 + .../CryptoSessionKeyExchangeFlags.cs | 21 + .../Generated/CryptoSessionStatus.cs | 25 + .../Generated/CullMode.cs | 25 + .../Generated/DepthStencilDescription.cs | 39 + .../DepthStencilOperationDescription.cs | 27 + .../Generated/DepthStencilViewDescription.cs | 115 + .../Generated/DepthWriteMask.cs | 22 + .../Generated/DeviceContextType.cs | 22 + .../Generated/Direct3D11.cs | 13512 ---------------- .../Generated/DomainShaderTraceDescription.cs | 18 + .../DrawIndexedInstancedIndirectArgs.cs | 30 + .../Generated/DrawInstancedIndirectArgs.cs | 27 + .../Generated/DsvDimension.cs | 37 + .../Generated/DsvFlags.cs | 24 + .../Generated/EncryptedBlockInfo.cs | 24 + .../Generated/Feature.cs | 79 + .../Generated/FeatureDataArchitectureInfo.cs | 18 + .../FeatureDataD3D10XHardwareOptions.cs | 18 + .../Generated/FeatureDataD3D11Options.cs | 57 + .../Generated/FeatureDataD3D11Options1.cs | 27 + .../Generated/FeatureDataD3D11Options2.cs | 39 + .../Generated/FeatureDataD3D11Options3.cs | 18 + .../Generated/FeatureDataD3D11Options4.cs | 18 + .../Generated/FeatureDataD3D11Options5.cs | 18 + .../Generated/FeatureDataD3d9Options.cs | 18 + .../Generated/FeatureDataD3d9Options1.cs | 27 + .../Generated/FeatureDataD3d9ShadowSupport.cs | 18 + .../FeatureDataD3d9SimpleInstancingSupport.cs | 18 + .../Generated/FeatureDataDisplayable.cs | 21 + .../Generated/FeatureDataDoubles.cs | 18 + .../Generated/FeatureDataFormatSupport.cs | 21 + .../Generated/FeatureDataFormatSupport2.cs | 21 + .../FeatureDataGpuVirtualAddressSupport.cs | 21 + .../Generated/FeatureDataMarkerSupport.cs | 18 + .../Generated/FeatureDataShaderCache.cs | 18 + .../FeatureDataShaderMinPrecisionSupport.cs | 21 + .../Generated/FeatureDataThreading.cs | 21 + .../FeatureDataVideoDecoderHistogram.cs | 27 + .../Generated/FeatureVideo.cs | 19 + .../Generated/FenceFlags.cs | 29 + .../Generated/FillMode.cs | 22 + .../Generated/Filter.cs | 124 + .../Generated/FilterReductionType.cs | 28 + .../Generated/FilterType.cs | 22 + .../Generated/FormatSupport.cs | 111 + .../Generated/FormatSupport2.cs | 54 + .../Generated/FunctionDescription.cs | 114 + .../GeometryShaderTraceDescription.cs | 18 + .../Generated/HullShaderTraceDescription.cs | 18 + .../Generated/ID3D11Asynchronous.cs | 6 +- .../Generated/ID3D11AuthenticatedChannel.cs | 6 +- .../Generated/ID3D11BlendState.cs | 6 +- .../Generated/ID3D11BlendState1.cs | 6 +- .../Generated/ID3D11Buffer.cs | 6 +- .../Generated/ID3D11ClassInstance.cs | 6 +- .../Generated/ID3D11ClassLinkage.cs | 6 +- .../Generated/ID3D11CommandList.cs | 6 +- .../Generated/ID3D11ComputeShader.cs | 6 +- .../Generated/ID3D11Counter.cs | 6 +- .../Generated/ID3D11CryptoSession.cs | 6 +- .../Generated/ID3D11Debug.cs | 6 +- .../Generated/ID3D11DepthStencilState.cs | 6 +- .../Generated/ID3D11DepthStencilView.cs | 6 +- .../Generated/ID3D11Device.cs | 6 +- .../Generated/ID3D11Device1.cs | 6 +- .../Generated/ID3D11Device2.cs | 6 +- .../Generated/ID3D11Device3.cs | 6 +- .../Generated/ID3D11Device4.cs | 6 +- .../Generated/ID3D11Device5.cs | 6 +- .../Generated/ID3D11DeviceChild.cs | 6 +- .../Generated/ID3D11DeviceContext.cs | 6 +- .../Generated/ID3D11DeviceContext1.cs | 6 +- .../Generated/ID3D11DeviceContext2.cs | 6 +- .../Generated/ID3D11DeviceContext3.cs | 6 +- .../Generated/ID3D11DeviceContext4.cs | 6 +- .../Generated/ID3D11DomainShader.cs | 6 +- .../Generated/ID3D11Fence.cs | 6 +- .../Generated/ID3D11FunctionLinkingGraph.cs | 6 +- .../ID3D11FunctionParameterReflection.cs | 6 +- .../Generated/ID3D11FunctionReflection.cs | 6 +- .../Generated/ID3D11GeometryShader.cs | 6 +- .../Generated/ID3D11HullShader.cs | 6 +- .../Generated/ID3D11InfoQueue.cs | 6 +- .../Generated/ID3D11InputLayout.cs | 6 +- .../Generated/ID3D11LibraryReflection.cs | 6 +- .../Generated/ID3D11Linker.cs | 6 +- .../Generated/ID3D11LinkingNode.cs | 6 +- .../Generated/ID3D11Module.cs | 6 +- .../Generated/ID3D11ModuleInstance.cs | 6 +- .../Generated/ID3D11Multithread.cs | 6 +- .../Generated/ID3D11PixelShader.cs | 6 +- .../Generated/ID3D11Predicate.cs | 6 +- .../Generated/ID3D11Query.cs | 6 +- .../Generated/ID3D11Query1.cs | 6 +- .../Generated/ID3D11RasterizerState.cs | 6 +- .../Generated/ID3D11RasterizerState1.cs | 6 +- .../Generated/ID3D11RasterizerState2.cs | 6 +- .../ID3D11RefDefaultTrackingOptions.cs | 6 +- .../Generated/ID3D11RefTrackingOptions.cs | 6 +- .../Generated/ID3D11RenderTargetView.cs | 6 +- .../Generated/ID3D11RenderTargetView1.cs | 6 +- .../Generated/ID3D11Resource.cs | 6 +- .../Generated/ID3D11SamplerState.cs | 6 +- .../Generated/ID3D11ShaderReflection.cs | 6 +- .../ID3D11ShaderReflectionConstantBuffer.cs | 6 +- .../Generated/ID3D11ShaderReflectionType.cs | 6 +- .../ID3D11ShaderReflectionVariable.cs | 6 +- .../Generated/ID3D11ShaderResourceView.cs | 6 +- .../Generated/ID3D11ShaderResourceView1.cs | 6 +- .../Generated/ID3D11ShaderTrace.cs | 6 +- .../Generated/ID3D11ShaderTraceFactory.cs | 6 +- .../Generated/ID3D11SwitchToRef.cs | 6 +- .../Generated/ID3D11Texture1D.cs | 6 +- .../Generated/ID3D11Texture2D.cs | 6 +- .../Generated/ID3D11Texture2D1.cs | 6 +- .../Generated/ID3D11Texture3D.cs | 6 +- .../Generated/ID3D11Texture3D1.cs | 6 +- .../Generated/ID3D11TracingDevice.cs | 6 +- .../Generated/ID3D11UnorderedAccessView.cs | 6 +- .../Generated/ID3D11UnorderedAccessView1.cs | 6 +- .../Generated/ID3D11VertexShader.cs | 6 +- .../Generated/ID3D11VideoContext.cs | 6 +- .../Generated/ID3D11VideoContext1.cs | 6 +- .../Generated/ID3D11VideoContext2.cs | 6 +- .../Generated/ID3D11VideoContext3.cs | 6 +- .../Generated/ID3D11VideoDecoder.cs | 6 +- .../Generated/ID3D11VideoDecoderOutputView.cs | 6 +- .../Generated/ID3D11VideoDevice.cs | 6 +- .../Generated/ID3D11VideoDevice1.cs | 6 +- .../Generated/ID3D11VideoDevice2.cs | 6 +- .../Generated/ID3D11VideoProcessor.cs | 6 +- .../ID3D11VideoProcessorEnumerator.cs | 6 +- .../ID3D11VideoProcessorEnumerator1.cs | 6 +- .../ID3D11VideoProcessorInputView.cs | 6 +- .../ID3D11VideoProcessorOutputView.cs | 6 +- .../Generated/ID3D11View.cs | 6 +- .../Generated/ID3DDeviceContextState.cs | 6 +- .../Generated/ID3DUserDefinedAnnotation.cs | 6 +- .../Generated/InfoQueueFilter.cs | 21 + .../Generated/InfoQueueFilterDescription.cs | 33 + .../Generated/InputClassification.cs | 22 + .../Generated/InputElementDescription.cs | 36 + .../Generated/KeyExchangeHWProtectionData.cs | 27 + .../KeyExchangeHWProtectionInputData.cs | 24 + .../KeyExchangeHWProtectionOutputData.cs | 33 + .../Generated/LibraryDescription.cs | 24 + .../Generated/LogicOperation.cs | 64 + .../Generated/MapFlags.cs | 21 + .../Generated/MapMode.cs | 31 + .../Generated/MappedSubresource.cs | 24 + .../Generated/Message.cs | 30 + .../Generated/MessageCategory.cs | 49 + .../Generated/MessageId.cs | 3985 +++++ .../Generated/MessageSeverity.cs | 31 + .../Generated/Omac.cs | 18 + .../Generated/PackedMipDescription.cs | 27 + .../Generated/ParameterDescription.cs | 51 + .../Generated/PixelShaderTraceDescription.cs | 27 + .../Generated/QueryDataPipelineStatistics.cs | 48 + .../Generated/QueryDataSOStatistics.cs | 21 + .../Generated/QueryDataTimestampDisjoint.cs | 21 + .../Generated/QueryDescription.cs | 21 + .../Generated/QueryDescription1.cs | 24 + .../Generated/QueryMiscFlags.cs | 21 + .../Generated/QueryType.cs | 64 + .../Generated/RaiseFlags.cs | 21 + .../Generated/RasterizerDescription.cs | 45 + .../Generated/RasterizerDescription1.cs | 48 + .../Generated/RasterizerDescription2.cs | 51 + .../Generated/RenderTargetBlendDescription.cs | 39 + .../RenderTargetBlendDescription1.cs | 45 + .../Generated/RenderTargetViewDescription.cs | 140 + .../Generated/RenderTargetViewDescription1.cs | 140 + .../Generated/ReportLiveDeviceObjectFlags.cs | 27 + .../Generated/ResourceDimension.cs | 31 + .../Generated/ResourceMiscFlags.cs | 75 + .../Generated/RtvDimension.cs | 43 + .../Generated/SODeclarationEntry.cs | 33 + .../Generated/SamplerDescription.cs | 45 + .../Generated/ShaderBufferDescription.cs | 30 + .../Generated/ShaderCacheSupportFlags.cs | 26 + .../Generated/ShaderDescription.cs | 129 + .../Generated/ShaderInputBindDescription.cs | 39 + .../Generated/ShaderMinPrecisionSupport.cs | 22 + .../ShaderResourceViewDescription.cs | 182 + .../ShaderResourceViewDescription1.cs | 182 + .../Generated/ShaderTraceDescription.cs | 112 + .../Generated/ShaderTrackingOptions.cs | 61 + .../Generated/ShaderTrackingResourceType.cs | 40 + .../Generated/ShaderType.cs | 34 + .../Generated/ShaderTypeDescription.cs | 39 + .../Generated/ShaderVariableDescription.cs | 42 + .../Generated/ShaderVersionType.cs | 37 + .../Generated/SharedResourceTier.cs | 28 + .../SignatureParameterDescription.cs | 42 + .../StandardMultisampleQualityLevels.cs | 22 + .../Generated/StencilOperation.cs | 40 + .../Generated/SubresourceData.cs | 24 + .../Generated/SubresourceTiling.cs | 27 + .../Generated/Texture1DArrayDsv.cs | 24 + .../Generated/Texture1DArrayRtv.cs | 24 + .../Generated/Texture1DArraySrv.cs | 27 + .../Generated/Texture1DArrayUav.cs | 24 + .../Generated/Texture1DDescription.cs | 39 + .../Generated/Texture1DDsv.cs | 18 + .../Generated/Texture1DRtv.cs | 18 + .../Generated/Texture1DSrv.cs | 21 + .../Generated/Texture1DUav.cs | 18 + .../Generated/Texture2DArrayDsv.cs | 24 + .../Generated/Texture2DArrayRtv.cs | 24 + .../Generated/Texture2DArrayRtv1.cs | 27 + .../Generated/Texture2DArraySrv.cs | 27 + .../Generated/Texture2DArraySrv1.cs | 30 + .../Generated/Texture2DArrayUav.cs | 24 + .../Generated/Texture2DArrayUav1.cs | 27 + .../Generated/Texture2DArrayVpov.cs | 24 + .../Generated/Texture2DDescription.cs | 45 + .../Generated/Texture2DDescription1.cs | 48 + .../Generated/Texture2DDsv.cs | 18 + .../Generated/Texture2DMsArrayDsv.cs | 21 + .../Generated/Texture2DMsArrayRtv.cs | 21 + .../Generated/Texture2DMsArraySrv.cs | 21 + .../Generated/Texture2DMsDsv.cs | 18 + .../Generated/Texture2DMsRtv.cs | 18 + .../Generated/Texture2DMsSrv.cs | 18 + .../Generated/Texture2DRtv.cs | 18 + .../Generated/Texture2DRtv1.cs | 21 + .../Generated/Texture2DSrv.cs | 21 + .../Generated/Texture2DSrv1.cs | 24 + .../Generated/Texture2DUav.cs | 18 + .../Generated/Texture2DUav1.cs | 21 + .../Generated/Texture2DVdov.cs | 18 + .../Generated/Texture2DVpiv.cs | 21 + .../Generated/Texture2DVpov.cs | 18 + .../Generated/Texture3DDescription.cs | 42 + .../Generated/Texture3DDescription1.cs | 45 + .../Generated/Texture3DRtv.cs | 24 + .../Generated/Texture3DSrv.cs | 21 + .../Generated/Texture3DUav.cs | 24 + .../Generated/TextureAddressMode.cs | 31 + .../Generated/TextureCubeFace.cs | 34 + .../Generated/TextureLayout.cs | 25 + .../Generated/TexureCubeArraySrv.cs | 27 + .../Generated/TexureCubeSrv.cs | 21 + .../Generated/TileCopyFlags.cs | 27 + .../Generated/TileMappingFlags.cs | 21 + .../Generated/TileRangeFlags.cs | 27 + .../Generated/TileRegionSize.cs | 30 + .../Generated/TileShape.cs | 24 + .../Generated/TiledResourceCoordinate.cs | 27 + .../Generated/TiledResourcesTier.cs | 28 + .../Generated/TraceGSInputPrimitive.cs | 34 + .../Generated/TraceRegister.cs | 59 + .../Generated/TraceRegisterType.cs | 124 + .../Generated/TraceStats.cs | 84 + .../Generated/TraceStep.cs | 36 + .../Generated/TraceValue.cs | 21 + .../Generated/UavDimension.cs | 37 + .../UnorderedAccessViewDescription.cs | 112 + .../UnorderedAccessViewDescription1.cs | 112 + .../Generated/Usage.cs | 28 + .../Generated/VdovDimension.cs | 22 + .../Generated/VertexShaderTraceDescription.cs | 18 + .../Generated/VideoColor.cs | 50 + .../Generated/VideoColorRgba.cs | 27 + .../Generated/VideoColorYcbcra.cs | 27 + .../Generated/VideoContentProtectionCaps.cs | 27 + .../VideoDecoderBeginFrameCryptoSession.cs | 33 + .../VideoDecoderBufferDescription.cs | 57 + .../VideoDecoderBufferDescription1.cs | 36 + .../VideoDecoderBufferDescription2.cs | 42 + .../Generated/VideoDecoderBufferType.cs | 43 + .../Generated/VideoDecoderCaps.cs | 31 + .../Generated/VideoDecoderConfig.cs | 66 + .../Generated/VideoDecoderDescription.cs | 27 + .../Generated/VideoDecoderExtension.cs | 36 + .../VideoDecoderHistogramComponent.cs | 37 + .../VideoDecoderHistogramComponentFlags.cs | 42 + .../VideoDecoderOutputViewDescription.cs | 42 + .../VideoDecoderSubSampleMappingBlock.cs | 21 + .../Generated/VideoFrameFormat.cs | 25 + .../Generated/VideoProcessorAlphaFillMode.cs | 28 + .../Generated/VideoProcessorAutoStreamCaps.cs | 40 + .../Generated/VideoProcessorBehaviorHints.cs | 28 + .../Generated/VideoProcessorCaps.cs | 42 + .../Generated/VideoProcessorColorSpace.cs | 18 + .../VideoProcessorContentDescription.cs | 39 + .../Generated/VideoProcessorCustomRate.cs | 27 + .../Generated/VideoProcessorDeviceCaps.cs | 31 + .../Generated/VideoProcessorFeatureCaps.cs | 52 + .../Generated/VideoProcessorFilter.cs | 40 + .../Generated/VideoProcessorFilterCaps.cs | 40 + .../Generated/VideoProcessorFilterRange.cs | 27 + .../Generated/VideoProcessorFormatCaps.cs | 28 + .../Generated/VideoProcessorFormatSupport.cs | 22 + .../VideoProcessorInputViewDescription.cs | 42 + .../Generated/VideoProcessorItelecineCaps.cs | 46 + .../Generated/VideoProcessorNominalRange.cs | 25 + .../Generated/VideoProcessorOutputRate.cs | 25 + .../VideoProcessorOutputViewDescription.cs | 53 + .../Generated/VideoProcessorProcessorCaps.cs | 34 + .../VideoProcessorRateConversionCaps.cs | 30 + .../Generated/VideoProcessorRotation.cs | 28 + .../Generated/VideoProcessorStereoCaps.cs | 31 + .../Generated/VideoProcessorStereoFlipMode.cs | 25 + .../Generated/VideoProcessorStereoFormat.cs | 40 + .../Generated/VideoProcessorStream.cs | 48 + .../VideoProcessorStreamBehaviorHint.cs | 27 + .../Generated/VideoSampleDescription.cs | 27 + .../Generated/VideoUsage.cs | 25 + .../Generated/VpivDimension.cs | 22 + .../Generated/VpovDimension.cs | 25 + .../ID3D11DeviceChild.cs | 25 +- .../Generated/Apis.Functions.cs | 16 + .../Generated/Apis.cs} | 5 +- .../Generated/ID3D11On12Device.cs | 14 +- .../Generated/ID3D11On12Device1.cs | 10 +- .../Generated/ID3D11On12Device2.cs | 12 +- .../{Direct3D11on12.cs => ResourceFlags.cs} | 24 +- .../Generated/Apis.Functions.cs | 37 + .../Generated/Apis.cs | 1165 ++ .../Generated/AutoBreadcrumbNode.cs | 45 + .../Generated/AutoBreadcrumbNode1.cs | 51 + .../Generated/AutoBreadcrumbOperation.cs | 151 + .../Generated/AxisShadingRate.cs | 25 + .../Generated/BackgroundProcessingMode.cs | 28 + .../Generated/Blend.cs | 67 + .../Generated/BlendDescription.cs | 53 + .../Generated/BlendOperation.cs | 31 + src/Vortice.Win32.Direct3D12/Generated/Box.cs | 33 + .../Generated/BufferRtv.cs | 21 + .../Generated/BufferSrv.cs | 27 + .../Generated/BufferSrvFlags.cs | 23 + .../Generated/BufferUav.cs | 30 + .../Generated/BufferUavFlags.cs | 23 + ...tracingAccelerationStructureDescription.cs | 27 + ...ldRaytracingAccelerationStructureInputs.cs | 76 + ...rationStructureToolsVisualizationHeader.cs | 21 + .../Generated/CachedPipelineState.cs | 21 + .../Generated/ClearFlags.cs | 24 + .../Generated/ClearValue.cs | 53 + .../Generated/ColorWriteEnable.cs | 33 + .../Generated/CommandListFlags.cs | 20 + .../Generated/CommandListSupportFlags.cs | 41 + .../Generated/CommandListType.cs | 37 + .../Generated/CommandPoolFlags.cs | 20 + .../Generated/CommandQueueDescription.cs | 27 + .../Generated/CommandQueueFlags.cs | 23 + .../Generated/CommandQueuePriority.cs | 25 + .../Generated/CommandRecorderFlags.cs | 20 + .../Generated/CommandSignatureDescription.cs | 27 + .../Generated/ComparisonFunction.cs | 40 + .../ComputePipelineStateDescription.cs | 30 + .../ConservativeRasterizationMode.cs | 22 + .../ConservativeRasterizationTier.cs | 28 + .../ConstantBufferViewDescription.cs | 21 + .../Generated/CpuDescriptorHandle.cs | 18 + .../Generated/CpuPageProperty.cs | 28 + .../Generated/CrossNodeSharingTier.cs | 31 + .../Generated/CullMode.cs | 25 + ...ugCommandListGpuBasedValidationSettings.cs | 18 + .../DebugCommandListParameterType.cs | 19 + .../DebugDeviceGpuBasedValidationSettings.cs | 24 + ...DebugDeviceGpuSlowdownPerformanceFactor.cs | 18 + .../Generated/DebugDeviceParameterType.cs | 25 + .../Generated/DebugFeature.cs | 31 + .../Generated/DepthStencilDescription.cs | 39 + .../Generated/DepthStencilDescription1.cs | 42 + .../DepthStencilOperationDescription.cs | 27 + .../Generated/DepthStencilValue.cs | 21 + .../Generated/DepthStencilViewDescription.cs | 115 + .../Generated/DepthWriteMask.cs | 22 + .../Generated/DescriptorHeapDescription.cs | 27 + .../Generated/DescriptorHeapFlags.cs | 23 + .../Generated/DescriptorHeapType.cs | 31 + .../Generated/DescriptorRange.cs | 30 + .../Generated/DescriptorRange1.cs | 33 + .../Generated/DescriptorRangeFlags.cs | 35 + .../Generated/DescriptorRangeType.cs | 28 + .../Generated/DeviceRemovedExtendedData.cs | 21 + .../Generated/DeviceRemovedExtendedData1.cs | 24 + .../Generated/DeviceRemovedExtendedData2.cs | 24 + .../Generated/DeviceRemovedExtendedData3.cs | 27 + .../Generated/Direct3D12.cs | 12268 -------------- .../Generated/DiscardRegion.cs | 27 + .../Generated/DispatchArguments.cs | 24 + .../Generated/DispatchMeshArguments.cs | 24 + .../Generated/DispatchRaysDescription.cs | 36 + .../Generated/DrawArguments.cs | 27 + .../Generated/DrawIndexedArguments.cs | 30 + .../Generated/DredAllocationNode.cs | 27 + .../Generated/DredAllocationNode1.cs | 30 + .../Generated/DredAllocationType.cs | 103 + .../Generated/DredAutoBreadcrumbsOutput.cs | 18 + .../Generated/DredAutoBreadcrumbsOutput1.cs | 18 + .../Generated/DredBreadcrumbContext.cs | 21 + .../Generated/DredDeviceState.cs | 28 + .../Generated/DredEnablement.cs | 25 + .../Generated/DredFlags.cs | 26 + .../Generated/DredPageFaultFlags.cs | 20 + .../Generated/DredPageFaultOutput.cs | 24 + .../Generated/DredPageFaultOutput1.cs | 24 + .../Generated/DredPageFaultOutput2.cs | 27 + .../Generated/DredVersion.cs | 28 + .../DriverMatchingIdentifierStatus.cs | 31 + .../Generated/DsvDimension.cs | 37 + .../Generated/DsvFlags.cs | 26 + .../Generated/DxilLibraryDescription.cs | 24 + .../DxilSubObjectToExportsAssociation.cs | 24 + .../Generated/ElementsLayout.cs | 22 + .../ExistingCollectionDescription.cs | 24 + .../Generated/ExportDescription.cs | 24 + .../Generated/ExportFlags.cs | 20 + .../Generated/Feature.cs | 109 + .../Generated/FeatureDataArchitecture.cs | 27 + .../Generated/FeatureDataArchitecture1.cs | 30 + .../FeatureDataCommandQueuePriority.cs | 24 + .../Generated/FeatureDataCrossNode.cs | 21 + .../Generated/FeatureDataD3D12Options.cs | 60 + .../Generated/FeatureDataD3D12Options1.cs | 33 + .../Generated/FeatureDataD3D12Options10.cs | 21 + .../Generated/FeatureDataD3D12Options11.cs | 18 + .../Generated/FeatureDataD3D12Options2.cs | 21 + .../Generated/FeatureDataD3D12Options3.cs | 30 + .../Generated/FeatureDataD3D12Options4.cs | 24 + .../Generated/FeatureDataD3D12Options5.cs | 24 + .../Generated/FeatureDataD3D12Options6.cs | 30 + .../Generated/FeatureDataD3D12Options7.cs | 21 + .../Generated/FeatureDataD3D12Options8.cs | 18 + .../Generated/FeatureDataD3D12Options9.cs | 33 + .../Generated/FeatureDataDisplayable.cs | 21 + .../Generated/FeatureDataExistingHeaps.cs | 18 + .../Generated/FeatureDataFeatureLevels.cs | 24 + .../Generated/FeatureDataFormatInfo.cs | 21 + .../Generated/FeatureDataFormatSupport.cs | 24 + .../FeatureDataGpuVirtualAddressSupport.cs | 21 + .../FeatureDataMultisampleQualityLevels.cs | 27 + ...tureDataProtectedResourceSessionSupport.cs | 21 + ...reDataProtectedResourceSessionTypeCount.cs | 21 + ...eatureDataProtectedResourceSessionTypes.cs | 24 + .../Generated/FeatureDataQueryMetaCommand.cs | 33 + .../Generated/FeatureDataRootSignature.cs | 18 + .../Generated/FeatureDataSerialization.cs | 21 + .../Generated/FeatureDataShaderCache.cs | 18 + .../Generated/FeatureDataShaderModel.cs | 18 + .../Generated/FenceFlags.cs | 29 + .../Generated/FillMode.cs | 22 + .../Generated/Filter.cs | 124 + .../Generated/FilterReductionType.cs | 28 + .../Generated/FilterType.cs | 22 + .../Generated/FormatSupport1.cs | 107 + .../Generated/FormatSupport2.cs | 56 + .../Generated/FunctionDescription.cs | 114 + .../Generated/GlobalRootSignature.cs | 18 + .../Generated/GpuBasedValidationFlags.cs | 23 + ...BasedValidationPipelineStateCreateFlags.cs | 32 + .../GpuBasedValidationShaderPatchMode.cs | 31 + .../Generated/GpuDescriptorHandle.cs | 18 + .../Generated/GpuVirtualAddressAndStride.cs | 21 + .../Generated/GpuVirtualAddressRange.cs | 21 + .../GpuVirtualAddressRangeAndStride.cs | 24 + .../GraphicsPipelineStateDescription.cs | 107 + .../Generated/GraphicsStates.cs | 71 + .../Generated/HeapDescription.cs | 27 + .../Generated/HeapFlags.cs | 65 + .../Generated/HeapProperties.cs | 30 + .../Generated/HeapSerializationTier.cs | 22 + .../Generated/HeapType.cs | 28 + .../Generated/HitGroupDescription.cs | 30 + .../Generated/HitGroupType.cs | 22 + .../Generated/HitKind.cs | 22 + .../Generated/ID3D12CommandAllocator.cs | 6 +- .../Generated/ID3D12CommandList.cs | 6 +- .../Generated/ID3D12CommandQueue.cs | 6 +- .../Generated/ID3D12CommandSignature.cs | 6 +- .../Generated/ID3D12Debug.cs | 6 +- .../Generated/ID3D12Debug1.cs | 6 +- .../Generated/ID3D12Debug2.cs | 6 +- .../Generated/ID3D12Debug3.cs | 6 +- .../Generated/ID3D12Debug4.cs | 6 +- .../Generated/ID3D12Debug5.cs | 6 +- .../Generated/ID3D12DebugCommandList.cs | 6 +- .../Generated/ID3D12DebugCommandList1.cs | 6 +- .../Generated/ID3D12DebugCommandList2.cs | 6 +- .../Generated/ID3D12DebugCommandQueue.cs | 6 +- .../Generated/ID3D12DebugDevice.cs | 6 +- .../Generated/ID3D12DebugDevice1.cs | 6 +- .../Generated/ID3D12DebugDevice2.cs | 6 +- .../Generated/ID3D12DescriptorHeap.cs | 6 +- .../Generated/ID3D12Device.cs | 6 +- .../Generated/ID3D12Device1.cs | 6 +- .../Generated/ID3D12Device2.cs | 6 +- .../Generated/ID3D12Device3.cs | 6 +- .../Generated/ID3D12Device4.cs | 6 +- .../Generated/ID3D12Device5.cs | 6 +- .../Generated/ID3D12Device6.cs | 6 +- .../Generated/ID3D12Device7.cs | 6 +- .../Generated/ID3D12Device8.cs | 6 +- .../Generated/ID3D12Device9.cs | 6 +- .../Generated/ID3D12DeviceChild.cs | 6 +- .../ID3D12DeviceRemovedExtendedData.cs | 6 +- .../ID3D12DeviceRemovedExtendedData1.cs | 6 +- .../ID3D12DeviceRemovedExtendedData2.cs | 6 +- ...ID3D12DeviceRemovedExtendedDataSettings.cs | 6 +- ...D3D12DeviceRemovedExtendedDataSettings1.cs | 6 +- .../Generated/ID3D12Fence.cs | 6 +- .../Generated/ID3D12Fence1.cs | 6 +- .../ID3D12FunctionParameterReflection.cs | 6 +- .../Generated/ID3D12FunctionReflection.cs | 6 +- .../Generated/ID3D12GraphicsCommandList.cs | 6 +- .../Generated/ID3D12GraphicsCommandList1.cs | 6 +- .../Generated/ID3D12GraphicsCommandList2.cs | 6 +- .../Generated/ID3D12GraphicsCommandList3.cs | 6 +- .../Generated/ID3D12GraphicsCommandList4.cs | 6 +- .../Generated/ID3D12GraphicsCommandList5.cs | 6 +- .../Generated/ID3D12GraphicsCommandList6.cs | 6 +- .../Generated/ID3D12Heap.cs | 6 +- .../Generated/ID3D12Heap1.cs | 6 +- .../Generated/ID3D12InfoQueue.cs | 6 +- .../Generated/ID3D12InfoQueue1.cs | 6 +- .../Generated/ID3D12LibraryReflection.cs | 6 +- .../Generated/ID3D12LifetimeOwner.cs | 6 +- .../Generated/ID3D12LifetimeTracker.cs | 6 +- .../Generated/ID3D12MetaCommand.cs | 6 +- .../Generated/ID3D12Object.cs | 6 +- .../Generated/ID3D12Pageable.cs | 6 +- .../Generated/ID3D12PipelineLibrary.cs | 6 +- .../Generated/ID3D12PipelineLibrary1.cs | 6 +- .../Generated/ID3D12PipelineState.cs | 6 +- .../ID3D12ProtectedResourceSession.cs | 6 +- .../ID3D12ProtectedResourceSession1.cs | 6 +- .../Generated/ID3D12ProtectedSession.cs | 6 +- .../Generated/ID3D12QueryHeap.cs | 6 +- .../Generated/ID3D12Resource.cs | 6 +- .../Generated/ID3D12Resource1.cs | 6 +- .../Generated/ID3D12Resource2.cs | 6 +- .../Generated/ID3D12RootSignature.cs | 6 +- .../ID3D12RootSignatureDeserializer.cs | 6 +- .../Generated/ID3D12SDKConfiguration.cs | 6 +- .../Generated/ID3D12ShaderCacheSession.cs | 6 +- .../Generated/ID3D12ShaderReflection.cs | 6 +- .../ID3D12ShaderReflectionConstantBuffer.cs | 6 +- .../Generated/ID3D12ShaderReflectionType.cs | 6 +- .../ID3D12ShaderReflectionVariable.cs | 6 +- .../Generated/ID3D12SharingContract.cs | 6 +- .../Generated/ID3D12StateObject.cs | 6 +- .../Generated/ID3D12StateObjectProperties.cs | 6 +- .../Generated/ID3D12SwapChainAssistant.cs | 6 +- .../Generated/ID3D12Tools.cs | 6 +- ...D3D12VersionedRootSignatureDeserializer.cs | 6 +- .../Generated/IndexBufferStripCutValue.cs | 25 + .../Generated/IndexBufferView.cs | 24 + .../Generated/IndirectArgumentDescription.cs | 127 + .../Generated/IndirectArgumentType.cs | 49 + .../Generated/InfoQueueFilter.cs | 21 + .../Generated/InfoQueueFilterDescription.cs | 33 + .../Generated/InputClassification.cs | 22 + .../Generated/InputElementDescription.cs | 36 + .../Generated/InputLayoutDescription.cs | 21 + .../Generated/LibraryDescription.cs | 24 + .../Generated/LifetimeState.cs | 22 + .../Generated/LocalRootSignature.cs | 18 + .../Generated/LogicOperation.cs | 64 + .../Generated/MeasurementsAction.cs | 28 + .../Generated/MemcpyDest.cs | 24 + .../Generated/MemoryPool.cs | 25 + .../Generated/MeshShaderTier.cs | 22 + .../Generated/Message.cs | 30 + .../Generated/MessageCallbackFlags.cs | 23 + .../Generated/MessageCategory.cs | 49 + .../Generated/MessageId.cs | 2689 +++ .../Generated/MessageSeverity.cs | 31 + .../Generated/MetaCommandDescription.cs | 27 + .../MetaCommandParameterDescription.cs | 30 + .../Generated/MetaCommandParameterFlags.cs | 24 + .../Generated/MetaCommandParameterStage.cs | 25 + .../Generated/MetaCommandParameterType.cs | 31 + .../Generated/MipRegion.cs | 24 + .../Generated/MultipleFenceWaitFlags.cs | 26 + .../Generated/MultisampleQualityLevelFlags.cs | 23 + .../Generated/NodeMask.cs | 18 + .../Generated/PackedMipInfo.cs | 27 + .../Generated/ParameterDescription.cs | 51 + .../Generated/PipelineStateFlags.cs | 23 + .../PipelineStateStreamDescription.cs | 21 + .../Generated/PipelineStateSubObjectType.cs | 94 + .../Generated/PlacedSubresourceFootprint.cs | 21 + .../Generated/PredicationOperation.cs | 22 + .../Generated/PrimitiveTopologyType.cs | 31 + .../ProgrammableSamplePositionsTier.cs | 25 + .../ProtectedResourceSessionDescription.cs | 21 + .../ProtectedResourceSessionDescription1.cs | 24 + .../ProtectedResourceSessionFlags.cs | 20 + .../ProtectedResourceSessionSupportFlags.cs | 23 + .../Generated/ProtectedSessionStatus.cs | 22 + .../Generated/QueryDataPipelineStatistics.cs | 48 + .../Generated/QueryDataPipelineStatistics1.cs | 57 + .../Generated/QueryDataSOStatistics.cs | 21 + .../Generated/QueryHeapDescription.cs | 24 + .../Generated/QueryHeapType.cs | 37 + .../Generated/QueryType.cs | 46 + .../Generated/Range.cs | 21 + .../Generated/RangeUInt64.cs | 21 + .../Generated/RasterizerDescription.cs | 48 + .../Generated/RayFlags.cs | 50 + .../Generated/RaytracingAabb.cs | 33 + ...ytracingAccelerationStructureBuildFlags.cs | 38 + ...RaytracingAccelerationStructureCopyMode.cs | 31 + ...rePostbuildInfoCompactedSizeDescription.cs | 18 + ...turePostbuildInfoCurrentSizeDescription.cs | 18 + ...rationStructurePostbuildInfoDescription.cs | 21 + ...rePostbuildInfoSerializationDescription.cs | 21 + ...tbuildInfoToolsVisualizationDescription.cs | 18 + ...gAccelerationStructurePostbuildInfoType.cs | 28 + ...racingAccelerationStructurePrebuildInfo.cs | 24 + .../RaytracingAccelerationStructureSrv.cs | 18 + .../RaytracingAccelerationStructureType.cs | 22 + .../RaytracingGeometryAabbsDescription.cs | 21 + .../RaytracingGeometryDescription.cs | 56 + .../Generated/RaytracingGeometryFlags.cs | 26 + .../RaytracingGeometryTrianglesDescription.cs | 36 + .../Generated/RaytracingGeometryType.cs | 22 + .../RaytracingInstanceDescription.cs | 27 + .../Generated/RaytracingInstanceFlags.cs | 32 + .../Generated/RaytracingPipelineConfig.cs | 18 + .../Generated/RaytracingPipelineConfig1.cs | 21 + .../Generated/RaytracingPipelineFlags.cs | 26 + .../Generated/RaytracingShaderConfig.cs | 21 + .../Generated/RaytracingTier.cs | 25 + .../Generated/RenderPassBeginningAccess.cs | 39 + ...enderPassBeginningAccessClearParameters.cs | 18 + .../RenderPassBeginningAccessType.cs | 28 + .../RenderPassDepthStencilDescription.cs | 30 + .../Generated/RenderPassEndingAccess.cs | 39 + ...RenderPassEndingAccessResolveParameters.cs | 36 + ...ndingAccessResolveSubresourceParameters.cs | 30 + .../Generated/RenderPassEndingAccessType.cs | 28 + .../Generated/RenderPassFlags.cs | 29 + .../RenderPassRenderTargetDescription.cs | 24 + .../Generated/RenderPassTier.cs | 25 + .../Generated/RenderTargetBlendDescription.cs | 45 + .../Generated/RenderTargetViewDescription.cs | 140 + .../Generated/ReportLiveDeviceObjectFlags.cs | 29 + .../Generated/ResidencyFlags.cs | 23 + .../Generated/ResidencyPriority.cs | 31 + .../Generated/ResolveMode.cs | 34 + .../Generated/ResourceAliasingBarrier.cs | 21 + .../Generated/ResourceAllocationInfo.cs | 21 + .../Generated/ResourceAllocationInfo1.cs | 24 + .../Generated/ResourceBarrier.cs | 70 + .../Generated/ResourceBarrierFlags.cs | 26 + .../Generated/ResourceBarrierType.cs | 25 + .../Generated/ResourceBindingTier.cs | 25 + .../Generated/ResourceDescription.cs | 45 + .../Generated/ResourceDescription1.cs | 48 + .../Generated/ResourceDimension.cs | 31 + .../Generated/ResourceFlags.cs | 44 + .../Generated/ResourceHeapTier.cs | 22 + .../Generated/ResourceStates.cs | 99 + .../Generated/ResourceTransitionBarrier.cs | 27 + .../Generated/ResourceUavBarrier.cs | 18 + .../Generated/RootConstants.cs | 24 + .../Generated/RootDescriptor.cs | 21 + .../Generated/RootDescriptor1.cs | 24 + .../Generated/RootDescriptorFlags.cs | 29 + .../Generated/RootDescriptorTable.cs | 21 + .../Generated/RootDescriptorTable1.cs | 21 + .../Generated/RootParameter.cs | 70 + .../Generated/RootParameter1.cs | 70 + .../Generated/RootParameterType.cs | 31 + .../Generated/RootSignatureDescription.cs | 30 + .../Generated/RootSignatureDescription1.cs | 30 + .../Generated/RootSignatureFlags.cs | 56 + .../Generated/RootSignatureVersion.cs | 22 + .../Generated/RtFormatArray.cs | 50 + .../Generated/RtvDimension.cs | 43 + .../Generated/SODeclarationEntry.cs | 33 + .../Generated/SamplePosition.cs | 21 + .../Generated/SamplerDescription.cs | 45 + .../Generated/SamplerFeedbackTier.cs | 25 + .../SerializedDataDriverMatchingIdentifier.cs | 21 + .../Generated/SerializedDataType.cs | 19 + ...edRaytracingAccelerationStructureHeader.cs | 27 + .../Generated/ShaderBufferDescription.cs | 30 + .../Generated/ShaderBytecode.cs | 21 + .../Generated/ShaderCacheControlFlags.cs | 27 + .../Generated/ShaderCacheFlags.cs | 26 + .../Generated/ShaderCacheKindFlags.cs | 30 + .../Generated/ShaderCacheMode.cs | 22 + .../ShaderCacheSessionDescription.cs | 36 + .../Generated/ShaderCacheSupportFlags.cs | 41 + .../Generated/ShaderComponentMapping.cs | 34 + .../Generated/ShaderDescription.cs | 129 + .../Generated/ShaderInputBindDescription.cs | 45 + .../Generated/ShaderMinPrecisionSupport.cs | 26 + .../Generated/ShaderModel.cs | 43 + .../ShaderResourceViewDescription.cs | 185 + .../Generated/ShaderTypeDescription.cs | 39 + .../Generated/ShaderVariableDescription.cs | 42 + .../Generated/ShaderVersionType.cs | 37 + .../Generated/ShaderVisibility.cs | 40 + .../Generated/ShadingRate.cs | 37 + .../Generated/ShadingRateCombiner.cs | 31 + .../SharedResourceCompatibilityTier.cs | 25 + .../SignatureParameterDescription.cs | 42 + .../Generated/SrvDimension.cs | 52 + .../Generated/StateObjectConfig.cs | 18 + .../Generated/StateObjectDescription.cs | 24 + .../Generated/StateObjectFlags.cs | 29 + .../Generated/StateObjectType.cs | 22 + .../Generated/StateSubObject.cs | 21 + .../Generated/StateSubObjectType.cs | 55 + .../Generated/StaticBorderColor.cs | 25 + .../Generated/StaticSamplerDescription.cs | 54 + .../Generated/StencilOperation.cs | 40 + .../Generated/StreamOutputBufferView.cs | 24 + .../Generated/StreamOutputDescription.cs | 30 + .../SubObjectToExportsAssociation.cs | 24 + .../Generated/SubresourceData.cs | 24 + .../Generated/SubresourceFootprint.cs | 30 + .../Generated/SubresourceInfo.cs | 24 + .../Generated/SubresourceRangeUInt64.cs | 21 + .../Generated/SubresourceTiling.cs | 27 + .../Generated/Texture1DArrayDsv.cs | 24 + .../Generated/Texture1DArrayRtv.cs | 24 + .../Generated/Texture1DArraySrv.cs | 30 + .../Generated/Texture1DArrayUav.cs | 24 + .../Generated/Texture1DDsv.cs | 18 + .../Generated/Texture1DRtv.cs | 18 + .../Generated/Texture1DSrv.cs | 24 + .../Generated/Texture1DUav.cs | 18 + .../Generated/Texture2DArrayDsv.cs | 24 + .../Generated/Texture2DArrayRtv.cs | 27 + .../Generated/Texture2DArraySrv.cs | 33 + .../Generated/Texture2DArrayUav.cs | 27 + .../Generated/Texture2DDsv.cs | 18 + .../Generated/Texture2DMsArrayDsv.cs | 21 + .../Generated/Texture2DMsArrayRtv.cs | 21 + .../Generated/Texture2DMsArraySrv.cs | 21 + .../Generated/Texture2DMsDsv.cs | 18 + .../Generated/Texture2DMsRtv.cs | 18 + .../Generated/Texture2DMsSrv.cs | 18 + .../Generated/Texture2DRtv.cs | 21 + .../Generated/Texture2DSrv.cs | 27 + .../Generated/Texture2DUav.cs | 21 + .../Generated/Texture3DRtv.cs | 24 + .../Generated/Texture3DSrv.cs | 24 + .../Generated/Texture3DUav.cs | 24 + .../Generated/TextureAddressMode.cs | 31 + .../Generated/TextureCopyLocation.cs | 56 + .../Generated/TextureCopyType.cs | 22 + .../Generated/TextureLayout.cs | 28 + .../Generated/TexureCubeArraySrv.cs | 30 + .../Generated/TexureCubeSrv.cs | 24 + .../Generated/TileCopyFlags.cs | 29 + .../Generated/TileMappingFlags.cs | 23 + .../Generated/TileRangeFlags.cs | 29 + .../Generated/TileRegionSize.cs | 30 + .../Generated/TileShape.cs | 24 + .../Generated/TiledResourceCoordinate.cs | 27 + .../Generated/TiledResourcesTier.cs | 31 + .../Generated/UavDimension.cs | 37 + .../UnorderedAccessViewDescription.cs | 112 + .../Generated/VariableShadingRateTier.cs | 25 + .../VersionedDeviceRemovedExtendedData.cs | 81 + .../VersionedRootSignatureDescription.cs | 53 + .../Generated/VertexBufferView.cs | 24 + .../Generated/ViewInstanceLocation.cs | 21 + .../Generated/ViewInstancingDescription.cs | 24 + .../Generated/ViewInstancingFlags.cs | 23 + .../Generated/ViewInstancingTier.cs | 28 + .../Generated/WaveMmaTier.cs | 22 + .../Generated/WriteBufferImmediateMode.cs | 25 + .../WriteBufferImmediateParameter.cs | 21 + src/Vortice.Win32/ComPtr.cs | 10 +- .../Generated/Graphics/Direct2D.Common.cs | 341 - .../Generated/Graphics/Direct2D.cs | 5524 ------- .../AffineTransform2DInterpolationMode.cs | 34 + .../Direct2D/AffineTransform2DProperties.cs | 28 + .../Generated/Graphics/Direct2D/AlphaMode.cs | 28 + .../Graphics/Direct2D/AntialiasMode.cs | 22 + .../Graphics/Direct2D/Apis.Functions.cs | 52 + .../Generated/Graphics/Direct2D/Apis.cs | 1583 ++ .../Generated/Graphics/Direct2D/ArcSegment.cs | 30 + .../Generated/Graphics/Direct2D/ArcSize.cs | 22 + .../Direct2D/ArithmeticCompositeProp.cs | 22 + .../Generated/Graphics/Direct2D/AtlasProp.cs | 22 + .../Graphics/Direct2D/BezierSegment.cs | 24 + .../Direct2D/BitmapBrushProperties.cs | 24 + .../Direct2D/BitmapBrushProperties1.cs | 24 + .../Direct2D/BitmapInterpolationMode.cs | 22 + .../Graphics/Direct2D/BitmapOptions.cs | 32 + .../Graphics/Direct2D/BitmapProperties.cs | 24 + .../Graphics/Direct2D/BitmapProperties1.cs | 30 + .../Direct2D/BitmapSourceAlphaMode.cs | 22 + .../Direct2D/BitmapSourceInterpolationMode.cs | 31 + .../Direct2D/BitmapSourceOrientation.cs | 40 + .../Graphics/Direct2D/BitmapSourceProp.cs | 34 + .../Generated/Graphics/Direct2D/Blend.cs | 55 + .../Graphics/Direct2D/BlendDescription.cs | 36 + .../Generated/Graphics/Direct2D/BlendMode.cs | 94 + .../Graphics/Direct2D/BlendOperation.cs | 31 + .../Generated/Graphics/Direct2D/BlendProp.cs | 19 + .../Graphics/Direct2D/BorderEdgeMode.cs | 25 + .../Generated/Graphics/Direct2D/BorderMode.cs | 22 + .../Generated/Graphics/Direct2D/BorderProp.cs | 22 + .../Graphics/Direct2D/BrightnessProp.cs | 22 + .../Graphics/Direct2D/BrushProperties.cs | 21 + .../Graphics/Direct2D/BufferPrecision.cs | 34 + .../Generated/Graphics/Direct2D/CapStyle.cs | 28 + .../Generated/Graphics/Direct2D/ChangeType.cs | 29 + .../Graphics/Direct2D/ChannelDepth.cs | 25 + .../Graphics/Direct2D/ChannelSelector.cs | 28 + .../Graphics/Direct2D/ChromaKeyProp.cs | 28 + .../Direct2D/ColorBitmapGlyphSnapOption.cs | 22 + .../Graphics/Direct2D/ColorContextType.cs | 25 + .../Direct2D/ColorInterpolationMode.cs | 22 + .../Direct2D/ColorManagementAlphaMode.cs | 22 + .../Graphics/Direct2D/ColorManagementProp.cs | 34 + .../Direct2D/ColorManagementQuality.cs | 25 + .../ColorManagementRenderingIntent.cs | 28 + .../Graphics/Direct2D/ColorMatrixAlphaMode.cs | 22 + .../Graphics/Direct2D/ColorMatrixProp.cs | 25 + .../Generated/Graphics/Direct2D/ColorSpace.cs | 25 + .../Graphics/Direct2D/CombineMode.cs | 28 + .../Direct2D/CompatibleRenderTargetOptions.cs | 23 + .../Graphics/Direct2D/CompositeMode.cs | 55 + .../Graphics/Direct2D/CompositeProp.cs | 19 + .../Graphics/Direct2D/ContrastProp.cs | 22 + .../Graphics/Direct2D/ConvolveMatrixProp.cs | 49 + .../Direct2D/ConvolveMatrixScaleMode.cs | 34 + .../Graphics/Direct2D/CreationProperties.cs | 24 + .../Generated/Graphics/Direct2D/CropProp.cs | 22 + .../Graphics/Direct2D/CrossfadeProp.cs | 19 + .../Direct2D/CustomVertexBufferProperties.cs | 30 + .../Graphics/Direct2D/DCInitializeMode.cs | 22 + .../Generated/Graphics/Direct2D/DashStyle.cs | 34 + .../Generated/Graphics/Direct2D/DebugLevel.cs | 28 + .../Graphics/Direct2D/DeviceContextOptions.cs | 23 + .../{ => Graphics/Direct2D}/Direct2D.xml | 0 .../Direct2D/DirectionalBlurOptimization.cs | 25 + .../Graphics/Direct2D/DirectionalBlurProp.cs | 28 + .../Graphics/Direct2D/DiscreteTransferProp.cs | 43 + .../Graphics/Direct2D/DisplacementMapProp.cs | 25 + .../Graphics/Direct2D/DistantDiffuseProp.cs | 37 + .../Direct2D/DistantDiffuseScaleMode.cs | 34 + .../Graphics/Direct2D/DistantSpecularProp.cs | 40 + .../Direct2D/DistantSpecularScaleMode.cs | 34 + .../DpiCompensationInterpolationMode.cs | 34 + .../Graphics/Direct2D/DpiCompensationProp.cs | 25 + .../Graphics/Direct2D/DrawTextOptions.cs | 32 + .../Direct2D/DrawingStateDescription.cs | 30 + .../Direct2D/DrawingStateDescription1.cs | 36 + .../Graphics/Direct2D/EdgeDetectionMode.cs | 22 + .../Graphics/Direct2D/EdgeDetectionProp.cs | 31 + .../Direct2D/EffectInputDescription.cs | 24 + .../Generated/Graphics/Direct2D/Ellipse.cs | 24 + .../Generated/Graphics/Direct2D/EmbossProp.cs | 22 + .../Graphics/Direct2D/ExposureProp.cs | 19 + .../Generated/Graphics/Direct2D/ExtendMode.cs | 25 + .../Graphics/Direct2D/FactoryOptions.cs | 18 + .../Graphics/Direct2D/FactoryType.cs | 22 + .../Generated/Graphics/Direct2D/Feature.cs | 22 + .../FeatureDataD3D10XHardwareOptions.cs | 18 + .../Graphics/Direct2D/FeatureDataDoubles.cs | 18 + .../Graphics/Direct2D/FeatureLevel.cs | 25 + .../Graphics/Direct2D/FigureBegin.cs | 22 + .../Generated/Graphics/Direct2D/FigureEnd.cs | 22 + .../Generated/Graphics/Direct2D/FillMode.cs | 22 + .../Generated/Graphics/Direct2D/Filter.cs | 43 + .../Generated/Graphics/Direct2D/FloodProp.cs | 19 + .../Generated/Graphics/Direct2D/Gamma.cs | 22 + .../Generated/Graphics/Direct2D/Gamma1.cs | 25 + .../Graphics/Direct2D/GammaTransferProp.cs | 67 + .../Direct2D/GaussianBlurOptimization.cs | 25 + .../Graphics/Direct2D/GaussianBlurProp.cs | 25 + .../Graphics/Direct2D/GeometryRelation.cs | 31 + .../Direct2D/GeometrySimplificationOption.cs | 22 + .../Graphics/Direct2D/GradientMeshPatch.cs | 87 + .../Graphics/Direct2D/GradientStop.cs | 21 + .../Direct2D/HDRTonemapDisplayMode.cs | 22 + .../Graphics/Direct2D/HDRTonemapProp.cs | 25 + .../HighlightSandShadowsInputGamma.cs | 22 + .../Direct2D/HighlightSandShadowsProp.cs | 31 + .../Graphics/Direct2D/HistogramProp.cs | 25 + .../Graphics/Direct2D/HueRotationProp.cs | 19 + .../Direct2D/HueToRgbInputColorSpace.cs | 22 + .../Graphics/Direct2D/HueToRgbProp.cs | 19 + .../Direct2D/HwndRenderTargetProperties.cs | 24 + .../Direct2D/ID2D1AnalysisTransform.cs | 10 +- .../Graphics/Direct2D/ID2D1Bitmap.cs | 22 +- .../Graphics/Direct2D/ID2D1Bitmap1.cs | 18 +- .../Graphics/Direct2D/ID2D1BitmapBrush.cs | 24 +- .../Graphics/Direct2D/ID2D1BitmapBrush1.cs | 12 +- .../Direct2D/ID2D1BitmapRenderTarget.cs | 10 +- .../Graphics/Direct2D/ID2D1BlendTransform.cs | 12 +- .../Graphics/Direct2D/ID2D1BorderTransform.cs | 16 +- .../ID2D1BoundsAdjustmentTransform.cs | 12 +- .../Generated/Graphics/Direct2D/ID2D1Brush.cs | 16 +- .../Graphics/Direct2D/ID2D1ColorContext.cs | 14 +- .../Graphics/Direct2D/ID2D1ColorContext1.cs | 14 +- .../Graphics/Direct2D/ID2D1CommandList.cs | 12 +- .../Graphics/Direct2D/ID2D1CommandSink.cs | 58 +- .../Graphics/Direct2D/ID2D1CommandSink1.cs | 10 +- .../Graphics/Direct2D/ID2D1CommandSink2.cs | 14 +- .../Graphics/Direct2D/ID2D1CommandSink3.cs | 10 +- .../Graphics/Direct2D/ID2D1CommandSink4.cs | 10 +- .../Graphics/Direct2D/ID2D1CommandSink5.cs | 10 +- .../Graphics/Direct2D/ID2D1ComputeInfo.cs | 14 +- .../Direct2D/ID2D1ComputeTransform.cs | 12 +- .../Direct2D/ID2D1ConcreteTransform.cs | 12 +- .../Graphics/Direct2D/ID2D1DCRenderTarget.cs | 10 +- .../Graphics/Direct2D/ID2D1Device.cs | 16 +- .../Graphics/Direct2D/ID2D1Device1.cs | 14 +- .../Graphics/Direct2D/ID2D1Device2.cs | 14 +- .../Graphics/Direct2D/ID2D1Device3.cs | 10 +- .../Graphics/Direct2D/ID2D1Device4.cs | 14 +- .../Graphics/Direct2D/ID2D1Device5.cs | 10 +- .../Graphics/Direct2D/ID2D1Device6.cs | 10 +- .../Graphics/Direct2D/ID2D1DeviceContext.cs | 78 +- .../Graphics/Direct2D/ID2D1DeviceContext1.cs | 14 +- .../Graphics/Direct2D/ID2D1DeviceContext2.cs | 30 +- .../Graphics/Direct2D/ID2D1DeviceContext3.cs | 12 +- .../Graphics/Direct2D/ID2D1DeviceContext4.cs | 22 +- .../Graphics/Direct2D/ID2D1DeviceContext5.cs | 16 +- .../Graphics/Direct2D/ID2D1DeviceContext6.cs | 10 +- .../Graphics/Direct2D/ID2D1DrawInfo.cs | 18 +- .../Graphics/Direct2D/ID2D1DrawTransform.cs | 10 +- .../Direct2D/ID2D1DrawingStateBlock.cs | 16 +- .../Direct2D/ID2D1DrawingStateBlock1.cs | 12 +- .../Graphics/Direct2D/ID2D1Effect.cs | 18 +- .../Graphics/Direct2D/ID2D1EffectContext.cs | 50 +- .../Graphics/Direct2D/ID2D1EffectContext1.cs | 10 +- .../Graphics/Direct2D/ID2D1EffectContext2.cs | 12 +- .../Graphics/Direct2D/ID2D1EffectImpl.cs | 14 +- .../Graphics/Direct2D/ID2D1EllipseGeometry.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory.cs | 36 +- .../Graphics/Direct2D/ID2D1Factory1.cs | 28 +- .../Graphics/Direct2D/ID2D1Factory2.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory3.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory4.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory5.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory6.cs | 10 +- .../Graphics/Direct2D/ID2D1Factory7.cs | 10 +- .../Direct2D/ID2D1GdiInteropRenderTarget.cs | 12 +- .../Graphics/Direct2D/ID2D1GdiMetafile.cs | 12 +- .../Graphics/Direct2D/ID2D1GdiMetafile1.cs | 12 +- .../Graphics/Direct2D/ID2D1GdiMetafileSink.cs | 10 +- .../Direct2D/ID2D1GdiMetafileSink1.cs | 10 +- .../Graphics/Direct2D/ID2D1Geometry.cs | 34 +- .../Graphics/Direct2D/ID2D1GeometryGroup.cs | 14 +- .../Direct2D/ID2D1GeometryRealization.cs | 8 +- .../Graphics/Direct2D/ID2D1GeometrySink.cs | 18 +- .../Graphics/Direct2D/ID2D1GradientMesh.cs | 12 +- .../Direct2D/ID2D1GradientStopCollection.cs | 16 +- .../Direct2D/ID2D1GradientStopCollection1.cs | 18 +- .../Direct2D/ID2D1HwndRenderTarget.cs | 14 +- .../Generated/Graphics/Direct2D/ID2D1Image.cs | 8 +- .../Graphics/Direct2D/ID2D1ImageBrush.cs | 28 +- .../Graphics/Direct2D/ID2D1ImageSource.cs | 12 +- .../Direct2D/ID2D1ImageSourceFromWic.cs | 14 +- .../Generated/Graphics/Direct2D/ID2D1Ink.cs | 28 +- .../Graphics/Direct2D/ID2D1InkStyle.cs | 16 +- .../Generated/Graphics/Direct2D/ID2D1Layer.cs | 10 +- .../Direct2D/ID2D1LinearGradientBrush.cs | 18 +- .../Graphics/Direct2D/ID2D1LookupTable3D.cs | 8 +- .../Generated/Graphics/Direct2D/ID2D1Mesh.cs | 10 +- .../Graphics/Direct2D/ID2D1Multithread.cs | 14 +- .../Graphics/Direct2D/ID2D1OffsetTransform.cs | 12 +- .../Graphics/Direct2D/ID2D1PathGeometry.cs | 16 +- .../Graphics/Direct2D/ID2D1PathGeometry1.cs | 10 +- .../Graphics/Direct2D/ID2D1PrintControl.cs | 12 +- .../Graphics/Direct2D/ID2D1Properties.cs | 30 +- .../Direct2D/ID2D1RadialGradientBrush.cs | 26 +- .../Direct2D/ID2D1RectangleGeometry.cs | 10 +- .../Graphics/Direct2D/ID2D1RenderInfo.cs | 16 +- .../Graphics/Direct2D/ID2D1RenderTarget.cs | 114 +- .../Graphics/Direct2D/ID2D1Resource.cs | 10 +- .../Graphics/Direct2D/ID2D1ResourceTexture.cs | 10 +- .../Direct2D/ID2D1RoundedRectangleGeometry.cs | 10 +- .../Direct2D/ID2D1SimplifiedGeometrySink.cs | 22 +- .../Graphics/Direct2D/ID2D1SolidColorBrush.cs | 12 +- .../Graphics/Direct2D/ID2D1SourceTransform.cs | 12 +- .../Graphics/Direct2D/ID2D1SpriteBatch.cs | 18 +- .../Graphics/Direct2D/ID2D1StrokeStyle.cs | 26 +- .../Graphics/Direct2D/ID2D1StrokeStyle1.cs | 10 +- .../Graphics/Direct2D/ID2D1SvgAttribute.cs | 12 +- .../Graphics/Direct2D/ID2D1SvgDocument.cs | 30 +- .../Graphics/Direct2D/ID2D1SvgElement.cs | 68 +- .../Graphics/Direct2D/ID2D1SvgGlyphStyle.cs | 18 +- .../Graphics/Direct2D/ID2D1SvgPaint.cs | 22 +- .../Graphics/Direct2D/ID2D1SvgPathData.cs | 26 +- .../Direct2D/ID2D1SvgPointCollection.cs | 16 +- .../Direct2D/ID2D1SvgStrokeDashArray.cs | 20 +- .../Direct2D/ID2D1TessellationSink.cs | 12 +- .../Graphics/Direct2D/ID2D1Transform.cs | 14 +- .../Graphics/Direct2D/ID2D1TransformGraph.cs | 26 +- .../Graphics/Direct2D/ID2D1TransformNode.cs | 10 +- .../Direct2D/ID2D1TransformedGeometry.cs | 12 +- .../Direct2D/ID2D1TransformedImageSource.cs | 12 +- .../Graphics/Direct2D/ID2D1VertexBuffer.cs | 12 +- .../Graphics/Direct2D/ImageBrushProperties.cs | 27 + .../Direct2D/ImageSourceFromDxgiOptions.cs | 23 + .../Direct2D/ImageSourceLoadingOptions.cs | 26 + .../Graphics/Direct2D/InkBezierSegment.cs | 24 + .../Graphics/Direct2D/InkNibShape.cs | 22 + .../Generated/Graphics/Direct2D/InkPoint.cs | 24 + .../Graphics/Direct2D/InkStyleProperties.cs | 21 + .../Graphics/Direct2D/InputDescription.cs | 21 + .../Direct2D/InputElementDescription.cs | 30 + .../Graphics/Direct2D/InterpolationMode.cs | 34 + .../Direct2D/InterpolationModeDefinition.cs | 40 + .../Graphics/Direct2D/LayerOptions.cs | 23 + .../Graphics/Direct2D/LayerOptions1.cs | 26 + .../Graphics/Direct2D/LayerParameters.cs | 36 + .../Graphics/Direct2D/LayerParameters1.cs | 36 + .../Generated/Graphics/Direct2D/LineJoin.cs | 28 + .../Direct2D/LinearGradientBrushProperties.cs | 21 + .../Graphics/Direct2D/LinearTransferProp.cs | 55 + .../Graphics/Direct2D/LookupTable3DProp.cs | 22 + .../Generated/Graphics/Direct2D/MapOptions.cs | 29 + .../Generated/Graphics/Direct2D/MappedRect.cs | 21 + .../Graphics/Direct2D/MorphologyMode.cs | 22 + .../Graphics/Direct2D/MorphologyProp.cs | 25 + .../Graphics/Direct2D/OpacityMaskContent.cs | 25 + .../Graphics/Direct2D/OpacityMetadataProp.cs | 19 + .../Graphics/Direct2D/OpacityProp.cs | 19 + .../Graphics/Direct2D/Orientation.cs | 40 + .../Graphics/Direct2D/PatchEdgeMode.cs | 25 + .../Graphics/Direct2D/PathSegment.cs | 26 + ...PerspectiveTransform3DInteroplationMode.cs | 31 + .../PerspectiveTransform3DProperties.cs | 40 + .../Graphics/Direct2D/PixelFormat.cs | 21 + .../Graphics/Direct2D/PixelOptions.cs | 23 + .../Graphics/Direct2D/PointDescription.cs | 30 + .../Graphics/Direct2D/PointDiffuseProp.cs | 34 + .../Direct2D/PointDiffuseScaleMode.cs | 34 + .../Graphics/Direct2D/PointSpecularProp.cs | 37 + .../Direct2D/PointSpecularScaleMode.cs | 34 + .../Graphics/Direct2D/PosterizeProp.cs | 25 + .../Graphics/Direct2D/PresentOptions.cs | 26 + .../Graphics/Direct2D/PrimitiveBlend.cs | 31 + .../Direct2D/PrintControlProperties.cs | 24 + .../Graphics/Direct2D/PrintFontSubsetMode.cs | 25 + .../Generated/Graphics/Direct2D/Property.cs | 46 + .../Graphics/Direct2D/PropertyBinding.cs | 24 + .../Graphics/Direct2D/PropertyType.cs | 73 + .../Direct2D/QuadraticBezierSegment.cs | 21 + .../Direct2D/RadialGradientBrushProperties.cs | 27 + .../Generated/Graphics/Direct2D/RectF.cs | 27 + .../Generated/Graphics/Direct2D/RectU.cs | 27 + .../Direct2D/RenderTargetProperties.cs | 33 + .../Graphics/Direct2D/RenderTargetType.cs | 25 + .../Graphics/Direct2D/RenderTargetUsage.cs | 26 + .../Graphics/Direct2D/RenderingControls.cs | 21 + .../Graphics/Direct2D/RenderingPriority.cs | 22 + .../Direct2D/ResourceTextureProperties.cs | 33 + .../Direct2D/RgbToHueOutputColorSpace.cs | 22 + .../Graphics/Direct2D/RgbToHueProp.cs | 19 + .../Graphics/Direct2D/RoundedRect.cs | 24 + .../Graphics/Direct2D/SaturationProp.cs | 19 + .../Direct2D/ScaleInterpolationMode.cs | 34 + .../Generated/Graphics/Direct2D/ScaleProp.cs | 31 + .../Generated/Graphics/Direct2D/SepiaProp.cs | 22 + .../Graphics/Direct2D/ShadowOptimization.cs | 25 + .../Generated/Graphics/Direct2D/ShadowProp.cs | 25 + .../Graphics/Direct2D/SharpenProp.cs | 22 + .../Graphics/Direct2D/SimpleColorProfile.cs | 30 + .../Graphics/Direct2D/SpotDiffuseProp.cs | 43 + .../Graphics/Direct2D/SpotDiffuseScaleMode.cs | 34 + .../Graphics/Direct2D/SpotSpecularProp.cs | 46 + .../Direct2D/SpotSpecularScaleMode.cs | 34 + .../Graphics/Direct2D/SpriteOptions.cs | 23 + .../Graphics/Direct2D/StraightenProp.cs | 25 + .../Graphics/Direct2D/StraightenScaleMode.cs | 31 + .../Direct2D/StrokeStyleProperties.cs | 36 + .../Direct2D/StrokeStyleProperties1.cs | 39 + .../Graphics/Direct2D/StrokeTransformType.cs | 25 + .../Graphics/Direct2D/SubProperty.cs | 37 + .../Graphics/Direct2D/SvgAspectAlign.cs | 46 + .../Graphics/Direct2D/SvgAspectScaling.cs | 22 + .../Graphics/Direct2D/SvgAttributePodType.cs | 58 + .../Direct2D/SvgAttributeStringType.cs | 22 + .../Generated/Graphics/Direct2D/SvgDisplay.cs | 22 + .../Generated/Graphics/Direct2D/SvgLength.cs | 21 + .../Graphics/Direct2D/SvgLengthUnits.cs | 22 + .../Generated/Graphics/Direct2D/SvgLineCap.cs | 25 + .../Graphics/Direct2D/SvgLineJoin.cs | 25 + .../Graphics/Direct2D/SvgOverflow.cs | 22 + .../Graphics/Direct2D/SvgPaintType.cs | 37 + .../Graphics/Direct2D/SvgPathCommand.cs | 73 + .../Direct2D/SvgPreserveAspectRatio.cs | 24 + .../Graphics/Direct2D/SvgUnitType.cs | 22 + .../Generated/Graphics/Direct2D/SvgViewbox.cs | 27 + .../Graphics/Direct2D/SvgVisibility.cs | 22 + .../Graphics/Direct2D/SweepDirection.cs | 22 + .../Graphics/Direct2D/TableTransferProp.cs | 43 + .../Direct2D/TemperatureandtintProp.cs | 22 + .../Graphics/Direct2D/TextAntialiasMode.cs | 28 + .../Graphics/Direct2D/ThreadingMode.cs | 22 + .../Generated/Graphics/Direct2D/TileProp.cs | 19 + .../Generated/Graphics/Direct2D/TintProp.cs | 22 + .../Direct2D/Transform3DInterpolationMode.cs | 31 + .../Direct2D/Transform3DProperties.cs | 25 + .../Direct2D/TransformedImageSourceOptions.cs | 23 + .../TransformedImageSourceProperties.cs | 30 + .../Generated/Graphics/Direct2D/Triangle.cs | 24 + .../Graphics/Direct2D/TurbulenceNoise.cs | 22 + .../Graphics/Direct2D/TurbulenceProp.cs | 37 + .../Generated/Graphics/Direct2D/UnitMode.cs | 22 + .../Direct2D/VertexBufferProperties.cs | 27 + .../Graphics/Direct2D/VertexOptions.cs | 29 + .../Graphics/Direct2D/VertexRange.cs | 21 + .../Graphics/Direct2D/VertexUsage.cs | 22 + .../Graphics/Direct2D/VignetteProp.cs | 25 + .../Direct2D/WhiteLevelAdjustmentProp.cs | 22 + .../Graphics/Direct2D/WindowState.cs | 23 + .../Direct2D/YcbcrChromaSubsampling.cs | 31 + .../Direct2D/YcbcrInterpolationMode.cs | 34 + .../Generated/Graphics/Direct2D/YcbcrProp.cs | 25 + .../Generated/Graphics/Direct3D.Dxc.cs | 480 - .../Generated/Graphics/Direct3D.Fxc.cs | 312 - .../Generated/Graphics/Direct3D.cs | 1262 -- .../Graphics/Direct3D/Apis.Functions.cs | 76 + .../Generated/Graphics/Direct3D/Apis.cs | 19 + .../Generated/Graphics/Direct3D/BlobPart.cs | 67 + .../Graphics/Direct3D/CBufferType.cs | 28 + .../Graphics/Direct3D/CompileEffectFlags.cs | 21 + .../Graphics/Direct3D/CompileFlags.cs | 69 + .../Graphics/Direct3D/CompileFlags2.cs | 23 + .../Direct3D/CompileSecondaryFlags.cs | 23 + .../Graphics/Direct3D/CompressShaderFlags.cs | 19 + .../{ => Graphics/Direct3D}/Direct3D.xml | 0 .../Graphics/Direct3D/DisasmFlags.cs | 33 + .../Generated/Graphics/Direct3D/DriverType.cs | 34 + .../Generated/Graphics/Direct3D/DxcArgPair.cs | 21 + .../Generated/Graphics/Direct3D/DxcBuffer.cs | 24 + .../Generated/Graphics/Direct3D/DxcCp.cs | 25 + .../Generated/Graphics/Direct3D/DxcDefine.cs | 21 + .../Graphics/Direct3D/DxcHashFlags.cs | 19 + .../Generated/Graphics/Direct3D/DxcOutKind.cs | 49 + .../Graphics/Direct3D/DxcShaderHash.cs | 21 + .../Graphics/Direct3D/DxcValidatorFlags.cs | 27 + .../Graphics/Direct3D/DxcVersionInfoFlags.cs | 22 + .../Graphics/Direct3D/FeatureLevel.cs | 49 + .../Generated/Graphics/Direct3D/ID3DBlob.cs | 12 +- .../Direct3D/ID3DDestructionNotifier.cs | 12 +- .../Graphics/Direct3D/ID3DInclude.cs | 6 +- .../Graphics/Direct3D/IDxcAssembler.cs | 10 +- .../Generated/Graphics/Direct3D/IDxcBlob.cs | 12 +- .../Graphics/Direct3D/IDxcBlobEncoding.cs | 10 +- .../Graphics/Direct3D/IDxcBlobUtf16.cs | 12 +- .../Graphics/Direct3D/IDxcBlobUtf8.cs | 12 +- .../Graphics/Direct3D/IDxcCompiler.cs | 14 +- .../Graphics/Direct3D/IDxcCompiler2.cs | 10 +- .../Graphics/Direct3D/IDxcCompiler3.cs | 12 +- .../Graphics/Direct3D/IDxcCompilerArgs.cs | 18 +- .../Graphics/Direct3D/IDxcContainerBuilder.cs | 16 +- .../Direct3D/IDxcContainerReflection.cs | 20 +- .../Graphics/Direct3D/IDxcExtraOutputs.cs | 12 +- .../Graphics/Direct3D/IDxcIncludeHandler.cs | 10 +- .../Graphics/Direct3D/IDxcLibrary.cs | 28 +- .../Generated/Graphics/Direct3D/IDxcLinker.cs | 12 +- .../Graphics/Direct3D/IDxcOperationResult.cs | 14 +- .../Graphics/Direct3D/IDxcOptimizer.cs | 14 +- .../Graphics/Direct3D/IDxcOptimizerPass.cs | 18 +- .../Graphics/Direct3D/IDxcPdbUtils.cs | 56 +- .../Generated/Graphics/Direct3D/IDxcResult.cs | 18 +- .../Generated/Graphics/Direct3D/IDxcUtils.cs | 34 +- .../Graphics/Direct3D/IDxcValidator.cs | 10 +- .../Graphics/Direct3D/IDxcValidator2.cs | 10 +- .../Graphics/Direct3D/IDxcVersionInfo.cs | 12 +- .../Graphics/Direct3D/IDxcVersionInfo2.cs | 10 +- .../Graphics/Direct3D/IDxcVersionInfo3.cs | 10 +- .../Graphics/Direct3D/IncludeType.cs | 22 + .../Graphics/Direct3D/InterpolationMode.cs | 40 + .../Graphics/Direct3D/MinPrecision.cs | 40 + .../Generated/Graphics/Direct3D/Name.cs | 97 + .../Graphics/Direct3D/ParameterFlags.cs | 26 + .../Generated/Graphics/Direct3D/Primitive.cs | 130 + .../Graphics/Direct3D/PrimitiveTopology.cs | 142 + .../Direct3D/RegisterComponentType.cs | 28 + .../Graphics/Direct3D/ResourceReturnType.cs | 40 + .../Graphics/Direct3D/ShaderCBufferFlags.cs | 21 + .../Generated/Graphics/Direct3D/ShaderData.cs | 21 + .../Graphics/Direct3D/ShaderInputFlags.cs | 36 + .../Graphics/Direct3D/ShaderInputType.cs | 58 + .../Graphics/Direct3D/ShaderMacro.cs | 21 + .../Graphics/Direct3D/ShaderVariableClass.cs | 40 + .../Graphics/Direct3D/ShaderVariableFlags.cs | 30 + .../Graphics/Direct3D/ShaderVariableType.cs | 205 + .../Graphics/Direct3D/SrvDimension.cs | 52 + .../Generated/Graphics/Direct3D/StripFlags.cs | 33 + .../Graphics/Direct3D/TessellatorDomain.cs | 28 + .../Direct3D/TessellatorOutputPrimitive.cs | 31 + .../Direct3D/TessellatorPartitioning.cs | 31 + .../Generated/Graphics/DirectWrite.cs | 3035 ---- .../Graphics/DirectWrite/Apis.Functions.cs | 16 + .../Generated/Graphics/DirectWrite/Apis.cs | 29 + .../Graphics/DirectWrite/AutomaticFontAxes.cs | 23 + .../Graphics/DirectWrite/Baseline.cs | 43 + .../Graphics/DirectWrite/BreakCondition.cs | 28 + .../Graphics/DirectWrite/CaretMetrics.cs | 24 + .../Graphics/DirectWrite/ClusterMetrics.cs | 24 + .../Graphics/DirectWrite/ColorGlyphRun.cs | 33 + .../Graphics/DirectWrite/ColorGlyphRun1.cs | 24 + .../Graphics/DirectWrite/ContainerType.cs | 25 + .../DirectWrite}/DirectWrite.xml | 0 .../Graphics/DirectWrite/FactoryType.cs | 22 + .../Graphics/DirectWrite/FileFragment.cs | 21 + .../Graphics/DirectWrite/FlowDirection.cs | 28 + .../DirectWrite/FontAxisAttributes.cs | 26 + .../Graphics/DirectWrite/FontAxisRange.cs | 24 + .../Graphics/DirectWrite/FontAxisTag.cs | 31 + .../Graphics/DirectWrite/FontAxisValue.cs | 21 + .../Graphics/DirectWrite/FontFaceType.cs | 43 + .../Graphics/DirectWrite/FontFamilyModel.cs | 22 + .../Graphics/DirectWrite/FontFeature.cs | 21 + .../Graphics/DirectWrite/FontFeatureTag.cs | 259 + .../Graphics/DirectWrite/FontFileType.cs | 43 + .../Graphics/DirectWrite/FontLineGapUsage.cs | 25 + .../Graphics/DirectWrite/FontMetrics.cs | 45 + .../Graphics/DirectWrite/FontMetrics1.cs | 57 + .../Graphics/DirectWrite/FontProperty.cs | 24 + .../Graphics/DirectWrite/FontPropertyId.cs | 73 + .../Graphics/DirectWrite/FontSimulations.cs | 26 + .../Graphics/DirectWrite/FontSourceType.cs | 31 + .../Graphics/DirectWrite/FontStretch.cs | 49 + .../Graphics/DirectWrite/FontStyle.cs | 25 + .../Graphics/DirectWrite/FontWeight.cs | 67 + .../Graphics/DirectWrite/GlyphImageData.cs | 42 + .../Graphics/DirectWrite/GlyphImageFormats.cs | 44 + .../Graphics/DirectWrite/GlyphMetrics.cs | 36 + .../Graphics/DirectWrite/GlyphOffset.cs | 21 + .../DirectWrite/GlyphOrientationAngle.cs | 28 + .../Graphics/DirectWrite/GlyphRun.cs | 39 + .../DirectWrite/GlyphRunDescription.cs | 30 + .../Graphics/DirectWrite/GridFitMode.cs | 25 + .../Graphics/DirectWrite/HitTestMetrics.cs | 42 + .../DirectWrite/IDWriteAsyncResult.cs | 12 +- .../DirectWrite/IDWriteBitmapRenderTarget.cs | 24 +- .../DirectWrite/IDWriteBitmapRenderTarget1.cs | 12 +- .../IDWriteColorGlyphRunEnumerator.cs | 12 +- .../IDWriteColorGlyphRunEnumerator1.cs | 10 +- .../Graphics/DirectWrite/IDWriteFactory.cs | 50 +- .../Graphics/DirectWrite/IDWriteFactory1.cs | 12 +- .../Graphics/DirectWrite/IDWriteFactory2.cs | 18 +- .../Graphics/DirectWrite/IDWriteFactory3.cs | 26 +- .../Graphics/DirectWrite/IDWriteFactory4.cs | 14 +- .../Graphics/DirectWrite/IDWriteFactory5.cs | 18 +- .../Graphics/DirectWrite/IDWriteFactory6.cs | 22 +- .../Graphics/DirectWrite/IDWriteFactory7.cs | 12 +- .../Graphics/DirectWrite/IDWriteFont.cs | 30 +- .../Graphics/DirectWrite/IDWriteFont1.cs | 16 +- .../Graphics/DirectWrite/IDWriteFont2.cs | 10 +- .../Graphics/DirectWrite/IDWriteFont3.cs | 18 +- .../DirectWrite/IDWriteFontCollection.cs | 16 +- .../DirectWrite/IDWriteFontCollection1.cs | 12 +- .../DirectWrite/IDWriteFontCollection2.cs | 16 +- .../DirectWrite/IDWriteFontCollection3.cs | 10 +- .../IDWriteFontCollectionLoader.cs | 10 +- .../IDWriteFontDownloadListener.cs | 10 +- .../DirectWrite/IDWriteFontDownloadQueue.cs | 20 +- .../Graphics/DirectWrite/IDWriteFontFace.cs | 38 +- .../Graphics/DirectWrite/IDWriteFontFace1.cs | 32 +- .../Graphics/DirectWrite/IDWriteFontFace2.cs | 18 +- .../Graphics/DirectWrite/IDWriteFontFace3.cs | 36 +- .../Graphics/DirectWrite/IDWriteFontFace4.cs | 16 +- .../Graphics/DirectWrite/IDWriteFontFace5.cs | 18 +- .../Graphics/DirectWrite/IDWriteFontFace6.cs | 12 +- .../DirectWrite/IDWriteFontFaceReference.cs | 36 +- .../DirectWrite/IDWriteFontFaceReference1.cs | 14 +- .../DirectWrite/IDWriteFontFallback.cs | 10 +- .../DirectWrite/IDWriteFontFallback1.cs | 10 +- .../DirectWrite/IDWriteFontFallbackBuilder.cs | 14 +- .../Graphics/DirectWrite/IDWriteFontFamily.cs | 14 +- .../DirectWrite/IDWriteFontFamily1.cs | 14 +- .../DirectWrite/IDWriteFontFamily2.cs | 12 +- .../Graphics/DirectWrite/IDWriteFontFile.cs | 14 +- .../DirectWrite/IDWriteFontFileEnumerator.cs | 12 +- .../DirectWrite/IDWriteFontFileLoader.cs | 10 +- .../DirectWrite/IDWriteFontFileStream.cs | 16 +- .../Graphics/DirectWrite/IDWriteFontList.cs | 14 +- .../Graphics/DirectWrite/IDWriteFontList1.cs | 14 +- .../Graphics/DirectWrite/IDWriteFontList2.cs | 10 +- .../DirectWrite/IDWriteFontResource.cs | 32 +- .../Graphics/DirectWrite/IDWriteFontSet.cs | 28 +- .../Graphics/DirectWrite/IDWriteFontSet1.cs | 34 +- .../Graphics/DirectWrite/IDWriteFontSet2.cs | 10 +- .../Graphics/DirectWrite/IDWriteFontSet3.cs | 14 +- .../DirectWrite/IDWriteFontSetBuilder.cs | 16 +- .../DirectWrite/IDWriteFontSetBuilder1.cs | 10 +- .../DirectWrite/IDWriteFontSetBuilder2.cs | 12 +- .../Graphics/DirectWrite/IDWriteGdiInterop.cs | 18 +- .../DirectWrite/IDWriteGdiInterop1.cs | 16 +- .../DirectWrite/IDWriteGlyphRunAnalysis.cs | 14 +- .../IDWriteInMemoryFontFileLoader.cs | 12 +- .../DirectWrite/IDWriteInlineObject.cs | 16 +- .../DirectWrite/IDWriteLocalFontFileLoader.cs | 14 +- .../DirectWrite/IDWriteLocalizedStrings.cs | 20 +- .../DirectWrite/IDWriteNumberSubstitution.cs | 8 +- .../DirectWrite/IDWritePixelSnapping.cs | 14 +- .../IDWriteRemoteFontFileLoader.cs | 14 +- .../IDWriteRemoteFontFileStream.cs | 16 +- .../DirectWrite/IDWriteRenderingParams.cs | 18 +- .../DirectWrite/IDWriteRenderingParams1.cs | 10 +- .../DirectWrite/IDWriteRenderingParams2.cs | 10 +- .../DirectWrite/IDWriteRenderingParams3.cs | 10 +- .../Graphics/DirectWrite/IDWriteStringList.cs | 18 +- .../DirectWrite/IDWriteTextAnalysisSink.cs | 16 +- .../DirectWrite/IDWriteTextAnalysisSink1.cs | 10 +- .../DirectWrite/IDWriteTextAnalysisSource.cs | 18 +- .../DirectWrite/IDWriteTextAnalysisSource1.cs | 10 +- .../DirectWrite/IDWriteTextAnalyzer.cs | 22 +- .../DirectWrite/IDWriteTextAnalyzer1.cs | 26 +- .../DirectWrite/IDWriteTextAnalyzer2.cs | 14 +- .../Graphics/DirectWrite/IDWriteTextFormat.cs | 58 +- .../DirectWrite/IDWriteTextFormat1.cs | 24 +- .../DirectWrite/IDWriteTextFormat2.cs | 12 +- .../DirectWrite/IDWriteTextFormat3.cs | 18 +- .../Graphics/DirectWrite/IDWriteTextLayout.cs | 86 +- .../DirectWrite/IDWriteTextLayout1.cs | 16 +- .../DirectWrite/IDWriteTextLayout2.cs | 26 +- .../DirectWrite/IDWriteTextLayout3.cs | 16 +- .../DirectWrite/IDWriteTextLayout4.cs | 18 +- .../DirectWrite/IDWriteTextRenderer.cs | 16 +- .../DirectWrite/IDWriteTextRenderer1.cs | 16 +- .../Graphics/DirectWrite/IDWriteTypography.cs | 14 +- .../DirectWrite/InformationalStringId.cs | 91 + .../DirectWrite/InlineObjectMetrics.cs | 27 + .../DirectWrite/JustificationOpportunity.cs | 27 + .../Graphics/DirectWrite/LineBreakpoint.cs | 18 + .../Graphics/DirectWrite/LineMetrics.cs | 33 + .../Graphics/DirectWrite/LineMetrics1.cs | 24 + .../Graphics/DirectWrite/LineSpacing.cs | 30 + .../Graphics/DirectWrite/LineSpacingMethod.cs | 25 + .../Graphics/DirectWrite/Locality.cs | 25 + .../Graphics/DirectWrite/MeasuringMode.cs | 25 + .../DirectWrite/NumberSubstitutionMethod.cs | 31 + .../Graphics/DirectWrite/OpticalAlignment.cs | 22 + .../Graphics/DirectWrite/OutlineThreshold.cs | 22 + .../Graphics/DirectWrite/OverhangMetrics.cs | 27 + .../Generated/Graphics/DirectWrite/Panose.cs | 169 + .../Graphics/DirectWrite/PanoseArmStyle.cs | 73 + .../Graphics/DirectWrite/PanoseAspect.cs | 46 + .../Graphics/DirectWrite/PanoseAspectRatio.cs | 37 + .../DirectWrite/PanoseCharacterRanges.cs | 34 + .../Graphics/DirectWrite/PanoseContrast.cs | 58 + .../DirectWrite/PanoseDecorativeClass.cs | 55 + .../DirectWrite/PanoseDecorativeTopology.cs | 64 + .../Graphics/DirectWrite/PanoseFamily.cs | 37 + .../Graphics/DirectWrite/PanoseFill.cs | 40 + .../Graphics/DirectWrite/PanoseFinials.cs | 58 + .../Graphics/DirectWrite/PanoseLetterform.cs | 64 + .../Graphics/DirectWrite/PanoseLining.cs | 43 + .../Graphics/DirectWrite/PanoseMidline.cs | 58 + .../Graphics/DirectWrite/PanoseProportion.cs | 46 + .../Graphics/DirectWrite/PanoseScriptForm.cs | 58 + .../DirectWrite/PanoseScriptTopology.cs | 49 + .../Graphics/DirectWrite/PanoseSerifStyle.cs | 73 + .../Graphics/DirectWrite/PanoseSpacing.cs | 28 + .../DirectWrite/PanoseStrokeVariation.cs | 49 + .../DirectWrite/PanoseSymbolAspectRatio.cs | 46 + .../Graphics/DirectWrite/PanoseSymbolKind.cs | 55 + .../Graphics/DirectWrite/PanoseToolKind.cs | 46 + .../Graphics/DirectWrite/PanoseWeight.cs | 55 + .../Graphics/DirectWrite/PanoseXascent.cs | 37 + .../Graphics/DirectWrite/PanoseXheight.cs | 46 + .../DirectWrite/ParagraphAlignment.cs | 25 + .../Graphics/DirectWrite/PixelGeometry.cs | 25 + .../Graphics/DirectWrite/ReadingDirection.cs | 28 + .../Graphics/DirectWrite/RenderingMode.cs | 49 + .../Graphics/DirectWrite/RenderingMode1.cs | 40 + .../Graphics/DirectWrite/ScriptAnalysis.cs | 21 + .../Graphics/DirectWrite/ScriptProperties.cs | 30 + .../Graphics/DirectWrite/ScriptShapes.cs | 24 + .../DirectWrite/ShapingGlyphProperties.cs | 18 + .../DirectWrite/ShapingTextProperties.cs | 18 + .../Graphics/DirectWrite/Strikethrough.cs | 36 + .../Graphics/DirectWrite/TextAlignment.cs | 28 + .../Graphics/DirectWrite/TextAntialiasMode.cs | 22 + .../Graphics/DirectWrite/TextMetrics.cs | 42 + .../Graphics/DirectWrite/TextMetrics1.cs | 21 + .../Graphics/DirectWrite/TextRange.cs | 21 + .../Graphics/DirectWrite/TextureType.cs | 22 + .../Graphics/DirectWrite/Trimming.cs | 24 + .../DirectWrite/TrimmingGranularity.cs | 25 + .../DirectWrite/TypographicFeatures.cs | 21 + .../Graphics/DirectWrite/Underline.cs | 39 + .../Graphics/DirectWrite/UnicodeRange.cs | 21 + .../DirectWrite/VerticalGlyphOrientation.cs | 22 + .../Graphics/DirectWrite/WordWrapping.cs | 31 + .../DirectWrite/_decorative_e__Struct.cs | 43 + .../Graphics/DirectWrite/_script_e__Struct.cs | 43 + .../Graphics/DirectWrite/_symbol_e__Struct.cs | 43 + .../Graphics/DirectWrite/_text_e__Struct.cs | 43 + .../Generated/{ => Graphics}/Dxc.xml | 0 .../Generated/Graphics/Dxgi.Common.cs | 1735 -- src/Vortice.Win32/Generated/Graphics/Dxgi.cs | 2437 --- .../Graphics/Dxgi/AdapterDescription.cs | 42 + .../Graphics/Dxgi/AdapterDescription1.cs | 45 + .../Graphics/Dxgi/AdapterDescription2.cs | 51 + .../Graphics/Dxgi/AdapterDescription3.cs | 51 + .../Generated/Graphics/Dxgi/AdapterFlags.cs | 26 + .../Generated/Graphics/Dxgi/AdapterFlags3.cs | 38 + .../Generated/Graphics/Dxgi/AlphaMode.cs | 28 + .../Generated/Graphics/Dxgi/Apis.Functions.cs | 28 + .../Generated/Graphics/Dxgi/Apis.cs | 189 + .../Generated/Graphics/Dxgi/ColorSpaceType.cs | 94 + .../Dxgi/ComputePreemptionGranularity.cs | 31 + .../Generated/Graphics/Dxgi/CpuAccess.cs | 25 + .../Generated/{ => Graphics/Dxgi}/DXGI.xml | 0 .../Dxgi/DecodeSwapChainDescription.cs | 18 + .../Graphics/Dxgi/DisplayColorSpace.cs | 21 + .../Generated/Graphics/Dxgi/EnumModesFlags.cs | 25 + .../Generated/Graphics/Dxgi/Feature.cs | 19 + .../Generated/Graphics/Dxgi/Format.cs | 379 + .../Graphics/Dxgi/FramePresentationMode.cs | 28 + .../Graphics/Dxgi/FrameStatistics.cs | 30 + .../Graphics/Dxgi/FrameStatisticsMedia.cs | 36 + .../Generated/Graphics/Dxgi/GammaControl.cs | 1070 ++ .../Graphics/Dxgi/GammaControlCapabilities.cs | 30 + .../Generated/Graphics/Dxgi/GpuPreference.cs | 25 + .../Dxgi/GraphicsPreemptionGranularity.cs | 31 + .../Graphics/Dxgi/HDRMetadataHdr10.cs | 39 + .../Graphics/Dxgi/HDRMetadataHdr10plus.cs | 18 + .../Graphics/Dxgi/HDRMetadataType.cs | 25 + .../Dxgi/HardwareCompositionSupportFlags.cs | 27 + .../Generated/Graphics/Dxgi/IDXGIAdapter.cs | 14 +- .../Generated/Graphics/Dxgi/IDXGIAdapter1.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIAdapter2.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIAdapter3.cs | 20 +- .../Generated/Graphics/Dxgi/IDXGIAdapter4.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIDebug.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIDebug1.cs | 14 +- .../Graphics/Dxgi/IDXGIDecodeSwapChain.cs | 26 +- .../Generated/Graphics/Dxgi/IDXGIDevice.cs | 18 +- .../Generated/Graphics/Dxgi/IDXGIDevice1.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIDevice2.cs | 14 +- .../Generated/Graphics/Dxgi/IDXGIDevice3.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIDevice4.cs | 12 +- .../Graphics/Dxgi/IDXGIDeviceSubObject.cs | 10 +- .../Graphics/Dxgi/IDXGIDisplayControl.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIFactory.cs | 18 +- .../Generated/Graphics/Dxgi/IDXGIFactory1.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIFactory2.cs | 30 +- .../Generated/Graphics/Dxgi/IDXGIFactory3.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIFactory4.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIFactory5.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIFactory6.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIFactory7.cs | 12 +- .../Graphics/Dxgi/IDXGIFactoryMedia.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIInfoQueue.cs | 82 +- .../Graphics/Dxgi/IDXGIKeyedMutex.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGIObject.cs | 16 +- .../Generated/Graphics/Dxgi/IDXGIOutput.cs | 32 +- .../Generated/Graphics/Dxgi/IDXGIOutput1.cs | 16 +- .../Generated/Graphics/Dxgi/IDXGIOutput2.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIOutput3.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIOutput4.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIOutput5.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGIOutput6.cs | 12 +- .../Graphics/Dxgi/IDXGIOutputDuplication.cs | 24 +- .../Generated/Graphics/Dxgi/IDXGIResource.cs | 16 +- .../Generated/Graphics/Dxgi/IDXGIResource1.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGISurface.cs | 14 +- .../Generated/Graphics/Dxgi/IDXGISurface1.cs | 12 +- .../Generated/Graphics/Dxgi/IDXGISurface2.cs | 10 +- .../Generated/Graphics/Dxgi/IDXGISwapChain.cs | 28 +- .../Graphics/Dxgi/IDXGISwapChain1.cs | 30 +- .../Graphics/Dxgi/IDXGISwapChain2.cs | 22 +- .../Graphics/Dxgi/IDXGISwapChain3.cs | 16 +- .../Graphics/Dxgi/IDXGISwapChain4.cs | 10 +- .../Graphics/Dxgi/IDXGISwapChainMedia.cs | 14 +- .../Graphics/Dxgi/IDXGraphicsAnalysis.cs | 12 +- .../Graphics/Dxgi/InfoQueueFilter.cs | 21 + .../Dxgi/InfoQueueFilterDescription.cs | 33 + .../Graphics/Dxgi/InfoQueueMessage.cs | 33 + .../Graphics/Dxgi/InfoQueueMessageCategory.cs | 49 + .../Graphics/Dxgi/InfoQueueMessageSeverity.cs | 31 + .../Graphics/Dxgi/JpegAcHuffmanTable.cs | 21 + .../Graphics/Dxgi/JpegDCHuffmanTable.cs | 21 + .../Graphics/Dxgi/JpegQuantizationTable.cs | 18 + .../Generated/Graphics/Dxgi/MapFlags.cs | 23 + .../Generated/Graphics/Dxgi/MappedRect.cs | 21 + .../Graphics/Dxgi/MemorySegmentGroup.cs | 22 + .../Generated/Graphics/Dxgi/MessageId.cs | 1009 ++ .../Graphics/Dxgi/ModeDescription.cs | 33 + .../Graphics/Dxgi/ModeDescription1.cs | 36 + .../Generated/Graphics/Dxgi/ModeRotation.cs | 31 + .../Generated/Graphics/Dxgi/ModeScaling.cs | 25 + .../Graphics/Dxgi/ModeScanlineOrder.cs | 28 + .../Dxgi/MultiplaneOverlayYcbcrFlags.cs | 27 + .../Graphics/Dxgi/OfferResourceFlags.cs | 21 + .../Graphics/Dxgi/OfferResourcePriority.cs | 25 + .../Graphics/Dxgi/OutduplDescription.cs | 24 + .../Generated/Graphics/Dxgi/OutduplFlags.cs | 21 + .../Graphics/Dxgi/OutduplFrameInfo.cs | 39 + .../Graphics/Dxgi/OutduplMoveRect.cs | 21 + .../Graphics/Dxgi/OutduplPointerPosition.cs | 21 + .../Graphics/Dxgi/OutduplPointerShapeInfo.cs | 30 + .../Graphics/Dxgi/OutduplPointerShapeType.cs | 25 + .../Graphics/Dxgi/OutputDescription.cs | 30 + .../Graphics/Dxgi/OutputDescription1.cs | 57 + .../Dxgi/OverlayColorSpaceSupportFlags.cs | 21 + .../Graphics/Dxgi/OverlaySupportFlags.cs | 24 + .../Generated/Graphics/Dxgi/PresentFlags.cs | 35 + .../Graphics/Dxgi/PresentParameters.cs | 27 + .../Graphics/Dxgi/QueryVideoMemoryInfo.cs | 27 + .../Generated/Graphics/Dxgi/Rational.cs | 21 + .../Graphics/Dxgi/ReclaimResourceResults.cs | 25 + .../Graphics/Dxgi/ReportLiveObjectFlags.cs | 30 + .../Generated/Graphics/Dxgi/Residency.cs | 25 + .../Graphics/Dxgi/ResourcePriority.cs | 31 + .../Generated/Graphics/Dxgi/Rgb.cs | 24 + .../Graphics/Dxgi/SampleDescription.cs | 21 + .../Generated/Graphics/Dxgi/Scaling.cs | 25 + .../Generated/Graphics/Dxgi/SharedResource.cs | 18 + .../Graphics/Dxgi/SurfaceDescription.cs | 27 + .../Dxgi/SwapChainColorSpaceSupportFlags.cs | 24 + .../Graphics/Dxgi/SwapChainDescription.cs | 39 + .../Graphics/Dxgi/SwapChainDescription1.cs | 48 + .../Generated/Graphics/Dxgi/SwapChainFlags.cs | 57 + .../Dxgi/SwapChainFullscreenDescription.cs | 27 + .../Generated/Graphics/Dxgi/SwapEffect.cs | 28 + .../Generated/Graphics/Dxgi/Usage.cs | 31 + .../Graphics/Dxgi/WindowAssociationFlags.cs | 25 + .../Generated/Graphics/Imaging.cs | 7847 --------- .../Graphics/Imaging/Apis.Functions.cs | 40 + .../Generated/Graphics/Imaging/Apis.cs | 6446 ++++++++ .../Generated/Graphics/Imaging/IWICBitmap.cs | 14 +- .../Graphics/Imaging/IWICBitmapClipper.cs | 10 +- .../Graphics/Imaging/IWICBitmapCodecInfo.cs | 32 +- .../IWICBitmapCodecProgressNotification.cs | 10 +- .../Graphics/Imaging/IWICBitmapDecoder.cs | 30 +- .../Graphics/Imaging/IWICBitmapDecoderInfo.cs | 14 +- .../Graphics/Imaging/IWICBitmapEncoder.cs | 28 +- .../Graphics/Imaging/IWICBitmapEncoderInfo.cs | 10 +- .../Graphics/Imaging/IWICBitmapFlipRotator.cs | 10 +- .../Graphics/Imaging/IWICBitmapFrameDecode.cs | 14 +- .../Graphics/Imaging/IWICBitmapFrameEncode.cs | 30 +- .../Graphics/Imaging/IWICBitmapLock.cs | 16 +- .../Graphics/Imaging/IWICBitmapScaler.cs | 10 +- .../Graphics/Imaging/IWICBitmapSource.cs | 18 +- .../Imaging/IWICBitmapSourceTransform.cs | 16 +- .../Graphics/Imaging/IWICColorContext.cs | 20 +- .../Graphics/Imaging/IWICColorTransform.cs | 10 +- .../Graphics/Imaging/IWICComponentFactory.cs | 22 +- .../Graphics/Imaging/IWICComponentInfo.cs | 24 +- .../Graphics/Imaging/IWICDdsDecoder.cs | 12 +- .../Graphics/Imaging/IWICDdsEncoder.cs | 14 +- .../Graphics/Imaging/IWICDdsFrameDecode.cs | 14 +- .../Graphics/Imaging/IWICDevelopRaw.cs | 72 +- .../IWICDevelopRawNotificationCallback.cs | 10 +- .../Graphics/Imaging/IWICEnumMetadataItem.cs | 16 +- .../Imaging/IWICFastMetadataEncoder.cs | 12 +- .../Graphics/Imaging/IWICFormatConverter.cs | 12 +- .../Imaging/IWICFormatConverterInfo.cs | 12 +- .../Graphics/Imaging/IWICImageEncoder.cs | 14 +- .../Graphics/Imaging/IWICImagingFactory.cs | 58 +- .../Graphics/Imaging/IWICImagingFactory2.cs | 10 +- .../Graphics/Imaging/IWICJpegFrameDecode.cs | 28 +- .../Graphics/Imaging/IWICJpegFrameEncode.cs | 16 +- .../Imaging/IWICMetadataBlockReader.cs | 16 +- .../Imaging/IWICMetadataBlockWriter.cs | 18 +- .../Imaging/IWICMetadataHandlerInfo.cs | 22 +- .../Imaging/IWICMetadataQueryReader.cs | 16 +- .../Imaging/IWICMetadataQueryWriter.cs | 12 +- .../Graphics/Imaging/IWICMetadataReader.cs | 20 +- .../Imaging/IWICMetadataReaderInfo.cs | 14 +- .../Graphics/Imaging/IWICMetadataWriter.cs | 16 +- .../Imaging/IWICMetadataWriterInfo.cs | 12 +- .../Generated/Graphics/Imaging/IWICPalette.cs | 28 +- .../Graphics/Imaging/IWICPersistStream.cs | 12 +- .../Graphics/Imaging/IWICPixelFormatInfo.cs | 18 +- .../Graphics/Imaging/IWICPixelFormatInfo2.cs | 12 +- .../Imaging/IWICPlanarBitmapFrameEncode.cs | 12 +- .../IWICPlanarBitmapSourceTransform.cs | 12 +- .../Imaging/IWICPlanarFormatConverter.cs | 12 +- .../Graphics/Imaging/IWICProgressCallback.cs | 10 +- .../Imaging/IWICProgressiveLevelControl.cs | 14 +- .../Generated/Graphics/Imaging/IWICStream.cs | 16 +- .../Graphics/Imaging/IWICStreamProvider.cs | 16 +- .../{ => Graphics/Imaging}/Imaging.xml | 0 .../Imaging/WIC8BIMIptcDigestProperties.cs | 22 + .../Graphics/Imaging/WIC8BIMIptcProperties.cs | 22 + .../WIC8BIMResolutionInfoProperties.cs | 37 + .../Imaging/WICBitmapAlphaChannelOption.cs | 25 + .../Imaging/WICBitmapCreateCacheOption.cs | 25 + .../Imaging/WICBitmapDecoderCapabilities.cs | 31 + .../Graphics/Imaging/WICBitmapDitherType.cs | 46 + .../Imaging/WICBitmapEncoderCacheOption.cs | 25 + .../Imaging/WICBitmapInterpolationMode.cs | 31 + .../Graphics/Imaging/WICBitmapLockFlags.cs | 24 + .../Graphics/Imaging/WICBitmapPaletteType.cs | 58 + .../Graphics/Imaging/WICBitmapPattern.cs | 30 + .../Graphics/Imaging/WICBitmapPlane.cs | 27 + .../Imaging/WICBitmapPlaneDescription.cs | 24 + .../Imaging/WICBitmapTransformOptions.cs | 34 + .../Graphics/Imaging/WICColorContextType.cs | 25 + .../Imaging/WICComponentEnumerateOptions.cs | 31 + .../Graphics/Imaging/WICComponentSigning.cs | 28 + .../Graphics/Imaging/WICComponentType.cs | 37 + .../Graphics/Imaging/WICDdsAlphaMode.cs | 31 + .../Graphics/Imaging/WICDdsDimension.cs | 28 + .../Graphics/Imaging/WICDdsFormatInfo.cs | 27 + .../Graphics/Imaging/WICDdsParameters.cs | 39 + .../Graphics/Imaging/WICDecodeOptions.cs | 22 + .../WICGifApplicationExtensionProperties.cs | 22 + .../WICGifCommentExtensionProperties.cs | 19 + ...WICGifGraphicControlExtensionProperties.cs | 31 + .../WICGifImageDescriptorProperties.cs | 40 + ...WICGifLogicalScreenDescriptorProperties.cs | 43 + .../Graphics/Imaging/WICHeifHdrProperties.cs | 31 + .../Graphics/Imaging/WICHeifProperties.cs | 19 + .../Graphics/Imaging/WICImageParameters.cs | 36 + .../Imaging/WICJpegChrominanceProperties.cs | 19 + .../Imaging/WICJpegCommentProperties.cs | 19 + .../Graphics/Imaging/WICJpegFrameHeader.cs | 39 + .../Imaging/WICJpegIndexingOptions.cs | 22 + .../Imaging/WICJpegLuminanceProperties.cs | 19 + .../Graphics/Imaging/WICJpegScanHeader.cs | 39 + .../Graphics/Imaging/WICJpegScanType.cs | 25 + .../Graphics/Imaging/WICJpegTransferMatrix.cs | 22 + .../Imaging/WICJpegYCrCbSubsamplingOption.cs | 31 + .../Imaging/WICMetadataCreationOptions.cs | 28 + .../Graphics/Imaging/WICMetadataHeader.cs | 27 + .../Graphics/Imaging/WICMetadataPattern.cs | 30 + .../Graphics/Imaging/WICNamedWhitePoint.cs | 49 + .../Graphics/Imaging/WICPersistOptions.cs | 37 + .../WICPixelFormatNumericRepresentation.cs | 34 + .../Graphics/Imaging/WICPlanarOptions.cs | 22 + .../Graphics/Imaging/WICPngBkgdProperties.cs | 19 + .../Graphics/Imaging/WICPngChrmProperties.cs | 40 + .../Graphics/Imaging/WICPngFilterOption.cs | 37 + .../Graphics/Imaging/WICPngGamaProperties.cs | 19 + .../Graphics/Imaging/WICPngHistProperties.cs | 19 + .../Graphics/Imaging/WICPngIccpProperties.cs | 22 + .../Graphics/Imaging/WICPngItxtProperties.cs | 31 + .../Graphics/Imaging/WICPngSrgbProperties.cs | 19 + .../Graphics/Imaging/WICPngTimeProperties.cs | 34 + .../Imaging/WICProgressNotification.cs | 28 + .../Graphics/Imaging/WICProgressOperation.cs | 25 + .../Graphics/Imaging/WICRawCapabilities.cs | 25 + .../Imaging/WICRawCapabilitiesInfo.cs | 69 + .../Graphics/Imaging/WICRawParameterSet.cs | 25 + .../Graphics/Imaging/WICRawRenderMode.cs | 25 + .../Imaging/WICRawRotationCapabilities.cs | 28 + .../Graphics/Imaging/WICRawToneCurve.cs | 43 + .../Graphics/Imaging/WICRawToneCurvePoint.cs | 21 + .../Graphics/Imaging/WICSectionAccessLevel.cs | 22 + .../Imaging/WICTiffCompressionOption.cs | 40 + .../Graphics/Imaging/WICWebpAnimProperties.cs | 19 + .../Graphics/Imaging/WICWebpAnmfProperties.cs | 19 + src/Vortice.Win32/Graphics/Dxc.Manual.cs | 312 + src/Vortice.Win32/Graphics/Dxgi.Manual.cs | 6 +- src/Vortice.Win32/Win32.cs | 16 +- 1724 files changed, 64916 insertions(+), 51322 deletions(-) create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AesCtrIv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Apis.Functions.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Apis.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AsyncGetDataFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedChannelType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureAccessibleEncryptionInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureCryptoSessionInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInitializeInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureProtectionInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureSharedResourceInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProcessIdentifierType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProtectionFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidCountOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryChannelTypeOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCurrentAccessibilityEncryptionOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryDeviceHandleOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryProtectionOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessCountOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessInput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BindFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Blend.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BlendDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BlendDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BlendOperation.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Box.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrvFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BufferUavFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/BusType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CheckMultisampleQualityLevelsFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ClassInstanceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ClearFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ColorWriteEnable.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ComparisonFunction.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ComputeShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationTier.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ContentProtectionCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ContextType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CopyFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Counter.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CounterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CounterInfo.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CounterType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CpuAccessFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CreateDeviceContextStateFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CreateDeviceFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CryptoSessionKeyExchangeFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CryptoSessionStatus.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/CullMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DepthStencilDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DepthStencilOperationDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DepthStencilViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DepthWriteMask.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DeviceContextType.cs delete mode 100644 src/Vortice.Win32.Direct3D11/Generated/Direct3D11.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DomainShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DrawIndexedInstancedIndirectArgs.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DrawInstancedIndirectArgs.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DsvDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/DsvFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/EncryptedBlockInfo.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Feature.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataArchitectureInfo.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D10XHardwareOptions.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options2.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options3.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options4.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options5.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9ShadowSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9SimpleInstancingSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataDisplayable.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataDoubles.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport2.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataGpuVirtualAddressSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataMarkerSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderCache.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderMinPrecisionSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataThreading.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureDataVideoDecoderHistogram.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FeatureVideo.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FenceFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FillMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Filter.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FilterReductionType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FilterType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FormatSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FormatSupport2.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/FunctionDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/GeometryShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/HullShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilter.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/InputClassification.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/InputElementDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionData.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionInputData.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionOutputData.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/LibraryDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/LogicOperation.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MapFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MapMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MappedSubresource.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Message.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MessageCategory.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MessageId.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/MessageSeverity.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Omac.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/PackedMipDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ParameterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/PixelShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryDataPipelineStatistics.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryDataSOStatistics.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryDataTimestampDisjoint.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryMiscFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/QueryType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RaiseFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription2.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ReportLiveDeviceObjectFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ResourceDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ResourceMiscFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/RtvDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SODeclarationEntry.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SamplerDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderBufferDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderCacheSupportFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderInputBindDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderMinPrecisionSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingOptions.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingResourceType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderTypeDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderVariableDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/ShaderVersionType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SharedResourceTier.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SignatureParameterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/StandardMultisampleQualityLevels.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/StencilOperation.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SubresourceData.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/SubresourceTiling.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture1DUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayVpov.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsDsv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DMsSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DUav1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DVdov.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DVpiv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture2DVpov.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture3DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture3DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Texture3DUav.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TextureAddressMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TextureCubeFace.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TextureLayout.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TexureCubeArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TexureCubeSrv.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TileCopyFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TileMappingFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TileRangeFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TileRegionSize.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TileShape.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TiledResourceCoordinate.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TiledResourcesTier.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceGSInputPrimitive.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceRegister.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceRegisterType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceStats.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceStep.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/TraceValue.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/UavDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/Usage.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VdovDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VertexShaderTraceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoColor.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoColorRgba.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoColorYcbcra.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoContentProtectionCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBeginFrameCryptoSession.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription2.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferType.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderConfig.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderExtension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponent.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponentFlags.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderOutputViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoDecoderSubSampleMappingBlock.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoFrameFormat.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAlphaFillMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAutoStreamCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorBehaviorHints.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorColorSpace.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorContentDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCustomRate.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorDeviceCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFeatureCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilter.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterRange.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatSupport.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorInputViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorItelecineCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorNominalRange.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputRate.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorProcessorCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRateConversionCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRotation.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoCaps.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFlipMode.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFormat.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStream.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStreamBehaviorHint.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoSampleDescription.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VideoUsage.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VpivDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11/Generated/VpovDimension.cs create mode 100644 src/Vortice.Win32.Direct3D11on12/Generated/Apis.Functions.cs rename src/{Vortice.Win32/Generated/Graphics/Imaging.D2D.cs => Vortice.Win32.Direct3D11on12/Generated/Apis.cs} (83%) rename src/Vortice.Win32.Direct3D11on12/Generated/{Direct3D11on12.cs => ResourceFlags.cs} (56%) create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Apis.Functions.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Apis.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbOperation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/AxisShadingRate.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BackgroundProcessingMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Blend.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BlendDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BlendOperation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Box.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BufferRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BufferSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BufferSrvFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BufferUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BufferUavFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureInputs.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureToolsVisualizationHeader.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CachedPipelineState.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ClearFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ClearValue.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ColorWriteEnable.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandListFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandListSupportFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandListType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandPoolFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandQueueDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandQueueFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandQueuePriority.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandRecorderFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CommandSignatureDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ComparisonFunction.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ComputePipelineStateDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ConstantBufferViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CpuDescriptorHandle.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CpuPageProperty.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CrossNodeSharingTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/CullMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugCommandListGpuBasedValidationSettings.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugCommandListParameterType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuBasedValidationSettings.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuSlowdownPerformanceFactor.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugDeviceParameterType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DebugFeature.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthStencilOperationDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthStencilValue.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthStencilViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DepthWriteMask.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorRange.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorRange1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData2.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData3.cs delete mode 100644 src/Vortice.Win32.Direct3D12/Generated/Direct3D12.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DiscardRegion.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DispatchArguments.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DispatchMeshArguments.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DispatchRaysDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DrawArguments.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DrawIndexedArguments.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredAllocationType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredBreadcrumbContext.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredDeviceState.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredEnablement.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredPageFaultFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput2.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DredVersion.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DriverMatchingIdentifierStatus.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DsvDimension.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DsvFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DxilLibraryDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/DxilSubObjectToExportsAssociation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ElementsLayout.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ExistingCollectionDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ExportDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ExportFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Feature.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataCommandQueuePriority.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataCrossNode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options10.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options11.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options2.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options3.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options4.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options5.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options6.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options7.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options8.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options9.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataDisplayable.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataExistingHeaps.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataFeatureLevels.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatInfo.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatSupport.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataGpuVirtualAddressSupport.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataMultisampleQualityLevels.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionSupport.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypeCount.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypes.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataQueryMetaCommand.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataRootSignature.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataSerialization.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderCache.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderModel.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FenceFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FillMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Filter.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FilterReductionType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FilterType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FormatSupport1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FormatSupport2.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/FunctionDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GlobalRootSignature.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationPipelineStateCreateFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationShaderPatchMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuDescriptorHandle.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressAndStride.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRange.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRangeAndStride.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GraphicsPipelineStateDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/GraphicsStates.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HeapDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HeapFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HeapProperties.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HeapSerializationTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HeapType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HitGroupDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HitGroupType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/HitKind.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/IndexBufferStripCutValue.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/IndexBufferView.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilter.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/InputClassification.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/InputElementDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/InputLayoutDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/LibraryDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/LifetimeState.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/LocalRootSignature.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/LogicOperation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MeasurementsAction.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MemcpyDest.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MemoryPool.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MeshShaderTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Message.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MessageCallbackFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MessageCategory.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MessageId.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MessageSeverity.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MetaCommandDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterStage.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MipRegion.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MultipleFenceWaitFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/MultisampleQualityLevelFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/NodeMask.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PackedMipInfo.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ParameterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PipelineStateFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PipelineStateStreamDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PipelineStateSubObjectType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PlacedSubresourceFootprint.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PredicationOperation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/PrimitiveTopologyType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProgrammableSamplePositionsTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionSupportFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ProtectedSessionStatus.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryDataSOStatistics.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryHeapDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryHeapType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/QueryType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Range.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RangeUInt64.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RasterizerDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RayFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAabb.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureBuildFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureCopyMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoSerializationDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePrebuildInfo.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryAabbsDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryTrianglesDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingShaderConfig.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RaytracingTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccess.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessClearParameters.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassDepthStencilDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccess.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveParameters.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveSubresourceParameters.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassRenderTargetDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderPassTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderTargetBlendDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RenderTargetViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ReportLiveDeviceObjectFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResidencyFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResidencyPriority.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResolveMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceAliasingBarrier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceBarrier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceBindingTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceDimension.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceHeapTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceStates.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceTransitionBarrier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ResourceUavBarrier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootConstants.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootDescriptor.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootDescriptor1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootDescriptorFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootParameter.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootParameter1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootParameterType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription1.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootSignatureFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RootSignatureVersion.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RtFormatArray.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/RtvDimension.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SODeclarationEntry.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SamplePosition.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SamplerDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SamplerFeedbackTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SerializedDataDriverMatchingIdentifier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SerializedDataType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SerializedRaytracingAccelerationStructureHeader.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderBufferDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderBytecode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheControlFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheKindFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSessionDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSupportFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderComponentMapping.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderInputBindDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderMinPrecisionSupport.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderModel.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderResourceViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderTypeDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderVariableDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderVersionType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShaderVisibility.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShadingRate.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ShadingRateCombiner.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SharedResourceCompatibilityTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SignatureParameterDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SrvDimension.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateObjectConfig.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateObjectDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateObjectFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateObjectType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateSubObject.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StateSubObjectType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StaticBorderColor.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StaticSamplerDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StencilOperation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StreamOutputBufferView.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/StreamOutputDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubObjectToExportsAssociation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubresourceData.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubresourceFootprint.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubresourceInfo.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubresourceRangeUInt64.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/SubresourceTiling.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture1DUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsDsv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DMsSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture2DUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture3DRtv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture3DSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/Texture3DUav.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TextureAddressMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TextureCopyLocation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TextureCopyType.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TextureLayout.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TexureCubeArraySrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TexureCubeSrv.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TileCopyFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TileMappingFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TileRangeFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TileRegionSize.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TileShape.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TiledResourceCoordinate.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/TiledResourcesTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/UavDimension.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/UnorderedAccessViewDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/VariableShadingRateTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/VersionedDeviceRemovedExtendedData.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/VersionedRootSignatureDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/VertexBufferView.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ViewInstanceLocation.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ViewInstancingDescription.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ViewInstancingFlags.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/ViewInstancingTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/WaveMmaTier.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateMode.cs create mode 100644 src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateParameter.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D.Common.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/AlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/AntialiasMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.Functions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSegment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSize.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ArithmeticCompositeProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/AtlasProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BezierSegment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceAlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceOrientation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Blend.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BlendDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BlendMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BlendOperation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BlendProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BorderEdgeMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BorderMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BorderProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BrightnessProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BrushProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/BufferPrecision.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CapStyle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ChangeType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelDepth.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelSelector.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ChromaKeyProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorBitmapGlyphSnapOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorContextType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementAlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementQuality.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementRenderingIntent.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixAlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ColorSpace.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CombineMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CompatibleRenderTargetOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ContrastProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CreationProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CropProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CrossfadeProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/CustomVertexBufferProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DCInitializeMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DashStyle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DebugLevel.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DeviceContextOptions.cs rename src/Vortice.Win32/Generated/{ => Graphics/Direct2D}/Direct2D.xml (100%) create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurOptimization.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DiscreteTransferProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DisplacementMapProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DrawTextOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/EffectInputDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Ellipse.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/EmbossProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ExposureProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ExtendMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Feature.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataD3D10XHardwareOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataDoubles.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureLevel.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FigureBegin.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FigureEnd.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FillMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Filter.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/FloodProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GammaTransferProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurOptimization.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GeometryRelation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GeometrySimplificationOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GradientMeshPatch.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/GradientStop.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapDisplayMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsInputGamma.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HistogramProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HueRotationProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbInputColorSpace.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/HwndRenderTargetProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ImageBrushProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceFromDxgiOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceLoadingOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InkBezierSegment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InkNibShape.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InkPoint.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InkStyleProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InputDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InputElementDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationModeDefinition.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LineJoin.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LinearGradientBrushProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LinearTransferProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/LookupTable3DProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/MapOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/MappedRect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMaskContent.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMetadataProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Orientation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PatchEdgeMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PathSegment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DInteroplationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PixelFormat.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PixelOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PointDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PosterizeProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PresentOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PrimitiveBlend.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PrintControlProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PrintFontSubsetMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Property.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyBinding.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/QuadraticBezierSegment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RadialGradientBrushProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RectF.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RectU.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetUsage.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingControls.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingPriority.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ResourceTextureProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueOutputColorSpace.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/RoundedRect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SaturationProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SepiaProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowOptimization.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SharpenProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SimpleColorProfile.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SpriteOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenScaleMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeTransformType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SubProperty.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectAlign.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectScaling.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributePodType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributeStringType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgDisplay.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLength.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLengthUnits.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineCap.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineJoin.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgOverflow.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPaintType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPathCommand.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPreserveAspectRatio.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgUnitType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgViewbox.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SvgVisibility.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/SweepDirection.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TableTransferProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TemperatureandtintProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TextAntialiasMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/ThreadingMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TileProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TintProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/Triangle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceNoise.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/UnitMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/VertexBufferProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/VertexOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/VertexRange.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/VertexUsage.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/VignetteProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/WhiteLevelAdjustmentProp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/WindowState.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrChromaSubsampling.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrProp.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D.Fxc.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.Functions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/BlobPart.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CBufferType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CompileEffectFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags2.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CompileSecondaryFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/CompressShaderFlags.cs rename src/Vortice.Win32/Generated/{ => Graphics/Direct3D}/Direct3D.xml (100%) create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DisasmFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DriverType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcArgPair.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcBuffer.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcCp.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcDefine.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcHashFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcOutKind.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcShaderHash.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcValidatorFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/DxcVersionInfoFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/FeatureLevel.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/IncludeType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/InterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/MinPrecision.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/Name.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ParameterFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/Primitive.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/PrimitiveTopology.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/RegisterComponentType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ResourceReturnType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderCBufferFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderData.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderMacro.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableClass.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/SrvDimension.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/StripFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorDomain.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorOutputPrimitive.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorPartitioning.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.Functions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/AutomaticFontAxes.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Baseline.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/BreakCondition.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/CaretMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ClusterMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ContainerType.cs rename src/Vortice.Win32/Generated/{ => Graphics/DirectWrite}/DirectWrite.xml (100%) create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FactoryType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FileFragment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FlowDirection.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisAttributes.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisRange.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisTag.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisValue.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFaceType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFamilyModel.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeature.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeatureTag.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFileType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontLineGapUsage.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontProperty.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontPropertyId.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSimulations.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSourceType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStretch.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStyle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/FontWeight.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageData.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageFormats.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOffset.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOrientationAngle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRun.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRunDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/GridFitMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/HitTestMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/InformationalStringId.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/InlineObjectMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/JustificationOpportunity.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/LineBreakpoint.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacing.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacingMethod.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Locality.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/MeasuringMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/NumberSubstitutionMethod.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/OpticalAlignment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/OutlineThreshold.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/OverhangMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Panose.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseArmStyle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspectRatio.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseCharacterRanges.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseContrast.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeClass.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeTopology.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFamily.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFill.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFinials.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLetterform.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLining.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseMidline.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseProportion.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptForm.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptTopology.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSerifStyle.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSpacing.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseStrokeVariation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolAspectRatio.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolKind.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseToolKind.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseWeight.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXascent.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXheight.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ParagraphAlignment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/PixelGeometry.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ReadingDirection.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptAnalysis.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptShapes.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingGlyphProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingTextProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Strikethrough.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAlignment.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAntialiasMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextRange.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TextureType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Trimming.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TrimmingGranularity.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/TypographicFeatures.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/Underline.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/UnicodeRange.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/VerticalGlyphOrientation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/WordWrapping.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/_decorative_e__Struct.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/_script_e__Struct.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/_symbol_e__Struct.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/DirectWrite/_text_e__Struct.cs rename src/Vortice.Win32/Generated/{ => Graphics}/Dxc.xml (100%) delete mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi.Common.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription2.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription3.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags3.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/AlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.Functions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ColorSpaceType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ComputePreemptionGranularity.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/CpuAccess.cs rename src/Vortice.Win32/Generated/{ => Graphics/Dxgi}/DXGI.xml (100%) create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/DecodeSwapChainDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/DisplayColorSpace.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/EnumModesFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Feature.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Format.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/FramePresentationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatistics.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatisticsMedia.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControl.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControlCapabilities.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/GpuPreference.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/GraphicsPreemptionGranularity.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10plus.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/HardwareCompositionSupportFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilter.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilterDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessage.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageCategory.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageSeverity.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/JpegAcHuffmanTable.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/JpegDCHuffmanTable.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/JpegQuantizationTable.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/MapFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/MappedRect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/MemorySegmentGroup.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/MessageId.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ModeRotation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScaling.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScanlineOrder.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/MultiplaneOverlayYcbcrFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourceFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourcePriority.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFrameInfo.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplMoveRect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerPosition.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeInfo.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OverlayColorSpaceSupportFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/OverlaySupportFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/PresentFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/PresentParameters.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/QueryVideoMemoryInfo.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Rational.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ReclaimResourceResults.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ReportLiveObjectFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Residency.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/ResourcePriority.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Rgb.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SampleDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Scaling.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SharedResource.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SurfaceDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainColorSpaceSupportFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription1.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFullscreenDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/SwapEffect.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/Usage.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Dxgi/WindowAssociationFlags.cs delete mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/Apis.Functions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/Apis.cs rename src/Vortice.Win32/Generated/{ => Graphics/Imaging}/Imaging.xml (100%) create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcDigestProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMResolutionInfoProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapAlphaChannelOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapCreateCacheOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDecoderCapabilities.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDitherType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapEncoderCacheOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapInterpolationMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapLockFlags.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPaletteType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPattern.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlane.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlaneDescription.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapTransformOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICColorContextType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentEnumerateOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentSigning.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsAlphaMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsDimension.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsFormatInfo.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsParameters.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICDecodeOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICGifApplicationExtensionProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICGifCommentExtensionProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICGifGraphicControlExtensionProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICGifImageDescriptorProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICGifLogicalScreenDescriptorProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifHdrProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICImageParameters.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegChrominanceProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegCommentProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegFrameHeader.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegIndexingOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegLuminanceProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanHeader.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanType.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegTransferMatrix.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegYCrCbSubsamplingOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataCreationOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataHeader.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataPattern.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICNamedWhitePoint.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPersistOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPixelFormatNumericRepresentation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPlanarOptions.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngBkgdProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngChrmProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngFilterOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngGamaProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngHistProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngIccpProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngItxtProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngSrgbProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICPngTimeProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressNotification.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressOperation.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilities.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilitiesInfo.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawParameterSet.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRenderMode.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRotationCapabilities.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurve.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurvePoint.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICSectionAccessLevel.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICTiffCompressionOption.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnimProperties.cs create mode 100644 src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnmfProperties.cs diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs index 451b0b0..65b7e5c 100644 --- a/src/Generator/Program.cs +++ b/src/Generator/Program.cs @@ -1086,19 +1086,27 @@ public static class Program docFile = string.Empty; } - using var writer = new CodeWriter( - Path.Combine(outputFolder, fileName), - ns, - docFile, - $"Win32.{ns}"); + if (docFile.Equals("dxgi", StringComparison.OrdinalIgnoreCase)) + { + docFile = "DXGI"; + } - GenerateConstants(writer, api); - GenerateTypes(writer, api); - GenerateFunctions(writer, api); + string apiName = ns; + string apiFolder = Path.Combine(outputFolder, docFile); + + GenerateConstants(apiFolder, apiName, docFile, api); + GenerateTypes(apiFolder, apiName, docFile, api); + GenerateFunctions(apiFolder, apiName, docFile, api); } - private static void GenerateConstants(CodeWriter writer, ApiData api) + private static void GenerateConstants(string folder, string apiName, string docFileName, ApiData api) { + using CodeWriter writer = new( + Path.Combine(folder, "Apis.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + using (writer.PushBlock($"public static partial class Apis")) { foreach (var constant in api.Constants) @@ -1155,10 +1163,8 @@ public static class Program writer.WriteLine(); } - private static void GenerateTypes(CodeWriter writer, ApiData api) + private static void GenerateTypes(string folder, string apiName, string docFileName, ApiData api) { - bool regionWritten = false; - bool needNewLine = false; foreach (ApiType enumType in api.Types.Where(item => item.Kind.ToLowerInvariant() == "enum")) { if (enumType.Name.StartsWith("D3DX11")) @@ -1166,32 +1172,12 @@ public static class Program continue; } - if (!regionWritten) - { - writer.WriteLine($"#region Enums"); - regionWritten = true; - } - - if (needNewLine) - { - writer.WriteLine(); - } - - GenerateEnum(writer, enumType, false); - needNewLine = true; - - s_visitedEnums.Add($"{writer.Api}.{enumType.Name}"); - } - - if (regionWritten) - { - writer.WriteLine("#endregion Enums"); - writer.WriteLine(); + GenerateEnum(folder, apiName, docFileName, enumType, false); + s_visitedEnums.Add($"{apiName}.{enumType.Name}"); } // Generated enums -> from constants - regionWritten = false; - needNewLine = false; + Dictionary createdEnums = new(); foreach (ApiDataConstant constant in api.Constants) @@ -1238,30 +1224,10 @@ public static class Program foreach (ApiType enumType in createdEnums.Values) { - if (!regionWritten) - { - writer.WriteLine($"#region Generated Enums"); - regionWritten = true; - } - - if (needNewLine) - { - writer.WriteLine(); - } - - GenerateEnum(writer, enumType, true); - needNewLine = true; - } - - if (regionWritten) - { - writer.WriteLine($"#endregion Generated Enums"); - writer.WriteLine(); + GenerateEnum(folder, apiName, docFileName, enumType, true); } // Unions - regionWritten = false; - needNewLine = true; foreach (ApiType structType in api.Types.Where(item => item.Kind.ToLowerInvariant() == "union")) { @@ -1271,38 +1237,22 @@ public static class Program continue; } - if (s_csNameMappings.ContainsKey($"{writer.Api}.{structType.Name}")) + if (s_csNameMappings.ContainsKey($"{apiName}.{structType.Name}")) { continue; } - if (!regionWritten) - { - writer.WriteLine($"#region Unions"); - regionWritten = true; - } - - if (needNewLine) - { - writer.WriteLine(); - } - - GenerateStruct(api, writer, structType); - needNewLine = true; - - s_visitedStructs.Add($"{writer.Api}.{structType.Name}"); - } - - if (regionWritten) - { - writer.WriteLine($"#endregion Unions"); - writer.WriteLine(); + string structCsTypeName = GetCsStructTypeName(structType, apiName); + using var writer = new CodeWriter( + Path.Combine(folder, $"{structCsTypeName}.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + GenerateStruct(writer, api, structType); + s_visitedStructs.Add($"{apiName}.{structType.Name}"); } // Structs - regionWritten = false; - needNewLine = true; - foreach (ApiType structType in api.Types.Where(item => item.Kind.ToLowerInvariant() == "struct")) { if (structType.Name.StartsWith("D3DX11") || @@ -1312,35 +1262,22 @@ public static class Program continue; } - if (s_csNameMappings.ContainsKey($"{writer.Api}.{structType.Name}")) + if (s_csNameMappings.ContainsKey($"{apiName}.{structType.Name}")) { continue; } - if (!regionWritten) - { - writer.WriteLine($"#region Structs"); - regionWritten = true; - } - - if (needNewLine) - { - writer.WriteLine(); - } - - GenerateStruct(api, writer, structType); - needNewLine = true; - - s_visitedStructs.Add($"{writer.Api}.{structType.Name}"); - } - if (regionWritten) - { - writer.WriteLine("#endregion Structs"); - writer.WriteLine(); + string structCsTypeName = GetCsStructTypeName(structType, apiName); + using var writer = new CodeWriter( + Path.Combine(folder, $"{structCsTypeName}.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + GenerateStruct(writer, api, structType); + s_visitedStructs.Add($"{apiName}.{structType.Name}"); } // Com types - regionWritten = false; foreach (ApiType comType in api.Types.Where(item => item.Kind.ToLowerInvariant() == "com")) { if (comType.Name.StartsWith("ID3DX11")) @@ -1348,12 +1285,6 @@ public static class Program continue; } - if (!regionWritten) - { - writer.WriteLine("#region COM Types"); - regionWritten = true; - } - // Generate methods // TODO: FIX broken VTable ID3D12Heap, ID2D1Factory2 if (comType.Name == "ID3D12Pageable") @@ -1429,29 +1360,36 @@ public static class Program functions.Add(method); } - string subdirectory = Path.Combine(writer.Directory, writer.DocFileName); - string fileName = $"{comType.Name}.cs"; - using var comTypeWriter = new CodeWriter( - Path.Combine(subdirectory, fileName), - writer.Api, - "../" + writer.DocFileName, - $"Win32.{writer.Api}"); - GenerateComType(api, comTypeWriter, comType, methodsToGenerate); - } - - if (regionWritten) - { - writer.WriteLine("#endregion Com Types"); - writer.WriteLine(); + GenerateComType(folder, apiName, docFileName, api, comType, methodsToGenerate); } } - private static void GenerateFunctions(CodeWriter writer, ApiData api) + private static string GetCsStructTypeName(ApiType structType, string apiName) + { + if (structType.Name.StartsWith("Dxc") || + structType.Name.StartsWith("WIC")) + { + return structType.Name; + } + else + { + string csTypeName = GetDataTypeName(structType.Name, out _); + AddCsMapping(apiName, structType.Name, csTypeName); + return csTypeName; + } + } + + private static void GenerateFunctions(string folder, string apiName, string docFileName, ApiData api) { if (api.Functions.Length == 0) return; - writer.WriteLine($"#region Functions"); + using CodeWriter writer = new( + Path.Combine(folder, "Apis.Functions.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + using (writer.PushBlock($"public static unsafe partial class Apis")) { bool needNewLine = false; @@ -1473,8 +1411,6 @@ public static class Program needNewLine = true; } } - - writer.WriteLine($"#endregion Functions"); } private static string WriteFunction( @@ -1572,7 +1508,7 @@ public static class Program return functionSignature.ToString(); } - private static void GenerateEnum(CodeWriter writer, ApiType enumType, bool autoGenerated) + private static void GenerateEnum(string folder, string apiName, string docFileName, ApiType enumType, bool autoGenerated) { string csTypeName; string enumPrefix = string.Empty; @@ -1591,11 +1527,17 @@ public static class Program else { csTypeName = GetDataTypeName(enumType.Name, out enumPrefix); - AddCsMapping(writer.Api, enumType.Name, csTypeName); + AddCsMapping(apiName, enumType.Name, csTypeName); } string baseTypeName = GetTypeName(enumType.IntegerBase); + using var writer = new CodeWriter( + Path.Combine(folder, $"{csTypeName}.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + if (!autoGenerated) { writer.WriteLine($"/// "); @@ -1681,7 +1623,7 @@ public static class Program if (!autoGenerated) { - writer.WriteLine($"/// "); + writer.WriteLine($"/// "); } if (s_generateUnmanagedDocs) @@ -1737,7 +1679,7 @@ public static class Program return enumValueName; } - private static void GenerateStruct(ApiData api, CodeWriter writer, ApiType structType, bool nestedType = false) + private static void GenerateStruct(CodeWriter writer, ApiData api, ApiType structType, bool nestedType = false) { string csTypeName; string structPrefix = string.Empty; @@ -1758,8 +1700,11 @@ public static class Program csTypeName = GetDataTypeName(structType.Name, out structPrefix); AddCsMapping(writer.Api, structType.Name, csTypeName); } + } - writer.WriteLine($"/// "); + if (!nestedType) + { + writer.WriteLine($"/// "); if (s_generateUnmanagedDocs) { @@ -1801,8 +1746,8 @@ public static class Program bool asPointer = false; if (field.Type.Kind == "ApiRef") { - string apiName = GetApiName(field.Type); - string fullTypeName = $"{apiName}.{field.Type.Name}"; + string lookupApiName = GetApiName(field.Type); + string fullTypeName = $"{lookupApiName}.{field.Type.Name}"; if (IsKnownComType(fullTypeName) || s_visitedComTypes.ContainsKey(fullTypeName) || @@ -1814,7 +1759,7 @@ public static class Program string fieldTypeName = GetTypeName(field.Type, asPointer); - writer.WriteLine($"/// "); + writer.WriteLine($"/// "); string remapFieldLookUp = $"{structType.Name}::{field.Name}"; if (s_structFieldTypeRemap.TryGetValue(remapFieldLookUp, out string? remapType)) @@ -1946,11 +1891,6 @@ public static class Program } else { - if (fieldName == "pGeometryDescs") - { - - } - string unsafePrefix = string.Empty; if (fieldTypeName.EndsWith("*")) { @@ -1974,21 +1914,27 @@ public static class Program foreach (ApiType nestedTypeToGenerate in structType.NestedTypes) { - GenerateStruct(api, writer, nestedTypeToGenerate, true); + GenerateStruct(writer, api, nestedTypeToGenerate, true); } } } } private static void GenerateComType( + string folder, string apiName, string docFileName, ApiData api, - CodeWriter writer, ApiType comType, Dictionary> methodsToGenerate) { string csTypeName = comType.Name; - writer.WriteLine($"/// "); + using var writer = new CodeWriter( + Path.Combine(folder, $"{csTypeName}.cs"), + apiName, + docFileName, + $"Win32.{apiName}"); + + writer.WriteLine($"/// "); if (s_generateUnmanagedDocs) { @@ -2006,7 +1952,13 @@ public static class Program writer.WriteLine($"[NativeInheritance(\"{comType.Interface.Name}\")]"); } - using (writer.PushBlock($"public unsafe partial struct {csTypeName}")) + string baseType = string.Empty; + if (comType.Guid != null) + { + baseType += " : INativeGuid"; + } + + using (writer.PushBlock($"public unsafe partial struct {csTypeName}{baseType}")) { if (comType.Guid != null) { @@ -2014,7 +1966,11 @@ public static class Program WriteGuid(writer, comType.Guid, $"IID_{csTypeName}"); writer.WriteLine(); + writer.WriteLineUndindented("#if NET6_0_OR_GREATER"); + writer.WriteLine($"static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_{csTypeName}));"); + writer.WriteLineUndindented("#else"); writer.WriteLine($"public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_{csTypeName}));"); + writer.WriteLineUndindented("#endif"); writer.WriteLine(); } @@ -2177,7 +2133,7 @@ public static class Program if (comType.Name == docName) { - writer.WriteLine($"/// "); + writer.WriteLine($"/// "); } else { diff --git a/src/Vortice.Win32.Direct3D11/Generated/AesCtrIv.cs b/src/Vortice.Win32.Direct3D11/Generated/AesCtrIv.cs new file mode 100644 index 0000000..6a948e3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AesCtrIv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AES_CTR_IV +public partial struct AesCtrIv +{ + /// + public ulong IV; + + /// + public ulong Count; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Apis.Functions.cs b/src/Vortice.Win32.Direct3D11/Generated/Apis.Functions.cs new file mode 100644 index 0000000..a567d9e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Apis.Functions.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +public static unsafe partial class Apis +{ + [DllImport("d3d11.dll", ExactSpelling = true)] + public static extern HResult D3D11CreateDevice(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); + + [DllImport("d3d11.dll", ExactSpelling = true)] + public static extern HResult D3D11CreateDeviceAndSwapChain(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Graphics.Dxgi.SwapChainDescription* pSwapChainDesc, Graphics.Dxgi.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Apis.cs b/src/Vortice.Win32.Direct3D11/Generated/Apis.cs new file mode 100644 index 0000000..d8f2606 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Apis.cs @@ -0,0 +1,2401 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +public static partial class Apis +{ + public const uint D3D11_16BIT_INDEX_STRIP_CUT_VALUE = 65535; + + public const uint D3D11_32BIT_INDEX_STRIP_CUT_VALUE = 4294967295; + + public const uint D3D11_8BIT_INDEX_STRIP_CUT_VALUE = 255; + + public const uint D3D11_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT = 9; + + public const uint D3D11_CLIP_OR_CULL_DISTANCE_COUNT = 8; + + public const uint D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT = 2; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT = 16; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; + + public const uint D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; + + public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; + + public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; + + public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; + + public const uint D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; + + public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; + + public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; + + public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; + + public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; + + public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; + + public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; + + public const uint D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; + + public const uint D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; + + public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; + + public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; + + public const uint D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; + + public const uint D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; + + public const uint D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; + + public const int D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; + + public const int D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; + + public const uint D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; + + public const uint D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; + + public const uint D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; + + public const uint D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; + + public const uint D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; + + public const uint D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; + + public const uint D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; + + public const uint D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; + + public const uint D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; + + public const uint D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; + + public const uint D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; + + public const uint D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; + + public const uint D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; + + public const uint D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; + + public const uint D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; + + public const uint D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; + + public const uint D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; + + public const uint D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; + + public const uint D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; + + public const uint D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; + + public const uint D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; + + public const uint D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; + + public const uint D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; + + public const uint D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; + + public const uint D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; + + public const uint D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; + + public const uint D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; + + public const uint D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; + + public const uint D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; + + public const uint D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; + + public const uint D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; + + public const uint D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; + + public const uint D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; + + public const uint D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; + + public const uint D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; + + public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; + + public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_X = 768; + + public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_Y = 768; + + public const uint D3D11_CS_4_X_UAV_REGISTER_COUNT = 1; + + public const uint D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; + + public const uint D3D11_CS_TGSM_REGISTER_COUNT = 8192; + + public const uint D3D11_CS_TGSM_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; + + public const uint D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; + + public const uint D3D11_CS_THREADGROUPID_REGISTER_COMPONENTS = 3; + + public const uint D3D11_CS_THREADGROUPID_REGISTER_COUNT = 1; + + public const uint D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS = 1; + + public const uint D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT = 1; + + public const uint D3D11_CS_THREADIDINGROUP_REGISTER_COMPONENTS = 3; + + public const uint D3D11_CS_THREADIDINGROUP_REGISTER_COUNT = 1; + + public const uint D3D11_CS_THREADID_REGISTER_COMPONENTS = 3; + + public const uint D3D11_CS_THREADID_REGISTER_COUNT = 1; + + public const uint D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; + + public const uint D3D11_CS_THREAD_GROUP_MAX_X = 1024; + + public const uint D3D11_CS_THREAD_GROUP_MAX_Y = 1024; + + public const uint D3D11_CS_THREAD_GROUP_MAX_Z = 64; + + public const uint D3D11_CS_THREAD_GROUP_MIN_X = 1; + + public const uint D3D11_CS_THREAD_GROUP_MIN_Y = 1; + + public const uint D3D11_CS_THREAD_GROUP_MIN_Z = 1; + + public const uint D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; + + public const float D3D11_DEFAULT_BLEND_FACTOR_ALPHA = 1f; + + public const float D3D11_DEFAULT_BLEND_FACTOR_BLUE = 1f; + + public const float D3D11_DEFAULT_BLEND_FACTOR_GREEN = 1f; + + public const float D3D11_DEFAULT_BLEND_FACTOR_RED = 1f; + + public const float D3D11_DEFAULT_BORDER_COLOR_COMPONENT = 0f; + + public const uint D3D11_DEFAULT_DEPTH_BIAS = 0; + + public const float D3D11_DEFAULT_DEPTH_BIAS_CLAMP = 0f; + + public const uint D3D11_DEFAULT_MAX_ANISOTROPY = 16; + + public const float D3D11_DEFAULT_MIP_LOD_BIAS = 0f; + + public const uint D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; + + public const uint D3D11_DEFAULT_SAMPLE_MASK = 4294967295; + + public const uint D3D11_DEFAULT_SCISSOR_ENDX = 0; + + public const uint D3D11_DEFAULT_SCISSOR_ENDY = 0; + + public const uint D3D11_DEFAULT_SCISSOR_STARTX = 0; + + public const uint D3D11_DEFAULT_SCISSOR_STARTY = 0; + + public const float D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS = 0f; + + public const uint D3D11_DEFAULT_STENCIL_READ_MASK = 255; + + public const uint D3D11_DEFAULT_STENCIL_REFERENCE = 0; + + public const uint D3D11_DEFAULT_STENCIL_WRITE_MASK = 255; + + public const uint D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; + + public const uint D3D11_DEFAULT_VIEWPORT_HEIGHT = 0; + + public const float D3D11_DEFAULT_VIEWPORT_MAX_DEPTH = 0f; + + public const float D3D11_DEFAULT_VIEWPORT_MIN_DEPTH = 0f; + + public const uint D3D11_DEFAULT_VIEWPORT_TOPLEFTX = 0; + + public const uint D3D11_DEFAULT_VIEWPORT_TOPLEFTY = 0; + + public const uint D3D11_DEFAULT_VIEWPORT_WIDTH = 0; + + public const uint D3D11_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; + + public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COUNT = 32; + + public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS = 3; + + public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT = 1; + + public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; + + public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; + + public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D11_DS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_DS_OUTPUT_REGISTER_COUNT = 32; + + public const double D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP = 0.6; + + public const float D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP = 0.6f; + + public const float D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR = 2.4f; + + public const float D3D11_FLOAT_TO_SRGB_EXPONENT_NUMERATOR = 1f; + + public const float D3D11_FLOAT_TO_SRGB_OFFSET = 0.055f; + + public const float D3D11_FLOAT_TO_SRGB_SCALE_1 = 12.92f; + + public const float D3D11_FLOAT_TO_SRGB_SCALE_2 = 1.055f; + + public const float D3D11_FLOAT_TO_SRGB_THRESHOLD = 0.0031308f; + + public const float D3D11_FTOI_INSTRUCTION_MAX_INPUT = 2.1474836E+09f; + + public const float D3D11_FTOI_INSTRUCTION_MIN_INPUT = -2.1474836E+09f; + + public const float D3D11_FTOU_INSTRUCTION_MAX_INPUT = 4.2949673E+09f; + + public const float D3D11_FTOU_INSTRUCTION_MIN_INPUT = 0f; + + public const uint D3D11_GS_INPUT_INSTANCE_ID_READS_PER_INST = 2; + + public const uint D3D11_GS_INPUT_INSTANCE_ID_READ_PORTS = 1; + + public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS = 1; + + public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COUNT = 1; + + public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS = 1; + + public const uint D3D11_GS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_GS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D11_GS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_GS_INPUT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_GS_INPUT_REGISTER_VERTICES = 32; + + public const uint D3D11_GS_MAX_INSTANCE_COUNT = 32; + + public const uint D3D11_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES = 1024; + + public const uint D3D11_GS_OUTPUT_ELEMENTS = 32; + + public const uint D3D11_GS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_GS_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D11_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT = 32; + + public const uint D3D11_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D11_HS_CONTROL_POINT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_CONTROL_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_CONTROL_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; + + public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; + + public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; + + public const float D3D11_HS_MAXTESSFACTOR_LOWER_BOUND = 1f; + + public const float D3D11_HS_MAXTESSFACTOR_UPPER_BOUND = 64f; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT = 1; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS = 128; + + public const uint D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES = 0; + + public const uint D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY = 0; + + public const uint D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES = 0; + + public const uint D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT = 1; + + public const uint D3D11_IA_INSTANCE_ID_BIT_COUNT = 32; + + public const uint D3D11_IA_INTEGER_ARITHMETIC_BIT_COUNT = 32; + + public const uint D3D11_IA_PATCH_MAX_CONTROL_POINT_COUNT = 32; + + public const uint D3D11_IA_PRIMITIVE_ID_BIT_COUNT = 32; + + public const uint D3D11_IA_VERTEX_ID_BIT_COUNT = 32; + + public const uint D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; + + public const uint D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 128; + + public const uint D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 32; + + public const uint D3D11_INTEGER_DIVIDE_BY_ZERO_QUOTIENT = 4294967295; + + public const uint D3D11_INTEGER_DIVIDE_BY_ZERO_REMAINDER = 4294967295; + + public const uint D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL = 4294967295; + + public const uint D3D11_KEEP_UNORDERED_ACCESS_VIEWS = 4294967295; + + public const float D3D11_LINEAR_GAMMA = 1f; + + public const uint D3D11_MAJOR_VERSION = 11; + + public const float D3D11_MAX_BORDER_COLOR_COMPONENT = 1f; + + public const float D3D11_MAX_DEPTH = 1f; + + public const uint D3D11_MAX_MAXANISOTROPY = 16; + + public const uint D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; + + public const float D3D11_MAX_POSITION_VALUE = 3.4028236E+34f; + + public const uint D3D11_MAX_TEXTURE_DIMENSION_2_TO_EXP = 17; + + public const uint D3D11_MINOR_VERSION = 0; + + public const float D3D11_MIN_BORDER_COLOR_COMPONENT = 0f; + + public const float D3D11_MIN_DEPTH = 0f; + + public const uint D3D11_MIN_MAXANISOTROPY = 0; + + public const float D3D11_MIP_LOD_BIAS_MAX = 15.99f; + + public const float D3D11_MIP_LOD_BIAS_MIN = -16f; + + public const uint D3D11_MIP_LOD_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D11_MIP_LOD_RANGE_BIT_COUNT = 8; + + public const float D3D11_MULTISAMPLE_ANTIALIAS_LINE_WIDTH = 1.4f; + + public const uint D3D11_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT = 0; + + public const uint D3D11_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; + + public const uint D3D11_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; + + public const uint D3D11_PS_CS_UAV_REGISTER_COMPONENTS = 1; + + public const uint D3D11_PS_CS_UAV_REGISTER_COUNT = 8; + + public const uint D3D11_PS_CS_UAV_REGISTER_READS_PER_INST = 1; + + public const uint D3D11_PS_CS_UAV_REGISTER_READ_PORTS = 1; + + public const uint D3D11_PS_FRONTFACING_DEFAULT_VALUE = 4294967295; + + public const uint D3D11_PS_FRONTFACING_FALSE_VALUE = 0; + + public const uint D3D11_PS_FRONTFACING_TRUE_VALUE = 4294967295; + + public const uint D3D11_PS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_PS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D11_PS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_PS_INPUT_REGISTER_READ_PORTS = 1; + + public const float D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0f; + + public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; + + public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; + + public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; + + public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COUNT = 1; + + public const uint D3D11_PS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_PS_OUTPUT_REGISTER_COUNT = 8; + + public const float D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.5f; + + public const uint D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT = 16; + + public const uint D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; + + public const uint D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; + + public const uint D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; + + public const uint D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; + + public const uint D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 16384; + + public const uint D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; + + public const uint D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; + + public const uint D3D11_REQ_MAXANISOTROPY = 16; + + public const uint D3D11_REQ_MIP_LEVELS = 15; + + public const uint D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; + + public const uint D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 16384; + + public const uint D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM = 128; + + public const float D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM = 0.25f; + + public const uint D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM = 2048; + + public const uint D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP = 20; + + public const uint D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 2048; + + public const uint D3D11_REQ_TEXTURE1D_U_DIMENSION = 16384; + + public const uint D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 2048; + + public const uint D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION = 16384; + + public const uint D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; + + public const uint D3D11_REQ_TEXTURECUBE_DIMENSION = 16384; + + public const uint D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; + + public const uint D3D11_SHADER_MAJOR_VERSION = 5; + + public const uint D3D11_SHADER_MAX_INSTANCES = 65535; + + public const uint D3D11_SHADER_MAX_INTERFACES = 253; + + public const uint D3D11_SHADER_MAX_INTERFACE_CALL_SITES = 4096; + + public const uint D3D11_SHADER_MAX_TYPES = 65535; + + public const uint D3D11_SHADER_MINOR_VERSION = 0; + + public const uint D3D11_SHIFT_INSTRUCTION_PAD_VALUE = 0; + + public const uint D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; + + public const uint D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; + + public const uint D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; + + public const uint D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 512; + + public const uint D3D11_SO_BUFFER_SLOT_COUNT = 4; + + public const uint D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 4294967295; + + public const uint D3D11_SO_NO_RASTERIZED_STREAM = 4294967295; + + public const uint D3D11_SO_OUTPUT_COMPONENT_COUNT = 128; + + public const uint D3D11_SO_STREAM_COUNT = 4; + + public const uint D3D11_SPEC_DATE_DAY = 16; + + public const uint D3D11_SPEC_DATE_MONTH = 5; + + public const uint D3D11_SPEC_DATE_YEAR = 2011; + + public const double D3D11_SPEC_VERSION = 1.07; + + public const float D3D11_SRGB_GAMMA = 2.2f; + + public const float D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 = 12.92f; + + public const float D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 = 1.055f; + + public const float D3D11_SRGB_TO_FLOAT_EXPONENT = 2.4f; + + public const float D3D11_SRGB_TO_FLOAT_OFFSET = 0.055f; + + public const float D3D11_SRGB_TO_FLOAT_THRESHOLD = 0.04045f; + + public const float D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP = 0.5f; + + public const uint D3D11_STANDARD_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; + + public const uint D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; + + public const uint D3D11_STANDARD_PIXEL_COMPONENT_COUNT = 128; + + public const uint D3D11_STANDARD_PIXEL_ELEMENT_COUNT = 32; + + public const uint D3D11_STANDARD_VECTOR_SIZE = 4; + + public const uint D3D11_STANDARD_VERTEX_ELEMENT_COUNT = 32; + + public const uint D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; + + public const uint D3D11_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D11_SUBTEXEL_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR = 64; + + public const uint D3D11_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR = 64; + + public const uint D3D11_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR = 63; + + public const uint D3D11_TESSELLATOR_MAX_TESSELLATION_FACTOR = 64; + + public const uint D3D11_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR = 2; + + public const uint D3D11_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR = 1; + + public const uint D3D11_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR = 1; + + public const uint D3D11_TEXEL_ADDRESS_RANGE_BIT_COUNT = 16; + + public const uint D3D11_UNBOUND_MEMORY_ACCESS_RESULT = 0; + + public const uint D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; + + public const uint D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; + + public const uint D3D11_VIEWPORT_BOUNDS_MAX = 32767; + + public const int D3D11_VIEWPORT_BOUNDS_MIN = -32768; + + public const uint D3D11_VS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_VS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D11_VS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D11_VS_INPUT_REGISTER_READ_PORTS = 1; + + public const uint D3D11_VS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D11_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D11_VS_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT = 10; + + public const uint D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 25; + + public const uint D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP = 25; + + public const uint D3D11_1_UAV_SLOT_COUNT = 64; + + public const uint D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES = 65536; + + public const uint D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS = 4; + + public const uint D3D11_4_VIDEO_DECODER_HISTOGRAM_OFFSET_ALIGNMENT = 256; + + public const uint _FACD3D11 = 2172; + + public const uint D3D11_APPEND_ALIGNED_ELEMENT = 4294967295; + + public const uint D3D11_FILTER_REDUCTION_TYPE_MASK = 3; + + public const uint D3D11_FILTER_REDUCTION_TYPE_SHIFT = 7; + + public const uint D3D11_FILTER_TYPE_MASK = 3; + + public const uint D3D11_MIN_FILTER_SHIFT = 4; + + public const uint D3D11_MAG_FILTER_SHIFT = 2; + + public const uint D3D11_MIP_FILTER_SHIFT = 0; + + public const uint D3D11_COMPARISON_FILTERING_BIT = 128; + + public const uint D3D11_ANISOTROPIC_FILTERING_BIT = 64; + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_MOCOMP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4B, 0xF4, 0xA9, 0xE6, + 0xB0, 0x61, + 0x63, 0x45, + 0x9E, + 0xA4, + 0x63, + 0xD2, + 0xA3, + 0xC6, + 0xFE, + 0x66 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_IDCT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0xAD, 0x22, 0xBF, + 0xEA, 0x03, + 0x90, 0x46, + 0x80, + 0x77, + 0x47, + 0x33, + 0x46, + 0x20, + 0x9B, + 0x7E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_VLD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7F, 0x41, 0x27, 0xEE, + 0x28, 0x5E, + 0x65, 0x4E, + 0xBE, + 0xEA, + 0x1D, + 0x26, + 0xB5, + 0x08, + 0xAD, + 0xC9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG1_VLD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0xC7, 0x3E, 0x6F, + 0x35, 0x37, + 0xCC, 0x42, + 0x80, + 0x63, + 0x65, + 0xCC, + 0x3C, + 0xB3, + 0x66, + 0x16 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2and1_VLD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x12, 0x5F, 0x69, 0x86, + 0x0E, 0x34, + 0x04, 0x4F, + 0x9F, + 0xD3, + 0x92, + 0x53, + 0xDD, + 0x32, + 0x74, + 0x60 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_MOCOMP_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x64, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_MOCOMP_FGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x65, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_IDCT_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x66, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_IDCT_FGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x67, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x68, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_FGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_WITHFMOASO_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF9, 0x4F, 0xF0, 0xD5, + 0x18, 0x34, + 0xD8, 0x45, + 0x95, + 0x61, + 0x32, + 0xA7, + 0x6A, + 0xAE, + 0x2D, + 0xDD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_STEREO_PROGRESSIVE_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0xE8, 0x9B, 0xD7, + 0xF1, 0x0C, + 0x81, 0x4C, + 0xB8, + 0x2A, + 0x69, + 0xA4, + 0xE2, + 0x36, + 0xF4, + 0x3D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_STEREO_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBB, 0xCC, 0xAA, 0xF9, + 0xB6, 0xC2, + 0xFC, 0x4C, + 0x87, + 0x79, + 0x57, + 0x07, + 0xB1, + 0x76, + 0x05, + 0x52 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_MULTIVIEW_NOFGT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0x9D, 0x5B, 0x70, + 0xCF, 0x76, + 0xD6, 0x49, + 0xB7, + 0xE6, + 0xAC, + 0x88, + 0x72, + 0xDB, + 0x01, + 0x3C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_WMV8_POSTPROC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x80, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_WMV8_MOCOMP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x81, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_POSTPROC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x90, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_MOCOMP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x91, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_IDCT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_POSTPROC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA0, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_MOCOMP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_IDCT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_VLD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_D2010 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0xBE, 0x81, 0x1B, + 0xC7, 0xA0, + 0xD3, 0x11, + 0xB9, + 0x84, + 0x00, + 0xC0, + 0x4F, + 0x2E, + 0x73, + 0xC5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_SIMPLE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x74, 0x4D, 0xD6, 0xEF, + 0xE8, 0xC9, + 0xD7, 0x41, + 0xA5, + 0xE9, + 0xE9, + 0xB0, + 0xE3, + 0x9F, + 0xA3, + 0x19 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_NOGMC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0x8A, 0x41, 0xED, + 0x0D, 0x01, + 0xDA, 0x4E, + 0x9A, + 0xE3, + 0x9A, + 0x65, + 0x35, + 0x8D, + 0x8D, + 0x2E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_GMC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x8B, 0x99, 0xAB, + 0x58, 0x42, + 0xA9, 0x44, + 0x9F, + 0xEB, + 0x94, + 0xE5, + 0x97, + 0xA6, + 0xBA, + 0xAE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_HEVC_VLD_MAIN + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1B, 0xD5, 0x11, 0x5B, + 0x4C, 0x2F, + 0x52, 0x44, + 0xBC, + 0xC3, + 0x09, + 0xF2, + 0xA1, + 0x16, + 0x0C, + 0xC0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_HEVC_VLD_MAIN10 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0xF0, 0x7A, 0x10, + 0x1A, 0xEF, + 0x19, 0x4D, + 0xAB, + 0xA8, + 0x67, + 0xA1, + 0x63, + 0x07, + 0x3D, + 0x13 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VP9_VLD_PROFILE0 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF8, 0x07, 0x37, 0x46, + 0xD0, 0xA1, + 0x85, 0x45, + 0x87, + 0x6D, + 0x83, + 0xAA, + 0x6D, + 0x60, + 0xB8, + 0x9E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VP9_VLD_10BIT_PROFILE2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEF, 0x49, 0xC7, 0xA4, + 0xCF, 0x6E, + 0xAA, 0x48, + 0x84, + 0x48, + 0x50, + 0xA7, + 0xA1, + 0x16, + 0x5F, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_VP8_VLD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEA, 0x99, 0xB8, 0x90, + 0x62, 0x3A, + 0x05, 0x47, + 0x88, + 0xB3, + 0x8D, + 0xF0, + 0x4B, + 0x27, + 0x44, + 0xE7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE0 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCB, 0x4C, 0xBE, 0xB8, + 0x53, 0xCF, + 0xBA, 0x46, + 0x8D, + 0x59, + 0xD6, + 0xB8, + 0xA6, + 0xDA, + 0x5D, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0F, 0xFF, 0x36, 0x69, + 0xB1, 0x45, + 0x63, 0x41, + 0x9C, + 0xC1, + 0x64, + 0x6E, + 0xF6, + 0x94, + 0x61, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA1, 0x2A, 0x5F, 0x0C, + 0x41, 0xE5, + 0x89, 0x40, + 0xBB, + 0x7B, + 0x98, + 0x11, + 0x0A, + 0x19, + 0xD7, + 0xC8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x09, 0x70, 0x12, 0x17, + 0x0F, 0xA0, + 0xE1, 0x4C, + 0x99, + 0x4E, + 0xBF, + 0x40, + 0x81, + 0xF6, + 0xF3, + 0xF0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2_420 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0xBE, 0x80, 0x2D, + 0xAC, 0x9C, + 0x35, 0x48, + 0x9E, + 0x91, + 0x32, + 0x7B, + 0xBC, + 0x4F, + 0x9E, + 0xE8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_CRYPTO_TYPE_AES128_CTR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x11, 0xD7, 0x6B, 0x9B, + 0x74, 0x4F, + 0xC9, 0x41, + 0x9E, + 0x7B, + 0x0B, + 0xE2, + 0xD7, + 0xD9, + 0x3B, + 0x4F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_ENCRYPTION_HW_CENC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4F, 0xAC, 0xD6, 0x89, + 0xF2, 0x09, + 0x29, 0x42, + 0xB2, + 0xCD, + 0x37, + 0x74, + 0x0A, + 0x6D, + 0xFD, + 0x81 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CENC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x52, 0x40, 0xB0, + 0x3D, 0xC1, + 0xF2, 0x44, + 0x9A, + 0xE5, + 0xDD, + 0x48, + 0xE0, + 0x8E, + 0x5B, + 0x67 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CBCS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0x93, 0x2D, 0x42, + 0x21, 0x9D, + 0xB7, 0x4B, + 0x93, + 0x71, + 0xFA, + 0xF5, + 0xA8, + 0x2C, + 0x3E, + 0x04 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_KEY_EXCHANGE_HW_PROTECTION + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0x0D, 0x17, 0xB1, + 0x8D, 0x62, + 0xA3, 0x4D, + 0xAD, + 0x3B, + 0x82, + 0xDD, + 0xB0, + 0x8B, + 0x49, + 0x70 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_PROTECTION + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0xB5, 0x4E, 0xA8, + 0x95, 0xC4, + 0xAA, 0x48, + 0xB9, + 0x4D, + 0x8B, + 0xD2, + 0xD6, + 0xFB, + 0xCE, + 0x05 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA5, 0x18, 0x1B, 0xBC, + 0xFB, 0xB1, + 0xAB, 0x42, + 0xBD, + 0x94, + 0xB5, + 0x82, + 0x8B, + 0x4B, + 0xF7, + 0xBE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x53, 0x1C, 0xEC, + 0xFF, 0x8C, + 0x2A, 0x4E, + 0xBC, + 0xC4, + 0xF5, + 0x69, + 0x2F, + 0x99, + 0xF4, + 0x80 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9E, 0x49, 0x34, 0x26, + 0x18, 0xD0, + 0x74, 0x4D, + 0xAC, + 0x17, + 0x7F, + 0x72, + 0x40, + 0x59, + 0x52, + 0x8D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB3, 0x07, 0xB2, 0x0D, + 0x50, 0x94, + 0xA6, 0x46, + 0x82, + 0xDE, + 0x1B, + 0x96, + 0xD4, + 0x4F, + 0x9C, + 0xF2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0xBA, 0x9B, 0x64, + 0xF4, 0xF0, + 0x39, 0x46, + 0xA1, + 0x5B, + 0x24, + 0x39, + 0x3F, + 0xC3, + 0xAB, + 0xAC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0x0B, 0x2F, 0x01, + 0x62, 0xE6, + 0x74, 0x44, + 0xBE, + 0xFD, + 0xAA, + 0x53, + 0xE5, + 0x14, + 0x3C, + 0x6D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0x2B, 0x04, 0x2C, + 0x07, 0x8C, + 0xD5, 0x46, + 0xAA, + 0xBE, + 0x8F, + 0x75, + 0xCB, + 0xAD, + 0x4C, + 0x31 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_OUTPUT_ID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA3, 0xDC, 0x9D, 0x83, + 0x4E, 0x9B, + 0xE4, 0x41, + 0xB0, + 0x53, + 0x89, + 0x2B, + 0xD2, + 0xA1, + 0x1E, + 0xE7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ATTRIBUTES + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD2, 0xD9, 0x14, 0x62, + 0x2C, 0x43, + 0xBB, 0x4A, + 0x9F, + 0xCE, + 0x21, + 0x6E, + 0xEA, + 0x26, + 0x9E, + 0x3B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID_COUNT + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x66, 0x70, 0x0F, 0xB3, + 0x3C, 0x20, + 0x07, 0x4B, + 0x93, + 0xFC, + 0xCE, + 0xAA, + 0xFD, + 0x61, + 0x24, + 0x1E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0x59, 0x3A, 0xF8, + 0x86, 0xE9, + 0xDA, 0x4B, + 0xBE, + 0xB0, + 0x41, + 0x1F, + 0x6A, + 0x7A, + 0x01, + 0xB7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CURRENT_ENCRYPTION_WHEN_ACCESSIBLE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0x91, 0x17, 0xEC, + 0xD3, 0xDA, + 0x15, 0x4F, + 0x9E, + 0xC3, + 0xFA, + 0xA9, + 0x3D, + 0x60, + 0xD4, + 0xF0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0x4B, 0x11, 0x06, + 0x23, 0x35, + 0x0A, 0x47, + 0x8D, + 0xCA, + 0xFB, + 0xC2, + 0x84, + 0x51, + 0x54, + 0xF0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_PROTECTION + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x58, 0x56, 0x45, 0x50, + 0x47, 0x3F, + 0x62, 0x43, + 0xBF, + 0x99, + 0xBF, + 0xDF, + 0xCD, + 0xE9, + 0xED, + 0x29 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0xCC, 0x46, 0x63, + 0xFC, 0x2C, + 0xD4, 0x4A, + 0x82, + 0x24, + 0xD1, + 0x58, + 0x37, + 0xDE, + 0x77, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x47, 0xD0, 0x72, 0x07, + 0x40, 0x1B, + 0xE8, 0x48, + 0x9C, + 0xA6, + 0xB5, + 0xF5, + 0x10, + 0xDE, + 0x9F, + 0x01 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_ENCRYPTION_WHEN_ACCESSIBLE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0xF2, 0xFF, 0x41, + 0xE0, 0x6A, + 0x43, 0x4D, + 0x9D, + 0x55, + 0xA4, + 0x6E, + 0x9E, + 0xFD, + 0x15, + 0x8A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D11_KEY_EXCHANGE_RSAES_OAEP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x95, 0x98, 0x94, 0xC1, + 0x2A, 0xD7, + 0x1D, 0x4A, + 0x8E, + 0x5D, + 0xED, + 0x85, + 0x7D, + 0x17, + 0x15, + 0x20 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint D3D11_SDK_VERSION = 7; + + public const uint D3D11_PACKED_TILE = 4294967295; + + public const uint D3D11_SDK_LAYERS_VERSION = 1; + + public const uint D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP = 1; + + public const uint D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP = 2; + + public const uint D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP = 4; + + public const uint D3D11_DEBUG_FEATURE_ALWAYS_DISCARD_OFFERED_RESOURCE = 8; + + public const uint D3D11_DEBUG_FEATURE_NEVER_DISCARD_OFFERED_RESOURCE = 16; + + public const uint D3D11_DEBUG_FEATURE_AVOID_BEHAVIOR_CHANGING_DEBUG_AIDS = 64; + + public const uint D3D11_DEBUG_FEATURE_DISABLE_TILED_RESOURCE_MAPPING_TRACKING_AND_VALIDATION = 128; + + public static ref readonly Guid DXGI_DEBUG_D3D11 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0x31, 0x99, 0x4B, + 0x39, 0xAC, + 0xA6, 0x4A, + 0xBB, + 0x0B, + 0xBA, + 0xA0, + 0x47, + 0x84, + 0x79, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const string D3D11_REGKEY_PATH = "Software\\Microsoft\\Direct3D"; + + public const string D3D11_MUTE_DEBUG_OUTPUT = "MuteDebugOutput"; + + public const string D3D11_ENABLE_BREAK_ON_MESSAGE = "EnableBreakOnMessage"; + + public const string D3D11_INFOQUEUE_STORAGE_FILTER_OVERRIDE = "InfoQueueStorageFilterOverride"; + + public const string D3D11_MUTE_CATEGORY = "Mute_CATEGORY_%s"; + + public const string D3D11_MUTE_SEVERITY = "Mute_SEVERITY_%s"; + + public const string D3D11_MUTE_ID_STRING = "Mute_ID_%s"; + + public const string D3D11_MUTE_ID_DECIMAL = "Mute_ID_%d"; + + public const string D3D11_UNMUTE_SEVERITY_INFO = "Unmute_SEVERITY_INFO"; + + public const string D3D11_BREAKON_CATEGORY = "BreakOn_CATEGORY_%s"; + + public const string D3D11_BREAKON_SEVERITY = "BreakOn_SEVERITY_%s"; + + public const string D3D11_BREAKON_ID_STRING = "BreakOn_ID_%s"; + + public const string D3D11_BREAKON_ID_DECIMAL = "BreakOn_ID_%d"; + + public const string D3D11_APPSIZE_STRING = "Size"; + + public const string D3D11_APPNAME_STRING = "Name"; + + public const string D3D11_FORCE_DEBUGGABLE = "ForceDebuggable"; + + public const string D3D11_FORCE_SHADER_SKIP_OPTIMIZATION = "ForceShaderSkipOptimization"; + + public const uint D3D11_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; + + public const int D3D_RETURN_PARAMETER_INDEX = -1; + + public const uint D3D_SHADER_REQUIRES_DOUBLES = 1; + + public const uint D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL = 2; + + public const uint D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE = 4; + + public const uint D3D_SHADER_REQUIRES_64_UAVS = 8; + + public const uint D3D_SHADER_REQUIRES_MINIMUM_PRECISION = 16; + + public const uint D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS = 32; + + public const uint D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS = 64; + + public const uint D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING = 128; + + public const uint D3D_SHADER_REQUIRES_TILED_RESOURCES = 256; + + public const uint D3D11_TRACE_COMPONENT_X = 1; + + public const uint D3D11_TRACE_COMPONENT_Y = 2; + + public const uint D3D11_TRACE_COMPONENT_Z = 4; + + public const uint D3D11_TRACE_COMPONENT_W = 8; + + public const uint D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES = 1; + + public const uint D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS = 2; + + public const uint D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING = 1; + + public const uint D3D11_TRACE_MISC_GS_EMIT = 1; + + public const uint D3D11_TRACE_MISC_GS_CUT = 2; + + public const uint D3D11_TRACE_MISC_PS_DISCARD = 4; + + public const uint D3D11_TRACE_MISC_GS_EMIT_STREAM = 8; + + public const uint D3D11_TRACE_MISC_GS_CUT_STREAM = 16; + + public const uint D3D11_TRACE_MISC_HALT = 32; + + public const uint D3D11_TRACE_MISC_MESSAGE = 64; + + public const string D3DCSX_DLL_W = "d3dcsx_47.dll"; + + public const string D3DCSX_DLL_A = "d3dcsx_47.dll"; + + public const string D3DCSX_DLL = "d3dcsx_47.dll"; + +} + diff --git a/src/Vortice.Win32.Direct3D11/Generated/AsyncGetDataFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/AsyncGetDataFlags.cs new file mode 100644 index 0000000..45ef320 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AsyncGetDataFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_ASYNC_GETDATA_FLAG +[Flags] +public enum AsyncGetDataFlags : int +{ + None = 0, + /// + /// D3D11_ASYNC_GETDATA_DONOTFLUSH + DoNotFlush = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedChannelType.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedChannelType.cs new file mode 100644 index 0000000..f35fd4e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedChannelType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CHANNEL_TYPE +public enum AuthenticatedChannelType : int +{ + /// + /// D3D11_AUTHENTICATED_CHANNEL_D3D11 + D3D11 = 1, + /// + /// D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE + DriverSoftware = 2, + /// + /// D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE + DriverHardware = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureAccessibleEncryptionInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureAccessibleEncryptionInput.cs new file mode 100644 index 0000000..4d41eac --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureAccessibleEncryptionInput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT +public partial struct AuthenticatedConfigureAccessibleEncryptionInput +{ + /// + public AuthenticatedConfigureInput Parameters; + + /// + public Guid EncryptionGuid; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureCryptoSessionInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureCryptoSessionInput.cs new file mode 100644 index 0000000..b7cef83 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureCryptoSessionInput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT +public partial struct AuthenticatedConfigureCryptoSessionInput +{ + /// + public AuthenticatedConfigureInput Parameters; + + /// + public Handle DecoderHandle; + + /// + public Handle CryptoSessionHandle; + + /// + public Handle DeviceHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInitializeInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInitializeInput.cs new file mode 100644 index 0000000..e591b9c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInitializeInput.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT +public partial struct AuthenticatedConfigureInitializeInput +{ + /// + public AuthenticatedConfigureInput Parameters; + + /// + public uint StartSequenceQuery; + + /// + public uint StartSequenceConfigure; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInput.cs new file mode 100644 index 0000000..bb838a0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureInput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_INPUT +public partial struct AuthenticatedConfigureInput +{ + /// + public Omac omac; + + /// + public Guid ConfigureType; + + /// + public Handle hChannel; + + /// + public uint SequenceNumber; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureOutput.cs new file mode 100644 index 0000000..15396a3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureOutput.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_OUTPUT +public partial struct AuthenticatedConfigureOutput +{ + /// + public Omac omac; + + /// + public Guid ConfigureType; + + /// + public Handle hChannel; + + /// + public uint SequenceNumber; + + /// + public HResult ReturnCode; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureProtectionInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureProtectionInput.cs new file mode 100644 index 0000000..3cd1855 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureProtectionInput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT +public partial struct AuthenticatedConfigureProtectionInput +{ + /// + public AuthenticatedConfigureInput Parameters; + + /// + public AuthenticatedProtectionFlags Protections; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureSharedResourceInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureSharedResourceInput.cs new file mode 100644 index 0000000..749ba23 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedConfigureSharedResourceInput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT +public partial struct AuthenticatedConfigureSharedResourceInput +{ + /// + public AuthenticatedConfigureInput Parameters; + + /// + public AuthenticatedProcessIdentifierType ProcessType; + + /// + public Handle ProcessHandle; + + /// + public Bool32 AllowAccess; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProcessIdentifierType.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProcessIdentifierType.cs new file mode 100644 index 0000000..28d2195 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProcessIdentifierType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE +public enum AuthenticatedProcessIdentifierType : int +{ + /// + /// D3D11_PROCESSIDTYPE_UNKNOWN + Unknown = 0, + /// + /// D3D11_PROCESSIDTYPE_DWM + Dwm = 1, + /// + /// D3D11_PROCESSIDTYPE_HANDLE + Handle = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProtectionFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProtectionFlags.cs new file mode 100644 index 0000000..8e323c5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedProtectionFlags.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_PROTECTION_FLAGS +[StructLayout(LayoutKind.Explicit)] +public partial struct AuthenticatedProtectionFlags +{ + /// + [FieldOffset(0)] + public _Flags_e__Struct Flags; + + /// + [FieldOffset(0)] + public uint Value; + + public partial struct _Flags_e__Struct + { + /// + public uint _bitfield; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidCountOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidCountOutput.cs new file mode 100644 index 0000000..79643c4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidCountOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT +public partial struct AuthenticatedQueryAccessibilityEncryptionGuidCountOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public uint EncryptionGuidCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidInput.cs new file mode 100644 index 0000000..c0ef7ef --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidInput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT +public partial struct AuthenticatedQueryAccessibilityEncryptionGuidInput +{ + /// + public AuthenticatedQueryInput Input; + + /// + public uint EncryptionGuidIndex; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidOutput.cs new file mode 100644 index 0000000..422e4ab --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityEncryptionGuidOutput.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT +public partial struct AuthenticatedQueryAccessibilityEncryptionGuidOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public uint EncryptionGuidIndex; + + /// + public Guid EncryptionGuid; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityOutput.cs new file mode 100644 index 0000000..85659e3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryAccessibilityOutput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT +public partial struct AuthenticatedQueryAccessibilityOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public BusType BusType; + + /// + public Bool32 AccessibleInContiguousBlocks; + + /// + public Bool32 AccessibleInNonContiguousBlocks; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryChannelTypeOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryChannelTypeOutput.cs new file mode 100644 index 0000000..0ba532d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryChannelTypeOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT +public partial struct AuthenticatedQueryChannelTypeOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public AuthenticatedChannelType ChannelType; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionInput.cs new file mode 100644 index 0000000..18e9cae --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionInput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT +public partial struct AuthenticatedQueryCryptoSessionInput +{ + /// + public AuthenticatedQueryInput Input; + + /// + public Handle DecoderHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionOutput.cs new file mode 100644 index 0000000..358ff44 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCryptoSessionOutput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT +public partial struct AuthenticatedQueryCryptoSessionOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public Handle DecoderHandle; + + /// + public Handle CryptoSessionHandle; + + /// + public Handle DeviceHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCurrentAccessibilityEncryptionOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCurrentAccessibilityEncryptionOutput.cs new file mode 100644 index 0000000..d74e1ee --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryCurrentAccessibilityEncryptionOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT +public partial struct AuthenticatedQueryCurrentAccessibilityEncryptionOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public Guid EncryptionGuid; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryDeviceHandleOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryDeviceHandleOutput.cs new file mode 100644 index 0000000..b75bdee --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryDeviceHandleOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT +public partial struct AuthenticatedQueryDeviceHandleOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public Handle DeviceHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryInput.cs new file mode 100644 index 0000000..d8bdeeb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryInput.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_INPUT +public partial struct AuthenticatedQueryInput +{ + /// + public Guid QueryType; + + /// + public Handle hChannel; + + /// + public uint SequenceNumber; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutput.cs new file mode 100644 index 0000000..20c0c74 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutput.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_OUTPUT +public partial struct AuthenticatedQueryOutput +{ + /// + public Omac omac; + + /// + public Guid QueryType; + + /// + public Handle hChannel; + + /// + public uint SequenceNumber; + + /// + public HResult ReturnCode; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountInput.cs new file mode 100644 index 0000000..76973b7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountInput.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT +public partial struct AuthenticatedQueryOutputIdCountInput +{ + /// + public AuthenticatedQueryInput Input; + + /// + public Handle DeviceHandle; + + /// + public Handle CryptoSessionHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountOutput.cs new file mode 100644 index 0000000..cf84c7f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdCountOutput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT +public partial struct AuthenticatedQueryOutputIdCountOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public Handle DeviceHandle; + + /// + public Handle CryptoSessionHandle; + + /// + public uint OutputIDCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdInput.cs new file mode 100644 index 0000000..188d1c8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdInput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT +public partial struct AuthenticatedQueryOutputIdInput +{ + /// + public AuthenticatedQueryInput Input; + + /// + public Handle DeviceHandle; + + /// + public Handle CryptoSessionHandle; + + /// + public uint OutputIDIndex; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdOutput.cs new file mode 100644 index 0000000..e714a82 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryOutputIdOutput.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT +public partial struct AuthenticatedQueryOutputIdOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public Handle DeviceHandle; + + /// + public Handle CryptoSessionHandle; + + /// + public uint OutputIDIndex; + + /// + public ulong OutputID; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryProtectionOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryProtectionOutput.cs new file mode 100644 index 0000000..a38e733 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryProtectionOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT +public partial struct AuthenticatedQueryProtectionOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public AuthenticatedProtectionFlags ProtectionFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessCountOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessCountOutput.cs new file mode 100644 index 0000000..61dc18f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessCountOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT +public partial struct AuthenticatedQueryRestrictedSharedResourceProcessCountOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public uint RestrictedSharedResourceProcessCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessInput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessInput.cs new file mode 100644 index 0000000..7420e9b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessInput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT +public partial struct AuthenticatedQueryRestrictedSharedResourceProcessInput +{ + /// + public AuthenticatedQueryInput Input; + + /// + public uint ProcessIndex; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessOutput.cs new file mode 100644 index 0000000..c64423e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryRestrictedSharedResourceProcessOutput.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT +public partial struct AuthenticatedQueryRestrictedSharedResourceProcessOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public uint ProcessIndex; + + /// + public AuthenticatedProcessIdentifierType ProcessIdentifier; + + /// + public Handle ProcessHandle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput.cs b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput.cs new file mode 100644 index 0000000..e84522f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT +public partial struct AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput +{ + /// + public AuthenticatedQueryOutput Output; + + /// + public uint UnrestrictedProtectedSharedResourceCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BindFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/BindFlags.cs new file mode 100644 index 0000000..32d310b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BindFlags.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BIND_FLAG +[Flags] +public enum BindFlags : uint +{ + None = 0, + /// + /// D3D11_BIND_VERTEX_BUFFER + VertexBuffer = 1, + /// + /// D3D11_BIND_INDEX_BUFFER + IndexBuffer = 2, + /// + /// D3D11_BIND_CONSTANT_BUFFER + ConstantBuffer = 4, + /// + /// D3D11_BIND_SHADER_RESOURCE + ShaderResource = 8, + /// + /// D3D11_BIND_STREAM_OUTPUT + StreamOutput = 16, + /// + /// D3D11_BIND_RENDER_TARGET + RenderTarget = 32, + /// + /// D3D11_BIND_DEPTH_STENCIL + DepthStencil = 64, + /// + /// D3D11_BIND_UNORDERED_ACCESS + UnorderedAccess = 128, + /// + /// D3D11_BIND_DECODER + Decoder = 512, + /// + /// D3D11_BIND_VIDEO_ENCODER + VideoEncoder = 1024, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Blend.cs b/src/Vortice.Win32.Direct3D11/Generated/Blend.cs new file mode 100644 index 0000000..168538a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Blend.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BLEND +public enum Blend : int +{ + /// + /// D3D11_BLEND_ZERO + Zero = 1, + /// + /// D3D11_BLEND_ONE + One = 2, + /// + /// D3D11_BLEND_SRC_COLOR + SrcColor = 3, + /// + /// D3D11_BLEND_INV_SRC_COLOR + InvSrcColor = 4, + /// + /// D3D11_BLEND_SRC_ALPHA + SrcAlpha = 5, + /// + /// D3D11_BLEND_INV_SRC_ALPHA + InvSrcAlpha = 6, + /// + /// D3D11_BLEND_DEST_ALPHA + DestAlpha = 7, + /// + /// D3D11_BLEND_INV_DEST_ALPHA + InvDestAlpha = 8, + /// + /// D3D11_BLEND_DEST_COLOR + DestColor = 9, + /// + /// D3D11_BLEND_INV_DEST_COLOR + InvDestColor = 10, + /// + /// D3D11_BLEND_SRC_ALPHA_SAT + SrcAlphaSat = 11, + /// + /// D3D11_BLEND_BLEND_FACTOR + BlendFactor = 14, + /// + /// D3D11_BLEND_INV_BLEND_FACTOR + InvBlendFactor = 15, + /// + /// D3D11_BLEND_SRC1_COLOR + Src1Color = 16, + /// + /// D3D11_BLEND_INV_SRC1_COLOR + InvSrc1Color = 17, + /// + /// D3D11_BLEND_SRC1_ALPHA + Src1Alpha = 18, + /// + /// D3D11_BLEND_INV_SRC1_ALPHA + InvSrc1Alpha = 19, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BlendDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/BlendDescription.cs new file mode 100644 index 0000000..e3f0ae1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BlendDescription.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BLEND_DESC +public partial struct BlendDescription +{ + /// + public Bool32 AlphaToCoverageEnable; + + /// + public Bool32 IndependentBlendEnable; + + /// + public RenderTarget__FixedBuffer RenderTarget; + + public unsafe struct RenderTarget__FixedBuffer + { + public RenderTargetBlendDescription e0; + public RenderTargetBlendDescription e1; + public RenderTargetBlendDescription e2; + public RenderTargetBlendDescription e3; + public RenderTargetBlendDescription e4; + public RenderTargetBlendDescription e5; + public RenderTargetBlendDescription e6; + public RenderTargetBlendDescription e7; + + [UnscopedRef] + public ref RenderTargetBlendDescription this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 8); + } + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BlendDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/BlendDescription1.cs new file mode 100644 index 0000000..b8b2c47 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BlendDescription1.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BLEND_DESC1 +public partial struct BlendDescription1 +{ + /// + public Bool32 AlphaToCoverageEnable; + + /// + public Bool32 IndependentBlendEnable; + + /// + public RenderTarget__FixedBuffer RenderTarget; + + public unsafe struct RenderTarget__FixedBuffer + { + public RenderTargetBlendDescription1 e0; + public RenderTargetBlendDescription1 e1; + public RenderTargetBlendDescription1 e2; + public RenderTargetBlendDescription1 e3; + public RenderTargetBlendDescription1 e4; + public RenderTargetBlendDescription1 e5; + public RenderTargetBlendDescription1 e6; + public RenderTargetBlendDescription1 e7; + + [UnscopedRef] + public ref RenderTargetBlendDescription1 this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 8); + } + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BlendOperation.cs b/src/Vortice.Win32.Direct3D11/Generated/BlendOperation.cs new file mode 100644 index 0000000..d162585 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BlendOperation.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BLEND_OP +public enum BlendOperation : int +{ + /// + /// D3D11_BLEND_OP_ADD + Add = 1, + /// + /// D3D11_BLEND_OP_SUBTRACT + Subtract = 2, + /// + /// D3D11_BLEND_OP_REV_SUBTRACT + RevSubtract = 3, + /// + /// D3D11_BLEND_OP_MIN + Min = 4, + /// + /// D3D11_BLEND_OP_MAX + Max = 5, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Box.cs b/src/Vortice.Win32.Direct3D11/Generated/Box.cs new file mode 100644 index 0000000..f2f6109 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Box.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BOX +public partial struct Box +{ + /// + public uint left; + + /// + public uint top; + + /// + public uint front; + + /// + public uint right; + + /// + public uint bottom; + + /// + public uint back; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferDescription.cs new file mode 100644 index 0000000..f936f25 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferDescription.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFER_DESC +public partial struct BufferDescription +{ + /// + public uint ByteWidth; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; + + /// + public uint StructureByteStride; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrv.cs new file mode 100644 index 0000000..d36f8e6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFEREX_SRV +public partial struct BufferExtendedSrv +{ + /// + public uint FirstElement; + + /// + public uint NumElements; + + /// + public BufferExtendedSrvFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrvFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrvFlags.cs new file mode 100644 index 0000000..6c381b1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferExtendedSrvFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFEREX_SRV_FLAG +[Flags] +public enum BufferExtendedSrvFlags : int +{ + None = 0, + /// + /// D3D11_BUFFEREX_SRV_FLAG_RAW + Raw = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferRtv.cs new file mode 100644 index 0000000..a5b1431 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferRtv.cs @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFER_RTV +public partial struct BufferRtv +{ + /// + public _Anonymous1_e__Union Anonymous1; + + /// + public _Anonymous2_e__Union Anonymous2; + + [UnscopedRef] + public ref uint NumElements + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous2.NumElements; + } + } + + [UnscopedRef] + public ref uint ElementWidth + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous2.ElementWidth; + } + } + + [UnscopedRef] + public ref uint FirstElement + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous1.FirstElement; + } + } + + [UnscopedRef] + public ref uint ElementOffset + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous1.ElementOffset; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous2_e__Union + { + /// + [FieldOffset(0)] + public uint NumElements; + + /// + [FieldOffset(0)] + public uint ElementWidth; + } + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous1_e__Union + { + /// + [FieldOffset(0)] + public uint FirstElement; + + /// + [FieldOffset(0)] + public uint ElementOffset; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferSrv.cs new file mode 100644 index 0000000..abc0863 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferSrv.cs @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFER_SRV +public partial struct BufferSrv +{ + /// + public _Anonymous1_e__Union Anonymous1; + + /// + public _Anonymous2_e__Union Anonymous2; + + [UnscopedRef] + public ref uint FirstElement + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous1.FirstElement; + } + } + + [UnscopedRef] + public ref uint ElementOffset + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous1.ElementOffset; + } + } + + [UnscopedRef] + public ref uint NumElements + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous2.NumElements; + } + } + + [UnscopedRef] + public ref uint ElementWidth + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous2.ElementWidth; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous1_e__Union + { + /// + [FieldOffset(0)] + public uint FirstElement; + + /// + [FieldOffset(0)] + public uint ElementOffset; + } + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous2_e__Union + { + /// + [FieldOffset(0)] + public uint NumElements; + + /// + [FieldOffset(0)] + public uint ElementWidth; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferUav.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferUav.cs new file mode 100644 index 0000000..d5574de --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFER_UAV +public partial struct BufferUav +{ + /// + public uint FirstElement; + + /// + public uint NumElements; + + /// + public BufferUavFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BufferUavFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/BufferUavFlags.cs new file mode 100644 index 0000000..32025ca --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BufferUavFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUFFER_UAV_FLAG +[Flags] +public enum BufferUavFlags : int +{ + None = 0, + /// + /// D3D11_BUFFER_UAV_FLAG_RAW + Raw = 1, + /// + /// D3D11_BUFFER_UAV_FLAG_APPEND + Append = 2, + /// + /// D3D11_BUFFER_UAV_FLAG_COUNTER + Counter = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/BusType.cs b/src/Vortice.Win32.Direct3D11/Generated/BusType.cs new file mode 100644 index 0000000..0c5e29f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/BusType.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_BUS_TYPE +public enum BusType : int +{ + /// + /// D3D11_BUS_TYPE_OTHER + Other = 0, + /// + /// D3D11_BUS_TYPE_PCI + Pci = 1, + /// + /// D3D11_BUS_TYPE_PCIX + Pcix = 2, + /// + /// D3D11_BUS_TYPE_PCIEXPRESS + Pciexpress = 3, + /// + /// D3D11_BUS_TYPE_AGP + Agp = 4, + /// + /// D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET + ImplModifierInsideOfChipset = 65536, + /// + /// D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP + ImplModifierTracksOnMotherBoardToChip = 131072, + /// + /// D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET + ImplModifierTracksOnMotherBoardToSocket = 196608, + /// + /// D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR + ImplModifierDaughterBoardConnector = 262144, + /// + /// D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE + ImplModifierDaughterBoardConnectorInsideOfNuae = 327680, + /// + /// D3D11_BUS_IMPL_MODIFIER_NON_STANDARD + ImplModifierNonStandard = -2147483648, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CheckMultisampleQualityLevelsFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CheckMultisampleQualityLevelsFlags.cs new file mode 100644 index 0000000..73fbc93 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CheckMultisampleQualityLevelsFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG +[Flags] +public enum CheckMultisampleQualityLevelsFlags : int +{ + None = 0, + /// + /// D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE + TiledResource = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ClassInstanceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ClassInstanceDescription.cs new file mode 100644 index 0000000..178fadf --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ClassInstanceDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CLASS_INSTANCE_DESC +public partial struct ClassInstanceDescription +{ + /// + public uint InstanceId; + + /// + public uint InstanceIndex; + + /// + public uint TypeId; + + /// + public uint ConstantBuffer; + + /// + public uint BaseConstantBufferOffset; + + /// + public uint BaseTexture; + + /// + public uint BaseSampler; + + /// + public Bool32 Created; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ClearFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/ClearFlags.cs new file mode 100644 index 0000000..1a7637b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ClearFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CLEAR_FLAG +[Flags] +public enum ClearFlags : int +{ + None = 0, + /// + /// D3D11_CLEAR_DEPTH + Depth = 1, + /// + /// D3D11_CLEAR_STENCIL + Stencil = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ColorWriteEnable.cs b/src/Vortice.Win32.Direct3D11/Generated/ColorWriteEnable.cs new file mode 100644 index 0000000..7938a47 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ColorWriteEnable.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COLOR_WRITE_ENABLE +[Flags] +public enum ColorWriteEnable : byte +{ + None = 0, + /// + /// D3D11_COLOR_WRITE_ENABLE_RED + Red = 1, + /// + /// D3D11_COLOR_WRITE_ENABLE_GREEN + Green = 2, + /// + /// D3D11_COLOR_WRITE_ENABLE_BLUE + Blue = 4, + /// + /// D3D11_COLOR_WRITE_ENABLE_ALPHA + Alpha = 8, + /// + /// D3D11_COLOR_WRITE_ENABLE_ALL + All = 15, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ComparisonFunction.cs b/src/Vortice.Win32.Direct3D11/Generated/ComparisonFunction.cs new file mode 100644 index 0000000..31e4bfc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ComparisonFunction.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COMPARISON_FUNC +public enum ComparisonFunction : int +{ + /// + /// D3D11_COMPARISON_NEVER + Never = 1, + /// + /// D3D11_COMPARISON_LESS + Less = 2, + /// + /// D3D11_COMPARISON_EQUAL + Equal = 3, + /// + /// D3D11_COMPARISON_LESS_EQUAL + LessEqual = 4, + /// + /// D3D11_COMPARISON_GREATER + Greater = 5, + /// + /// D3D11_COMPARISON_NOT_EQUAL + NotEqual = 6, + /// + /// D3D11_COMPARISON_GREATER_EQUAL + GreaterEqual = 7, + /// + /// D3D11_COMPARISON_ALWAYS + Always = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ComputeShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ComputeShaderTraceDescription.cs new file mode 100644 index 0000000..6313281 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ComputeShaderTraceDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COMPUTE_SHADER_TRACE_DESC +public partial struct ComputeShaderTraceDescription +{ + /// + public ulong Invocation; + + /// + public unsafe fixed uint ThreadIDInGroup[3]; + + /// + public unsafe fixed uint ThreadGroupID[3]; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationMode.cs b/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationMode.cs new file mode 100644 index 0000000..224469b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CONSERVATIVE_RASTERIZATION_MODE +public enum ConservativeRasterizationMode : int +{ + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF + Off = 0, + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON + On = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationTier.cs b/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationTier.cs new file mode 100644 index 0000000..052b41c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ConservativeRasterizationTier.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CONSERVATIVE_RASTERIZATION_TIER +public enum ConservativeRasterizationTier : int +{ + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_1 + Tier1 = 1, + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_2 + Tier2 = 2, + /// + /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ContentProtectionCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/ContentProtectionCaps.cs new file mode 100644 index 0000000..42d8ab4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ContentProtectionCaps.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CONTENT_PROTECTION_CAPS +public enum ContentProtectionCaps : int +{ + /// + /// D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE + Software = 1, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE + Hardware = 2, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON + ProtectionAlwaysOn = 4, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION + PartialDecryption = 8, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY + ContentKey = 16, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY + FreshenSessionKey = 32, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK + EncryptedReadBack = 64, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY + EncryptedReadBackKey = 128, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV + SequentialCtrIv = 256, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY + EncryptSlicedataOnly = 512, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT + DecryptionBlt = 1024, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED + HardwareProtectUncompressed = 2048, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE + HardwareProtectedMemoryPageable = 4096, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN + HardwareTeardown = 8192, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION + HardwareDrmCommunication = 16384, + /// + /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION_MULTI_THREADED + HardwareDrmCommunicationMultiThreaded = 32768, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ContextType.cs b/src/Vortice.Win32.Direct3D11/Generated/ContextType.cs new file mode 100644 index 0000000..26363d1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ContextType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CONTEXT_TYPE +public enum ContextType : int +{ + /// + /// D3D11_CONTEXT_TYPE_ALL + All = 0, + /// + /// D3D11_CONTEXT_TYPE_3D + _3D = 1, + /// + /// D3D11_CONTEXT_TYPE_COMPUTE + Compute = 2, + /// + /// D3D11_CONTEXT_TYPE_COPY + Copy = 3, + /// + /// D3D11_CONTEXT_TYPE_VIDEO + Video = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CopyFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CopyFlags.cs new file mode 100644 index 0000000..57ffe88 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CopyFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COPY_FLAGS +[Flags] +public enum CopyFlags : int +{ + None = 0, + /// + /// D3D11_COPY_NO_OVERWRITE + NoOverwrite = 1, + /// + /// D3D11_COPY_DISCARD + Discard = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Counter.cs b/src/Vortice.Win32.Direct3D11/Generated/Counter.cs new file mode 100644 index 0000000..2f22674 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Counter.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COUNTER +public enum Counter : int +{ + /// + /// D3D11_COUNTER_DEVICE_DEPENDENT_0 + DeviceDependent0 = 1073741824, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CounterDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/CounterDescription.cs new file mode 100644 index 0000000..c76443a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CounterDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COUNTER_DESC +public partial struct CounterDescription +{ + /// + public Counter Counter; + + /// + public uint MiscFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CounterInfo.cs b/src/Vortice.Win32.Direct3D11/Generated/CounterInfo.cs new file mode 100644 index 0000000..4063817 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CounterInfo.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COUNTER_INFO +public partial struct CounterInfo +{ + /// + public Counter LastDeviceDependentCounter; + + /// + public uint NumSimultaneousCounters; + + /// + public byte NumDetectableParallelUnits; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CounterType.cs b/src/Vortice.Win32.Direct3D11/Generated/CounterType.cs new file mode 100644 index 0000000..7c1b4a2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CounterType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_COUNTER_TYPE +public enum CounterType : int +{ + /// + /// D3D11_COUNTER_TYPE_FLOAT32 + Float32 = 0, + /// + /// D3D11_COUNTER_TYPE_UINT16 + UInt16 = 1, + /// + /// D3D11_COUNTER_TYPE_UINT32 + UInt32 = 2, + /// + /// D3D11_COUNTER_TYPE_UINT64 + UInt64 = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CpuAccessFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CpuAccessFlags.cs new file mode 100644 index 0000000..c01dbb0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CpuAccessFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CPU_ACCESS_FLAG +[Flags] +public enum CpuAccessFlags : uint +{ + None = 0, + /// + /// D3D11_CPU_ACCESS_WRITE + Write = 65536, + /// + /// D3D11_CPU_ACCESS_READ + Read = 131072, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceContextStateFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceContextStateFlags.cs new file mode 100644 index 0000000..331a285 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceContextStateFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG +[Flags] +public enum CreateDeviceContextStateFlags : int +{ + None = 0, + /// + /// D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED + SingleThreaded = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceFlags.cs new file mode 100644 index 0000000..cf2fa20 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CreateDeviceFlags.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CREATE_DEVICE_FLAG +[Flags] +public enum CreateDeviceFlags : uint +{ + None = 0, + /// + /// D3D11_CREATE_DEVICE_SINGLETHREADED + SingleThreaded = 1, + /// + /// D3D11_CREATE_DEVICE_DEBUG + Debug = 2, + /// + /// D3D11_CREATE_DEVICE_SWITCH_TO_REF + SwitchToRef = 4, + /// + /// D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS + PreventInternalThreadingOptimizations = 8, + /// + /// D3D11_CREATE_DEVICE_BGRA_SUPPORT + BgraSupport = 32, + /// + /// D3D11_CREATE_DEVICE_DEBUGGABLE + Debuggable = 64, + /// + /// D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY + PreventAlteringLayerSettingsFromRegistry = 128, + /// + /// D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT + DisableGpuTimeout = 256, + /// + /// D3D11_CREATE_DEVICE_VIDEO_SUPPORT + VideoSupport = 2048, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionKeyExchangeFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionKeyExchangeFlags.cs new file mode 100644 index 0000000..bc1a31d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionKeyExchangeFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS +[Flags] +public enum CryptoSessionKeyExchangeFlags : uint +{ + None = 0, + /// + /// D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE + FlagNone = 0, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionStatus.cs b/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionStatus.cs new file mode 100644 index 0000000..128a44e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CryptoSessionStatus.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CRYPTO_SESSION_STATUS +public enum CryptoSessionStatus : int +{ + /// + /// D3D11_CRYPTO_SESSION_STATUS_OK + Ok = 0, + /// + /// D3D11_CRYPTO_SESSION_STATUS_KEY_LOST + KeyLost = 1, + /// + /// D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST + KeyAndContentLost = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/CullMode.cs b/src/Vortice.Win32.Direct3D11/Generated/CullMode.cs new file mode 100644 index 0000000..6d524cc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/CullMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_CULL_MODE +public enum CullMode : int +{ + /// + /// D3D11_CULL_NONE + None = 1, + /// + /// D3D11_CULL_FRONT + Front = 2, + /// + /// D3D11_CULL_BACK + Back = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DepthStencilDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilDescription.cs new file mode 100644 index 0000000..b53fcbf --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DEPTH_STENCIL_DESC +public partial struct DepthStencilDescription +{ + /// + public Bool32 DepthEnable; + + /// + public DepthWriteMask DepthWriteMask; + + /// + public ComparisonFunction DepthFunc; + + /// + public Bool32 StencilEnable; + + /// + public byte StencilReadMask; + + /// + public byte StencilWriteMask; + + /// + public DepthStencilOperationDescription FrontFace; + + /// + public DepthStencilOperationDescription BackFace; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DepthStencilOperationDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilOperationDescription.cs new file mode 100644 index 0000000..8896f36 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilOperationDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DEPTH_STENCILOP_DESC +public partial struct DepthStencilOperationDescription +{ + /// + public StencilOperation StencilFailOp; + + /// + public StencilOperation StencilDepthFailOp; + + /// + public StencilOperation StencilPassOp; + + /// + public ComparisonFunction StencilFunc; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DepthStencilViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilViewDescription.cs new file mode 100644 index 0000000..79080fb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DepthStencilViewDescription.cs @@ -0,0 +1,115 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DEPTH_STENCIL_VIEW_DESC +public partial struct DepthStencilViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public DsvDimension ViewDimension; + + /// + public DsvFlags Flags; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref Texture1DDsv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayDsv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DDsv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayDsv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsDsv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArrayDsv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public Texture1DDsv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayDsv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DDsv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayDsv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsDsv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArrayDsv Texture2DMSArray; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DepthWriteMask.cs b/src/Vortice.Win32.Direct3D11/Generated/DepthWriteMask.cs new file mode 100644 index 0000000..af67e79 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DepthWriteMask.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DEPTH_WRITE_MASK +public enum DepthWriteMask : int +{ + /// + /// D3D11_DEPTH_WRITE_MASK_ZERO + Zero = 0, + /// + /// D3D11_DEPTH_WRITE_MASK_ALL + All = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DeviceContextType.cs b/src/Vortice.Win32.Direct3D11/Generated/DeviceContextType.cs new file mode 100644 index 0000000..985bc7f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DeviceContextType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DEVICE_CONTEXT_TYPE +public enum DeviceContextType : int +{ + /// + /// D3D11_DEVICE_CONTEXT_IMMEDIATE + Immediate = 0, + /// + /// D3D11_DEVICE_CONTEXT_DEFERRED + Deferred = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Direct3D11.cs b/src/Vortice.Win32.Direct3D11/Generated/Direct3D11.cs deleted file mode 100644 index f54b3da..0000000 --- a/src/Vortice.Win32.Direct3D11/Generated/Direct3D11.cs +++ /dev/null @@ -1,13512 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct3D11; - -public static partial class Apis -{ - public const uint D3D11_16BIT_INDEX_STRIP_CUT_VALUE = 65535; - - public const uint D3D11_32BIT_INDEX_STRIP_CUT_VALUE = 4294967295; - - public const uint D3D11_8BIT_INDEX_STRIP_CUT_VALUE = 255; - - public const uint D3D11_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT = 9; - - public const uint D3D11_CLIP_OR_CULL_DISTANCE_COUNT = 8; - - public const uint D3D11_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT = 2; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT = 16; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; - - public const uint D3D11_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; - - public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; - - public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; - - public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; - - public const uint D3D11_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; - - public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; - - public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; - - public const uint D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; - - public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; - - public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; - - public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; - - public const uint D3D11_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; - - public const uint D3D11_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; - - public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; - - public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; - - public const uint D3D11_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; - - public const uint D3D11_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; - - public const uint D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; - - public const int D3D11_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; - - public const int D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; - - public const uint D3D11_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; - - public const uint D3D11_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; - - public const uint D3D11_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; - - public const uint D3D11_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; - - public const uint D3D11_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; - - public const uint D3D11_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; - - public const uint D3D11_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; - - public const uint D3D11_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; - - public const uint D3D11_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; - - public const uint D3D11_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; - - public const uint D3D11_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; - - public const uint D3D11_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; - - public const uint D3D11_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; - - public const uint D3D11_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; - - public const uint D3D11_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; - - public const uint D3D11_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; - - public const uint D3D11_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; - - public const uint D3D11_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; - - public const uint D3D11_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; - - public const uint D3D11_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; - - public const uint D3D11_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; - - public const uint D3D11_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; - - public const uint D3D11_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; - - public const uint D3D11_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; - - public const uint D3D11_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; - - public const uint D3D11_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; - - public const uint D3D11_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; - - public const uint D3D11_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; - - public const uint D3D11_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; - - public const uint D3D11_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; - - public const uint D3D11_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; - - public const uint D3D11_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; - - public const uint D3D11_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; - - public const uint D3D11_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; - - public const uint D3D11_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; - - public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; - - public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_X = 768; - - public const uint D3D11_CS_4_X_THREAD_GROUP_MAX_Y = 768; - - public const uint D3D11_CS_4_X_UAV_REGISTER_COUNT = 1; - - public const uint D3D11_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; - - public const uint D3D11_CS_TGSM_REGISTER_COUNT = 8192; - - public const uint D3D11_CS_TGSM_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; - - public const uint D3D11_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; - - public const uint D3D11_CS_THREADGROUPID_REGISTER_COMPONENTS = 3; - - public const uint D3D11_CS_THREADGROUPID_REGISTER_COUNT = 1; - - public const uint D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS = 1; - - public const uint D3D11_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT = 1; - - public const uint D3D11_CS_THREADIDINGROUP_REGISTER_COMPONENTS = 3; - - public const uint D3D11_CS_THREADIDINGROUP_REGISTER_COUNT = 1; - - public const uint D3D11_CS_THREADID_REGISTER_COMPONENTS = 3; - - public const uint D3D11_CS_THREADID_REGISTER_COUNT = 1; - - public const uint D3D11_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; - - public const uint D3D11_CS_THREAD_GROUP_MAX_X = 1024; - - public const uint D3D11_CS_THREAD_GROUP_MAX_Y = 1024; - - public const uint D3D11_CS_THREAD_GROUP_MAX_Z = 64; - - public const uint D3D11_CS_THREAD_GROUP_MIN_X = 1; - - public const uint D3D11_CS_THREAD_GROUP_MIN_Y = 1; - - public const uint D3D11_CS_THREAD_GROUP_MIN_Z = 1; - - public const uint D3D11_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; - - public const float D3D11_DEFAULT_BLEND_FACTOR_ALPHA = 1f; - - public const float D3D11_DEFAULT_BLEND_FACTOR_BLUE = 1f; - - public const float D3D11_DEFAULT_BLEND_FACTOR_GREEN = 1f; - - public const float D3D11_DEFAULT_BLEND_FACTOR_RED = 1f; - - public const float D3D11_DEFAULT_BORDER_COLOR_COMPONENT = 0f; - - public const uint D3D11_DEFAULT_DEPTH_BIAS = 0; - - public const float D3D11_DEFAULT_DEPTH_BIAS_CLAMP = 0f; - - public const uint D3D11_DEFAULT_MAX_ANISOTROPY = 16; - - public const float D3D11_DEFAULT_MIP_LOD_BIAS = 0f; - - public const uint D3D11_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; - - public const uint D3D11_DEFAULT_SAMPLE_MASK = 4294967295; - - public const uint D3D11_DEFAULT_SCISSOR_ENDX = 0; - - public const uint D3D11_DEFAULT_SCISSOR_ENDY = 0; - - public const uint D3D11_DEFAULT_SCISSOR_STARTX = 0; - - public const uint D3D11_DEFAULT_SCISSOR_STARTY = 0; - - public const float D3D11_DEFAULT_SLOPE_SCALED_DEPTH_BIAS = 0f; - - public const uint D3D11_DEFAULT_STENCIL_READ_MASK = 255; - - public const uint D3D11_DEFAULT_STENCIL_REFERENCE = 0; - - public const uint D3D11_DEFAULT_STENCIL_WRITE_MASK = 255; - - public const uint D3D11_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; - - public const uint D3D11_DEFAULT_VIEWPORT_HEIGHT = 0; - - public const float D3D11_DEFAULT_VIEWPORT_MAX_DEPTH = 0f; - - public const float D3D11_DEFAULT_VIEWPORT_MIN_DEPTH = 0f; - - public const uint D3D11_DEFAULT_VIEWPORT_TOPLEFTX = 0; - - public const uint D3D11_DEFAULT_VIEWPORT_TOPLEFTY = 0; - - public const uint D3D11_DEFAULT_VIEWPORT_WIDTH = 0; - - public const uint D3D11_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; - - public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_COUNT = 32; - - public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS = 3; - - public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT = 1; - - public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; - - public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; - - public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D11_DS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_DS_OUTPUT_REGISTER_COUNT = 32; - - public const double D3D11_FLOAT16_FUSED_TOLERANCE_IN_ULP = 0.6; - - public const float D3D11_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP = 0.6f; - - public const float D3D11_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR = 2.4f; - - public const float D3D11_FLOAT_TO_SRGB_EXPONENT_NUMERATOR = 1f; - - public const float D3D11_FLOAT_TO_SRGB_OFFSET = 0.055f; - - public const float D3D11_FLOAT_TO_SRGB_SCALE_1 = 12.92f; - - public const float D3D11_FLOAT_TO_SRGB_SCALE_2 = 1.055f; - - public const float D3D11_FLOAT_TO_SRGB_THRESHOLD = 0.0031308f; - - public const float D3D11_FTOI_INSTRUCTION_MAX_INPUT = 2.1474836E+09f; - - public const float D3D11_FTOI_INSTRUCTION_MIN_INPUT = -2.1474836E+09f; - - public const float D3D11_FTOU_INSTRUCTION_MAX_INPUT = 4.2949673E+09f; - - public const float D3D11_FTOU_INSTRUCTION_MIN_INPUT = 0f; - - public const uint D3D11_GS_INPUT_INSTANCE_ID_READS_PER_INST = 2; - - public const uint D3D11_GS_INPUT_INSTANCE_ID_READ_PORTS = 1; - - public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_GS_INPUT_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS = 1; - - public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_COUNT = 1; - - public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS = 1; - - public const uint D3D11_GS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_GS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D11_GS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_GS_INPUT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_GS_INPUT_REGISTER_VERTICES = 32; - - public const uint D3D11_GS_MAX_INSTANCE_COUNT = 32; - - public const uint D3D11_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES = 1024; - - public const uint D3D11_GS_OUTPUT_ELEMENTS = 32; - - public const uint D3D11_GS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_GS_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D11_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT = 32; - - public const uint D3D11_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D11_HS_CONTROL_POINT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_CONTROL_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_CONTROL_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; - - public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; - - public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; - - public const float D3D11_HS_MAXTESSFACTOR_LOWER_BOUND = 1f; - - public const float D3D11_HS_MAXTESSFACTOR_UPPER_BOUND = 64f; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT = 1; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS = 128; - - public const uint D3D11_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES = 0; - - public const uint D3D11_IA_DEFAULT_PRIMITIVE_TOPOLOGY = 0; - - public const uint D3D11_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES = 0; - - public const uint D3D11_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT = 1; - - public const uint D3D11_IA_INSTANCE_ID_BIT_COUNT = 32; - - public const uint D3D11_IA_INTEGER_ARITHMETIC_BIT_COUNT = 32; - - public const uint D3D11_IA_PATCH_MAX_CONTROL_POINT_COUNT = 32; - - public const uint D3D11_IA_PRIMITIVE_ID_BIT_COUNT = 32; - - public const uint D3D11_IA_VERTEX_ID_BIT_COUNT = 32; - - public const uint D3D11_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; - - public const uint D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 128; - - public const uint D3D11_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 32; - - public const uint D3D11_INTEGER_DIVIDE_BY_ZERO_QUOTIENT = 4294967295; - - public const uint D3D11_INTEGER_DIVIDE_BY_ZERO_REMAINDER = 4294967295; - - public const uint D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL = 4294967295; - - public const uint D3D11_KEEP_UNORDERED_ACCESS_VIEWS = 4294967295; - - public const float D3D11_LINEAR_GAMMA = 1f; - - public const uint D3D11_MAJOR_VERSION = 11; - - public const float D3D11_MAX_BORDER_COLOR_COMPONENT = 1f; - - public const float D3D11_MAX_DEPTH = 1f; - - public const uint D3D11_MAX_MAXANISOTROPY = 16; - - public const uint D3D11_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; - - public const float D3D11_MAX_POSITION_VALUE = 3.4028236E+34f; - - public const uint D3D11_MAX_TEXTURE_DIMENSION_2_TO_EXP = 17; - - public const uint D3D11_MINOR_VERSION = 0; - - public const float D3D11_MIN_BORDER_COLOR_COMPONENT = 0f; - - public const float D3D11_MIN_DEPTH = 0f; - - public const uint D3D11_MIN_MAXANISOTROPY = 0; - - public const float D3D11_MIP_LOD_BIAS_MAX = 15.99f; - - public const float D3D11_MIP_LOD_BIAS_MIN = -16f; - - public const uint D3D11_MIP_LOD_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D11_MIP_LOD_RANGE_BIT_COUNT = 8; - - public const float D3D11_MULTISAMPLE_ANTIALIAS_LINE_WIDTH = 1.4f; - - public const uint D3D11_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT = 0; - - public const uint D3D11_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; - - public const uint D3D11_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; - - public const uint D3D11_PS_CS_UAV_REGISTER_COMPONENTS = 1; - - public const uint D3D11_PS_CS_UAV_REGISTER_COUNT = 8; - - public const uint D3D11_PS_CS_UAV_REGISTER_READS_PER_INST = 1; - - public const uint D3D11_PS_CS_UAV_REGISTER_READ_PORTS = 1; - - public const uint D3D11_PS_FRONTFACING_DEFAULT_VALUE = 4294967295; - - public const uint D3D11_PS_FRONTFACING_FALSE_VALUE = 0; - - public const uint D3D11_PS_FRONTFACING_TRUE_VALUE = 4294967295; - - public const uint D3D11_PS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_PS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D11_PS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_PS_INPUT_REGISTER_READ_PORTS = 1; - - public const float D3D11_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0f; - - public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; - - public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; - - public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; - - public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_PS_OUTPUT_MASK_REGISTER_COUNT = 1; - - public const uint D3D11_PS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_PS_OUTPUT_REGISTER_COUNT = 8; - - public const float D3D11_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.5f; - - public const uint D3D11_RAW_UAV_SRV_BYTE_ALIGNMENT = 16; - - public const uint D3D11_REQ_BLEND_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D11_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; - - public const uint D3D11_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; - - public const uint D3D11_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D11_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; - - public const uint D3D11_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; - - public const uint D3D11_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 16384; - - public const uint D3D11_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; - - public const uint D3D11_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; - - public const uint D3D11_REQ_MAXANISOTROPY = 16; - - public const uint D3D11_REQ_MIP_LEVELS = 15; - - public const uint D3D11_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; - - public const uint D3D11_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D11_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 16384; - - public const uint D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM = 128; - - public const float D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM = 0.25f; - - public const uint D3D11_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM = 2048; - - public const uint D3D11_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP = 20; - - public const uint D3D11_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D11_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 2048; - - public const uint D3D11_REQ_TEXTURE1D_U_DIMENSION = 16384; - - public const uint D3D11_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 2048; - - public const uint D3D11_REQ_TEXTURE2D_U_OR_V_DIMENSION = 16384; - - public const uint D3D11_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; - - public const uint D3D11_REQ_TEXTURECUBE_DIMENSION = 16384; - - public const uint D3D11_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; - - public const uint D3D11_SHADER_MAJOR_VERSION = 5; - - public const uint D3D11_SHADER_MAX_INSTANCES = 65535; - - public const uint D3D11_SHADER_MAX_INTERFACES = 253; - - public const uint D3D11_SHADER_MAX_INTERFACE_CALL_SITES = 4096; - - public const uint D3D11_SHADER_MAX_TYPES = 65535; - - public const uint D3D11_SHADER_MINOR_VERSION = 0; - - public const uint D3D11_SHIFT_INSTRUCTION_PAD_VALUE = 0; - - public const uint D3D11_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; - - public const uint D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; - - public const uint D3D11_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; - - public const uint D3D11_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 512; - - public const uint D3D11_SO_BUFFER_SLOT_COUNT = 4; - - public const uint D3D11_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 4294967295; - - public const uint D3D11_SO_NO_RASTERIZED_STREAM = 4294967295; - - public const uint D3D11_SO_OUTPUT_COMPONENT_COUNT = 128; - - public const uint D3D11_SO_STREAM_COUNT = 4; - - public const uint D3D11_SPEC_DATE_DAY = 16; - - public const uint D3D11_SPEC_DATE_MONTH = 5; - - public const uint D3D11_SPEC_DATE_YEAR = 2011; - - public const double D3D11_SPEC_VERSION = 1.07; - - public const float D3D11_SRGB_GAMMA = 2.2f; - - public const float D3D11_SRGB_TO_FLOAT_DENOMINATOR_1 = 12.92f; - - public const float D3D11_SRGB_TO_FLOAT_DENOMINATOR_2 = 1.055f; - - public const float D3D11_SRGB_TO_FLOAT_EXPONENT = 2.4f; - - public const float D3D11_SRGB_TO_FLOAT_OFFSET = 0.055f; - - public const float D3D11_SRGB_TO_FLOAT_THRESHOLD = 0.04045f; - - public const float D3D11_SRGB_TO_FLOAT_TOLERANCE_IN_ULP = 0.5f; - - public const uint D3D11_STANDARD_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; - - public const uint D3D11_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; - - public const uint D3D11_STANDARD_PIXEL_COMPONENT_COUNT = 128; - - public const uint D3D11_STANDARD_PIXEL_ELEMENT_COUNT = 32; - - public const uint D3D11_STANDARD_VECTOR_SIZE = 4; - - public const uint D3D11_STANDARD_VERTEX_ELEMENT_COUNT = 32; - - public const uint D3D11_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; - - public const uint D3D11_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D11_SUBTEXEL_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D11_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR = 64; - - public const uint D3D11_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR = 64; - - public const uint D3D11_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR = 63; - - public const uint D3D11_TESSELLATOR_MAX_TESSELLATION_FACTOR = 64; - - public const uint D3D11_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR = 2; - - public const uint D3D11_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR = 1; - - public const uint D3D11_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR = 1; - - public const uint D3D11_TEXEL_ADDRESS_RANGE_BIT_COUNT = 16; - - public const uint D3D11_UNBOUND_MEMORY_ACCESS_RESULT = 0; - - public const uint D3D11_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; - - public const uint D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; - - public const uint D3D11_VIEWPORT_BOUNDS_MAX = 32767; - - public const int D3D11_VIEWPORT_BOUNDS_MIN = -32768; - - public const uint D3D11_VS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_VS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D11_VS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D11_VS_INPUT_REGISTER_READ_PORTS = 1; - - public const uint D3D11_VS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D11_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D11_VS_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D11_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT = 10; - - public const uint D3D11_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 25; - - public const uint D3D11_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP = 25; - - public const uint D3D11_1_UAV_SLOT_COUNT = 64; - - public const uint D3D11_2_TILED_RESOURCE_TILE_SIZE_IN_BYTES = 65536; - - public const uint D3D11_4_VIDEO_DECODER_MAX_HISTOGRAM_COMPONENTS = 4; - - public const uint D3D11_4_VIDEO_DECODER_HISTOGRAM_OFFSET_ALIGNMENT = 256; - - public const uint _FACD3D11 = 2172; - - public const uint D3D11_APPEND_ALIGNED_ELEMENT = 4294967295; - - public const uint D3D11_FILTER_REDUCTION_TYPE_MASK = 3; - - public const uint D3D11_FILTER_REDUCTION_TYPE_SHIFT = 7; - - public const uint D3D11_FILTER_TYPE_MASK = 3; - - public const uint D3D11_MIN_FILTER_SHIFT = 4; - - public const uint D3D11_MAG_FILTER_SHIFT = 2; - - public const uint D3D11_MIP_FILTER_SHIFT = 0; - - public const uint D3D11_COMPARISON_FILTERING_BIT = 128; - - public const uint D3D11_ANISOTROPIC_FILTERING_BIT = 64; - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_MOCOMP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4B, 0xF4, 0xA9, 0xE6, - 0xB0, 0x61, - 0x63, 0x45, - 0x9E, - 0xA4, - 0x63, - 0xD2, - 0xA3, - 0xC6, - 0xFE, - 0x66 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_IDCT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x00, 0xAD, 0x22, 0xBF, - 0xEA, 0x03, - 0x90, 0x46, - 0x80, - 0x77, - 0x47, - 0x33, - 0x46, - 0x20, - 0x9B, - 0x7E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2_VLD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7F, 0x41, 0x27, 0xEE, - 0x28, 0x5E, - 0x65, 0x4E, - 0xBE, - 0xEA, - 0x1D, - 0x26, - 0xB5, - 0x08, - 0xAD, - 0xC9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG1_VLD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x19, 0xC7, 0x3E, 0x6F, - 0x35, 0x37, - 0xCC, 0x42, - 0x80, - 0x63, - 0x65, - 0xCC, - 0x3C, - 0xB3, - 0x66, - 0x16 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG2and1_VLD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x12, 0x5F, 0x69, 0x86, - 0x0E, 0x34, - 0x04, 0x4F, - 0x9F, - 0xD3, - 0x92, - 0x53, - 0xDD, - 0x32, - 0x74, - 0x60 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_MOCOMP_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x64, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_MOCOMP_FGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x65, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_IDCT_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x66, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_IDCT_FGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x67, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x68, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_FGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x69, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_WITHFMOASO_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF9, 0x4F, 0xF0, 0xD5, - 0x18, 0x34, - 0xD8, 0x45, - 0x95, - 0x61, - 0x32, - 0xA7, - 0x6A, - 0xAE, - 0x2D, - 0xDD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_STEREO_PROGRESSIVE_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDA, 0xE8, 0x9B, 0xD7, - 0xF1, 0x0C, - 0x81, 0x4C, - 0xB8, - 0x2A, - 0x69, - 0xA4, - 0xE2, - 0x36, - 0xF4, - 0x3D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_STEREO_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xBB, 0xCC, 0xAA, 0xF9, - 0xB6, 0xC2, - 0xFC, 0x4C, - 0x87, - 0x79, - 0x57, - 0x07, - 0xB1, - 0x76, - 0x05, - 0x52 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_H264_VLD_MULTIVIEW_NOFGT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x82, 0x9D, 0x5B, 0x70, - 0xCF, 0x76, - 0xD6, 0x49, - 0xB7, - 0xE6, - 0xAC, - 0x88, - 0x72, - 0xDB, - 0x01, - 0x3C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_WMV8_POSTPROC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x80, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_WMV8_MOCOMP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x81, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_POSTPROC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x90, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_MOCOMP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x91, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_WMV9_IDCT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x94, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_POSTPROC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA0, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_MOCOMP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA1, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_IDCT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA2, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_VLD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA3, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VC1_D2010 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA4, 0xBE, 0x81, 0x1B, - 0xC7, 0xA0, - 0xD3, 0x11, - 0xB9, - 0x84, - 0x00, - 0xC0, - 0x4F, - 0x2E, - 0x73, - 0xC5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_SIMPLE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x74, 0x4D, 0xD6, 0xEF, - 0xE8, 0xC9, - 0xD7, 0x41, - 0xA5, - 0xE9, - 0xE9, - 0xB0, - 0xE3, - 0x9F, - 0xA3, - 0x19 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_NOGMC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9F, 0x8A, 0x41, 0xED, - 0x0D, 0x01, - 0xDA, 0x4E, - 0x9A, - 0xE3, - 0x9A, - 0x65, - 0x35, - 0x8D, - 0x8D, - 0x2E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_MPEG4PT2_VLD_ADVSIMPLE_GMC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5B, 0x8B, 0x99, 0xAB, - 0x58, 0x42, - 0xA9, 0x44, - 0x9F, - 0xEB, - 0x94, - 0xE5, - 0x97, - 0xA6, - 0xBA, - 0xAE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_HEVC_VLD_MAIN - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1B, 0xD5, 0x11, 0x5B, - 0x4C, 0x2F, - 0x52, 0x44, - 0xBC, - 0xC3, - 0x09, - 0xF2, - 0xA1, - 0x16, - 0x0C, - 0xC0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_HEVC_VLD_MAIN10 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE0, 0xF0, 0x7A, 0x10, - 0x1A, 0xEF, - 0x19, 0x4D, - 0xAB, - 0xA8, - 0x67, - 0xA1, - 0x63, - 0x07, - 0x3D, - 0x13 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VP9_VLD_PROFILE0 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF8, 0x07, 0x37, 0x46, - 0xD0, 0xA1, - 0x85, 0x45, - 0x87, - 0x6D, - 0x83, - 0xAA, - 0x6D, - 0x60, - 0xB8, - 0x9E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VP9_VLD_10BIT_PROFILE2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEF, 0x49, 0xC7, 0xA4, - 0xCF, 0x6E, - 0xAA, 0x48, - 0x84, - 0x48, - 0x50, - 0xA7, - 0xA1, - 0x16, - 0x5F, - 0xF7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_VP8_VLD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEA, 0x99, 0xB8, 0x90, - 0x62, 0x3A, - 0x05, 0x47, - 0x88, - 0xB3, - 0x8D, - 0xF0, - 0x4B, - 0x27, - 0x44, - 0xE7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE0 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCB, 0x4C, 0xBE, 0xB8, - 0x53, 0xCF, - 0xBA, 0x46, - 0x8D, - 0x59, - 0xD6, - 0xB8, - 0xA6, - 0xDA, - 0x5D, - 0x2A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0F, 0xFF, 0x36, 0x69, - 0xB1, 0x45, - 0x63, 0x41, - 0x9C, - 0xC1, - 0x64, - 0x6E, - 0xF6, - 0x94, - 0x61, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_PROFILE2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA1, 0x2A, 0x5F, 0x0C, - 0x41, 0xE5, - 0x89, 0x40, - 0xBB, - 0x7B, - 0x98, - 0x11, - 0x0A, - 0x19, - 0xD7, - 0xC8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x09, 0x70, 0x12, 0x17, - 0x0F, 0xA0, - 0xE1, 0x4C, - 0x99, - 0x4E, - 0xBF, - 0x40, - 0x81, - 0xF6, - 0xF3, - 0xF0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_PROFILE_AV1_VLD_12BIT_PROFILE2_420 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD6, 0xBE, 0x80, 0x2D, - 0xAC, 0x9C, - 0x35, 0x48, - 0x9E, - 0x91, - 0x32, - 0x7B, - 0xBC, - 0x4F, - 0x9E, - 0xE8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_CRYPTO_TYPE_AES128_CTR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x11, 0xD7, 0x6B, 0x9B, - 0x74, 0x4F, - 0xC9, 0x41, - 0x9E, - 0x7B, - 0x0B, - 0xE2, - 0xD7, - 0xD9, - 0x3B, - 0x4F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_ENCRYPTION_HW_CENC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4F, 0xAC, 0xD6, 0x89, - 0xF2, 0x09, - 0x29, 0x42, - 0xB2, - 0xCD, - 0x37, - 0x74, - 0x0A, - 0x6D, - 0xFD, - 0x81 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CENC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x35, 0x52, 0x40, 0xB0, - 0x3D, 0xC1, - 0xF2, 0x44, - 0x9A, - 0xE5, - 0xDD, - 0x48, - 0xE0, - 0x8E, - 0x5B, - 0x67 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_DECODER_BITSTREAM_ENCRYPTION_TYPE_CBCS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x19, 0x93, 0x2D, 0x42, - 0x21, 0x9D, - 0xB7, 0x4B, - 0x93, - 0x71, - 0xFA, - 0xF5, - 0xA8, - 0x2C, - 0x3E, - 0x04 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_KEY_EXCHANGE_HW_PROTECTION - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8A, 0x0D, 0x17, 0xB1, - 0x8D, 0x62, - 0xA3, 0x4D, - 0xAD, - 0x3B, - 0x82, - 0xDD, - 0xB0, - 0x8B, - 0x49, - 0x70 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_PROTECTION - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x84, 0xB5, 0x4E, 0xA8, - 0x95, 0xC4, - 0xAA, 0x48, - 0xB9, - 0x4D, - 0x8B, - 0xD2, - 0xD6, - 0xFB, - 0xCE, - 0x05 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA5, 0x18, 0x1B, 0xBC, - 0xFB, 0xB1, - 0xAB, 0x42, - 0xBD, - 0x94, - 0xB5, - 0x82, - 0x8B, - 0x4B, - 0xF7, - 0xBE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9D, 0x53, 0x1C, 0xEC, - 0xFF, 0x8C, - 0x2A, 0x4E, - 0xBC, - 0xC4, - 0xF5, - 0x69, - 0x2F, - 0x99, - 0xF4, - 0x80 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9E, 0x49, 0x34, 0x26, - 0x18, 0xD0, - 0x74, 0x4D, - 0xAC, - 0x17, - 0x7F, - 0x72, - 0x40, - 0x59, - 0x52, - 0x8D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB3, 0x07, 0xB2, 0x0D, - 0x50, 0x94, - 0xA6, 0x46, - 0x82, - 0xDE, - 0x1B, - 0x96, - 0xD4, - 0x4F, - 0x9C, - 0xF2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDB, 0xBA, 0x9B, 0x64, - 0xF4, 0xF0, - 0x39, 0x46, - 0xA1, - 0x5B, - 0x24, - 0x39, - 0x3F, - 0xC3, - 0xAB, - 0xAC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD6, 0x0B, 0x2F, 0x01, - 0x62, 0xE6, - 0x74, 0x44, - 0xBE, - 0xFD, - 0xAA, - 0x53, - 0xE5, - 0x14, - 0x3C, - 0x6D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5E, 0x2B, 0x04, 0x2C, - 0x07, 0x8C, - 0xD5, 0x46, - 0xAA, - 0xBE, - 0x8F, - 0x75, - 0xCB, - 0xAD, - 0x4C, - 0x31 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_OUTPUT_ID - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA3, 0xDC, 0x9D, 0x83, - 0x4E, 0x9B, - 0xE4, 0x41, - 0xB0, - 0x53, - 0x89, - 0x2B, - 0xD2, - 0xA1, - 0x1E, - 0xE7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ATTRIBUTES - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD2, 0xD9, 0x14, 0x62, - 0x2C, 0x43, - 0xBB, 0x4A, - 0x9F, - 0xCE, - 0x21, - 0x6E, - 0xEA, - 0x26, - 0x9E, - 0x3B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID_COUNT - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x66, 0x70, 0x0F, 0xB3, - 0x3C, 0x20, - 0x07, 0x4B, - 0x93, - 0xFC, - 0xCE, - 0xAA, - 0xFD, - 0x61, - 0x24, - 0x1E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_ENCRYPTION_WHEN_ACCESSIBLE_GUID - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x58, 0x59, 0x3A, 0xF8, - 0x86, 0xE9, - 0xDA, 0x4B, - 0xBE, - 0xB0, - 0x41, - 0x1F, - 0x6A, - 0x7A, - 0x01, - 0xB7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_QUERY_CURRENT_ENCRYPTION_WHEN_ACCESSIBLE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC7, 0x91, 0x17, 0xEC, - 0xD3, 0xDA, - 0x15, 0x4F, - 0x9E, - 0xC3, - 0xFA, - 0xA9, - 0x3D, - 0x60, - 0xD4, - 0xF0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDB, 0x4B, 0x11, 0x06, - 0x23, 0x35, - 0x0A, 0x47, - 0x8D, - 0xCA, - 0xFB, - 0xC2, - 0x84, - 0x51, - 0x54, - 0xF0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_PROTECTION - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x58, 0x56, 0x45, 0x50, - 0x47, 0x3F, - 0x62, 0x43, - 0xBF, - 0x99, - 0xBF, - 0xDF, - 0xCD, - 0xE9, - 0xED, - 0x29 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x54, 0xCC, 0x46, 0x63, - 0xFC, 0x2C, - 0xD4, 0x4A, - 0x82, - 0x24, - 0xD1, - 0x58, - 0x37, - 0xDE, - 0x77, - 0x00 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x47, 0xD0, 0x72, 0x07, - 0x40, 0x1B, - 0xE8, 0x48, - 0x9C, - 0xA6, - 0xB5, - 0xF5, - 0x10, - 0xDE, - 0x9F, - 0x01 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_AUTHENTICATED_CONFIGURE_ENCRYPTION_WHEN_ACCESSIBLE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x86, 0xF2, 0xFF, 0x41, - 0xE0, 0x6A, - 0x43, 0x4D, - 0x9D, - 0x55, - 0xA4, - 0x6E, - 0x9E, - 0xFD, - 0x15, - 0x8A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D11_KEY_EXCHANGE_RSAES_OAEP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x95, 0x98, 0x94, 0xC1, - 0x2A, 0xD7, - 0x1D, 0x4A, - 0x8E, - 0x5D, - 0xED, - 0x85, - 0x7D, - 0x17, - 0x15, - 0x20 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint D3D11_SDK_VERSION = 7; - - public const uint D3D11_PACKED_TILE = 4294967295; - - public const uint D3D11_SDK_LAYERS_VERSION = 1; - - public const uint D3D11_DEBUG_FEATURE_FLUSH_PER_RENDER_OP = 1; - - public const uint D3D11_DEBUG_FEATURE_FINISH_PER_RENDER_OP = 2; - - public const uint D3D11_DEBUG_FEATURE_PRESENT_PER_RENDER_OP = 4; - - public const uint D3D11_DEBUG_FEATURE_ALWAYS_DISCARD_OFFERED_RESOURCE = 8; - - public const uint D3D11_DEBUG_FEATURE_NEVER_DISCARD_OFFERED_RESOURCE = 16; - - public const uint D3D11_DEBUG_FEATURE_AVOID_BEHAVIOR_CHANGING_DEBUG_AIDS = 64; - - public const uint D3D11_DEBUG_FEATURE_DISABLE_TILED_RESOURCE_MAPPING_TRACKING_AND_VALIDATION = 128; - - public static ref readonly Guid DXGI_DEBUG_D3D11 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7B, 0x31, 0x99, 0x4B, - 0x39, 0xAC, - 0xA6, 0x4A, - 0xBB, - 0x0B, - 0xBA, - 0xA0, - 0x47, - 0x84, - 0x79, - 0x8F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const string D3D11_REGKEY_PATH = "Software\\Microsoft\\Direct3D"; - - public const string D3D11_MUTE_DEBUG_OUTPUT = "MuteDebugOutput"; - - public const string D3D11_ENABLE_BREAK_ON_MESSAGE = "EnableBreakOnMessage"; - - public const string D3D11_INFOQUEUE_STORAGE_FILTER_OVERRIDE = "InfoQueueStorageFilterOverride"; - - public const string D3D11_MUTE_CATEGORY = "Mute_CATEGORY_%s"; - - public const string D3D11_MUTE_SEVERITY = "Mute_SEVERITY_%s"; - - public const string D3D11_MUTE_ID_STRING = "Mute_ID_%s"; - - public const string D3D11_MUTE_ID_DECIMAL = "Mute_ID_%d"; - - public const string D3D11_UNMUTE_SEVERITY_INFO = "Unmute_SEVERITY_INFO"; - - public const string D3D11_BREAKON_CATEGORY = "BreakOn_CATEGORY_%s"; - - public const string D3D11_BREAKON_SEVERITY = "BreakOn_SEVERITY_%s"; - - public const string D3D11_BREAKON_ID_STRING = "BreakOn_ID_%s"; - - public const string D3D11_BREAKON_ID_DECIMAL = "BreakOn_ID_%d"; - - public const string D3D11_APPSIZE_STRING = "Size"; - - public const string D3D11_APPNAME_STRING = "Name"; - - public const string D3D11_FORCE_DEBUGGABLE = "ForceDebuggable"; - - public const string D3D11_FORCE_SHADER_SKIP_OPTIMIZATION = "ForceShaderSkipOptimization"; - - public const uint D3D11_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; - - public const int D3D_RETURN_PARAMETER_INDEX = -1; - - public const uint D3D_SHADER_REQUIRES_DOUBLES = 1; - - public const uint D3D_SHADER_REQUIRES_EARLY_DEPTH_STENCIL = 2; - - public const uint D3D_SHADER_REQUIRES_UAVS_AT_EVERY_STAGE = 4; - - public const uint D3D_SHADER_REQUIRES_64_UAVS = 8; - - public const uint D3D_SHADER_REQUIRES_MINIMUM_PRECISION = 16; - - public const uint D3D_SHADER_REQUIRES_11_1_DOUBLE_EXTENSIONS = 32; - - public const uint D3D_SHADER_REQUIRES_11_1_SHADER_EXTENSIONS = 64; - - public const uint D3D_SHADER_REQUIRES_LEVEL_9_COMPARISON_FILTERING = 128; - - public const uint D3D_SHADER_REQUIRES_TILED_RESOURCES = 256; - - public const uint D3D11_TRACE_COMPONENT_X = 1; - - public const uint D3D11_TRACE_COMPONENT_Y = 2; - - public const uint D3D11_TRACE_COMPONENT_Z = 4; - - public const uint D3D11_TRACE_COMPONENT_W = 8; - - public const uint D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_WRITES = 1; - - public const uint D3D11_SHADER_TRACE_FLAG_RECORD_REGISTER_READS = 2; - - public const uint D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING = 1; - - public const uint D3D11_TRACE_MISC_GS_EMIT = 1; - - public const uint D3D11_TRACE_MISC_GS_CUT = 2; - - public const uint D3D11_TRACE_MISC_PS_DISCARD = 4; - - public const uint D3D11_TRACE_MISC_GS_EMIT_STREAM = 8; - - public const uint D3D11_TRACE_MISC_GS_CUT_STREAM = 16; - - public const uint D3D11_TRACE_MISC_HALT = 32; - - public const uint D3D11_TRACE_MISC_MESSAGE = 64; - - public const string D3DCSX_DLL_W = "d3dcsx_47.dll"; - - public const string D3DCSX_DLL_A = "d3dcsx_47.dll"; - - public const string D3DCSX_DLL = "d3dcsx_47.dll"; - -} - -#region Enums -/// -/// D3D11_INPUT_CLASSIFICATION -public enum InputClassification : int -{ - /// - /// D3D11_INPUT_PER_VERTEX_DATA - PerVertexData = 0, - /// - /// D3D11_INPUT_PER_INSTANCE_DATA - PerInstanceData = 1, -} - -/// -/// D3D11_FILL_MODE -public enum FillMode : int -{ - /// - /// D3D11_FILL_WIREFRAME - Wireframe = 2, - /// - /// D3D11_FILL_SOLID - Solid = 3, -} - -/// -/// D3D11_CULL_MODE -public enum CullMode : int -{ - /// - /// D3D11_CULL_NONE - None = 1, - /// - /// D3D11_CULL_FRONT - Front = 2, - /// - /// D3D11_CULL_BACK - Back = 3, -} - -/// -/// D3D11_RESOURCE_DIMENSION -public enum ResourceDimension : int -{ - /// - /// D3D11_RESOURCE_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_RESOURCE_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D11_RESOURCE_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D11_RESOURCE_DIMENSION_TEXTURE2D - Texture2D = 3, - /// - /// D3D11_RESOURCE_DIMENSION_TEXTURE3D - Texture3D = 4, -} - -/// -/// D3D11_DSV_DIMENSION -public enum DsvDimension : int -{ - /// - /// D3D11_DSV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_DSV_DIMENSION_TEXTURE1D - Texture1D = 1, - /// - /// D3D11_DSV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 2, - /// - /// D3D11_DSV_DIMENSION_TEXTURE2D - Texture2D = 3, - /// - /// D3D11_DSV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 4, - /// - /// D3D11_DSV_DIMENSION_TEXTURE2DMS - Texture2DMs = 5, - /// - /// D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 6, -} - -/// -/// D3D11_RTV_DIMENSION -public enum RtvDimension : int -{ - /// - /// D3D11_RTV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_RTV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D11_RTV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D11_RTV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D11_RTV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D11_RTV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D11_RTV_DIMENSION_TEXTURE2DMS - Texture2DMs = 6, - /// - /// D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 7, - /// - /// D3D11_RTV_DIMENSION_TEXTURE3D - Texture3D = 8, -} - -/// -/// D3D11_UAV_DIMENSION -public enum UavDimension : int -{ - /// - /// D3D11_UAV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_UAV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D11_UAV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D11_UAV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D11_UAV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D11_UAV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D11_UAV_DIMENSION_TEXTURE3D - Texture3D = 8, -} - -/// -/// D3D11_USAGE -public enum Usage : int -{ - /// - /// D3D11_USAGE_DEFAULT - Default = 0, - /// - /// D3D11_USAGE_IMMUTABLE - Immutable = 1, - /// - /// D3D11_USAGE_DYNAMIC - Dynamic = 2, - /// - /// D3D11_USAGE_STAGING - Staging = 3, -} - -/// -/// D3D11_BIND_FLAG -[Flags] -public enum BindFlags : uint -{ - None = 0, - /// - /// D3D11_BIND_VERTEX_BUFFER - VertexBuffer = 1, - /// - /// D3D11_BIND_INDEX_BUFFER - IndexBuffer = 2, - /// - /// D3D11_BIND_CONSTANT_BUFFER - ConstantBuffer = 4, - /// - /// D3D11_BIND_SHADER_RESOURCE - ShaderResource = 8, - /// - /// D3D11_BIND_STREAM_OUTPUT - StreamOutput = 16, - /// - /// D3D11_BIND_RENDER_TARGET - RenderTarget = 32, - /// - /// D3D11_BIND_DEPTH_STENCIL - DepthStencil = 64, - /// - /// D3D11_BIND_UNORDERED_ACCESS - UnorderedAccess = 128, - /// - /// D3D11_BIND_DECODER - Decoder = 512, - /// - /// D3D11_BIND_VIDEO_ENCODER - VideoEncoder = 1024, -} - -/// -/// D3D11_CPU_ACCESS_FLAG -[Flags] -public enum CpuAccessFlags : uint -{ - None = 0, - /// - /// D3D11_CPU_ACCESS_WRITE - Write = 65536, - /// - /// D3D11_CPU_ACCESS_READ - Read = 131072, -} - -/// -/// D3D11_RESOURCE_MISC_FLAG -[Flags] -public enum ResourceMiscFlags : uint -{ - None = 0, - /// - /// D3D11_RESOURCE_MISC_GENERATE_MIPS - GenerateMips = 1, - /// - /// D3D11_RESOURCE_MISC_SHARED - Shared = 2, - /// - /// D3D11_RESOURCE_MISC_TEXTURECUBE - TextureCube = 4, - /// - /// D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS - DrawIndirectArgs = 16, - /// - /// D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS - BufferAllowRawViews = 32, - /// - /// D3D11_RESOURCE_MISC_BUFFER_STRUCTURED - BufferStructured = 64, - /// - /// D3D11_RESOURCE_MISC_RESOURCE_CLAMP - ResourceClamp = 128, - /// - /// D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX - SharedKeyedMutex = 256, - /// - /// D3D11_RESOURCE_MISC_GDI_COMPATIBLE - GDICompatible = 512, - /// - /// D3D11_RESOURCE_MISC_SHARED_NTHANDLE - SharedNthandle = 2048, - /// - /// D3D11_RESOURCE_MISC_RESTRICTED_CONTENT - RestrictedContent = 4096, - /// - /// D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE - RestrictSharedResource = 8192, - /// - /// D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER - RestrictSharedResourceDriver = 16384, - /// - /// D3D11_RESOURCE_MISC_GUARDED - Guarded = 32768, - /// - /// D3D11_RESOURCE_MISC_TILE_POOL - TilePool = 131072, - /// - /// D3D11_RESOURCE_MISC_TILED - Tiled = 262144, - /// - /// D3D11_RESOURCE_MISC_HW_PROTECTED - HWProtected = 524288, - /// - /// D3D11_RESOURCE_MISC_SHARED_DISPLAYABLE - SharedDisplayable = 1048576, - /// - /// D3D11_RESOURCE_MISC_SHARED_EXCLUSIVE_WRITER - SharedExclusiveWriter = 2097152, -} - -/// -/// D3D11_MAP -public enum MapMode : int -{ - /// - /// D3D11_MAP_READ - Read = 1, - /// - /// D3D11_MAP_WRITE - Write = 2, - /// - /// D3D11_MAP_READ_WRITE - ReadWrite = 3, - /// - /// D3D11_MAP_WRITE_DISCARD - WriteDiscard = 4, - /// - /// D3D11_MAP_WRITE_NO_OVERWRITE - WriteNoOverwrite = 5, -} - -/// -/// D3D11_MAP_FLAG -[Flags] -public enum MapFlags : int -{ - None = 0, - /// - /// D3D11_MAP_FLAG_DO_NOT_WAIT - DoNotWait = 1048576, -} - -/// -/// D3D11_RAISE_FLAG -[Flags] -public enum RaiseFlags : int -{ - None = 0, - /// - /// D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR - DriverInternalError = 1, -} - -/// -/// D3D11_CLEAR_FLAG -[Flags] -public enum ClearFlags : int -{ - None = 0, - /// - /// D3D11_CLEAR_DEPTH - Depth = 1, - /// - /// D3D11_CLEAR_STENCIL - Stencil = 2, -} - -/// -/// D3D11_COMPARISON_FUNC -public enum ComparisonFunction : int -{ - /// - /// D3D11_COMPARISON_NEVER - Never = 1, - /// - /// D3D11_COMPARISON_LESS - Less = 2, - /// - /// D3D11_COMPARISON_EQUAL - Equal = 3, - /// - /// D3D11_COMPARISON_LESS_EQUAL - LessEqual = 4, - /// - /// D3D11_COMPARISON_GREATER - Greater = 5, - /// - /// D3D11_COMPARISON_NOT_EQUAL - NotEqual = 6, - /// - /// D3D11_COMPARISON_GREATER_EQUAL - GreaterEqual = 7, - /// - /// D3D11_COMPARISON_ALWAYS - Always = 8, -} - -/// -/// D3D11_DEPTH_WRITE_MASK -public enum DepthWriteMask : int -{ - /// - /// D3D11_DEPTH_WRITE_MASK_ZERO - Zero = 0, - /// - /// D3D11_DEPTH_WRITE_MASK_ALL - All = 1, -} - -/// -/// D3D11_STENCIL_OP -public enum StencilOperation : int -{ - /// - /// D3D11_STENCIL_OP_KEEP - Keep = 1, - /// - /// D3D11_STENCIL_OP_ZERO - Zero = 2, - /// - /// D3D11_STENCIL_OP_REPLACE - Replace = 3, - /// - /// D3D11_STENCIL_OP_INCR_SAT - IncrSat = 4, - /// - /// D3D11_STENCIL_OP_DECR_SAT - DecrSat = 5, - /// - /// D3D11_STENCIL_OP_INVERT - Invert = 6, - /// - /// D3D11_STENCIL_OP_INCR - Incr = 7, - /// - /// D3D11_STENCIL_OP_DECR - Decr = 8, -} - -/// -/// D3D11_BLEND -public enum Blend : int -{ - /// - /// D3D11_BLEND_ZERO - Zero = 1, - /// - /// D3D11_BLEND_ONE - One = 2, - /// - /// D3D11_BLEND_SRC_COLOR - SrcColor = 3, - /// - /// D3D11_BLEND_INV_SRC_COLOR - InvSrcColor = 4, - /// - /// D3D11_BLEND_SRC_ALPHA - SrcAlpha = 5, - /// - /// D3D11_BLEND_INV_SRC_ALPHA - InvSrcAlpha = 6, - /// - /// D3D11_BLEND_DEST_ALPHA - DestAlpha = 7, - /// - /// D3D11_BLEND_INV_DEST_ALPHA - InvDestAlpha = 8, - /// - /// D3D11_BLEND_DEST_COLOR - DestColor = 9, - /// - /// D3D11_BLEND_INV_DEST_COLOR - InvDestColor = 10, - /// - /// D3D11_BLEND_SRC_ALPHA_SAT - SrcAlphaSat = 11, - /// - /// D3D11_BLEND_BLEND_FACTOR - BlendFactor = 14, - /// - /// D3D11_BLEND_INV_BLEND_FACTOR - InvBlendFactor = 15, - /// - /// D3D11_BLEND_SRC1_COLOR - Src1Color = 16, - /// - /// D3D11_BLEND_INV_SRC1_COLOR - InvSrc1Color = 17, - /// - /// D3D11_BLEND_SRC1_ALPHA - Src1Alpha = 18, - /// - /// D3D11_BLEND_INV_SRC1_ALPHA - InvSrc1Alpha = 19, -} - -/// -/// D3D11_BLEND_OP -public enum BlendOperation : int -{ - /// - /// D3D11_BLEND_OP_ADD - Add = 1, - /// - /// D3D11_BLEND_OP_SUBTRACT - Subtract = 2, - /// - /// D3D11_BLEND_OP_REV_SUBTRACT - RevSubtract = 3, - /// - /// D3D11_BLEND_OP_MIN - Min = 4, - /// - /// D3D11_BLEND_OP_MAX - Max = 5, -} - -/// -/// D3D11_COLOR_WRITE_ENABLE -[Flags] -public enum ColorWriteEnable : byte -{ - None = 0, - /// - /// D3D11_COLOR_WRITE_ENABLE_RED - Red = 1, - /// - /// D3D11_COLOR_WRITE_ENABLE_GREEN - Green = 2, - /// - /// D3D11_COLOR_WRITE_ENABLE_BLUE - Blue = 4, - /// - /// D3D11_COLOR_WRITE_ENABLE_ALPHA - Alpha = 8, - /// - /// D3D11_COLOR_WRITE_ENABLE_ALL - All = 15, -} - -/// -/// D3D11_TEXTURECUBE_FACE -public enum TextureCubeFace : int -{ - /// - /// D3D11_TEXTURECUBE_FACE_POSITIVE_X - PositiveX = 0, - /// - /// D3D11_TEXTURECUBE_FACE_NEGATIVE_X - NegativeX = 1, - /// - /// D3D11_TEXTURECUBE_FACE_POSITIVE_Y - PositiveY = 2, - /// - /// D3D11_TEXTURECUBE_FACE_NEGATIVE_Y - NegativeY = 3, - /// - /// D3D11_TEXTURECUBE_FACE_POSITIVE_Z - PositiveZ = 4, - /// - /// D3D11_TEXTURECUBE_FACE_NEGATIVE_Z - NegativeZ = 5, -} - -/// -/// D3D11_BUFFEREX_SRV_FLAG -[Flags] -public enum BufferExtendedSrvFlags : int -{ - None = 0, - /// - /// D3D11_BUFFEREX_SRV_FLAG_RAW - Raw = 1, -} - -/// -/// D3D11_DSV_FLAG -[Flags] -public enum DsvFlags : int -{ - None = 0, - /// - /// D3D11_DSV_READ_ONLY_DEPTH - ReadOnlyDepth = 1, - /// - /// D3D11_DSV_READ_ONLY_STENCIL - ReadOnlyStencil = 2, -} - -/// -/// D3D11_BUFFER_UAV_FLAG -[Flags] -public enum BufferUavFlags : int -{ - None = 0, - /// - /// D3D11_BUFFER_UAV_FLAG_RAW - Raw = 1, - /// - /// D3D11_BUFFER_UAV_FLAG_APPEND - Append = 2, - /// - /// D3D11_BUFFER_UAV_FLAG_COUNTER - Counter = 4, -} - -/// -/// D3D11_FILTER -public enum Filter : int -{ - /// - /// D3D11_FILTER_MIN_MAG_MIP_POINT - MinMagMipPoint = 0, - /// - /// D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR - MinMagPointMipLinear = 1, - /// - /// D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT - MinPointMagLinearMipPoint = 4, - /// - /// D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR - MinPointMagMipLinear = 5, - /// - /// D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT - MinLinearMagMipPoint = 16, - /// - /// D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MinLinearMagPointMipLinear = 17, - /// - /// D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT - MinMagLinearMipPoint = 20, - /// - /// D3D11_FILTER_MIN_MAG_MIP_LINEAR - MinMagMipLinear = 21, - /// - /// D3D11_FILTER_ANISOTROPIC - Anisotropic = 85, - /// - /// D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT - ComparisonMinMagMipPoint = 128, - /// - /// D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR - ComparisonMinMagPointMipLinear = 129, - /// - /// D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT - ComparisonMinPointMagLinearMipPoint = 132, - /// - /// D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR - ComparisonMinPointMagMipLinear = 133, - /// - /// D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT - ComparisonMinLinearMagMipPoint = 144, - /// - /// D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR - ComparisonMinLinearMagPointMipLinear = 145, - /// - /// D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT - ComparisonMinMagLinearMipPoint = 148, - /// - /// D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR - ComparisonMinMagMipLinear = 149, - /// - /// D3D11_FILTER_COMPARISON_ANISOTROPIC - ComparisonAnisotropic = 213, - /// - /// D3D11_FILTER_MINIMUM_MIN_MAG_MIP_POINT - MinimumMinMagMipPoint = 256, - /// - /// D3D11_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR - MinimumMinMagPointMipLinear = 257, - /// - /// D3D11_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT - MinimumMinPointMagLinearMipPoint = 260, - /// - /// D3D11_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR - MinimumMinPointMagMipLinear = 261, - /// - /// D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT - MinimumMinLinearMagMipPoint = 272, - /// - /// D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MinimumMinLinearMagPointMipLinear = 273, - /// - /// D3D11_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT - MinimumMinMagLinearMipPoint = 276, - /// - /// D3D11_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR - MinimumMinMagMipLinear = 277, - /// - /// D3D11_FILTER_MINIMUM_ANISOTROPIC - MinimumAnisotropic = 341, - /// - /// D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_POINT - MaximumMinMagMipPoint = 384, - /// - /// D3D11_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR - MaximumMinMagPointMipLinear = 385, - /// - /// D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT - MaximumMinPointMagLinearMipPoint = 388, - /// - /// D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR - MaximumMinPointMagMipLinear = 389, - /// - /// D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT - MaximumMinLinearMagMipPoint = 400, - /// - /// D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MaximumMinLinearMagPointMipLinear = 401, - /// - /// D3D11_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT - MaximumMinMagLinearMipPoint = 404, - /// - /// D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR - MaximumMinMagMipLinear = 405, - /// - /// D3D11_FILTER_MAXIMUM_ANISOTROPIC - MaximumAnisotropic = 469, -} - -/// -/// D3D11_FILTER_TYPE -public enum FilterType : int -{ - /// - /// D3D11_FILTER_TYPE_POINT - Point = 0, - /// - /// D3D11_FILTER_TYPE_LINEAR - Linear = 1, -} - -/// -/// D3D11_FILTER_REDUCTION_TYPE -public enum FilterReductionType : int -{ - /// - /// D3D11_FILTER_REDUCTION_TYPE_STANDARD - Standard = 0, - /// - /// D3D11_FILTER_REDUCTION_TYPE_COMPARISON - Comparison = 1, - /// - /// D3D11_FILTER_REDUCTION_TYPE_MINIMUM - Minimum = 2, - /// - /// D3D11_FILTER_REDUCTION_TYPE_MAXIMUM - Maximum = 3, -} - -/// -/// D3D11_TEXTURE_ADDRESS_MODE -public enum TextureAddressMode : int -{ - /// - /// D3D11_TEXTURE_ADDRESS_WRAP - Wrap = 1, - /// - /// D3D11_TEXTURE_ADDRESS_MIRROR - Mirror = 2, - /// - /// D3D11_TEXTURE_ADDRESS_CLAMP - Clamp = 3, - /// - /// D3D11_TEXTURE_ADDRESS_BORDER - Border = 4, - /// - /// D3D11_TEXTURE_ADDRESS_MIRROR_ONCE - MirrorOnce = 5, -} - -/// -/// D3D11_FORMAT_SUPPORT -[Flags] -public enum FormatSupport : int -{ - None = 0, - /// - /// D3D11_FORMAT_SUPPORT_BUFFER - Buffer = 1, - /// - /// D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER - IAVertexBuffer = 2, - /// - /// D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER - IAIndexBuffer = 4, - /// - /// D3D11_FORMAT_SUPPORT_SO_BUFFER - SOBuffer = 8, - /// - /// D3D11_FORMAT_SUPPORT_TEXTURE1D - Texture1D = 16, - /// - /// D3D11_FORMAT_SUPPORT_TEXTURE2D - Texture2D = 32, - /// - /// D3D11_FORMAT_SUPPORT_TEXTURE3D - Texture3D = 64, - /// - /// D3D11_FORMAT_SUPPORT_TEXTURECUBE - TextureCube = 128, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_LOAD - ShaderLoad = 256, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE - ShaderSample = 512, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON - ShaderSampleComparison = 1024, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT - ShaderSampleMonoText = 2048, - /// - /// D3D11_FORMAT_SUPPORT_MIP - Mip = 4096, - /// - /// D3D11_FORMAT_SUPPORT_MIP_AUTOGEN - MipAutogen = 8192, - /// - /// D3D11_FORMAT_SUPPORT_RENDER_TARGET - RenderTarget = 16384, - /// - /// D3D11_FORMAT_SUPPORT_BLENDABLE - Blendable = 32768, - /// - /// D3D11_FORMAT_SUPPORT_DEPTH_STENCIL - DepthStencil = 65536, - /// - /// D3D11_FORMAT_SUPPORT_CPU_LOCKABLE - CpuLockable = 131072, - /// - /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE - MultisampleResolve = 262144, - /// - /// D3D11_FORMAT_SUPPORT_DISPLAY - Display = 524288, - /// - /// D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT - CastWithinBitLayout = 1048576, - /// - /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET - MultisampleRendertarget = 2097152, - /// - /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD - MultisampleLoad = 4194304, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_GATHER - ShaderGather = 8388608, - /// - /// D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST - BackBufferCast = 16777216, - /// - /// D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW - TypedUnorderedAccessView = 33554432, - /// - /// D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON - ShaderGatherComparison = 67108864, - /// - /// D3D11_FORMAT_SUPPORT_DECODER_OUTPUT - DecoderOutput = 134217728, - /// - /// D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT - VideoProcessorOutput = 268435456, - /// - /// D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT - VideoProcessorInput = 536870912, - /// - /// D3D11_FORMAT_SUPPORT_VIDEO_ENCODER - VideoEncoder = 1073741824, -} - -/// -/// D3D11_FORMAT_SUPPORT2 -[Flags] -public enum FormatSupport2 : int -{ - None = 0, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD - UavAtomicAdd = 1, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS - UavAtomicBitwiseOps = 2, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE - UavAtomicCompareStoreOrCompareExchange = 4, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE - UavAtomicExchange = 8, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX - UavAtomicSignedMinOrMax = 16, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX - UavAtomicUnsignedMinOrMax = 32, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD - UavTypedLoad = 64, - /// - /// D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE - UavTypedStore = 128, - /// - /// D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP - OutputMergerLogicOp = 256, - /// - /// D3D11_FORMAT_SUPPORT2_TILED - Tiled = 512, - /// - /// D3D11_FORMAT_SUPPORT2_SHAREABLE - Shareable = 1024, - /// - /// D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY - MultiplaneOverlay = 16384, -} - -/// -/// D3D11_ASYNC_GETDATA_FLAG -[Flags] -public enum AsyncGetDataFlags : int -{ - None = 0, - /// - /// D3D11_ASYNC_GETDATA_DONOTFLUSH - DoNotFlush = 1, -} - -/// -/// D3D11_QUERY -public enum QueryType : int -{ - /// - /// D3D11_QUERY_EVENT - Event = 0, - /// - /// D3D11_QUERY_OCCLUSION - Occlusion = 1, - /// - /// D3D11_QUERY_TIMESTAMP - Timestamp = 2, - /// - /// D3D11_QUERY_TIMESTAMP_DISJOINT - TimestampDisjoint = 3, - /// - /// D3D11_QUERY_PIPELINE_STATISTICS - PipelineStatistics = 4, - /// - /// D3D11_QUERY_OCCLUSION_PREDICATE - OcclusionPredicate = 5, - /// - /// D3D11_QUERY_SO_STATISTICS - SOStatistics = 6, - /// - /// D3D11_QUERY_SO_OVERFLOW_PREDICATE - SOOverflowPredicate = 7, - /// - /// D3D11_QUERY_SO_STATISTICS_STREAM0 - SOStatisticsStream0 = 8, - /// - /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 - SOOverflowPredicateStream0 = 9, - /// - /// D3D11_QUERY_SO_STATISTICS_STREAM1 - SOStatisticsStream1 = 10, - /// - /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 - SOOverflowPredicateStream1 = 11, - /// - /// D3D11_QUERY_SO_STATISTICS_STREAM2 - SOStatisticsStream2 = 12, - /// - /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 - SOOverflowPredicateStream2 = 13, - /// - /// D3D11_QUERY_SO_STATISTICS_STREAM3 - SOStatisticsStream3 = 14, - /// - /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 - SOOverflowPredicateStream3 = 15, -} - -/// -/// D3D11_QUERY_MISC_FLAG -[Flags] -public enum QueryMiscFlags : int -{ - None = 0, - /// - /// D3D11_QUERY_MISC_PREDICATEHINT - PredicateHint = 1, -} - -/// -/// D3D11_COUNTER -public enum Counter : int -{ - /// - /// D3D11_COUNTER_DEVICE_DEPENDENT_0 - DeviceDependent0 = 1073741824, -} - -/// -/// D3D11_COUNTER_TYPE -public enum CounterType : int -{ - /// - /// D3D11_COUNTER_TYPE_FLOAT32 - Float32 = 0, - /// - /// D3D11_COUNTER_TYPE_UINT16 - UInt16 = 1, - /// - /// D3D11_COUNTER_TYPE_UINT32 - UInt32 = 2, - /// - /// D3D11_COUNTER_TYPE_UINT64 - UInt64 = 3, -} - -/// -/// D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS -public enum StandardMultisampleQualityLevels : int -{ - /// - /// D3D11_STANDARD_MULTISAMPLE_PATTERN - Standard = -1, - /// - /// D3D11_CENTER_MULTISAMPLE_PATTERN - Center = -2, -} - -/// -/// D3D11_DEVICE_CONTEXT_TYPE -public enum DeviceContextType : int -{ - /// - /// D3D11_DEVICE_CONTEXT_IMMEDIATE - Immediate = 0, - /// - /// D3D11_DEVICE_CONTEXT_DEFERRED - Deferred = 1, -} - -/// -/// D3D11_FEATURE -public enum Feature : int -{ - /// - /// D3D11_FEATURE_THREADING - Threading = 0, - /// - /// D3D11_FEATURE_DOUBLES - Doubles = 1, - /// - /// D3D11_FEATURE_FORMAT_SUPPORT - FormatSupport = 2, - /// - /// D3D11_FEATURE_FORMAT_SUPPORT2 - FormatSupport2 = 3, - /// - /// D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS - XHardwareOptions = 4, - /// - /// D3D11_FEATURE_D3D11_OPTIONS - Options = 5, - /// - /// D3D11_FEATURE_ARCHITECTURE_INFO - ArchitectureInfo = 6, - /// - /// D3D11_FEATURE_D3D9_OPTIONS - D3d9Options = 7, - /// - /// D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT - ShaderMinPrecisionSupport = 8, - /// - /// D3D11_FEATURE_D3D9_SHADOW_SUPPORT - D3d9ShadowSupport = 9, - /// - /// D3D11_FEATURE_D3D11_OPTIONS1 - Options1 = 10, - /// - /// D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT - D3d9SimpleInstancingSupport = 11, - /// - /// D3D11_FEATURE_MARKER_SUPPORT - MarkerSupport = 12, - /// - /// D3D11_FEATURE_D3D9_OPTIONS1 - D3d9Options1 = 13, - /// - /// D3D11_FEATURE_D3D11_OPTIONS2 - Options2 = 14, - /// - /// D3D11_FEATURE_D3D11_OPTIONS3 - Options3 = 15, - /// - /// D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT - GpuVirtualAddressSupport = 16, - /// - /// D3D11_FEATURE_D3D11_OPTIONS4 - Options4 = 17, - /// - /// D3D11_FEATURE_SHADER_CACHE - ShaderCache = 18, - /// - /// D3D11_FEATURE_D3D11_OPTIONS5 - Options5 = 19, - /// - /// D3D11_FEATURE_DISPLAYABLE - Displayable = 20, -} - -/// -/// D3D11_SHADER_MIN_PRECISION_SUPPORT -public enum ShaderMinPrecisionSupport : int -{ - /// - /// D3D11_SHADER_MIN_PRECISION_10_BIT - P10Bit = 1, - /// - /// D3D11_SHADER_MIN_PRECISION_16_BIT - P16Bit = 2, -} - -/// -/// D3D11_TILED_RESOURCES_TIER -public enum TiledResourcesTier : int -{ - /// - /// D3D11_TILED_RESOURCES_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D11_TILED_RESOURCES_TIER_1 - Tier1 = 1, - /// - /// D3D11_TILED_RESOURCES_TIER_2 - Tier2 = 2, - /// - /// D3D11_TILED_RESOURCES_TIER_3 - Tier3 = 3, -} - -/// -/// D3D11_CONSERVATIVE_RASTERIZATION_TIER -public enum ConservativeRasterizationTier : int -{ - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_1 - Tier1 = 1, - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_2 - Tier2 = 2, - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_TIER_3 - Tier3 = 3, -} - -/// -/// D3D11_SHADER_CACHE_SUPPORT_FLAGS -[Flags] -public enum ShaderCacheSupportFlags : int -{ - /// - /// D3D11_SHADER_CACHE_SUPPORT_NONE - None = 0, - /// - /// D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE - AutomaticInprocCache = 1, - /// - /// D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE - AutomaticDiskCache = 2, -} - -/// -/// D3D11_SHARED_RESOURCE_TIER -public enum SharedResourceTier : int -{ - /// - /// D3D11_SHARED_RESOURCE_TIER_0 - Tier0 = 0, - /// - /// D3D11_SHARED_RESOURCE_TIER_1 - Tier1 = 1, - /// - /// D3D11_SHARED_RESOURCE_TIER_2 - Tier2 = 2, - /// - /// D3D11_SHARED_RESOURCE_TIER_3 - Tier3 = 3, -} - -/// -/// D3D11_VIDEO_DECODER_BUFFER_TYPE -public enum VideoDecoderBufferType : int -{ - /// - /// D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS - PictureParameters = 0, - /// - /// D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL - MacroblockControl = 1, - /// - /// D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE - ResidualDifference = 2, - /// - /// D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL - DeblockingControl = 3, - /// - /// D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX - InverseQuantizationMatrix = 4, - /// - /// D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL - SliceControl = 5, - /// - /// D3D11_VIDEO_DECODER_BUFFER_BITSTREAM - Bitstream = 6, - /// - /// D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR - MotionVector = 7, - /// - /// D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN - FilmGrain = 8, -} - -/// -/// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT -public enum VideoProcessorFormatSupport : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT - Input = 1, - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT - Output = 2, -} - -/// -/// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS -public enum VideoProcessorDeviceCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_LINEAR_SPACE - LinearSpace = 1, - /// - /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_xvYCC - Xvycc = 2, - /// - /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_RGB_RANGE_CONVERSION - RgbRangeConversion = 4, - /// - /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION - YcbcrMatrixConversion = 8, - /// - /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_NOMINAL_RANGE - NominalRange = 16, -} - -/// -/// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS -public enum VideoProcessorFeatureCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL - AlphaFill = 1, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_CONSTRICTION - Constriction = 2, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LUMA_KEY - LumaKey = 4, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_PALETTE - AlphaPalette = 8, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LEGACY - Legacy = 16, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO - Stereo = 32, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ROTATION - Rotation = 64, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_STREAM - AlphaStream = 128, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_PIXEL_ASPECT_RATIO - PixelAspectRatio = 256, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_MIRROR - Mirror = 512, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_SHADER_USAGE - ShaderUsage = 1024, - /// - /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_METADATA_HDR10 - MetadataHdr10 = 2048, -} - -/// -/// D3D11_VIDEO_PROCESSOR_FILTER_CAPS -public enum VideoProcessorFilterCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_BRIGHTNESS - Brightness = 1, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_CONTRAST - Contrast = 2, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_HUE - Hue = 4, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_SATURATION - Saturation = 8, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_NOISE_REDUCTION - NoiseReduction = 16, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_EDGE_ENHANCEMENT - EdgeEnhancement = 32, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_ANAMORPHIC_SCALING - AnamorphicScaling = 64, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_STEREO_ADJUSTMENT - StereoAdjustment = 128, -} - -/// -/// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS -public enum VideoProcessorFormatCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_INTERLACED - RgbInterlaced = 1, - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_PROCAMP - RgbProcamp = 2, - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_LUMA_KEY - RgbLumaKey = 4, - /// - /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_PALETTE_INTERLACED - PaletteInterlaced = 8, -} - -/// -/// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS -public enum VideoProcessorAutoStreamCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DENOISE - Denoise = 1, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DERINGING - Deringing = 2, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_EDGE_ENHANCEMENT - EdgeEnhancement = 4, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_COLOR_CORRECTION - ColorCorrection = 8, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_FLESH_TONE_MAPPING - FleshToneMapping = 16, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_IMAGE_STABILIZATION - ImageStabilization = 32, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_SUPER_RESOLUTION - SuperResolution = 64, - /// - /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_ANAMORPHIC_SCALING - AnamorphicScaling = 128, -} - -/// -/// D3D11_VIDEO_PROCESSOR_STEREO_CAPS -public enum VideoProcessorStereoCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_MONO_OFFSET - MonoOffset = 1, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_ROW_INTERLEAVED - RowInterleaved = 2, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_COLUMN_INTERLEAVED - ColumnInterleaved = 4, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_CHECKERBOARD - Checkerboard = 8, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_FLIP_MODE - FlipMode = 16, -} - -/// -/// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS -public enum VideoProcessorProcessorCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND - DeinterlaceBlend = 1, - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB - DeinterlaceBob = 2, - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE - DeinterlaceAdaptive = 4, - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION - DeinterlaceMotionCompensation = 8, - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE - InverseTelecine = 16, - /// - /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION - FrameRateConversion = 32, -} - -/// -/// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS -public enum VideoProcessorItelecineCaps : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32 - _32 = 1, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22 - _22 = 2, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224 - _2224 = 4, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332 - _2332 = 8, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322 - _32322 = 16, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55 - _55 = 32, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64 - _64 = 64, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87 - _87 = 128, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223 - _222222222223 = 256, - /// - /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER - Other = -2147483648, -} - -/// -/// D3D11_CONTENT_PROTECTION_CAPS -public enum ContentProtectionCaps : int -{ - /// - /// D3D11_CONTENT_PROTECTION_CAPS_SOFTWARE - Software = 1, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE - Hardware = 2, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_PROTECTION_ALWAYS_ON - ProtectionAlwaysOn = 4, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_PARTIAL_DECRYPTION - PartialDecryption = 8, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_CONTENT_KEY - ContentKey = 16, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_FRESHEN_SESSION_KEY - FreshenSessionKey = 32, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK - EncryptedReadBack = 64, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPTED_READ_BACK_KEY - EncryptedReadBackKey = 128, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_SEQUENTIAL_CTR_IV - SequentialCtrIv = 256, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_ENCRYPT_SLICEDATA_ONLY - EncryptSlicedataOnly = 512, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_DECRYPTION_BLT - DecryptionBlt = 1024, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECT_UNCOMPRESSED - HardwareProtectUncompressed = 2048, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_PROTECTED_MEMORY_PAGEABLE - HardwareProtectedMemoryPageable = 4096, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_TEARDOWN - HardwareTeardown = 8192, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION - HardwareDrmCommunication = 16384, - /// - /// D3D11_CONTENT_PROTECTION_CAPS_HARDWARE_DRM_COMMUNICATION_MULTI_THREADED - HardwareDrmCommunicationMultiThreaded = 32768, -} - -/// -/// D3D11_VIDEO_PROCESSOR_FILTER -public enum VideoProcessorFilter : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS - Brightness = 0, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST - Contrast = 1, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_HUE - Hue = 2, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_SATURATION - Saturation = 3, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION - NoiseReduction = 4, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT - EdgeEnhancement = 5, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING - AnamorphicScaling = 6, - /// - /// D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT - StereoAdjustment = 7, -} - -/// -/// D3D11_VIDEO_FRAME_FORMAT -public enum VideoFrameFormat : int -{ - /// - /// D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE - Progressive = 0, - /// - /// D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST - InterlacedTopFieldFirst = 1, - /// - /// D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST - InterlacedBottomFieldFirst = 2, -} - -/// -/// D3D11_VIDEO_USAGE -public enum VideoUsage : int -{ - /// - /// D3D11_VIDEO_USAGE_PLAYBACK_NORMAL - PlaybackNormal = 0, - /// - /// D3D11_VIDEO_USAGE_OPTIMAL_SPEED - OptimalSpeed = 1, - /// - /// D3D11_VIDEO_USAGE_OPTIMAL_QUALITY - OptimalQuality = 2, -} - -/// -/// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE -public enum VideoProcessorNominalRange : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED - Undefined = 0, - /// - /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235 - Range_16_235 = 1, - /// - /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255 - Range_0_255 = 2, -} - -/// -/// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE -public enum VideoProcessorAlphaFillMode : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE - Opaque = 0, - /// - /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND - Background = 1, - /// - /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION - Destination = 2, - /// - /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM - SourceStream = 3, -} - -/// -/// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE -public enum VideoProcessorOutputRate : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL - Normal = 0, - /// - /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF - Half = 1, - /// - /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM - Custom = 2, -} - -/// -/// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT -public enum VideoProcessorStereoFormat : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO - Mono = 0, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL - Horizontal = 1, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL - Vertical = 2, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE - Separate = 3, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET - MonoOffset = 4, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED - RowInterleaved = 5, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED - ColumnInterleaved = 6, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD - Checkerboard = 7, -} - -/// -/// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE -public enum VideoProcessorStereoFlipMode : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE - None = 0, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0 - Frame0 = 1, - /// - /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1 - Frame1 = 2, -} - -/// -/// D3D11_VIDEO_PROCESSOR_ROTATION -public enum VideoProcessorRotation : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY - Identity = 0, - /// - /// D3D11_VIDEO_PROCESSOR_ROTATION_90 - Rotation90 = 1, - /// - /// D3D11_VIDEO_PROCESSOR_ROTATION_180 - Rotation180 = 2, - /// - /// D3D11_VIDEO_PROCESSOR_ROTATION_270 - Rotation270 = 3, -} - -/// -/// D3D11_AUTHENTICATED_CHANNEL_TYPE -public enum AuthenticatedChannelType : int -{ - /// - /// D3D11_AUTHENTICATED_CHANNEL_D3D11 - D3D11 = 1, - /// - /// D3D11_AUTHENTICATED_CHANNEL_DRIVER_SOFTWARE - DriverSoftware = 2, - /// - /// D3D11_AUTHENTICATED_CHANNEL_DRIVER_HARDWARE - DriverHardware = 3, -} - -/// -/// D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE -public enum AuthenticatedProcessIdentifierType : int -{ - /// - /// D3D11_PROCESSIDTYPE_UNKNOWN - Unknown = 0, - /// - /// D3D11_PROCESSIDTYPE_DWM - Dwm = 1, - /// - /// D3D11_PROCESSIDTYPE_HANDLE - Handle = 2, -} - -/// -/// D3D11_BUS_TYPE -public enum BusType : int -{ - /// - /// D3D11_BUS_TYPE_OTHER - Other = 0, - /// - /// D3D11_BUS_TYPE_PCI - Pci = 1, - /// - /// D3D11_BUS_TYPE_PCIX - Pcix = 2, - /// - /// D3D11_BUS_TYPE_PCIEXPRESS - Pciexpress = 3, - /// - /// D3D11_BUS_TYPE_AGP - Agp = 4, - /// - /// D3D11_BUS_IMPL_MODIFIER_INSIDE_OF_CHIPSET - ImplModifierInsideOfChipset = 65536, - /// - /// D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_CHIP - ImplModifierTracksOnMotherBoardToChip = 131072, - /// - /// D3D11_BUS_IMPL_MODIFIER_TRACKS_ON_MOTHER_BOARD_TO_SOCKET - ImplModifierTracksOnMotherBoardToSocket = 196608, - /// - /// D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR - ImplModifierDaughterBoardConnector = 262144, - /// - /// D3D11_BUS_IMPL_MODIFIER_DAUGHTER_BOARD_CONNECTOR_INSIDE_OF_NUAE - ImplModifierDaughterBoardConnectorInsideOfNuae = 327680, - /// - /// D3D11_BUS_IMPL_MODIFIER_NON_STANDARD - ImplModifierNonStandard = -2147483648, -} - -/// -/// D3D11_VDOV_DIMENSION -public enum VdovDimension : int -{ - /// - /// D3D11_VDOV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_VDOV_DIMENSION_TEXTURE2D - Texture2D = 1, -} - -/// -/// D3D11_VPIV_DIMENSION -public enum VpivDimension : int -{ - /// - /// D3D11_VPIV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_VPIV_DIMENSION_TEXTURE2D - Texture2D = 1, -} - -/// -/// D3D11_VPOV_DIMENSION -public enum VpovDimension : int -{ - /// - /// D3D11_VPOV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D11_VPOV_DIMENSION_TEXTURE2D - Texture2D = 1, - /// - /// D3D11_VPOV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 2, -} - -/// -/// D3D11_CREATE_DEVICE_FLAG -[Flags] -public enum CreateDeviceFlags : uint -{ - None = 0, - /// - /// D3D11_CREATE_DEVICE_SINGLETHREADED - SingleThreaded = 1, - /// - /// D3D11_CREATE_DEVICE_DEBUG - Debug = 2, - /// - /// D3D11_CREATE_DEVICE_SWITCH_TO_REF - SwitchToRef = 4, - /// - /// D3D11_CREATE_DEVICE_PREVENT_INTERNAL_THREADING_OPTIMIZATIONS - PreventInternalThreadingOptimizations = 8, - /// - /// D3D11_CREATE_DEVICE_BGRA_SUPPORT - BgraSupport = 32, - /// - /// D3D11_CREATE_DEVICE_DEBUGGABLE - Debuggable = 64, - /// - /// D3D11_CREATE_DEVICE_PREVENT_ALTERING_LAYER_SETTINGS_FROM_REGISTRY - PreventAlteringLayerSettingsFromRegistry = 128, - /// - /// D3D11_CREATE_DEVICE_DISABLE_GPU_TIMEOUT - DisableGpuTimeout = 256, - /// - /// D3D11_CREATE_DEVICE_VIDEO_SUPPORT - VideoSupport = 2048, -} - -/// -/// D3D11_RLDO_FLAGS -[Flags] -public enum ReportLiveDeviceObjectFlags : int -{ - None = 0, - /// - /// D3D11_RLDO_SUMMARY - Summary = 1, - /// - /// D3D11_RLDO_DETAIL - Detail = 2, - /// - /// D3D11_RLDO_IGNORE_INTERNAL - IgnoreInternal = 4, -} - -/// -/// D3D11_SHADER_TRACKING_RESOURCE_TYPE -public enum ShaderTrackingResourceType : int -{ - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_NONE - None = 0, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_UAV_DEVICEMEMORY - UavDeviceMemory = 1, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_NON_UAV_DEVICEMEMORY - NonUavDeviceMemory = 2, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_DEVICEMEMORY - AllDeviceMemory = 3, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_MEMORY - GroupSharedMemory = 4, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_SHARED_MEMORY - AllSharedMemory = 5, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_NON_UAV - GroupSharedNonUav = 6, - /// - /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL - All = 7, -} - -/// -/// D3D11_SHADER_TRACKING_OPTIONS -public enum ShaderTrackingOptions : int -{ - /// - /// D3D11_SHADER_TRACKING_OPTION_IGNORE - OptionIgnore = 0, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED - OptionTrackUninitialized = 1, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_RAW - OptionTrackRaw = 2, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAR - OptionTrackWar = 4, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAW - OptionTrackWaw = 8, - /// - /// D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME - OptionAllowSame = 16, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY - OptionTrackAtomicConsistency = 32, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS - OptionTrackRawAcrossThreadgroups = 64, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS - OptionTrackWarAcrossThreadgroups = 128, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS - OptionTrackWawAcrossThreadgroups = 256, - /// - /// D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS - OptionTrackAtomicConsistencyAcrossThreadgroups = 512, - /// - /// D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS - OptionUavSpecificFlags = 960, - /// - /// D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS - OptionAllHazards = 1006, - /// - /// D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME - OptionAllHazardsAllowingSame = 1022, - /// - /// D3D11_SHADER_TRACKING_OPTION_ALL_OPTIONS - OptionAllOptions = 1023, -} - -/// -/// D3D11_MESSAGE_CATEGORY -public enum MessageCategory : int -{ - /// - /// D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED - ApplicationDefined = 0, - /// - /// D3D11_MESSAGE_CATEGORY_MISCELLANEOUS - Miscellaneous = 1, - /// - /// D3D11_MESSAGE_CATEGORY_INITIALIZATION - Initialization = 2, - /// - /// D3D11_MESSAGE_CATEGORY_CLEANUP - Cleanup = 3, - /// - /// D3D11_MESSAGE_CATEGORY_COMPILATION - Compilation = 4, - /// - /// D3D11_MESSAGE_CATEGORY_STATE_CREATION - StateCreation = 5, - /// - /// D3D11_MESSAGE_CATEGORY_STATE_SETTING - StateSetting = 6, - /// - /// D3D11_MESSAGE_CATEGORY_STATE_GETTING - StateGetting = 7, - /// - /// D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION - ResourceManipulation = 8, - /// - /// D3D11_MESSAGE_CATEGORY_EXECUTION - Execution = 9, - /// - /// D3D11_MESSAGE_CATEGORY_SHADER - Shader = 10, -} - -/// -/// D3D11_MESSAGE_SEVERITY -public enum MessageSeverity : int -{ - /// - /// D3D11_MESSAGE_SEVERITY_CORRUPTION - Corruption = 0, - /// - /// D3D11_MESSAGE_SEVERITY_ERROR - Error = 1, - /// - /// D3D11_MESSAGE_SEVERITY_WARNING - Warning = 2, - /// - /// D3D11_MESSAGE_SEVERITY_INFO - Info = 3, - /// - /// D3D11_MESSAGE_SEVERITY_MESSAGE - Message = 4, -} - -/// -/// D3D11_MESSAGE_ID -public enum MessageId : int -{ - /// - /// D3D11_MESSAGE_ID_UNKNOWN - Unknown = 0, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD - DeviceIASetVertexBuffersHazard = 1, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD - DeviceIASetIndexBufferHazard = 2, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD - DeviceVSSetShaderResourcesHazard = 3, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD - DeviceVSSetConstantBuffersHazard = 4, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD - DeviceGSSetShaderResourcesHazard = 5, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD - DeviceGSSetConstantBuffersHazard = 6, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD - DevicePSSetShaderResourcesHazard = 7, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD - DevicePSSetConstantBuffersHazard = 8, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD - DeviceOMSetRenderTargetsHazard = 9, - /// - /// D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD - DeviceSOSetTargetsHazard = 10, - /// - /// D3D11_MESSAGE_ID_STRING_FROM_APPLICATION - StringFromApplication = 11, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_THIS - CorruptedThis = 12, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1 - CorruptedParameter1 = 13, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2 - CorruptedParameter2 = 14, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3 - CorruptedParameter3 = 15, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4 - CorruptedParameter4 = 16, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5 - CorruptedParameter5 = 17, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6 - CorruptedParameter6 = 18, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7 - CorruptedParameter7 = 19, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8 - CorruptedParameter8 = 20, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9 - CorruptedParameter9 = 21, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10 - CorruptedParameter10 = 22, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11 - CorruptedParameter11 = 23, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12 - CorruptedParameter12 = 24, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13 - CorruptedParameter13 = 25, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14 - CorruptedParameter14 = 26, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15 - CorruptedParameter15 = 27, - /// - /// D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING - CorruptedMultithreading = 28, - /// - /// D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY - MessageReportingOutOfMemory = 29, - /// - /// D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT - IASetInputLayoutUnbindDeletingObject = 30, - /// - /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT - IASetVertexBuffersUnbindDeletingObject = 31, - /// - /// D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT - IASetIndexBufferUnbindDeletingObject = 32, - /// - /// D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT - VSSetShaderUnbindDeletingObject = 33, - /// - /// D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - VSSetShaderResourcesUnbindDeletingObject = 34, - /// - /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - VSSetConstantBuffersUnbindDeletingObject = 35, - /// - /// D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT - VSSetSamplersUnbindDeletingObject = 36, - /// - /// D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT - GSSetShaderUnbindDeletingObject = 37, - /// - /// D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - GSSetShaderResourcesUnbindDeletingObject = 38, - /// - /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - GSSetConstantBuffersUnbindDeletingObject = 39, - /// - /// D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT - GSSetSamplersUnbindDeletingObject = 40, - /// - /// D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT - SOSetTargetsUnbindDeletingObject = 41, - /// - /// D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT - PSSetShaderUnbindDeletingObject = 42, - /// - /// D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - PSSetShaderResourcesUnbindDeletingObject = 43, - /// - /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - PSSetConstantBuffersUnbindDeletingObject = 44, - /// - /// D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT - PSSetSamplersUnbindDeletingObject = 45, - /// - /// D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT - RSSetStateUnbindDeletingObject = 46, - /// - /// D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT - OMSetBlendStateUnbindDeletingObject = 47, - /// - /// D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT - OMSetDepthStencilStateUnbindDeletingObject = 48, - /// - /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT - OMSetRenderTargetsUnbindDeletingObject = 49, - /// - /// D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT - SetPredicationUnbindDeletingObject = 50, - /// - /// D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA - GetPrivateDataMoreData = 51, - /// - /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA - SetPrivateDataInvalidFreeData = 52, - /// - /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN - SetPrivateDataInvalidIUnknown = 53, - /// - /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS - SetPrivateDataInvalidFlags = 54, - /// - /// D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS - SetPrivateDataChangingParams = 55, - /// - /// D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY - SetPrivateDataOutOfMemory = 56, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT - CreateBufferUnrecognizedFormat = 57, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES - CreateBufferInvalidSamples = 58, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE - CreateBufferUnrecognizedUsage = 59, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS - CreateBufferUnrecognizedBindFlags = 60, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS - CreateBufferUnrecognizedCPUAccessFlags = 61, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS - CreateBufferUnrecognizedMiscFlags = 62, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS - CreateBufferInvalidCPUAccessFlags = 63, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS - CreateBufferInvalidBindFlags = 64, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA - CreateBufferInvalidInitialData = 65, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS - CreateBufferInvalidDimensions = 66, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS - CreateBufferInvalidMipLevels = 67, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS - CreateBufferInvalidMiscFlags = 68, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN - CreateBufferInvalidArgReturn = 69, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN - CreateBufferOutOfMemoryReturn = 70, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC - CreateBufferNullDesc = 71, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS - CreateBufferInvalidConstantBufferBindings = 72, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION - CreateBufferLargeAllocation = 73, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT - CreateTexture1DUnrecognizedFormat = 74, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT - CreateTexture1DUnsupportedFormat = 75, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES - CreateTexture1DInvalidSamples = 76, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE - CreateTexture1DUnrecognizedUsage = 77, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS - CreateTexture1DUnrecognizedBindFlags = 78, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS - CreateTexture1DUnrecognizedCPUAccessFlags = 79, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS - CreateTexture1DUnrecognizedMiscFlags = 80, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS - CreateTexture1DInvalidCPUAccessFlags = 81, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS - CreateTexture1DInvalidBindFlags = 82, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA - CreateTexture1DInvalidInitialData = 83, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS - CreateTexture1DInvalidDimensions = 84, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS - CreateTexture1DInvalidMipLevels = 85, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS - CreateTexture1DInvalidMiscFlags = 86, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN - CreateTexture1DInvalidArgReturn = 87, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN - CreateTexture1DOutOfMemoryReturn = 88, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC - CreateTexture1DNullDesc = 89, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION - CreateTexture1DLargeAllocation = 90, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT - CreateTexture2DUnrecognizedFormat = 91, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT - CreateTexture2DUnsupportedFormat = 92, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES - CreateTexture2DInvalidSamples = 93, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE - CreateTexture2DUnrecognizedUsage = 94, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS - CreateTexture2DUnrecognizedBindFlags = 95, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS - CreateTexture2DUnrecognizedCPUAccessFlags = 96, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS - CreateTexture2DUnrecognizedMiscFlags = 97, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS - CreateTexture2DInvalidCPUAccessFlags = 98, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS - CreateTexture2DInvalidBindFlags = 99, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA - CreateTexture2DInvalidInitialData = 100, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS - CreateTexture2DInvalidDimensions = 101, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS - CreateTexture2DInvalidMipLevels = 102, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS - CreateTexture2DInvalidMiscFlags = 103, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN - CreateTexture2DInvalidArgReturn = 104, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN - CreateTexture2DOutOfMemoryReturn = 105, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC - CreateTexture2DNullDesc = 106, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION - CreateTexture2DLargeAllocation = 107, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT - CreateTexture3DUnrecognizedFormat = 108, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT - CreateTexture3DUnsupportedFormat = 109, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES - CreateTexture3DInvalidSamples = 110, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE - CreateTexture3DUnrecognizedUsage = 111, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS - CreateTexture3DUnrecognizedBindFlags = 112, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS - CreateTexture3DUnrecognizedCPUAccessFlags = 113, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS - CreateTexture3DUnrecognizedMiscFlags = 114, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS - CreateTexture3DInvalidCPUAccessFlags = 115, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS - CreateTexture3DInvalidBindFlags = 116, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA - CreateTexture3DInvalidInitialData = 117, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS - CreateTexture3DInvalidDimensions = 118, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS - CreateTexture3DInvalidMipLevels = 119, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS - CreateTexture3DInvalidMiscFlags = 120, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN - CreateTexture3DInvalidArgReturn = 121, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN - CreateTexture3DOutOfMemoryReturn = 122, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC - CreateTexture3DNullDesc = 123, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION - CreateTexture3DLargeAllocation = 124, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT - CreateShaderResourceViewUnrecognizedFormat = 125, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC - CreateShaderResourceViewInvalidDesc = 126, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT - CreateShaderResourceViewInvalidFormat = 127, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS - CreateShaderResourceViewInvalidDimensions = 128, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE - CreateShaderResourceViewInvalidResource = 129, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS - CreateShaderResourceViewTooManyObjects = 130, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN - CreateShaderResourceViewInvalidArgReturn = 131, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN - CreateShaderResourceViewOutOfMemoryReturn = 132, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT - CreateRenderTargetViewUnrecognizedFormat = 133, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT - CreateRenderTargetViewUnsupportedFormat = 134, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC - CreateRenderTargetViewInvalidDesc = 135, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT - CreateRenderTargetViewInvalidFormat = 136, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS - CreateRenderTargetViewInvalidDimensions = 137, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE - CreateRenderTargetViewInvalidResource = 138, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS - CreateRenderTargetViewTooManyObjects = 139, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN - CreateRenderTargetViewInvalidArgReturn = 140, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN - CreateRenderTargetViewOutOfMemoryReturn = 141, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT - CreateDepthStencilViewUnrecognizedFormat = 142, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC - CreateDepthStencilViewInvalidDesc = 143, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT - CreateDepthStencilViewInvalidFormat = 144, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS - CreateDepthStencilViewInvalidDimensions = 145, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE - CreateDepthStencilViewInvalidResource = 146, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS - CreateDepthStencilViewTooManyObjects = 147, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN - CreateDepthStencilViewInvalidArgReturn = 148, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN - CreateDepthStencilViewOutOfMemoryReturn = 149, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY - CreateInputLayoutOutOfMemory = 150, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS - CreateInputLayoutTooManyElements = 151, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT - CreateInputLayoutInvalidFormat = 152, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT - CreateInputLayoutIncompatibleFormat = 153, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT - CreateInputLayoutInvalidSlot = 154, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS - CreateInputLayoutInvalidInputSlotClass = 155, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH - CreateInputLayoutStepRateSlotClassMismatch = 156, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE - CreateInputLayoutInvalidSlotClassChange = 157, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE - CreateInputLayoutInvalidStepRateChange = 158, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT - CreateInputLayoutInvalidAlignment = 159, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC - CreateInputLayoutDuplicateSemantic = 160, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE - CreateInputLayoutUnparseableInputSignature = 161, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC - CreateInputLayoutNullSemantic = 162, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT - CreateInputLayoutMissingElement = 163, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC - CreateInputLayoutNullDesc = 164, - /// - /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY - CreateVertexShaderOutOfMemory = 165, - /// - /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE - CreateVertexShaderInvalidShaderBytecode = 166, - /// - /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE - CreateVertexShaderInvalidShaderType = 167, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY - CreateGeometryShaderOutOfMemory = 168, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE - CreateGeometryShaderInvalidShaderBytecode = 169, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE - CreateGeometryShaderInvalidShaderType = 170, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY - CreateGeometryShaderWithStreamOutputOutOfMemory = 171, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE - CreateGeometryShaderWithStreamOutputInvalidShaderBytecode = 172, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE - CreateGeometryShaderWithStreamOutputInvalidShaderType = 173, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES - CreateGeometryShaderWithStreamOutputInvalidNumEntries = 174, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED - CreateGeometryShaderWithStreamOutputOutputStreamStrideUnused = 175, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL - CreateGeometryShaderWithStreamOutputUnexpectedDecl = 176, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL - CreateGeometryShaderWithStreamOutputExpectedDecl = 177, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED - CreateGeometryShaderWithStreamOutputOutputSlot0Expected = 178, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT - CreateGeometryShaderWithStreamOutputInvalidOutputSlot = 179, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT - CreateGeometryShaderWithStreamOutputOnlyoneelementperslot = 180, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT - CreateGeometryShaderWithStreamOutputInvalidComponentCount = 181, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT - CreateGeometryShaderWithStreamOutputInvalidStartComponentAndComponentCount = 182, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION - CreateGeometryShaderWithStreamOutputInvalidGapDefinition = 183, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT - CreateGeometryShaderWithStreamOutputRepeatedOutput = 184, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE - CreateGeometryShaderWithStreamOutputInvalidOutputStreamStride = 185, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC - CreateGeometryShaderWithStreamOutputMissingsemantic = 186, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH - CreateGeometryShaderWithStreamOutputMaskmismatch = 187, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS - CreateGeometryShaderWithStreamOutputCanthaveonlygaps = 188, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX - CreateGeometryShaderWithStreamOutputDecltoocomplex = 189, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE - CreateGeometryShaderWithStreamOutputMissingOutputSignature = 190, - /// - /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY - CreatePixelShaderOutOfMemory = 191, - /// - /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE - CreatePixelShaderInvalidShaderBytecode = 192, - /// - /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE - CreatePixelShaderInvalidShaderType = 193, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE - CreateRasterizerStateInvalidFillMode = 194, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE - CreateRasterizerStateInvalidCullMode = 195, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP - CreateRasterizerStateInvalidDepthBiasClamp = 196, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS - CreateRasterizerStateInvalidSlopeScaledDepthBias = 197, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS - CreateRasterizerStateTooManyObjects = 198, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC - CreateRasterizerStateNullDesc = 199, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK - CreateDepthStencilStateInvalidDepthWriteMask = 200, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC - CreateDepthStencilStateInvalidDepthFunc = 201, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP - CreateDepthStencilStateInvalidFrontFaceStencilFailOp = 202, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP - CreateDepthStencilStateInvalidFrontFaceStencilZFailOp = 203, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP - CreateDepthStencilStateInvalidFrontFaceStencilPassOp = 204, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC - CreateDepthStencilStateInvalidFrontFaceStencilFunc = 205, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP - CreateDepthStencilStateInvalidBackFaceStencilFailOp = 206, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP - CreateDepthStencilStateInvalidBackFaceStencilZFailOp = 207, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP - CreateDepthStencilStateInvalidBackFaceStencilPassOp = 208, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC - CreateDepthStencilStateInvalidBackFaceStencilFunc = 209, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS - CreateDepthStencilStateTooManyObjects = 210, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC - CreateDepthStencilStateNullDesc = 211, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND - CreateBlendStateInvalidSrcBlend = 212, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND - CreateBlendStateInvalidDestBlend = 213, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP - CreateBlendStateInvalidBlendOp = 214, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA - CreateBlendStateInvalidSrcBlendAlpha = 215, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA - CreateBlendStateInvalidDestBlendAlpha = 216, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA - CreateBlendStateInvalidBlendOpAlpha = 217, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK - CreateBlendStateInvalidRenderTargetWriteMask = 218, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS - CreateBlendStateTooManyObjects = 219, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC - CreateBlendStateNullDesc = 220, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER - CreateSamplerStateInvalidFilter = 221, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU - CreateSamplerStateInvalidAddressU = 222, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV - CreateSamplerStateInvalidAddressV = 223, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW - CreateSamplerStateInvalidAddressW = 224, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS - CreateSamplerStateInvalidmiplodbias = 225, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY - CreateSamplerStateInvalidMaxAnisotropy = 226, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC - CreateSamplerStateInvalidComparisonFunc = 227, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD - CreateSamplerStateInvalidMinLod = 228, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD - CreateSamplerStateInvalidMaxLod = 229, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS - CreateSamplerStateTooManyObjects = 230, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC - CreateSamplerStateNullDesc = 231, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY - CreateQueryOrPredicateInvalidQuery = 232, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS - CreateQueryOrPredicateInvalidMiscFlags = 233, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG - CreateQueryOrPredicateUnexpectedmiscflag = 234, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC - CreateQueryOrPredicateNullDesc = 235, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED - DeviceIASetPrimitiveTopologyTopologyUnrecognized = 236, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED - DeviceIASetPrimitiveTopologyTopologyUndefined = 237, - /// - /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER - IASetVertexBuffersInvalidBuffer = 238, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE - DeviceIASetVertexBuffersOffsetTooLarge = 239, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY - DeviceIASetVertexBuffersBuffersEmpty = 240, - /// - /// D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER - IASetIndexBufferInvalidBuffer = 241, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID - DeviceIASetIndexBufferFormatInvalid = 242, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE - DeviceIASetIndexBufferOffsetTooLarge = 243, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED - DeviceIASetIndexBufferOffsetUnaligned = 244, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY - DeviceVSSetShaderResourcesViewsEmpty = 245, - /// - /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER - VSSetConstantBuffersInvalidBuffer = 246, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceVSSetConstantBuffersBuffersEmpty = 247, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY - DeviceVSSetSamplersSamplersEmpty = 248, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY - DeviceGSSetShaderResourcesViewsEmpty = 249, - /// - /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER - GSSetConstantBuffersInvalidBuffer = 250, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceGSSetConstantBuffersBuffersEmpty = 251, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY - DeviceGSSetSamplersSamplersEmpty = 252, - /// - /// D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER - SOSetTargetsInvalidBuffer = 253, - /// - /// D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED - DeviceSOSetTargetsOffsetUnaligned = 254, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY - DevicePSSetShaderResourcesViewsEmpty = 255, - /// - /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER - PSSetConstantBuffersInvalidBuffer = 256, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DevicePSSetConstantBuffersBuffersEmpty = 257, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY - DevicePSSetSamplersSamplersEmpty = 258, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT - DeviceRSSetViewportsInvalidviewport = 259, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR - DeviceRSSetScissorRectsInvalidscissor = 260, - /// - /// D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH - ClearRenderTargetViewDenormFlush = 261, - /// - /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH - ClearDepthStencilViewDenormFlush = 262, - /// - /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID - ClearDepthStencilViewInvalid = 263, - /// - /// D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY - DeviceIAGetVertexBuffersBuffersEmpty = 264, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY - DeviceVSGetShaderResourcesViewsEmpty = 265, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceVSGetConstantBuffersBuffersEmpty = 266, - /// - /// D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY - DeviceVSGetSamplersSamplersEmpty = 267, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY - DeviceGSGetShaderResourcesViewsEmpty = 268, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceGSGetConstantBuffersBuffersEmpty = 269, - /// - /// D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY - DeviceGSGetSamplersSamplersEmpty = 270, - /// - /// D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY - DeviceSOGetTargetsBuffersEmpty = 271, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY - DevicePSGetShaderResourcesViewsEmpty = 272, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DevicePSGetConstantBuffersBuffersEmpty = 273, - /// - /// D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY - DevicePSGetSamplersSamplersEmpty = 274, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY - DeviceRSGetViewportsViewportsEmpty = 275, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY - DeviceRSGetScissorRectsRectsEmpty = 276, - /// - /// D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID - DeviceGenerateMipsResourceInvalid = 277, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE - CopySubresourceRegionInvalidDestinationSubresource = 278, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE - CopySubresourceRegionInvalidsourcesubresource = 279, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX - CopySubresourceRegionInvalidsourcebox = 280, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE - CopySubresourceRegionInvalidSource = 281, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE - CopySubresourceRegionInvalidDestinationState = 282, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE - CopySubresourceRegionInvalidSourceState = 283, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE - CopyResourceInvalidSource = 284, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE - CopyResourceInvalidDestinationState = 285, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE - CopyResourceInvalidSourceState = 286, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE - UpdateSubresourceInvalidDestinationSubresource = 287, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX - UpdateSubresourceInvalidDestinationBox = 288, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE - UpdateSubresourceInvalidDestinationState = 289, - /// - /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID - DeviceResolveSubresourceDestinationInvalid = 290, - /// - /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID - DeviceResolveSubresourceDestinationSubresourceInvalid = 291, - /// - /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID - DeviceResolveSubresourceSourceInvalid = 292, - /// - /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID - DeviceResolveSubresourceSourceSubresourceInvalid = 293, - /// - /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID - DeviceResolveSubresourceFormatInvalid = 294, - /// - /// D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE - BufferMapInvalidMapType = 295, - /// - /// D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS - BufferMapInvalidFlags = 296, - /// - /// D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED - BufferMapAlreadyMapped = 297, - /// - /// D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN - BufferMapDeviceRemovedReturn = 298, - /// - /// D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED - BufferUnmapNotMapped = 299, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE - Texture1DMapInvalidMapType = 300, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE - Texture1DMapInvalidSubresource = 301, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS - Texture1DMapInvalidFlags = 302, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED - Texture1DMapAlreadyMapped = 303, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN - Texture1DMapDeviceRemovedReturn = 304, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE - Texture1DUnmapInvalidSubresource = 305, - /// - /// D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED - Texture1DUnmapNotMapped = 306, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE - Texture2DMapInvalidMapType = 307, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE - Texture2DMapInvalidSubresource = 308, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS - Texture2DMapInvalidFlags = 309, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED - Texture2DMapAlreadyMapped = 310, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN - Texture2DMapDeviceRemovedReturn = 311, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE - Texture2DUnmapInvalidSubresource = 312, - /// - /// D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED - Texture2DUnmapNotMapped = 313, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE - Texture3DMapInvalidMapType = 314, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE - Texture3DMapInvalidSubresource = 315, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS - Texture3DMapInvalidFlags = 316, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED - Texture3DMapAlreadyMapped = 317, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN - Texture3DMapDeviceRemovedReturn = 318, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE - Texture3DUnmapInvalidSubresource = 319, - /// - /// D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED - Texture3DUnmapNotMapped = 320, - /// - /// D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED - CheckFormatSupportFormatDeprecated = 321, - /// - /// D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED - CheckMultisampleQualityLevelsFormatDeprecated = 322, - /// - /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS - SetExceptionModeUnrecognizedflags = 323, - /// - /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN - SetExceptionModeInvalidArgReturn = 324, - /// - /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN - SetExceptionModeDeviceRemovedReturn = 325, - /// - /// D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE - RefSimulatingInfinitelyFastHardware = 326, - /// - /// D3D11_MESSAGE_ID_REF_THREADING_MODE - RefThreadingMode = 327, - /// - /// D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION - RefUmdriverException = 328, - /// - /// D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION - RefKmdriverException = 329, - /// - /// D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION - RefHardwareException = 330, - /// - /// D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE - RefAccessingIndexableTempOutOfRange = 331, - /// - /// D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER - RefProblemParsingShader = 332, - /// - /// D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY - RefOutOfMemory = 333, - /// - /// D3D11_MESSAGE_ID_REF_INFO - RefInfo = 334, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW - DeviceDrawVertexPosOverflow = 335, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW - DeviceDrawindexedIndexPosOverflow = 336, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW - DeviceDrawInstancedVertexPosOverflow = 337, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW - DeviceDrawInstancedInstancePosOverflow = 338, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW - DeviceDrawIndexedInstancedInstancePosOverflow = 339, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW - DeviceDrawIndexedInstancedIndexPosOverflow = 340, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET - DeviceDrawVertexShaderNotSet = 341, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND - DeviceShaderLinkageSemanticNameNotFound = 342, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX - DeviceShaderLinkageRegisterIndex = 343, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE - DeviceShaderLinkageComponentType = 344, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK - DeviceShaderLinkageRegisterMask = 345, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE - DeviceShaderLinkageSystemValue = 346, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS - DeviceShaderLinkageNeverWrittenAlwaysReads = 347, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET - DeviceDrawVertexBufferNotSet = 348, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET - DeviceDrawInputLayoutNotSet = 349, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET - DeviceDrawConstantBufferNotSet = 350, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL - DeviceDrawConstantBufferTooSmall = 351, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET - DeviceDrawSamplerNotSet = 352, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET - DeviceDrawShaderResourceViewNotSet = 353, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH - DeviceDrawViewDimensionMismatch = 354, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL - DeviceDrawVertexBufferStrideTooSmall = 355, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL - DeviceDrawVertexBufferTooSmall = 356, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET - DeviceDrawIndexBufferNotSet = 357, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID - DeviceDrawIndexBufferFormatInvalid = 358, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL - DeviceDrawIndexBufferTooSmall = 359, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH - DeviceDrawGSInputPrimitiveMismatch = 360, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH - DeviceDrawResourceReturnTypeMismatch = 361, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT - DeviceDrawPositionNotPresent = 362, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET - DeviceDrawOutputStreamNotSet = 363, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED - DeviceDrawBoundResourceMapped = 364, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY - DeviceDrawInvalidPrimitivetopology = 365, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED - DeviceDrawVertexOffsetUnaligned = 366, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED - DeviceDrawVertexStrideUnaligned = 367, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED - DeviceDrawIndexOffsetUnaligned = 368, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED - DeviceDrawOutputStreamOffsetUnaligned = 369, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED - DeviceDrawResourceFormatLdUnsupported = 370, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED - DeviceDrawResourceFormatSampleUnsupported = 371, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED - DeviceDrawResourceFormatSampleCUnsupported = 372, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED - DeviceDrawResourceMultisampleUnsupported = 373, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE - DeviceDrawSOTargetsBoundWithoutSource = 374, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER - DeviceDrawSOStrideLargerThanBuffer = 375, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING - DeviceDrawOMRenderTargetDoesNotSupportBlending = 376, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 - DeviceDrawOMDualSourceBlendingCanOnlyHaveRenderTarget0 = 377, - /// - /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT - DeviceRemovalProcessAtFault = 378, - /// - /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT - DeviceRemovalProcessPossiblyAtFault = 379, - /// - /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT - DeviceRemovalProcessNotAtFault = 380, - /// - /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN - DeviceOpenSharedResourceInvalidArgReturn = 381, - /// - /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN - DeviceOpenSharedResourceOutOfMemoryReturn = 382, - /// - /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN - DeviceOpenSharedResourceBadinterfaceReturn = 383, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET - DeviceDrawViewportNotSet = 384, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC - CreateInputLayoutTrailingDigitInSemantic = 385, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC - CreateGeometryShaderWithStreamOutputTrailingDigitInSemantic = 386, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH - DeviceRSSetViewportsDenormFlush = 387, - /// - /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW - OMSetRenderTargetsInvalidView = 388, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS - DeviceSettextfiltersizeInvalidDimensions = 389, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH - DeviceDrawSamplerMismatch = 390, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH - CreateInputLayoutTypeMismatch = 391, - /// - /// D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY - BlendStateGetDescLegacy = 392, - /// - /// D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY - ShaderResourceViewGetDescLegacy = 393, - /// - /// D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN - CreateQueryOutOfMemoryReturn = 394, - /// - /// D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN - CreatePredicateOutOfMemoryReturn = 395, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER - CreateCounterOutOfRangeCounter = 396, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED - CreateCounterSimultaneousActiveCountersExhausted = 397, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER - CreateCounterUnsupportedWellknownCounter = 398, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN - CreateCounterOutOfMemoryReturn = 399, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN - CreateCounterNonExclusiveReturn = 400, - /// - /// D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC - CreateCounterNullDesc = 401, - /// - /// D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER - CheckCounterOutOfRangeCounter = 402, - /// - /// D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER - CheckCounterUnsupportedWellknownCounter = 403, - /// - /// D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE - SetPredicationInvalidPredicateState = 404, - /// - /// D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED - QueryBeginUnsupported = 405, - /// - /// D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION - PredicateBeginDuringPredication = 406, - /// - /// D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE - QueryBeginDuplicate = 407, - /// - /// D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS - QueryBeginAbandoningPreviousResults = 408, - /// - /// D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION - PredicateEndDuringPredication = 409, - /// - /// D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS - QueryEndAbandoningPreviousResults = 410, - /// - /// D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN - QueryEndWithoutBegin = 411, - /// - /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE - QueryGetDataInvalidDatasize = 412, - /// - /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS - QueryGetDataInvalidFlags = 413, - /// - /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL - QueryGetDataInvalidCall = 414, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH - DeviceDrawPSOutputTypeMismatch = 415, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED - DeviceDrawResourceFormatGatherUnsupported = 416, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN - DeviceDrawInvalidUseOfCenterMultisamplePattern = 417, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE - DeviceIASetVertexBuffersStrideTooLarge = 418, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE - DeviceIASetVertexBuffersInvalidRange = 419, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT - CreateInputLayoutEmptyLayout = 420, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH - DeviceDrawResourceSampleCountMismatch = 421, - /// - /// D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY - LiveObjectSummary = 422, - /// - /// D3D11_MESSAGE_ID_LIVE_BUFFER - LiveBuffer = 423, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE1D - LiveTexture1D = 424, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE2D - LiveTexture2D = 425, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE3D - LiveTexture3D = 426, - /// - /// D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW - LiveShaderResourceView = 427, - /// - /// D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW - LiveRenderTargetView = 428, - /// - /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW - LiveDepthStencilView = 429, - /// - /// D3D11_MESSAGE_ID_LIVE_VERTEXSHADER - LiveVertexShader = 430, - /// - /// D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER - LiveGeometryShader = 431, - /// - /// D3D11_MESSAGE_ID_LIVE_PIXELSHADER - LivePixelShader = 432, - /// - /// D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT - LiveInputLayout = 433, - /// - /// D3D11_MESSAGE_ID_LIVE_SAMPLER - LiveSampler = 434, - /// - /// D3D11_MESSAGE_ID_LIVE_BLENDSTATE - LiveBlendState = 435, - /// - /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE - LiveDepthstencilstate = 436, - /// - /// D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE - LiveRasterizerstate = 437, - /// - /// D3D11_MESSAGE_ID_LIVE_QUERY - LiveQuery = 438, - /// - /// D3D11_MESSAGE_ID_LIVE_PREDICATE - LivePredicate = 439, - /// - /// D3D11_MESSAGE_ID_LIVE_COUNTER - LiveCounter = 440, - /// - /// D3D11_MESSAGE_ID_LIVE_DEVICE - LiveDevice = 441, - /// - /// D3D11_MESSAGE_ID_LIVE_SWAPCHAIN - LiveSwapchain = 442, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED - CreateDepthStencilStateStencilNoTwoSided = 1048577, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED - CreateRasterizerStateDepthbiasclampNotSupported = 1048578, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT - CreateSamplerStateNoComparisonSupport = 1048579, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY - CreateSamplerStateExcessiveAnisotropy = 1048580, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE - CreateSamplerStateBorderOutOfRange = 1048581, - /// - /// D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED - VSSetSamplersNotSupported = 1048582, - /// - /// D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS - VSSetSamplersTooManySamplers = 1048583, - /// - /// D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS - PSSetSamplersTooManySamplers = 1048584, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS - CreateResourceNoArrays = 1048585, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND - CreateResourceNoVBAndIBBind = 1048586, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D - CreateResourceNoTexture1D = 1048587, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE - CreateResourceDimensionOutOfRange = 1048588, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE - CreateResourceNotBindableAsShaderResource = 1048589, - /// - /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS - OMSetRenderTargetsTooManyRenderTargets = 1048590, - /// - /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS - OMSetRenderTargetsNoDifferingBitDepths = 1048591, - /// - /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX - IASetVertexBuffersBadBufferIndex = 1048592, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS - DeviceRSSetViewportsTooManyViewports = 1048593, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED - DeviceIASetPrimitiveTopologyAdjacencyUnsupported = 1048594, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS - DeviceRSSetScissorRectsTooManyScissors = 1048595, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY - CopyResourceOnlyTexture2DWithinGpuMemory = 1048596, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK - CopyResourceNoTexture3DReadback = 1048597, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK - CopyResourceNoTextureOnlyReadback = 1048598, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT - CreateInputLayoutUnsupportedFormat = 1048599, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE - CreateBlendStateNoAlphaToCoverage = 1048600, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE - CreateRasterizerStateDepthclipenableMustBeTrue = 1048601, - /// - /// D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE - DrawindexedStartindexlocationMustBePositive = 1048602, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD - CreateShaderResourceViewMustUseLowestLod = 1048603, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL - CreateSamplerStateMinlodMustNotBeFractional = 1048604, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX - CreateSamplerStateMaxlodMustBeFltMax = 1048605, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO - CreateShaderResourceViewFirstarraysliceMustBeZero = 1048606, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES - CreateShaderResourceViewCubesMustHave6Sides = 1048607, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET - CreateResourceNotBindableAsRenderTarget = 1048608, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER - CreateResourceNoDwordIndexBuffer = 1048609, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE - CreateResourceMsaaPrecludesShaderResource = 1048610, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE - CreateResourcePresentationPrecludesShaderResource = 1048611, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE - CreateBlendStateNoIndependentBlendEnable = 1048612, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS - CreateBlendStateNoIndependentWriteMasks = 1048613, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT - CreateResourceNoStreamOut = 1048614, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS - CreateResourceOnlyVBIBForBuffers = 1048615, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES - CreateResourceNoAutogenForVolumes = 1048616, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED - CreateResourceDxgiFormatR8g8b8a8CannotBeShared = 1048617, - /// - /// D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED - VsshaderresourcesNotSupported = 1048618, - /// - /// D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED - GeometryShaderNotSupported = 1048619, - /// - /// D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED - StreamOutNotSupported = 1048620, - /// - /// D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED - TextFilterNotSupported = 1048621, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND - CreateBlendStateNoSeparateAlphaBlend = 1048622, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND - CreateBlendStateNoMRTBlend = 1048623, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED - CreateBlendStateOperationNotSupported = 1048624, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE - CreateSamplerStateNoMirrorOnce = 1048625, - /// - /// D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED - DrawInstancedNotSupported = 1048626, - /// - /// D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 - DrawIndexedInstancedNotSupportedBelow93 = 1048627, - /// - /// D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED - DrawindexedPointListUnsupported = 1048628, - /// - /// D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO - SetblendstateSampleMaskCannotBeZero = 1048629, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION - CreateResourceDimensionExceedsFeatureLevelDefinition = 1048630, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED - CreateResourceOnlySingleMipLevelDepthStencilSupported = 1048631, - /// - /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR - DeviceRSSetScissorRectsNegativescissor = 1048632, - /// - /// D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA - SlotZeroMustBeD3D10InputPerVertexData = 1048633, - /// - /// D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP - CreateResourceNonPow2Mipmap = 1048634, - /// - /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED - CreateSamplerStateBorderNotSupported = 1048635, - /// - /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT - OMSetRenderTargetsNoSrgbMRT = 1048636, - /// - /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES - CopyResourceNo3DMismatchedUpdates = 1048637, - /// - /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS - CreateDepthStencilViewInvalidFlags = 2097153, - /// - /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE - CreateVertexShaderInvalidClassLinkage = 2097154, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE - CreateGeometryShaderInvalidClassLinkage = 2097155, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS - CreateGeometryShaderWithStreamOutputInvalidNumStreams = 2097156, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER - CreateGeometryShaderWithStreamOutputInvalidStreamToRasterizer = 2097157, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS - CreateGeometryShaderWithStreamOutputUnexpectedStreams = 2097158, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE - CreateGeometryShaderWithStreamOutputInvalidClassLinkage = 2097159, - /// - /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE - CreatePixelShaderInvalidClassLinkage = 2097160, - /// - /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS - CreateDeferredContextInvalidCommandListFlags = 2097161, - /// - /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED - CreateDeferredContextSingleThreaded = 2097162, - /// - /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN - CreateDeferredContextInvalidArgReturn = 2097163, - /// - /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN - CreateDeferredContextInvalidCallReturn = 2097164, - /// - /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN - CreateDeferredContextOutOfMemoryReturn = 2097165, - /// - /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT - FinishDisplayListOnImmediateContext = 2097166, - /// - /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN - FinishDisplayListOutOfMemoryReturn = 2097167, - /// - /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN - FinishDisplayListInvalidCallReturn = 2097168, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM - CreateGeometryShaderWithStreamOutputInvalidStream = 2097169, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES - CreateGeometryShaderWithStreamOutputUnexpectedEntries = 2097170, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES - CreateGeometryShaderWithStreamOutputUnexpectedStrides = 2097171, - /// - /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES - CreateGeometryShaderWithStreamOutputInvalidNumStrides = 2097172, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD - DeviceHSSetShaderResourcesHazard = 2097173, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD - DeviceHSSetConstantBuffersHazard = 2097174, - /// - /// D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - HSSetShaderResourcesUnbindDeletingObject = 2097175, - /// - /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - HSSetConstantBuffersUnbindDeletingObject = 2097176, - /// - /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL - CreateHullShaderInvalidcall = 2097177, - /// - /// D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY - CreateHullShaderOutOfMemory = 2097178, - /// - /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE - CreateHullShaderInvalidShaderBytecode = 2097179, - /// - /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE - CreateHullShaderInvalidShaderType = 2097180, - /// - /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE - CreateHullShaderInvalidClassLinkage = 2097181, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY - DeviceHSSetShaderResourcesViewsEmpty = 2097182, - /// - /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER - HSSetConstantBuffersInvalidBuffer = 2097183, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceHSSetConstantBuffersBuffersEmpty = 2097184, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY - DeviceHSSetSamplersSamplersEmpty = 2097185, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY - DeviceHSGetShaderResourcesViewsEmpty = 2097186, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceHSGetConstantBuffersBuffersEmpty = 2097187, - /// - /// D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY - DeviceHSGetSamplersSamplersEmpty = 2097188, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD - DeviceDSSetShaderResourcesHazard = 2097189, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD - DeviceDSSetConstantBuffersHazard = 2097190, - /// - /// D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - DSSetShaderResourcesUnbindDeletingObject = 2097191, - /// - /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - DSSetConstantBuffersUnbindDeletingObject = 2097192, - /// - /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL - CreateDomainShaderInvalidcall = 2097193, - /// - /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY - CreateDomainShaderOutOfMemory = 2097194, - /// - /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE - CreateDomainShaderInvalidShaderBytecode = 2097195, - /// - /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE - CreateDomainShaderInvalidShaderType = 2097196, - /// - /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE - CreateDomainShaderInvalidClassLinkage = 2097197, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY - DeviceDSSetShaderResourcesViewsEmpty = 2097198, - /// - /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER - DSSetConstantBuffersInvalidBuffer = 2097199, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceDSSetConstantBuffersBuffersEmpty = 2097200, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY - DeviceDSSetSamplersSamplersEmpty = 2097201, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY - DeviceDSGetShaderResourcesViewsEmpty = 2097202, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceDSGetConstantBuffersBuffersEmpty = 2097203, - /// - /// D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY - DeviceDSGetSamplersSamplersEmpty = 2097204, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH - DeviceDrawHSXorDSMismatch = 2097205, - /// - /// D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT - DeferredContextRemovalProcessAtFault = 2097206, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER - DeviceDrawIndirectInvalidArgBuffer = 2097207, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED - DeviceDrawIndirectOffsetUnaligned = 2097208, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW - DeviceDrawIndirectOffsetOverflow = 2097209, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE - ResourceMapInvalidMapType = 2097210, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE - ResourceMapInvalidSubresource = 2097211, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS - ResourceMapInvalidFlags = 2097212, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED - ResourceMapAlreadyMapped = 2097213, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN - ResourceMapDeviceRemovedReturn = 2097214, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN - ResourceMapOutOfMemoryReturn = 2097215, - /// - /// D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD - ResourceMapWithoutInitialDiscard = 2097216, - /// - /// D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE - ResourceUnmapInvalidSubresource = 2097217, - /// - /// D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED - ResourceUnmapNotMapped = 2097218, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS - DeviceDrawRasterizingControlPoints = 2097219, - /// - /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED - DeviceIASetPrimitiveTopologyTopologyUnsupported = 2097220, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH - DeviceDrawHSDSSignatureMismatch = 2097221, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH - DeviceDrawHullShaderInputTopologyMismatch = 2097222, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH - DeviceDrawHSDSControlPointCountMismatch = 2097223, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH - DeviceDrawHSDSTessellatorDomainMismatch = 2097224, - /// - /// D3D11_MESSAGE_ID_CREATE_CONTEXT - CreateContext = 2097225, - /// - /// D3D11_MESSAGE_ID_LIVE_CONTEXT - LiveContext = 2097226, - /// - /// D3D11_MESSAGE_ID_DESTROY_CONTEXT - DestroyContext = 2097227, - /// - /// D3D11_MESSAGE_ID_CREATE_BUFFER - CreateBuffer = 2097228, - /// - /// D3D11_MESSAGE_ID_LIVE_BUFFER_WIN7 - LiveBufferWin7 = 2097229, - /// - /// D3D11_MESSAGE_ID_DESTROY_BUFFER - DestroyBuffer = 2097230, - /// - /// D3D11_MESSAGE_ID_CREATE_TEXTURE1D - CreateTexture1D = 2097231, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE1D_WIN7 - LiveTexture1DWin7 = 2097232, - /// - /// D3D11_MESSAGE_ID_DESTROY_TEXTURE1D - DestroyTexture1D = 2097233, - /// - /// D3D11_MESSAGE_ID_CREATE_TEXTURE2D - CreateTexture2D = 2097234, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE2D_WIN7 - LiveTexture2DWin7 = 2097235, - /// - /// D3D11_MESSAGE_ID_DESTROY_TEXTURE2D - DestroyTexture2D = 2097236, - /// - /// D3D11_MESSAGE_ID_CREATE_TEXTURE3D - CreateTexture3D = 2097237, - /// - /// D3D11_MESSAGE_ID_LIVE_TEXTURE3D_WIN7 - LiveTexture3DWin7 = 2097238, - /// - /// D3D11_MESSAGE_ID_DESTROY_TEXTURE3D - DestroyTexture3D = 2097239, - /// - /// D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW - CreateShaderResourceView = 2097240, - /// - /// D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW_WIN7 - LiveShaderResourceViewWin7 = 2097241, - /// - /// D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW - DestroyShaderResourceView = 2097242, - /// - /// D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW - CreateRenderTargetView = 2097243, - /// - /// D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW_WIN7 - LiveRenderTargetViewWin7 = 2097244, - /// - /// D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW - DestroyRenderTargetView = 2097245, - /// - /// D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW - CreateDepthStencilView = 2097246, - /// - /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW_WIN7 - LiveDepthStencilViewWin7 = 2097247, - /// - /// D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW - DestroyDepthStencilView = 2097248, - /// - /// D3D11_MESSAGE_ID_CREATE_VERTEXSHADER - CreateVertexShader = 2097249, - /// - /// D3D11_MESSAGE_ID_LIVE_VERTEXSHADER_WIN7 - LiveVertexShaderWin7 = 2097250, - /// - /// D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER - DestroyVertexShader = 2097251, - /// - /// D3D11_MESSAGE_ID_CREATE_HULLSHADER - CreateHullshader = 2097252, - /// - /// D3D11_MESSAGE_ID_LIVE_HULLSHADER - LiveHullshader = 2097253, - /// - /// D3D11_MESSAGE_ID_DESTROY_HULLSHADER - DestroyHullshader = 2097254, - /// - /// D3D11_MESSAGE_ID_CREATE_DOMAINSHADER - CreateDomainShader = 2097255, - /// - /// D3D11_MESSAGE_ID_LIVE_DOMAINSHADER - LiveDomainShader = 2097256, - /// - /// D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER - DestroyDomainShader = 2097257, - /// - /// D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER - CreateGeometryShader = 2097258, - /// - /// D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER_WIN7 - LiveGeometryShaderWin7 = 2097259, - /// - /// D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER - DestroyGeometryShader = 2097260, - /// - /// D3D11_MESSAGE_ID_CREATE_PIXELSHADER - CreatePixelShader = 2097261, - /// - /// D3D11_MESSAGE_ID_LIVE_PIXELSHADER_WIN7 - LivePixelShaderWin7 = 2097262, - /// - /// D3D11_MESSAGE_ID_DESTROY_PIXELSHADER - DestroyPixelShader = 2097263, - /// - /// D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT - CreateInputLayout = 2097264, - /// - /// D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT_WIN7 - LiveInputLayoutWin7 = 2097265, - /// - /// D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT - DestroyInputLayout = 2097266, - /// - /// D3D11_MESSAGE_ID_CREATE_SAMPLER - CreateSampler = 2097267, - /// - /// D3D11_MESSAGE_ID_LIVE_SAMPLER_WIN7 - LiveSamplerWin7 = 2097268, - /// - /// D3D11_MESSAGE_ID_DESTROY_SAMPLER - DestroySampler = 2097269, - /// - /// D3D11_MESSAGE_ID_CREATE_BLENDSTATE - CreateBlendState = 2097270, - /// - /// D3D11_MESSAGE_ID_LIVE_BLENDSTATE_WIN7 - LiveBlendStateWin7 = 2097271, - /// - /// D3D11_MESSAGE_ID_DESTROY_BLENDSTATE - DestroyBlendState = 2097272, - /// - /// D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE - CreateDepthstencilstate = 2097273, - /// - /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE_WIN7 - LiveDepthstencilstateWin7 = 2097274, - /// - /// D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE - DestroyDepthstencilstate = 2097275, - /// - /// D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE - CreateRasterizerstate = 2097276, - /// - /// D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE_WIN7 - LiveRasterizerstateWin7 = 2097277, - /// - /// D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE - DestroyRasterizerstate = 2097278, - /// - /// D3D11_MESSAGE_ID_CREATE_QUERY - CreateQuery = 2097279, - /// - /// D3D11_MESSAGE_ID_LIVE_QUERY_WIN7 - LiveQueryWin7 = 2097280, - /// - /// D3D11_MESSAGE_ID_DESTROY_QUERY - DestroyQuery = 2097281, - /// - /// D3D11_MESSAGE_ID_CREATE_PREDICATE - CreatePredicate = 2097282, - /// - /// D3D11_MESSAGE_ID_LIVE_PREDICATE_WIN7 - LivePredicateWin7 = 2097283, - /// - /// D3D11_MESSAGE_ID_DESTROY_PREDICATE - DestroyPredicate = 2097284, - /// - /// D3D11_MESSAGE_ID_CREATE_COUNTER - CreateCounter = 2097285, - /// - /// D3D11_MESSAGE_ID_DESTROY_COUNTER - DestroyCounter = 2097286, - /// - /// D3D11_MESSAGE_ID_CREATE_COMMANDLIST - CreateCommandlist = 2097287, - /// - /// D3D11_MESSAGE_ID_LIVE_COMMANDLIST - LiveCommandlist = 2097288, - /// - /// D3D11_MESSAGE_ID_DESTROY_COMMANDLIST - DestroyCommandlist = 2097289, - /// - /// D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE - CreateClassInstance = 2097290, - /// - /// D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE - LiveClassInstance = 2097291, - /// - /// D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE - DestroyClassInstance = 2097292, - /// - /// D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE - CreateClassLinkage = 2097293, - /// - /// D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE - LiveClassLinkage = 2097294, - /// - /// D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE - DestroyClassLinkage = 2097295, - /// - /// D3D11_MESSAGE_ID_LIVE_DEVICE_WIN7 - LiveDeviceWin7 = 2097296, - /// - /// D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY_WIN7 - LiveObjectSummaryWin7 = 2097297, - /// - /// D3D11_MESSAGE_ID_CREATE_COMPUTESHADER - CreateComputeShader = 2097298, - /// - /// D3D11_MESSAGE_ID_LIVE_COMPUTESHADER - LiveComputeShader = 2097299, - /// - /// D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER - DestroyComputeShader = 2097300, - /// - /// D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW - CreateUnorderedAccessView = 2097301, - /// - /// D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW - LiveUnorderedAccessView = 2097302, - /// - /// D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW - DestroyUnorderedAccessView = 2097303, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL - DeviceSetShaderInterfacesFeaturelevel = 2097304, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH - DeviceSetShaderInterfaceCountMismatch = 2097305, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE - DeviceSetShaderInvalidInstance = 2097306, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX - DeviceSetShaderInvalidInstanceIndex = 2097307, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE - DeviceSetShaderInvalidInstanceType = 2097308, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA - DeviceSetShaderInvalidInstanceData = 2097309, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA - DeviceSetShaderUnboundInstanceData = 2097310, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS - DeviceSetShaderInstanceDataBindings = 2097311, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL - DeviceCreateShaderClassLinkageFull = 2097312, - /// - /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE - DeviceCheckfeaturesupportUnrecognizedFeature = 2097313, - /// - /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE - DeviceCheckfeaturesupportMismatchedDataSize = 2097314, - /// - /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN - DeviceCheckfeaturesupportInvalidArgReturn = 2097315, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD - DeviceCSSetShaderResourcesHazard = 2097316, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD - DeviceCSSetConstantBuffersHazard = 2097317, - /// - /// D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT - CSSetShaderResourcesUnbindDeletingObject = 2097318, - /// - /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT - CSSetConstantBuffersUnbindDeletingObject = 2097319, - /// - /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL - CreateComputeShaderInvalidcall = 2097320, - /// - /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY - CreateComputeShaderOutOfMemory = 2097321, - /// - /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE - CreateComputeShaderInvalidShaderBytecode = 2097322, - /// - /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE - CreateComputeShaderInvalidShaderType = 2097323, - /// - /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE - CreateComputeShaderInvalidClassLinkage = 2097324, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY - DeviceCSSetShaderResourcesViewsEmpty = 2097325, - /// - /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER - CSSetConstantBuffersInvalidBuffer = 2097326, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceCSSetConstantBuffersBuffersEmpty = 2097327, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY - DeviceCSSetSamplersSamplersEmpty = 2097328, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY - DeviceCSGetShaderResourcesViewsEmpty = 2097329, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY - DeviceCSGetConstantBuffersBuffersEmpty = 2097330, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY - DeviceCSGetSamplersSamplersEmpty = 2097331, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateVertexShaderDoubleFloatOpsNotSupported = 2097332, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateHullShaderDoubleFloatOpsNotSupported = 2097333, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateDomainShaderDoubleFloatOpsNotSupported = 2097334, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateGeometryShaderDoubleFloatOpsNotSupported = 2097335, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputDoubleFloatOpsNotSupported = 2097336, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreatePixelShaderDoubleFloatOpsNotSupported = 2097337, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateComputeShaderDoubleFloatOpsNotSupported = 2097338, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE - CreateBufferInvalidstructurestride = 2097339, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS - CreateShaderResourceViewInvalidFlags = 2097340, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE - CreateUnorderedAccessViewInvalidResource = 2097341, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC - CreateUnorderedAccessViewInvalidDesc = 2097342, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT - CreateUnorderedAccessViewInvalidFormat = 2097343, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS - CreateUnorderedAccessViewInvalidDimensions = 2097344, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT - CreateUnorderedAccessViewUnrecognizedFormat = 2097345, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD - DeviceOMSetRenderTargetsAndUnorderedAccessViewsHazard = 2097346, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS - DeviceOMSetRenderTargetsAndUnorderedAccessViewsOverlappingOldSlots = 2097347, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP - DeviceOMSetRenderTargetsAndUnorderedAccessViewsNoOp = 2097348, - /// - /// D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT - CSSetUnorderedAccessViewsUnbindDeletingObject = 2097349, - /// - /// D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT - PSSetUnorderedAccessViewsUnbindDeletingObject = 2097350, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN - CreateUnorderedAccessViewInvalidArgReturn = 2097351, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN - CreateUnorderedAccessViewOutOfMemoryReturn = 2097352, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS - CreateUnorderedAccessViewTooManyObjects = 2097353, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD - DeviceCSSetUnorderedAccessViewsHazard = 2097354, - /// - /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH - ClearUnorderedAccessViewDenormFlush = 2097355, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY - DeviceCSSetUnorderedAccesssViewsEmpty = 2097356, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY - DeviceCSGetUnorderedAccesssViewsEmpty = 2097357, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS - CreateUnorderedAccessViewInvalidFlags = 2097358, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS - CreateShaderResesourceViewTooManyObjects = 2097359, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER - DeviceDispatchIndirectInvalidArgBuffer = 2097360, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED - DeviceDispatchIndirectOffsetUnaligned = 2097361, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW - DeviceDispatchIndirectOffsetOverflow = 2097362, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT - DeviceSetresourceminlodInvalidcontext = 2097363, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE - DeviceSetresourceminlodInvalidResource = 2097364, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD - DeviceSetresourceminlodInvalidMinLod = 2097365, - /// - /// D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT - DeviceGetresourceminlodInvalidcontext = 2097366, - /// - /// D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE - DeviceGetresourceminlodInvalidResource = 2097367, - /// - /// D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT - OmsetdepthstencilUnbindDeletingObject = 2097368, - /// - /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY - ClearDepthStencilViewDepthReadonly = 2097369, - /// - /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY - ClearDepthStencilViewStencilReadonly = 2097370, - /// - /// D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED - CheckfeaturesupportFormatDeprecated = 2097371, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH - DeviceUnorderedAccessViewReturnTypeMismatch = 2097372, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET - DeviceUnorderedAccessViewNotSet = 2097373, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP - DeviceDrawUnorderedAccessViewRenderTargetViewOverlap = 2097374, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH - DeviceUnorderedAccessViewDimensionMismatch = 2097375, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED - DeviceUnorderedAccessViewAppendUnsupported = 2097376, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED - DeviceUnorderedAccessViewAtomicsUnsupported = 2097377, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH - DeviceUnorderedAccessViewStructureStrideMismatch = 2097378, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH - DeviceUnorderedAccessViewBufferTypeMismatch = 2097379, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED - DeviceUnorderedAccessViewRawUnsupported = 2097380, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED - DeviceUnorderedAccessViewFormatLdUnsupported = 2097381, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED - DeviceUnorderedAccessViewFormatStoreUnsupported = 2097382, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED - DeviceUnorderedAccessViewAtomicAddUnsupported = 2097383, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED - DeviceUnorderedAccessViewAtomicBitwiseOpsUnsupported = 2097384, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED - DeviceUnorderedAccessViewAtomicCmpstoreCmpexchangeUnsupported = 2097385, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED - DeviceUnorderedAccessViewAtomicExchangeUnsupported = 2097386, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED - DeviceUnorderedAccessViewAtomicSignedMinmaxUnsupported = 2097387, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED - DeviceUnorderedAccessViewAtomicUnsignedMinmaxUnsupported = 2097388, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED - DeviceDispatchBoundResourceMapped = 2097389, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW - DeviceDispatchThreadgroupcountOverflow = 2097390, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO - DeviceDispatchThreadgroupcountZero = 2097391, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH - DeviceShaderResourceViewStructureStrideMismatch = 2097392, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH - DeviceShaderResourceViewBufferTypeMismatch = 2097393, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED - DeviceShaderResourceViewRawUnsupported = 2097394, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED - DeviceDispatchUnsupported = 2097395, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED - DeviceDispatchIndirectUnsupported = 2097396, - /// - /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET - CopyStructureCountInvalidOffset = 2097397, - /// - /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET - CopyStructureCountLargeOffset = 2097398, - /// - /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE - CopyStructureCountInvalidDestinationState = 2097399, - /// - /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE - CopyStructureCountInvalidSourceState = 2097400, - /// - /// D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED - CheckFormatSupportFormatNotSupported = 2097401, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW - DeviceCSSetUnorderedAccessViewsInvalidView = 2097402, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET - DeviceCSSetUnorderedAccessViewsInvalidOffset = 2097403, - /// - /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS - DeviceCSSetUnorderedAccessViewsToomanyviews = 2097404, - /// - /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT - ClearUnorderedAccessViewFloatInvalidFormat = 2097405, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED - DeviceUnorderedAccessViewCounterUnsupported = 2097406, - /// - /// D3D11_MESSAGE_ID_REF_WARNING - RefWarning = 2097407, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV - DeviceDrawPixelShaderWithoutRtvOrDsv = 2097408, - /// - /// D3D11_MESSAGE_ID_SHADER_ABORT - ShaderAbort = 2097409, - /// - /// D3D11_MESSAGE_ID_SHADER_MESSAGE - ShaderMessage = 2097410, - /// - /// D3D11_MESSAGE_ID_SHADER_ERROR - ShaderError = 2097411, - /// - /// D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDRESOURCE - OfferResourcesInvalidResource = 2097412, - /// - /// D3D11_MESSAGE_ID_HSSETSAMPLERS_UNBINDDELETINGOBJECT - HSSetSamplersUnbindDeletingObject = 2097413, - /// - /// D3D11_MESSAGE_ID_DSSETSAMPLERS_UNBINDDELETINGOBJECT - DSSetSamplersUnbindDeletingObject = 2097414, - /// - /// D3D11_MESSAGE_ID_CSSETSAMPLERS_UNBINDDELETINGOBJECT - CSSetSamplersUnbindDeletingObject = 2097415, - /// - /// D3D11_MESSAGE_ID_HSSETSHADER_UNBINDDELETINGOBJECT - HSSetShaderUnbindDeletingObject = 2097416, - /// - /// D3D11_MESSAGE_ID_DSSETSHADER_UNBINDDELETINGOBJECT - DSSetShaderUnbindDeletingObject = 2097417, - /// - /// D3D11_MESSAGE_ID_CSSETSHADER_UNBINDDELETINGOBJECT - CSSetShaderUnbindDeletingObject = 2097418, - /// - /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_INVALIDARG_RETURN - EnqueueSetEventInvalidArgReturn = 2097419, - /// - /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_OUTOFMEMORY_RETURN - EnqueueSetEventOutOfMemoryReturn = 2097420, - /// - /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_ACCESSDENIED_RETURN - EnqueueSetEventAccessdeniedReturn = 2097421, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE - DeviceOMSetRenderTargetsAndUnorderedAccessViewsNumuavsInvalidRange = 2097422, - /// - /// D3D11_MESSAGE_ID_USE_OF_ZERO_REFCOUNT_OBJECT - UseOfZeroRefcountObject = 2097423, - /// - /// D3D11_MESSAGE_ID_CREATE_VIDEODECODER - CreateVideoDecoder = 3145729, - /// - /// D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSORENUM - CreateVideoProcessorEnum = 3145730, - /// - /// D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSOR - CreateVideoProcessor = 3145731, - /// - /// D3D11_MESSAGE_ID_CREATE_DECODEROUTPUTVIEW - CreateDecoderOutputView = 3145732, - /// - /// D3D11_MESSAGE_ID_CREATE_PROCESSORINPUTVIEW - CreateProcessorInputView = 3145733, - /// - /// D3D11_MESSAGE_ID_CREATE_PROCESSOROUTPUTVIEW - CreateProcessorOutputView = 3145734, - /// - /// D3D11_MESSAGE_ID_CREATE_DEVICECONTEXTSTATE - CreateDeviceContextState = 3145735, - /// - /// D3D11_MESSAGE_ID_LIVE_VIDEODECODER - LiveVideoDecoder = 3145736, - /// - /// D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSORENUM - LiveVideoProcessorEnum = 3145737, - /// - /// D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSOR - LiveVideoProcessor = 3145738, - /// - /// D3D11_MESSAGE_ID_LIVE_DECODEROUTPUTVIEW - LiveDecoderOutputView = 3145739, - /// - /// D3D11_MESSAGE_ID_LIVE_PROCESSORINPUTVIEW - LiveProcessorInputView = 3145740, - /// - /// D3D11_MESSAGE_ID_LIVE_PROCESSOROUTPUTVIEW - LiveProcessorOutputView = 3145741, - /// - /// D3D11_MESSAGE_ID_LIVE_DEVICECONTEXTSTATE - LiveDeviceContextState = 3145742, - /// - /// D3D11_MESSAGE_ID_DESTROY_VIDEODECODER - DestroyVideoDecoder = 3145743, - /// - /// D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSORENUM - DestroyVideoProcessorEnum = 3145744, - /// - /// D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSOR - DestroyVideoProcessor = 3145745, - /// - /// D3D11_MESSAGE_ID_DESTROY_DECODEROUTPUTVIEW - DestroyDecoderOutputView = 3145746, - /// - /// D3D11_MESSAGE_ID_DESTROY_PROCESSORINPUTVIEW - DestroyProcessorInputView = 3145747, - /// - /// D3D11_MESSAGE_ID_DESTROY_PROCESSOROUTPUTVIEW - DestroyProcessorOutputView = 3145748, - /// - /// D3D11_MESSAGE_ID_DESTROY_DEVICECONTEXTSTATE - DestroyDeviceContextState = 3145749, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFLAGS - CreateDeviceContextStateInvalidFlags = 3145750, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL - CreateDeviceContextStateInvalidfeaturelevel = 3145751, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED - CreateDeviceContextStateFeaturelevelsNotSupported = 3145752, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDREFIID - CreateDeviceContextStateInvalidrefiid = 3145753, - /// - /// D3D11_MESSAGE_ID_DEVICE_DISCARDVIEW_INVALIDVIEW - DeviceDiscardviewInvalidView = 3145754, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS - Copysubresourceregion1InvalidCopyFlags = 3145755, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE1_INVALIDCOPYFLAGS - UpdateSubresource1InvalidCopyFlags = 3145756, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT - CreateRasterizerStateInvalidforcedsamplecount = 3145757, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_OUTOFMEMORY_RETURN - CreateVideoDecoderOutOfMemoryReturn = 3145758, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_NULLPARAM - CreateVideoDecoderNullParam = 3145759, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_INVALIDFORMAT - CreateVideoDecoderInvalidFormat = 3145760, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_ZEROWIDTHHEIGHT - CreateVideoDecoderZeroWidthHeight = 3145761, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE - CreateVideoDecoderDriverInvalidBufferSize = 3145762, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE - CreateVideoDecoderDriverInvalidBufferUsage = 3145763, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY - GetvideodecoderprofilecountOutOfMemory = 3145764, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_NULLPARAM - GetvideodecoderprofileNullParam = 3145765, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_INVALIDINDEX - GetvideodecoderprofileInvalidindex = 3145766, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN - GetvideodecoderprofileOutOfMemoryReturn = 3145767, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_NULLPARAM - CheckvideodecoderformatNullParam = 3145768, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN - CheckvideodecoderformatOutOfMemoryReturn = 3145769, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_NULLPARAM - GetvideodecoderconfigcountNullParam = 3145770, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN - GetvideodecoderconfigcountOutOfMemoryReturn = 3145771, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_NULLPARAM - GetvideodecoderconfigNullParam = 3145772, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_INVALIDINDEX - GetvideodecoderconfigInvalidindex = 3145773, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN - GetvideodecoderconfigOutOfMemoryReturn = 3145774, - /// - /// D3D11_MESSAGE_ID_GETDECODERCREATIONPARAMS_NULLPARAM - GetdecodercreationparamsNullParam = 3145775, - /// - /// D3D11_MESSAGE_ID_GETDECODERDRIVERHANDLE_NULLPARAM - GetdecoderdriverhandleNullParam = 3145776, - /// - /// D3D11_MESSAGE_ID_GETDECODERBUFFER_NULLPARAM - GetdecoderbufferNullParam = 3145777, - /// - /// D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDBUFFER - GetdecoderbufferInvalidBuffer = 3145778, - /// - /// D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDTYPE - GetdecoderbufferInvalidtype = 3145779, - /// - /// D3D11_MESSAGE_ID_GETDECODERBUFFER_LOCKED - GetdecoderbufferLocked = 3145780, - /// - /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NULLPARAM - ReleasedecoderbufferNullParam = 3145781, - /// - /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_INVALIDTYPE - ReleasedecoderbufferInvalidtype = 3145782, - /// - /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NOTLOCKED - ReleasedecoderbufferNotlocked = 3145783, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_NULLPARAM - DecoderBeginFrameNullParam = 3145784, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_HAZARD - DecoderBeginFrameHazard = 3145785, - /// - /// D3D11_MESSAGE_ID_DECODERENDFRAME_NULLPARAM - DecoderendframeNullParam = 3145786, - /// - /// D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_NULLPARAM - SubmitdecoderbuffersNullParam = 3145787, - /// - /// D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_INVALIDTYPE - SubmitdecoderbuffersInvalidtype = 3145788, - /// - /// D3D11_MESSAGE_ID_DECODEREXTENSION_NULLPARAM - DecoderextensionNullParam = 3145789, - /// - /// D3D11_MESSAGE_ID_DECODEREXTENSION_INVALIDRESOURCE - DecoderextensionInvalidResource = 3145790, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN - CreatevideoprocessorenumeratorOutOfMemoryReturn = 3145791, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM - CreatevideoprocessorenumeratorNullParam = 3145792, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT - CreatevideoprocessorenumeratorInvalidframeformat = 3145793, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE - CreatevideoprocessorenumeratorInvalidUsage = 3145794, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE - CreatevideoprocessorenumeratorInvalidinputframerate = 3145795, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE - CreatevideoprocessorenumeratorInvalidoutputframerate = 3145796, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT - CreatevideoprocessorenumeratorInvalidwidthheight = 3145797, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCONTENTDESC_NULLPARAM - GetvideoprocessorcontentdescNullParam = 3145798, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMAT_NULLPARAM - CheckvideoprocessorformatNullParam = 3145799, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCAPS_NULLPARAM - GetvideoprocessorcapsNullParam = 3145800, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM - GetvideoprocessorrateconversioncapsNullParam = 3145801, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX - GetvideoprocessorrateconversioncapsInvalidindex = 3145802, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM - GetvideoprocessorcustomrateNullParam = 3145803, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX - GetvideoprocessorcustomrateInvalidindex = 3145804, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_NULLPARAM - GetvideoprocessorfilterrangeNullParam = 3145805, - /// - /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED - GetvideoprocessorfilterrangeUnsupported = 3145806, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN - CreatevideoprocessorOutOfMemoryReturn = 3145807, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_NULLPARAM - CreatevideoprocessorNullParam = 3145808, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM - VideoprocessorsetoutputtargetrectNullParam = 3145809, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM - VideoprocessorsetoutputbackgroundcolorNullParam = 3145810, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA - VideoprocessorsetoutputbackgroundcolorInvalidalpha = 3145811, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM - VideoprocessorsetoutputcolorspaceNullParam = 3145812, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM - VideoprocessorsetoutputalphafillmodeNullParam = 3145813, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED - VideoprocessorsetoutputalphafillmodeUnsupported = 3145814, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM - VideoprocessorsetoutputalphafillmodeInvalidStream = 3145815, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE - VideoprocessorsetoutputalphafillmodeInvalidFillMode = 3145816, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM - VideoprocessorsetoutputconstrictionNullParam = 3145817, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM - VideoprocessorsetoutputstereomodeNullParam = 3145818, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED - VideoprocessorsetoutputstereomodeUnsupported = 3145819, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM - VideoprocessorsetoutputextensionNullParam = 3145820, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM - VideoprocessorgetoutputtargetrectNullParam = 3145821, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM - VideoprocessorgetoutputbackgroundcolorNullParam = 3145822, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM - VideoprocessorgetoutputcolorspaceNullParam = 3145823, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM - VideoprocessorgetoutputalphafillmodeNullParam = 3145824, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM - VideoprocessorgetoutputconstrictionNullParam = 3145825, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED - VideoprocessorsetoutputconstrictionUnsupported = 3145826, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE - VideoprocessorsetoutputconstrictionInvalidSize = 3145827, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM - VideoprocessorgetoutputstereomodeNullParam = 3145828, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM - VideoprocessorgetoutputextensionNullParam = 3145829, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM - VideoprocessorsetstreamframeformatNullParam = 3145830, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT - VideoprocessorsetstreamframeformatInvalidFormat = 3145831, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM - VideoprocessorsetstreamframeformatInvalidStream = 3145832, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM - VideoprocessorsetstreamcolorspaceNullParam = 3145833, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM - VideoprocessorsetstreamcolorspaceInvalidStream = 3145834, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM - VideoprocessorsetstreamoutputrateNullParam = 3145835, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE - VideoprocessorsetstreamoutputrateInvalidrate = 3145836, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG - VideoprocessorsetstreamoutputrateInvalidflag = 3145837, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM - VideoprocessorsetstreamoutputrateInvalidStream = 3145838, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM - VideoprocessorsetstreamsourcerectNullParam = 3145839, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM - VideoprocessorsetstreamsourcerectInvalidStream = 3145840, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT - VideoprocessorsetstreamsourcerectInvalidRect = 3145841, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM - VideoprocessorsetstreamdestrectNullParam = 3145842, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM - VideoprocessorsetstreamdestrectInvalidStream = 3145843, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT - VideoprocessorsetstreamdestrectInvalidRect = 3145844, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM - VideoprocessorsetstreamalphaNullParam = 3145845, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM - VideoprocessorsetstreamalphaInvalidStream = 3145846, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA - VideoprocessorsetstreamalphaInvalidalpha = 3145847, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM - VideoprocessorsetstreampaletteNullParam = 3145848, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM - VideoprocessorsetstreampaletteInvalidStream = 3145849, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT - VideoprocessorsetstreampaletteInvalidcount = 3145850, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA - VideoprocessorsetstreampaletteInvalidalpha = 3145851, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM - VideoprocessorsetstreampixelaspectratioNullParam = 3145852, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM - VideoprocessorsetstreampixelaspectratioInvalidStream = 3145853, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO - VideoprocessorsetstreampixelaspectratioInvalidratio = 3145854, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM - VideoprocessorsetstreamlumakeyNullParam = 3145855, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM - VideoprocessorsetstreamlumakeyInvalidStream = 3145856, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE - VideoprocessorsetstreamlumakeyInvalidRange = 3145857, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED - VideoprocessorsetstreamlumakeyUnsupported = 3145858, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM - VideoprocessorsetstreamstereoformatNullParam = 3145859, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM - VideoprocessorsetstreamstereoformatInvalidStream = 3145860, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED - VideoprocessorsetstreamstereoformatUnsupported = 3145861, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED - VideoprocessorsetstreamstereoformatFlipunsupported = 3145862, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED - VideoprocessorsetstreamstereoformatMonooffsetunsupported = 3145863, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED - VideoprocessorsetstreamstereoformatFormatunsupported = 3145864, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT - VideoprocessorsetstreamstereoformatInvalidFormat = 3145865, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM - VideoprocessorsetstreamautoprocessingmodeNullParam = 3145866, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM - VideoprocessorsetstreamautoprocessingmodeInvalidStream = 3145867, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM - VideoprocessorsetstreamfilterNullParam = 3145868, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM - VideoprocessorsetstreamfilterInvalidStream = 3145869, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER - VideoprocessorsetstreamfilterInvalidFilter = 3145870, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED - VideoprocessorsetstreamfilterUnsupported = 3145871, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL - VideoprocessorsetstreamfilterInvalidlevel = 3145872, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM - VideoprocessorsetstreamextensionNullParam = 3145873, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM - VideoprocessorsetstreamextensionInvalidStream = 3145874, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM - VideoprocessorgetstreamframeformatNullParam = 3145875, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM - VideoprocessorgetstreamcolorspaceNullParam = 3145876, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM - VideoprocessorgetstreamoutputrateNullParam = 3145877, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM - VideoprocessorgetstreamsourcerectNullParam = 3145878, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM - VideoprocessorgetstreamdestrectNullParam = 3145879, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM - VideoprocessorgetstreamalphaNullParam = 3145880, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM - VideoprocessorgetstreampaletteNullParam = 3145881, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM - VideoprocessorgetstreampixelaspectratioNullParam = 3145882, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM - VideoprocessorgetstreamlumakeyNullParam = 3145883, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM - VideoprocessorgetstreamstereoformatNullParam = 3145884, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM - VideoprocessorgetstreamautoprocessingmodeNullParam = 3145885, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM - VideoprocessorgetstreamfilterNullParam = 3145886, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM - VideoprocessorgetstreamextensionNullParam = 3145887, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM - VideoprocessorgetstreamextensionInvalidStream = 3145888, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NULLPARAM - VideoprocessorbltNullParam = 3145889, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT - VideoprocessorbltInvalidstreamcount = 3145890, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_TARGETRECT - VideoprocessorbltTargetrect = 3145891, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDOUTPUT - VideoprocessorbltInvalidoutput = 3145892, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDPASTFRAMES - VideoprocessorbltInvalidpastframes = 3145893, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES - VideoprocessorbltInvalidfutureframes = 3145894, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSOURCERECT - VideoprocessorbltInvalidsourcerect = 3145895, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDDESTRECT - VideoprocessorbltInvaliddestrect = 3145896, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE - VideoprocessorbltInvalidinputresource = 3145897, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAYSIZE - VideoprocessorbltInvalidarraysize = 3145898, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAY - VideoprocessorbltInvalidarray = 3145899, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTEXPECTED - VideoprocessorbltRightexpected = 3145900, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTNOTEXPECTED - VideoprocessorbltRightnotexpected = 3145901, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_STEREONOTENABLED - VideoprocessorbltStereonotenabled = 3145902, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE - VideoprocessorbltInvalidrightresource = 3145903, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NOSTEREOSTREAMS - VideoprocessorbltNostereostreams = 3145904, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INPUTHAZARD - VideoprocessorbltInputhazard = 3145905, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_OUTPUTHAZARD - VideoprocessorbltOutputhazard = 3145906, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN - CreatevideodecoderoutputviewOutOfMemoryReturn = 3145907, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM - CreatevideodecoderoutputviewNullParam = 3145908, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE - CreatevideodecoderoutputviewInvalidtype = 3145909, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND - CreatevideodecoderoutputviewInvalidbind = 3145910, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT - CreatevideodecoderoutputviewUnsupportedFormat = 3145911, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP - CreatevideodecoderoutputviewInvalidmip = 3145912, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP - CreatevideodecoderoutputviewUnsupportemip = 3145913, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE - CreatevideodecoderoutputviewInvalidarraysize = 3145914, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY - CreatevideodecoderoutputviewInvalidarray = 3145915, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION - CreatevideodecoderoutputviewInvaliddimension = 3145916, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN - CreatevideoprocessorinputviewOutOfMemoryReturn = 3145917, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM - CreatevideoprocessorinputviewNullParam = 3145918, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE - CreatevideoprocessorinputviewInvalidtype = 3145919, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND - CreatevideoprocessorinputviewInvalidbind = 3145920, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC - CreatevideoprocessorinputviewInvalidmisc = 3145921, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE - CreatevideoprocessorinputviewInvalidUsage = 3145922, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT - CreatevideoprocessorinputviewInvalidFormat = 3145923, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC - CreatevideoprocessorinputviewInvalidfourcc = 3145924, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP - CreatevideoprocessorinputviewInvalidmip = 3145925, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP - CreatevideoprocessorinputviewUnsupportedmip = 3145926, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE - CreatevideoprocessorinputviewInvalidarraysize = 3145927, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY - CreatevideoprocessorinputviewInvalidarray = 3145928, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION - CreatevideoprocessorinputviewInvaliddimension = 3145929, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN - CreatevideoprocessoroutputviewOutOfMemoryReturn = 3145930, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM - CreatevideoprocessoroutputviewNullParam = 3145931, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE - CreatevideoprocessoroutputviewInvalidtype = 3145932, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND - CreatevideoprocessoroutputviewInvalidbind = 3145933, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT - CreatevideoprocessoroutputviewInvalidFormat = 3145934, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP - CreatevideoprocessoroutputviewInvalidmip = 3145935, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP - CreatevideoprocessoroutputviewUnsupportedmip = 3145936, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY - CreatevideoprocessoroutputviewUnsupportedarray = 3145937, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY - CreatevideoprocessoroutputviewInvalidarray = 3145938, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION - CreatevideoprocessoroutputviewInvaliddimension = 3145939, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT - DeviceDrawInvalidUseOfForcedSampleCount = 3145940, - /// - /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS - CreateBlendStateInvalidlogicops = 3145941, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER - CreateShaderResourceViewInvaliddarraywithdecoder = 3145942, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER - CreateUnorderedAccessViewInvaliddarraywithdecoder = 3145943, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER - CreateRenderTargetViewInvaliddarraywithdecoder = 3145944, - /// - /// D3D11_MESSAGE_ID_DEVICE_LOCKEDOUT_INTERFACE - DeviceLockedoutInterface = 3145945, - /// - /// D3D11_MESSAGE_ID_REF_WARNING_ATOMIC_INCONSISTENT - RefWarningAtomicInconsistent = 3145946, - /// - /// D3D11_MESSAGE_ID_REF_WARNING_READING_UNINITIALIZED_RESOURCE - RefWarningReadingUninitializedResource = 3145947, - /// - /// D3D11_MESSAGE_ID_REF_WARNING_RAW_HAZARD - RefWarningRawHazard = 3145948, - /// - /// D3D11_MESSAGE_ID_REF_WARNING_WAR_HAZARD - RefWarningWarHazard = 3145949, - /// - /// D3D11_MESSAGE_ID_REF_WARNING_WAW_HAZARD - RefWarningWawHazard = 3145950, - /// - /// D3D11_MESSAGE_ID_CREATECRYPTOSESSION_NULLPARAM - CreatecryptosessionNullParam = 3145951, - /// - /// D3D11_MESSAGE_ID_CREATECRYPTOSESSION_OUTOFMEMORY_RETURN - CreatecryptosessionOutOfMemoryReturn = 3145952, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOTYPE_NULLPARAM - GetcryptotypeNullParam = 3145953, - /// - /// D3D11_MESSAGE_ID_GETDECODERPROFILE_NULLPARAM - GetdecoderprofileNullParam = 3145954, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM - GetcryptosessioncertificatesizeNullParam = 3145955, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_NULLPARAM - GetcryptosessioncertificateNullParam = 3145956, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE - GetcryptosessioncertificateWrongsize = 3145957, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_WRONGSIZE - GetcryptosessionhandleWrongsize = 3145958, - /// - /// D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM - NegotiatecrpytosessionkeyexchangeNullParam = 3145959, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_UNSUPPORTED - EncryptionbltUnsupported = 3145960, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_NULLPARAM - EncryptionbltNullParam = 3145961, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_WRONGDEVICE - EncryptionbltSrcWrongdevice = 3145962, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_WRONGDEVICE - EncryptionbltDstWrongdevice = 3145963, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_FORMAT_MISMATCH - EncryptionbltFormatMismatch = 3145964, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SIZE_MISMATCH - EncryptionbltSizeMismatch = 3145965, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MULTISAMPLED - EncryptionbltSrcMultisampled = 3145966, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_NOT_STAGING - EncryptionbltDstNotStaging = 3145967, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MAPPED - EncryptionbltSrcMapped = 3145968, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_MAPPED - EncryptionbltDstMapped = 3145969, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_OFFERED - EncryptionbltSrcOffered = 3145970, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_OFFERED - EncryptionbltDstOffered = 3145971, - /// - /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED - EncryptionbltSrcContentUndefined = 3145972, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_UNSUPPORTED - DecryptionBltUnsupported = 3145973, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_NULLPARAM - DecryptionBltNullParam = 3145974, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_WRONGDEVICE - DecryptionBltSrcWrongdevice = 3145975, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_WRONGDEVICE - DecryptionBltDstWrongdevice = 3145976, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_FORMAT_MISMATCH - DecryptionBltFormatMismatch = 3145977, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SIZE_MISMATCH - DecryptionBltSizeMismatch = 3145978, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MULTISAMPLED - DecryptionBltDstMultisampled = 3145979, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_NOT_STAGING - DecryptionBltSrcNotStaging = 3145980, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_NOT_RENDER_TARGET - DecryptionBltDstNotRenderTarget = 3145981, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_MAPPED - DecryptionBltSrcMapped = 3145982, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MAPPED - DecryptionBltDstMapped = 3145983, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_OFFERED - DecryptionBltSrcOffered = 3145984, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_OFFERED - DecryptionBltDstOffered = 3145985, - /// - /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_CONTENT_UNDEFINED - DecryptionBltSrcContentUndefined = 3145986, - /// - /// D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_NULLPARAM - StartsessionkeyrefreshNullParam = 3145987, - /// - /// D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_INVALIDSIZE - StartsessionkeyrefreshInvalidSize = 3145988, - /// - /// D3D11_MESSAGE_ID_FINISHSESSIONKEYREFRESH_NULLPARAM - FinishsessionkeyrefreshNullParam = 3145989, - /// - /// D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_NULLPARAM - GetencryptionbltkeyNullParam = 3145990, - /// - /// D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_INVALIDSIZE - GetencryptionbltkeyInvalidSize = 3145991, - /// - /// D3D11_MESSAGE_ID_GETCONTENTPROTECTIONCAPS_NULLPARAM - GetcontentprotectioncapsNullParam = 3145992, - /// - /// D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_NULLPARAM - CheckcryptokeyexchangeNullParam = 3145993, - /// - /// D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX - CheckcryptokeyexchangeInvalidindex = 3145994, - /// - /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_NULLPARAM - CreateauthenticatedchannelNullParam = 3145995, - /// - /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED - CreateauthenticatedchannelUnsupported = 3145996, - /// - /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE - CreateauthenticatedchannelInvalidtype = 3145997, - /// - /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN - CreateauthenticatedchannelOutOfMemoryReturn = 3145998, - /// - /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL - GetauthenticatedchannelcertificatesizeInvalidchannel = 3145999, - /// - /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM - GetauthenticatedchannelcertificatesizeNullParam = 3146000, - /// - /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL - GetauthenticatedchannelcertificateInvalidchannel = 3146001, - /// - /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM - GetauthenticatedchannelcertificateNullParam = 3146002, - /// - /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE - GetauthenticatedchannelcertificateWrongsize = 3146003, - /// - /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL - NegotiateauthenticatedchannelkeyexchangeInvalidchannel = 3146004, - /// - /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM - NegotiateauthenticatedchannelkeyexchangeNullParam = 3146005, - /// - /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_NULLPARAM - QueryauthenticatedchannelNullParam = 3146006, - /// - /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL - QueryauthenticatedchannelWrongchannel = 3146007, - /// - /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY - QueryauthenticatedchannelUnsupportedquery = 3146008, - /// - /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGSIZE - QueryauthenticatedchannelWrongsize = 3146009, - /// - /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX - QueryauthenticatedchannelInvalidprocessindex = 3146010, - /// - /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM - ConfigureauthenticatedchannelNullParam = 3146011, - /// - /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL - ConfigureauthenticatedchannelWrongchannel = 3146012, - /// - /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE - ConfigureauthenticatedchannelUnsupportedconfigure = 3146013, - /// - /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE - ConfigureauthenticatedchannelWrongsize = 3146014, - /// - /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE - ConfigureauthenticatedchannelInvalidprocessidtype = 3146015, - /// - /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - VSSetConstantBuffersInvalidBufferOffsetOrCount = 3146016, - /// - /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - DSSetConstantBuffersInvalidBufferOffsetOrCount = 3146017, - /// - /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - HSSetConstantBuffersInvalidBufferOffsetOrCount = 3146018, - /// - /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - GSSetConstantBuffersInvalidBufferOffsetOrCount = 3146019, - /// - /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - PSSetConstantBuffersInvalidBufferOffsetOrCount = 3146020, - /// - /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT - CSSetConstantBuffersInvalidBufferOffsetOrCount = 3146021, - /// - /// D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE - NegotiatecrpytosessionkeyexchangeInvalidSize = 3146022, - /// - /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE - NegotiateauthenticatedchannelkeyexchangeInvalidSize = 3146023, - /// - /// D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDPRIORITY - OfferResourcesInvalidpriority = 3146024, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_OUTOFMEMORY - GetcryptosessionhandleOutOfMemory = 3146025, - /// - /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_NULLPARAM - AcquirehandleforcaptureNullParam = 3146026, - /// - /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDTYPE - AcquirehandleforcaptureInvalidtype = 3146027, - /// - /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDBIND - AcquirehandleforcaptureInvalidbind = 3146028, - /// - /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDARRAY - AcquirehandleforcaptureInvalidarray = 3146029, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM - VideoprocessorsetstreamrotationNullParam = 3146030, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM - VideoprocessorsetstreamrotationInvalidStream = 3146031, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALID - VideoprocessorsetstreamrotationInvalid = 3146032, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED - VideoprocessorsetstreamrotationUnsupported = 3146033, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM - VideoprocessorgetstreamrotationNullParam = 3146034, - /// - /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDVIEW - DeviceClearViewInvalidView = 3146035, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateVertexShaderDoubleExtensionsNotSupported = 3146036, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateVertexShaderShaderExtensionsNotSupported = 3146037, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateHullShaderDoubleExtensionsNotSupported = 3146038, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateHullShaderShaderExtensionsNotSupported = 3146039, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateDomainShaderDoubleExtensionsNotSupported = 3146040, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateDomainShaderShaderExtensionsNotSupported = 3146041, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderDoubleExtensionsNotSupported = 3146042, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderShaderExtensionsNotSupported = 3146043, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputDoubleExtensionsNotSupported = 3146044, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputShaderExtensionsNotSupported = 3146045, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreatePixelShaderDoubleExtensionsNotSupported = 3146046, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreatePixelShaderShaderExtensionsNotSupported = 3146047, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateComputeShaderDoubleExtensionsNotSupported = 3146048, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED - DeviceCreateComputeShaderShaderExtensionsNotSupported = 3146049, - /// - /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_MINPRECISION - DeviceShaderLinkageMinPrecision = 3146050, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED - VideoprocessorsetstreamalphaUnsupported = 3146051, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED - VideoprocessorsetstreampixelaspectratioUnsupported = 3146052, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED - DeviceCreateVertexShaderUAVsNotSupported = 3146053, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED - DeviceCreateHullShaderUAVsNotSupported = 3146054, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED - DeviceCreateDomainShaderUAVsNotSupported = 3146055, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED - DeviceCreateGeometryShaderUAVsNotSupported = 3146056, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputUAVsNotSupported = 3146057, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED - DeviceCreatePixelShaderUAVsNotSupported = 3146058, - /// - /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED - DeviceCreateComputeShaderUAVsNotSupported = 3146059, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET - DeviceOMSetRenderTargetsAndUnorderedAccessViewsInvalidOffset = 3146060, - /// - /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS - DeviceOMSetRenderTargetsAndUnorderedAccessViewsToomanyviews = 3146061, - /// - /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_NOTSUPPORTED - DeviceClearViewNotSupported = 3146062, - /// - /// D3D11_MESSAGE_ID_SWAPDEVICECONTEXTSTATE_NOTSUPPORTED - SwapDeviceContextStateNotSupported = 3146063, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1 - UpdateSubresourcePreferUpdateSubresource1 = 3146064, - /// - /// D3D11_MESSAGE_ID_GETDC_INACCESSIBLE - GetDCInaccessible = 3146065, - /// - /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDRECT - DeviceClearViewInvalidRect = 3146066, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9 - DeviceDrawSampleMaskIgnoredOnFl9 = 3146067, - /// - /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED - DeviceOpenSharedResource1NotSupported = 3146068, - /// - /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED - DeviceOpenSharedResourceByNameNotSupported = 3146069, - /// - /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_NOT_SUPPORTED - EnqueueSetEventNotSupported = 3146070, - /// - /// D3D11_MESSAGE_ID_OFFERRELEASE_NOT_SUPPORTED - OfferreleaseNotSupported = 3146071, - /// - /// D3D11_MESSAGE_ID_OFFERRESOURCES_INACCESSIBLE - OfferResourcesInaccessible = 3146072, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA - CreatevideoprocessorinputviewInvalidmsaa = 3146073, - /// - /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA - CreatevideoprocessoroutputviewInvalidmsaa = 3146074, - /// - /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT - DeviceClearViewInvalidsourcerect = 3146075, - /// - /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT - DeviceClearViewEmptyRect = 3146076, - /// - /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_EMPTYDESTBOX - UpdateSubresourceEmptydestbox = 3146077, - /// - /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_EMPTYSOURCEBOX - CopySubresourceRegionEmptysourcebox = 3146078, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS - DeviceDrawOMRenderTargetDoesNotSupportLogicOps = 3146079, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET - DeviceDrawDepthStencilViewNotSet = 3146080, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET - DeviceDrawRenderTargetViewNotSet = 3146081, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT - DeviceDrawRenderTargetViewNotSetDueToFlipPresent = 3146082, - /// - /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT - DeviceUnorderedAccessViewNotSetDueToFlipPresent = 3146083, - /// - /// D3D11_MESSAGE_ID_GETDATAFORNEWHARDWAREKEY_NULLPARAM - GetdatafornewhardwarekeyNullParam = 3146084, - /// - /// D3D11_MESSAGE_ID_CHECKCRYPTOSESSIONSTATUS_NULLPARAM - CheckcryptosessionstatusNullParam = 3146085, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_NULLPARAM - GetcryptosessionprivatedatasizeNullParam = 3146086, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_NULLPARAM - GetvideodecodercapsNullParam = 3146087, - /// - /// D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_ZEROWIDTHHEIGHT - GetvideodecodercapsZeroWidthHeight = 3146088, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_NULLPARAM - CheckvideodecoderdownsamplingNullParam = 3146089, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE - CheckvideodecoderdownsamplingInvalidcolorspace = 3146090, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT - CheckvideodecoderdownsamplingZeroWidthHeight = 3146091, - /// - /// D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_NULLPARAM - VideodecoderenabledownsamplingNullParam = 3146092, - /// - /// D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_UNSUPPORTED - VideodecoderenabledownsamplingUnsupported = 3146093, - /// - /// D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_NULLPARAM - VideodecoderupdatedownsamplingNullParam = 3146094, - /// - /// D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_UNSUPPORTED - VideodecoderupdatedownsamplingUnsupported = 3146095, - /// - /// D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMATCONVERSION_NULLPARAM - CheckvideoprocessorformatconversionNullParam = 3146096, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE1_NULLPARAM - Videoprocessorsetoutputcolorspace1NullParam = 3146097, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE1_NULLPARAM - Videoprocessorgetoutputcolorspace1NullParam = 3146098, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_NULLPARAM - Videoprocessorsetstreamcolorspace1NullParam = 3146099, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_INVALIDSTREAM - Videoprocessorsetstreamcolorspace1InvalidStream = 3146100, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_NULLPARAM - VideoprocessorsetstreammirrorNullParam = 3146101, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_INVALIDSTREAM - VideoprocessorsetstreammirrorInvalidStream = 3146102, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_UNSUPPORTED - VideoprocessorsetstreammirrorUnsupported = 3146103, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_NULLPARAM - Videoprocessorgetstreamcolorspace1NullParam = 3146104, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_NULLPARAM - VideoProcessorGetStreamMirrorNullParam = 3146105, - /// - /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_NULLPARAM - RecommendvideodecoderdownsamplingNullParam = 3146106, - /// - /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE - RecommendvideodecoderdownsamplingInvalidcolorspace = 3146107, - /// - /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT - RecommendvideodecoderdownsamplingZeroWidthHeight = 3146108, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSHADERUSAGE_NULLPARAM - VideoprocessorsetoutputshaderusageNullParam = 3146109, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSHADERUSAGE_NULLPARAM - VideoprocessorgetoutputshaderusageNullParam = 3146110, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_NULLPARAM - VideoprocessorgetbehaviorhintsNullParam = 3146111, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSTREAMCOUNT - VideoprocessorgetbehaviorhintsInvalidstreamcount = 3146112, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_TARGETRECT - VideoprocessorgetbehaviorhintsTargetrect = 3146113, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSOURCERECT - VideoprocessorgetbehaviorhintsInvalidsourcerect = 3146114, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDDESTRECT - VideoprocessorgetbehaviorhintsInvaliddestrect = 3146115, - /// - /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_INVALID_KEY_EXCHANGE_TYPE - GetcryptosessionprivatedatasizeInvalidKeyExchangeType = 3146116, - /// - /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDUSAGE - CreateBufferInvalidUsage = 3146119, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDUSAGE - CreateTexture1DInvalidUsage = 3146120, - /// - /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDUSAGE - CreateTexture2DInvalidUsage = 3146121, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_STEPRATE_NOT_1 - CreateInputLayoutLevel9StepRateNot1 = 3146122, - /// - /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_INSTANCING_NOT_SUPPORTED - CreateInputLayoutLevel9InstancingNotSupported = 3146123, - /// - /// D3D11_MESSAGE_ID_UPDATETILEMAPPINGS_INVALID_PARAMETER - UpdateTileMappingsInvalidParameter = 3146124, - /// - /// D3D11_MESSAGE_ID_COPYTILEMAPPINGS_INVALID_PARAMETER - CopyTileMappingsInvalidParameter = 3146125, - /// - /// D3D11_MESSAGE_ID_COPYTILES_INVALID_PARAMETER - CopyTilesInvalidParameter = 3146126, - /// - /// D3D11_MESSAGE_ID_UPDATETILES_INVALID_PARAMETER - UpdateTilesInvalidParameter = 3146127, - /// - /// D3D11_MESSAGE_ID_RESIZETILEPOOL_INVALID_PARAMETER - ResizetilepoolInvalidParameter = 3146128, - /// - /// D3D11_MESSAGE_ID_TILEDRESOURCEBARRIER_INVALID_PARAMETER - TiledresourcebarrierInvalidParameter = 3146129, - /// - /// D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_WARNING - NullTileMappingAccessWarning = 3146130, - /// - /// D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_ERROR - NullTileMappingAccessError = 3146131, - /// - /// D3D11_MESSAGE_ID_DIRTY_TILE_MAPPING_ACCESS - DirtyTileMappingAccess = 3146132, - /// - /// D3D11_MESSAGE_ID_DUPLICATE_TILE_MAPPINGS_IN_COVERED_AREA - DuplicateTileMappingsInCoveredArea = 3146133, - /// - /// D3D11_MESSAGE_ID_TILE_MAPPINGS_IN_COVERED_AREA_DUPLICATED_OUTSIDE - TileMappingsInCoveredAreaDuplicatedOutside = 3146134, - /// - /// D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INCOMPATIBLE_RESOURCES - TileMappingsSharedBetweenIncompatibleResources = 3146135, - /// - /// D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INPUT_AND_OUTPUT - TileMappingsSharedBetweenInputAndOutput = 3146136, - /// - /// D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_INVALIDFLAGS - CheckMultisampleQualityLevelsInvalidFlags = 3146137, - /// - /// D3D11_MESSAGE_ID_GETRESOURCETILING_NONTILED_RESOURCE - GetresourcetilingNontiledResource = 3146138, - /// - /// D3D11_MESSAGE_ID_RESIZETILEPOOL_SHRINK_WITH_MAPPINGS_STILL_DEFINED_PAST_END - ResizetilepoolShrinkWithMappingsStillDefinedPastEnd = 3146139, - /// - /// D3D11_MESSAGE_ID_NEED_TO_CALL_TILEDRESOURCEBARRIER - NeedToCallTiledresourcebarrier = 3146140, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICE_INVALIDARGS - CreateDeviceInvalidArgs = 3146141, - /// - /// D3D11_MESSAGE_ID_CREATEDEVICE_WARNING - CreateDeviceWarning = 3146142, - /// - /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWUINT_HAZARD - ClearunorderedaccessviewuintHazard = 3146143, - /// - /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_HAZARD - ClearUnorderedAccessViewFloatHazard = 3146144, - /// - /// D3D11_MESSAGE_ID_TILED_RESOURCE_TIER_1_BUFFER_TEXTURE_MISMATCH - TiledResourceTier1BufferTextureMismatch = 3146145, - /// - /// D3D11_MESSAGE_ID_CREATE_CRYPTOSESSION - CreateCryptoSession = 3146146, - /// - /// D3D11_MESSAGE_ID_CREATE_AUTHENTICATEDCHANNEL - CreateAuthenticatedChannel = 3146147, - /// - /// D3D11_MESSAGE_ID_LIVE_CRYPTOSESSION - LiveCryptoSession = 3146148, - /// - /// D3D11_MESSAGE_ID_LIVE_AUTHENTICATEDCHANNEL - LiveAuthenticatedChannel = 3146149, - /// - /// D3D11_MESSAGE_ID_DESTROY_CRYPTOSESSION - DestroyCryptoSession = 3146150, - /// - /// D3D11_MESSAGE_ID_DESTROY_AUTHENTICATEDCHANNEL - DestroyAuthenticatedChannel = 3146151, - /// - /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE - CreateRasterizerStateInvalidConservativeRasterMode = 3146154, - /// - /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_SYSTEMVALUE - DeviceDrawInvalidSystemValue = 3146155, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDCONTEXTTYPE - CreateQueryOrPredicateInvalidContextType = 3146156, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_DECODENOTSUPPORTED - CreateQueryOrPredicateDecodenotsupported = 3146157, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_ENCODENOTSUPPORTED - CreateQueryOrPredicateEncodenotsupported = 3146158, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDPLANEINDEX - CreateShaderResourceViewInvalidplaneindex = 3146159, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANEINDEX - CreateShaderResourceViewInvalidvideoplaneindex = 3146160, - /// - /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_AMBIGUOUSVIDEOPLANEINDEX - CreateShaderResourceViewAmbiguousvideoplaneindex = 3146161, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDPLANEINDEX - CreateRenderTargetViewInvalidplaneindex = 3146162, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDVIDEOPLANEINDEX - CreateRenderTargetViewInvalidvideoplaneindex = 3146163, - /// - /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_AMBIGUOUSVIDEOPLANEINDEX - CreateRenderTargetViewAmbiguousvideoplaneindex = 3146164, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDPLANEINDEX - CreateUnorderedAccessViewInvalidplaneindex = 3146165, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANEINDEX - CreateUnorderedAccessViewInvalidvideoplaneindex = 3146166, - /// - /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_AMBIGUOUSVIDEOPLANEINDEX - CreateUnorderedAccessViewAmbiguousvideoplaneindex = 3146167, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSCANDATAOFFSET - JpegDecodeInvalidScanDataOffset = 3146168, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_NOTSUPPORTED - JpegDecodeNotSupported = 3146169, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_DIMENSIONSTOOLARGE - JpegDecodeDimensionsTooLarge = 3146170, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOMPONENTS - JpegDecodeInvalidComponents = 3146171, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_DESTINATIONNOT2D - JpegDecodeDestinationNot2D = 3146172, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_TILEDRESOURCESUNSUPPORTED - JpegDecodeTiledresourcesunsupported = 3146173, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_GUARDRECTSUNSUPPORTED - JpegDecodeGuardrectsunsupported = 3146174, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_FORMATUNSUPPORTED - JpegDecodeFormatunsupported = 3146175, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSUBRESOURCE - JpegDecodeInvalidSubresource = 3146176, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDMIPLEVEL - JpegDecodeInvalidMipLevel = 3146177, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_EMPTYDESTBOX - JpegDecodeEmptydestbox = 3146178, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOT2D - JpegDecodeDestboxnot2d = 3146179, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOTSUB - JpegDecodeDestboxnotsub = 3146180, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXESINTERSECT - JpegDecodeDestboxesintersect = 3146181, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEMISMATCH - JpegDecodeXsubsamplemismatch = 3146182, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEMISMATCH - JpegDecodeYsubsamplemismatch = 3146183, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEODD - JpegDecodeXsubsampleodd = 3146184, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEODD - JpegDecodeYsubsampleodd = 3146185, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_OUTPUTDIMENSIONSTOOLARGE - JpegDecodeOutputdimensionstoolarge = 3146186, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_NONPOW2SCALEUNSUPPORTED - JpegDecodeNonpow2scaleunsupported = 3146187, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_FRACTIONALDOWNSCALETOLARGE - JpegDecodeFractionaldownscaletolarge = 3146188, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_CHROMASIZEMISMATCH - JpegDecodeChromasizemismatch = 3146189, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_LUMACHROMASIZEMISMATCH - JpegDecodeLumachromasizemismatch = 3146190, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDNUMDESTINATIONS - JpegDecodeInvalidnumdestinations = 3146191, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_SUBBOXUNSUPPORTED - JpegDecodeSubboxunsupported = 3146192, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_1DESTUNSUPPORTEDFORMAT - JpegDecode1destunsupportedformat = 3146193, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_3DESTUNSUPPORTEDFORMAT - JpegDecode3destunsupportedformat = 3146194, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_SCALEUNSUPPORTED - JpegDecodeScaleunsupported = 3146195, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSOURCESIZE - JpegDecodeInvalidsourcesize = 3146196, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOPYFLAGS - JpegDecodeInvalidCopyFlags = 3146197, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_HAZARD - JpegDecodeHazard = 3146198, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERUSAGE - JpegDecodeUnsupportedsrcbufferusage = 3146199, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERMISCFLAGS - JpegDecodeUnsupportedsrcbuffermiscflags = 3146200, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDDSTTEXTUREUSAGE - JpegDecodeUnsupporteddsttextureusage = 3146201, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_BACKBUFFERNOTSUPPORTED - JpegDecodeBackbufferNotSupported = 3146202, - /// - /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPRTEDCOPYFLAGS - JpegDecodeUnsupprtedcopyflags = 3146203, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_NOTSUPPORTED - JpegEncodeNotSupported = 3146204, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSCANDATAOFFSET - JpegEncodeInvalidScanDataOffset = 3146205, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDCOMPONENTS - JpegEncodeInvalidComponents = 3146206, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_SOURCENOT2D - JpegEncodeSourceNot2D = 3146207, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_TILEDRESOURCESUNSUPPORTED - JpegEncodeTiledresourcesunsupported = 3146208, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_GUARDRECTSUNSUPPORTED - JpegEncodeGuardrectsunsupported = 3146209, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_XSUBSAMPLEMISMATCH - JpegEncodeXsubsamplemismatch = 3146210, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_YSUBSAMPLEMISMATCH - JpegEncodeYsubsamplemismatch = 3146211, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_FORMATUNSUPPORTED - JpegEncodeFormatunsupported = 3146212, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSUBRESOURCE - JpegEncodeInvalidSubresource = 3146213, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDMIPLEVEL - JpegEncodeInvalidMipLevel = 3146214, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_DIMENSIONSTOOLARGE - JpegEncodeDimensionsTooLarge = 3146215, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_HAZARD - JpegEncodeHazard = 3146216, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERUSAGE - JpegEncodeUnsupporteddstbufferusage = 3146217, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERMISCFLAGS - JpegEncodeUnsupporteddstbuffermiscflags = 3146218, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDSRCTEXTUREUSAGE - JpegEncodeUnsupportedsrctextureusage = 3146219, - /// - /// D3D11_MESSAGE_ID_JPEGENCODE_BACKBUFFERNOTSUPPORTED - JpegEncodeBackbufferNotSupported = 3146220, - /// - /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNSUPPORTEDCONTEXTTTYPEFORQUERY - CreateQueryOrPredicateUnsupportedcontextttypeforquery = 3146221, - /// - /// D3D11_MESSAGE_ID_FLUSH1_INVALIDCONTEXTTYPE - Flush1InvalidContextType = 3146222, - /// - /// D3D11_MESSAGE_ID_DEVICE_SETHARDWAREPROTECTION_INVALIDCONTEXT - DeviceSethardwareprotectionInvalidcontext = 3146223, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_NULLPARAM - VideoprocessorsetoutputhdrmetadataNullParam = 3146224, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_INVALIDSIZE - VideoprocessorsetoutputhdrmetadataInvalidSize = 3146225, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_NULLPARAM - VideoprocessorgetoutputhdrmetadataNullParam = 3146226, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_INVALIDSIZE - VideoprocessorgetoutputhdrmetadataInvalidSize = 3146227, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_NULLPARAM - VideoprocessorsetstreamhdrmetadataNullParam = 3146228, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSTREAM - VideoprocessorsetstreamhdrmetadataInvalidStream = 3146229, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSIZE - VideoprocessorsetstreamhdrmetadataInvalidSize = 3146230, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_NULLPARAM - VideoprocessorgetstreamhdrmetadataNullParam = 3146231, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSTREAM - VideoprocessorgetstreamhdrmetadataInvalidStream = 3146232, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSIZE - VideoprocessorgetstreamhdrmetadataInvalidSize = 3146233, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_INVALIDSTREAM - VideoprocessorgetstreamframeformatInvalidStream = 3146234, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_INVALIDSTREAM - VideoprocessorgetstreamcolorspaceInvalidStream = 3146235, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_INVALIDSTREAM - VideoprocessorgetstreamoutputrateInvalidStream = 3146236, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_INVALIDSTREAM - VideoprocessorgetstreamsourcerectInvalidStream = 3146237, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_INVALIDSTREAM - VideoprocessorgetstreamdestrectInvalidStream = 3146238, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_INVALIDSTREAM - VideoprocessorgetstreamalphaInvalidStream = 3146239, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_INVALIDSTREAM - VideoprocessorgetstreampaletteInvalidStream = 3146240, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_INVALIDSTREAM - VideoprocessorgetstreampixelaspectratioInvalidStream = 3146241, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_INVALIDSTREAM - VideoprocessorgetstreamlumakeyInvalidStream = 3146242, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_INVALIDSTREAM - VideoprocessorgetstreamstereoformatInvalidStream = 3146243, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM - VideoprocessorgetstreamautoprocessingmodeInvalidStream = 3146244, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_INVALIDSTREAM - VideoprocessorgetstreamfilterInvalidStream = 3146245, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_INVALIDSTREAM - VideoprocessorgetstreamrotationInvalidStream = 3146246, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_INVALIDSTREAM - Videoprocessorgetstreamcolorspace1InvalidStream = 3146247, - /// - /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM - VideoProcessorGetStreamMirrorInvalidStream = 3146248, - /// - /// D3D11_MESSAGE_ID_CREATE_FENCE - CreateFence = 3146249, - /// - /// D3D11_MESSAGE_ID_LIVE_FENCE - LiveFence = 3146250, - /// - /// D3D11_MESSAGE_ID_DESTROY_FENCE - DestroyFence = 3146251, - /// - /// D3D11_MESSAGE_ID_CREATE_SYNCHRONIZEDCHANNEL - CreateSynchronizedChannel = 3146252, - /// - /// D3D11_MESSAGE_ID_LIVE_SYNCHRONIZEDCHANNEL - LiveSynchronizedChannel = 3146253, - /// - /// D3D11_MESSAGE_ID_DESTROY_SYNCHRONIZEDCHANNEL - DestroySynchronizedChannel = 3146254, - /// - /// D3D11_MESSAGE_ID_CREATEFENCE_INVALIDFLAGS - CreateFenceInvalidFlags = 3146255, - /// - /// D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE - NegotiatecryptosessionkeyexchangemtInvalidkeyexchangetype = 3146258, - /// - /// D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED - NegotiatecryptosessionkeyexchangemtNotSupported = 3146259, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT - DecoderBeginFrameInvalidHistogramComponentCount = 3146260, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT - DecoderBeginFrameInvalidHistogramComponent = 3146261, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE - DecoderBeginFrameInvalidHistogramBufferSize = 3146262, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE - DecoderBeginFrameInvalidHistogramBufferUsage = 3146263, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS - DecoderBeginFrameInvalidHistogramBufferMiscFlags = 3146264, - /// - /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET - DecoderBeginFrameInvalidHistogramBufferOffset = 3146265, - /// - /// D3D11_MESSAGE_ID_CREATE_TRACKEDWORKLOAD - CreateTrackedworkload = 3146266, - /// - /// D3D11_MESSAGE_ID_LIVE_TRACKEDWORKLOAD - LiveTrackedworkload = 3146267, - /// - /// D3D11_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD - DestroyTrackedworkload = 3146268, - /// - /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_NULLPARAM - CreateTrackedWorkloadNullParam = 3146269, - /// - /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES - CreateTrackedWorkloadInvalidMaxInstances = 3146270, - /// - /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE - CreateTrackedWorkloadInvalidDeadlineType = 3146271, - /// - /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE - CreateTrackedWorkloadInvalidEngineType = 3146272, - /// - /// D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS - MultipleTrackedWorkloads = 3146273, - /// - /// D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS - MultipleTrackedWorkloadPairs = 3146274, - /// - /// D3D11_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR - IncompleteTrackedWorkloadPair = 3146275, - /// - /// D3D11_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR - OutOfOrderTrackedWorkloadPair = 3146276, - /// - /// D3D11_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD - CannotAddTrackedWorkload = 3146277, - /// - /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED - TrackedWorkloadNotSupported = 3146278, - /// - /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND - TrackedWorkloadEngineTypeNotFound = 3146279, - /// - /// D3D11_MESSAGE_ID_NO_TRACKED_WORKLOAD_SLOT_AVAILABLE - NoTrackedWorkloadSlotAvailable = 3146280, - /// - /// D3D11_MESSAGE_ID_END_TRACKED_WORKLOAD_INVALID_ARG - EndTrackedWorkloadInvalidArg = 3146281, - /// - /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_DISJOINT_FAILURE - TrackedWorkloadDisjointFailure = 3146282, -} - -/// -/// D3D11_COPY_FLAGS -[Flags] -public enum CopyFlags : int -{ - None = 0, - /// - /// D3D11_COPY_NO_OVERWRITE - NoOverwrite = 1, - /// - /// D3D11_COPY_DISCARD - Discard = 2, -} - -/// -/// D3D11_LOGIC_OP -public enum LogicOperation : int -{ - /// - /// D3D11_LOGIC_OP_CLEAR - Clear = 0, - /// - /// D3D11_LOGIC_OP_SET - Set = 1, - /// - /// D3D11_LOGIC_OP_COPY - Copy = 2, - /// - /// D3D11_LOGIC_OP_COPY_INVERTED - CopyInverted = 3, - /// - /// D3D11_LOGIC_OP_NOOP - Noop = 4, - /// - /// D3D11_LOGIC_OP_INVERT - Invert = 5, - /// - /// D3D11_LOGIC_OP_AND - And = 6, - /// - /// D3D11_LOGIC_OP_NAND - Nand = 7, - /// - /// D3D11_LOGIC_OP_OR - Or = 8, - /// - /// D3D11_LOGIC_OP_NOR - Nor = 9, - /// - /// D3D11_LOGIC_OP_XOR - Xor = 10, - /// - /// D3D11_LOGIC_OP_EQUIV - Equiv = 11, - /// - /// D3D11_LOGIC_OP_AND_REVERSE - AndReverse = 12, - /// - /// D3D11_LOGIC_OP_AND_INVERTED - AndInverted = 13, - /// - /// D3D11_LOGIC_OP_OR_REVERSE - OrReverse = 14, - /// - /// D3D11_LOGIC_OP_OR_INVERTED - OrInverted = 15, -} - -/// -/// D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG -[Flags] -public enum CreateDeviceContextStateFlags : int -{ - None = 0, - /// - /// D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED - SingleThreaded = 1, -} - -/// -/// D3D11_VIDEO_DECODER_CAPS -public enum VideoDecoderCaps : int -{ - /// - /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE - Downsample = 1, - /// - /// D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME - NonRealTime = 2, - /// - /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC - DownsampleDynamic = 4, - /// - /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED - DownsampleRequired = 8, - /// - /// D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED - Unsupported = 16, -} - -/// -/// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS -public enum VideoProcessorBehaviorHints : int -{ - /// - /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION - HintMultiplaneOverlayRotation = 1, - /// - /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE - HintMultiplaneOverlayResize = 2, - /// - /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION - HintMultiplaneOverlayColorSpaceConversion = 4, - /// - /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT - HintTripleBufferOutput = 8, -} - -/// -/// D3D11_CRYPTO_SESSION_STATUS -public enum CryptoSessionStatus : int -{ - /// - /// D3D11_CRYPTO_SESSION_STATUS_OK - Ok = 0, - /// - /// D3D11_CRYPTO_SESSION_STATUS_KEY_LOST - KeyLost = 1, - /// - /// D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST - KeyAndContentLost = 2, -} - -/// -/// D3D11_TILE_MAPPING_FLAG -[Flags] -public enum TileMappingFlags : int -{ - None = 0, - /// - /// D3D11_TILE_MAPPING_NO_OVERWRITE - NoOverwrite = 1, -} - -/// -/// D3D11_TILE_RANGE_FLAG -[Flags] -public enum TileRangeFlags : int -{ - None = 0, - /// - /// D3D11_TILE_RANGE_NULL - Null = 1, - /// - /// D3D11_TILE_RANGE_SKIP - Skip = 2, - /// - /// D3D11_TILE_RANGE_REUSE_SINGLE_TILE - ReuseSingleTile = 4, -} - -/// -/// D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG -[Flags] -public enum CheckMultisampleQualityLevelsFlags : int -{ - None = 0, - /// - /// D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE - TiledResource = 1, -} - -/// -/// D3D11_TILE_COPY_FLAG -[Flags] -public enum TileCopyFlags : int -{ - None = 0, - /// - /// D3D11_TILE_COPY_NO_OVERWRITE - NoOverwrite = 1, - /// - /// D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE - LinearBufferToSwizzledTiledResource = 2, - /// - /// D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER - SwizzledTiledResourceToLinearBuffer = 4, -} - -/// -/// D3D11_CONTEXT_TYPE -public enum ContextType : int -{ - /// - /// D3D11_CONTEXT_TYPE_ALL - All = 0, - /// - /// D3D11_CONTEXT_TYPE_3D - _3D = 1, - /// - /// D3D11_CONTEXT_TYPE_COMPUTE - Compute = 2, - /// - /// D3D11_CONTEXT_TYPE_COPY - Copy = 3, - /// - /// D3D11_CONTEXT_TYPE_VIDEO - Video = 4, -} - -/// -/// D3D11_TEXTURE_LAYOUT -public enum TextureLayout : int -{ - /// - /// D3D11_TEXTURE_LAYOUT_UNDEFINED - Undefined = 0, - /// - /// D3D11_TEXTURE_LAYOUT_ROW_MAJOR - RowMajor = 1, - /// - /// D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE - _64kStandardSwizzle = 2, -} - -/// -/// D3D11_CONSERVATIVE_RASTERIZATION_MODE -public enum ConservativeRasterizationMode : int -{ - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF - Off = 0, - /// - /// D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON - On = 1, -} - -/// -/// D3D11_FENCE_FLAG -[Flags] -public enum FenceFlags : uint -{ - /// - /// D3D11_FENCE_FLAG_NONE - None = 0, - /// - /// D3D11_FENCE_FLAG_SHARED - Shared = 2, - /// - /// D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER - SharedCrossAdapter = 4, - /// - /// D3D11_FENCE_FLAG_NON_MONITORED - NonMonitored = 8, -} - -/// -/// D3D11_FEATURE_VIDEO -public enum FeatureVideo : int -{ - /// - /// D3D11_FEATURE_VIDEO_DECODER_HISTOGRAM - DecoderHistogram = 0, -} - -/// -/// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT -public enum VideoDecoderHistogramComponent : int -{ - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y - Y = 0, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U - U = 1, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V - V = 2, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R - R = 0, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G - G = 1, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B - B = 2, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A - A = 3, -} - -/// -/// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS -[Flags] -public enum VideoDecoderHistogramComponentFlags : uint -{ - None = 0, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_NONE - FlagNone = 0, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_Y - FlagY = 1, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_U - FlagU = 2, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_V - FlagV = 4, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_R - FlagR = 1, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_G - FlagG = 2, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B - FlagB = 4, - /// - /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A - FlagA = 8, -} - -/// -/// D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS -[Flags] -public enum CryptoSessionKeyExchangeFlags : uint -{ - None = 0, - /// - /// D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE - FlagNone = 0, -} - -/// -/// D3D11_SHADER_VERSION_TYPE -public enum ShaderVersionType : int -{ - /// - /// D3D11_SHVER_PIXEL_SHADER - D3D11_SHVER_PIXEL_SHADER = 0, - /// - /// D3D11_SHVER_VERTEX_SHADER - D3D11_SHVER_VERTEX_SHADER = 1, - /// - /// D3D11_SHVER_GEOMETRY_SHADER - D3D11_SHVER_GEOMETRY_SHADER = 2, - /// - /// D3D11_SHVER_HULL_SHADER - D3D11_SHVER_HULL_SHADER = 3, - /// - /// D3D11_SHVER_DOMAIN_SHADER - D3D11_SHVER_DOMAIN_SHADER = 4, - /// - /// D3D11_SHVER_COMPUTE_SHADER - D3D11_SHVER_COMPUTE_SHADER = 5, - /// - /// D3D11_SHVER_RESERVED0 - D3D11_SHVER_RESERVED0 = 65520, -} - -/// -/// D3D11_SHADER_TYPE -public enum ShaderType : int -{ - /// - /// D3D11_VERTEX_SHADER - D3D11_VERTEX_SHADER = 1, - /// - /// D3D11_HULL_SHADER - D3D11_HULL_SHADER = 2, - /// - /// D3D11_DOMAIN_SHADER - D3D11_DOMAIN_SHADER = 3, - /// - /// D3D11_GEOMETRY_SHADER - D3D11_GEOMETRY_SHADER = 4, - /// - /// D3D11_PIXEL_SHADER - D3D11_PIXEL_SHADER = 5, - /// - /// D3D11_COMPUTE_SHADER - D3D11_COMPUTE_SHADER = 6, -} - -/// -/// D3D11_TRACE_GS_INPUT_PRIMITIVE -public enum TraceGSInputPrimitive : int -{ - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED - Undefined = 0, - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT - Point = 1, - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE - Line = 2, - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE - Triangle = 3, - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ - LineAdj = 6, - /// - /// D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ - TriangleAdj = 7, -} - -/// -/// D3D11_TRACE_REGISTER_TYPE -public enum TraceRegisterType : int -{ - /// - /// D3D11_TRACE_OUTPUT_NULL_REGISTER - D3D11_TRACE_OUTPUT_NULL_REGISTER = 0, - /// - /// D3D11_TRACE_INPUT_REGISTER - D3D11_TRACE_INPUT_REGISTER = 1, - /// - /// D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER - D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = 2, - /// - /// D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER - D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = 3, - /// - /// D3D11_TRACE_TEMP_REGISTER - D3D11_TRACE_TEMP_REGISTER = 4, - /// - /// D3D11_TRACE_INDEXABLE_TEMP_REGISTER - D3D11_TRACE_INDEXABLE_TEMP_REGISTER = 5, - /// - /// D3D11_TRACE_OUTPUT_REGISTER - D3D11_TRACE_OUTPUT_REGISTER = 6, - /// - /// D3D11_TRACE_OUTPUT_DEPTH_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_REGISTER = 7, - /// - /// D3D11_TRACE_CONSTANT_BUFFER - D3D11_TRACE_CONSTANT_BUFFER = 8, - /// - /// D3D11_TRACE_IMMEDIATE32 - D3D11_TRACE_IMMEDIATE32 = 9, - /// - /// D3D11_TRACE_SAMPLER - D3D11_TRACE_SAMPLER = 10, - /// - /// D3D11_TRACE_RESOURCE - D3D11_TRACE_RESOURCE = 11, - /// - /// D3D11_TRACE_RASTERIZER - D3D11_TRACE_RASTERIZER = 12, - /// - /// D3D11_TRACE_OUTPUT_COVERAGE_MASK - D3D11_TRACE_OUTPUT_COVERAGE_MASK = 13, - /// - /// D3D11_TRACE_STREAM - D3D11_TRACE_STREAM = 14, - /// - /// D3D11_TRACE_THIS_POINTER - D3D11_TRACE_THIS_POINTER = 15, - /// - /// D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER - D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = 16, - /// - /// D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = 17, - /// - /// D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = 18, - /// - /// D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER - D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = 19, - /// - /// D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER - D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = 20, - /// - /// D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER - D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = 21, - /// - /// D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER - D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = 22, - /// - /// D3D11_TRACE_UNORDERED_ACCESS_VIEW - D3D11_TRACE_UNORDERED_ACCESS_VIEW = 23, - /// - /// D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY - D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = 24, - /// - /// D3D11_TRACE_INPUT_THREAD_ID_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_REGISTER = 25, - /// - /// D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER - D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = 26, - /// - /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = 27, - /// - /// D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER - D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = 28, - /// - /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = 29, - /// - /// D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = 30, - /// - /// D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = 31, - /// - /// D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = 32, - /// - /// D3D11_TRACE_IMMEDIATE64 - D3D11_TRACE_IMMEDIATE64 = 33, - /// - /// D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER - D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = 34, - /// - /// D3D11_TRACE_INTERFACE_POINTER - D3D11_TRACE_INTERFACE_POINTER = 35, -} -#endregion Enums - -#region Unions - -/// -/// D3D11_AUTHENTICATED_PROTECTION_FLAGS -[StructLayout(LayoutKind.Explicit)] -public partial struct AuthenticatedProtectionFlags -{ - /// - [FieldOffset(0)] - public _Flags_e__Struct Flags; - - /// - [FieldOffset(0)] - public uint Value; - - public partial struct _Flags_e__Struct - { - /// - public uint _bitfield; - } -} -#endregion Unions - -#region Structs - -/// -/// D3D11_INPUT_ELEMENT_DESC -public partial struct InputElementDescription -{ - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public uint InputSlot; - - /// - public uint AlignedByteOffset; - - /// - public InputClassification InputSlotClass; - - /// - public uint InstanceDataStepRate; -} - -/// -/// D3D11_SO_DECLARATION_ENTRY -public partial struct SODeclarationEntry -{ - /// - public uint Stream; - - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public byte StartComponent; - - /// - public byte ComponentCount; - - /// - public byte OutputSlot; -} - -/// -/// D3D11_DRAW_INSTANCED_INDIRECT_ARGS -public partial struct DrawInstancedIndirectArgs -{ - /// - public uint VertexCountPerInstance; - - /// - public uint InstanceCount; - - /// - public uint StartVertexLocation; - - /// - public uint StartInstanceLocation; -} - -/// -/// D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS -public partial struct DrawIndexedInstancedIndirectArgs -{ - /// - public uint IndexCountPerInstance; - - /// - public uint InstanceCount; - - /// - public uint StartIndexLocation; - - /// - public int BaseVertexLocation; - - /// - public uint StartInstanceLocation; -} - -/// -/// D3D11_BOX -public partial struct Box -{ - /// - public uint left; - - /// - public uint top; - - /// - public uint front; - - /// - public uint right; - - /// - public uint bottom; - - /// - public uint back; -} - -/// -/// D3D11_DEPTH_STENCILOP_DESC -public partial struct DepthStencilOperationDescription -{ - /// - public StencilOperation StencilFailOp; - - /// - public StencilOperation StencilDepthFailOp; - - /// - public StencilOperation StencilPassOp; - - /// - public ComparisonFunction StencilFunc; -} - -/// -/// D3D11_DEPTH_STENCIL_DESC -public partial struct DepthStencilDescription -{ - /// - public Bool32 DepthEnable; - - /// - public DepthWriteMask DepthWriteMask; - - /// - public ComparisonFunction DepthFunc; - - /// - public Bool32 StencilEnable; - - /// - public byte StencilReadMask; - - /// - public byte StencilWriteMask; - - /// - public DepthStencilOperationDescription FrontFace; - - /// - public DepthStencilOperationDescription BackFace; -} - -/// -/// D3D11_RENDER_TARGET_BLEND_DESC -public partial struct RenderTargetBlendDescription -{ - /// - public Bool32 BlendEnable; - - /// - public Blend SrcBlend; - - /// - public Blend DestBlend; - - /// - public BlendOperation BlendOp; - - /// - public Blend SrcBlendAlpha; - - /// - public Blend DestBlendAlpha; - - /// - public BlendOperation BlendOpAlpha; - - /// - public ColorWriteEnable RenderTargetWriteMask; -} - -/// -/// D3D11_BLEND_DESC -public partial struct BlendDescription -{ - /// - public Bool32 AlphaToCoverageEnable; - - /// - public Bool32 IndependentBlendEnable; - - /// - public RenderTarget__FixedBuffer RenderTarget; - - public unsafe struct RenderTarget__FixedBuffer - { - public RenderTargetBlendDescription e0; - public RenderTargetBlendDescription e1; - public RenderTargetBlendDescription e2; - public RenderTargetBlendDescription e3; - public RenderTargetBlendDescription e4; - public RenderTargetBlendDescription e5; - public RenderTargetBlendDescription e6; - public RenderTargetBlendDescription e7; - - [UnscopedRef] - public ref RenderTargetBlendDescription this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 8); - } - } -} - -/// -/// D3D11_RASTERIZER_DESC -public partial struct RasterizerDescription -{ - /// - public FillMode FillMode; - - /// - public CullMode CullMode; - - /// - public Bool32 FrontCounterClockwise; - - /// - public int DepthBias; - - /// - public float DepthBiasClamp; - - /// - public float SlopeScaledDepthBias; - - /// - public Bool32 DepthClipEnable; - - /// - public Bool32 ScissorEnable; - - /// - public Bool32 MultisampleEnable; - - /// - public Bool32 AntialiasedLineEnable; -} - -/// -/// D3D11_SUBRESOURCE_DATA -public partial struct SubresourceData -{ - /// - public unsafe void* pSysMem; - - /// - public uint SysMemPitch; - - /// - public uint SysMemSlicePitch; -} - -/// -/// D3D11_MAPPED_SUBRESOURCE -public partial struct MappedSubresource -{ - /// - public unsafe void* pData; - - /// - public uint RowPitch; - - /// - public uint DepthPitch; -} - -/// -/// D3D11_BUFFER_DESC -public partial struct BufferDescription -{ - /// - public uint ByteWidth; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; - - /// - public uint StructureByteStride; -} - -/// -/// D3D11_TEXTURE1D_DESC -public partial struct Texture1DDescription -{ - /// - public uint Width; - - /// - public uint MipLevels; - - /// - public uint ArraySize; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; -} - -/// -/// D3D11_TEXTURE2D_DESC -public partial struct Texture2DDescription -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint MipLevels; - - /// - public uint ArraySize; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Dxgi.Common.SampleDescription SampleDesc; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; -} - -/// -/// D3D11_TEXTURE3D_DESC -public partial struct Texture3DDescription -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; - - /// - public uint MipLevels; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; -} - -/// -/// D3D11_BUFFER_SRV -public partial struct BufferSrv -{ - /// - public _Anonymous1_e__Union Anonymous1; - - /// - public _Anonymous2_e__Union Anonymous2; - - [UnscopedRef] - public ref uint FirstElement - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous1.FirstElement; - } - } - - [UnscopedRef] - public ref uint ElementOffset - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous1.ElementOffset; - } - } - - [UnscopedRef] - public ref uint NumElements - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous2.NumElements; - } - } - - [UnscopedRef] - public ref uint ElementWidth - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous2.ElementWidth; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous1_e__Union - { - /// - [FieldOffset(0)] - public uint FirstElement; - - /// - [FieldOffset(0)] - public uint ElementOffset; - } - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous2_e__Union - { - /// - [FieldOffset(0)] - public uint NumElements; - - /// - [FieldOffset(0)] - public uint ElementWidth; - } -} - -/// -/// D3D11_BUFFEREX_SRV -public partial struct BufferExtendedSrv -{ - /// - public uint FirstElement; - - /// - public uint NumElements; - - /// - public BufferExtendedSrvFlags Flags; -} - -/// -/// D3D11_TEX1D_SRV -public partial struct Texture1DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; -} - -/// -/// D3D11_TEX1D_ARRAY_SRV -public partial struct Texture1DArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2D_SRV -public partial struct Texture2DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; -} - -/// -/// D3D11_TEX2D_ARRAY_SRV -public partial struct Texture2DArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX3D_SRV -public partial struct Texture3DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; -} - -/// -/// D3D11_TEXCUBE_SRV -public partial struct TexureCubeSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; -} - -/// -/// D3D11_TEXCUBE_ARRAY_SRV -public partial struct TexureCubeArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint First2DArrayFace; - - /// - public uint NumCubes; -} - -/// -/// D3D11_TEX2DMS_SRV -public partial struct Texture2DMsSrv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D11_TEX2DMS_ARRAY_SRV -public partial struct Texture2DMsArraySrv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_SHADER_RESOURCE_VIEW_DESC -public partial struct ShaderResourceViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Direct3D.SrvDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferSrv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DSrv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArraySrv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DSrv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArraySrv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsSrv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArraySrv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DSrv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [UnscopedRef] - public ref TexureCubeSrv TextureCube - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCube; - } - } - - [UnscopedRef] - public ref TexureCubeArraySrv TextureCubeArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCubeArray; - } - } - - [UnscopedRef] - public ref BufferExtendedSrv BufferEx - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.BufferEx; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferSrv Buffer; - - /// - [FieldOffset(0)] - public Texture1DSrv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArraySrv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DSrv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArraySrv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsSrv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArraySrv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DSrv Texture3D; - - /// - [FieldOffset(0)] - public TexureCubeSrv TextureCube; - - /// - [FieldOffset(0)] - public TexureCubeArraySrv TextureCubeArray; - - /// - [FieldOffset(0)] - public BufferExtendedSrv BufferEx; - } -} - -/// -/// D3D11_BUFFER_RTV -public partial struct BufferRtv -{ - /// - public _Anonymous1_e__Union Anonymous1; - - /// - public _Anonymous2_e__Union Anonymous2; - - [UnscopedRef] - public ref uint NumElements - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous2.NumElements; - } - } - - [UnscopedRef] - public ref uint ElementWidth - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous2.ElementWidth; - } - } - - [UnscopedRef] - public ref uint FirstElement - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous1.FirstElement; - } - } - - [UnscopedRef] - public ref uint ElementOffset - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous1.ElementOffset; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous2_e__Union - { - /// - [FieldOffset(0)] - public uint NumElements; - - /// - [FieldOffset(0)] - public uint ElementWidth; - } - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous1_e__Union - { - /// - [FieldOffset(0)] - public uint FirstElement; - - /// - [FieldOffset(0)] - public uint ElementOffset; - } -} - -/// -/// D3D11_TEX1D_RTV -public partial struct Texture1DRtv -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX1D_ARRAY_RTV -public partial struct Texture1DArrayRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2D_RTV -public partial struct Texture2DRtv -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX2DMS_RTV -public partial struct Texture2DMsRtv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D11_TEX2D_ARRAY_RTV -public partial struct Texture2DArrayRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2DMS_ARRAY_RTV -public partial struct Texture2DMsArrayRtv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX3D_RTV -public partial struct Texture3DRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstWSlice; - - /// - public uint WSize; -} - -/// -/// D3D11_RENDER_TARGET_VIEW_DESC -public partial struct RenderTargetViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public RtvDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferRtv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DRtv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayRtv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DRtv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayRtv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsRtv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArrayRtv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DRtv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferRtv Buffer; - - /// - [FieldOffset(0)] - public Texture1DRtv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayRtv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DRtv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayRtv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsRtv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArrayRtv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DRtv Texture3D; - } -} - -/// -/// D3D11_TEX1D_DSV -public partial struct Texture1DDsv -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX1D_ARRAY_DSV -public partial struct Texture1DArrayDsv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2D_DSV -public partial struct Texture2DDsv -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_DSV -public partial struct Texture2DArrayDsv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2DMS_DSV -public partial struct Texture2DMsDsv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D11_TEX2DMS_ARRAY_DSV -public partial struct Texture2DMsArrayDsv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_DEPTH_STENCIL_VIEW_DESC -public partial struct DepthStencilViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public DsvDimension ViewDimension; - - /// - public DsvFlags Flags; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref Texture1DDsv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayDsv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DDsv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayDsv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsDsv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArrayDsv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public Texture1DDsv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayDsv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DDsv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayDsv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsDsv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArrayDsv Texture2DMSArray; - } -} - -/// -/// D3D11_BUFFER_UAV -public partial struct BufferUav -{ - /// - public uint FirstElement; - - /// - public uint NumElements; - - /// - public BufferUavFlags Flags; -} - -/// -/// D3D11_TEX1D_UAV -public partial struct Texture1DUav -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX1D_ARRAY_UAV -public partial struct Texture1DArrayUav -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX2D_UAV -public partial struct Texture2DUav -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_UAV -public partial struct Texture2DArrayUav -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_TEX3D_UAV -public partial struct Texture3DUav -{ - /// - public uint MipSlice; - - /// - public uint FirstWSlice; - - /// - public uint WSize; -} - -/// -/// D3D11_UNORDERED_ACCESS_VIEW_DESC -public partial struct UnorderedAccessViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public UavDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferUav Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DUav Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayUav Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DUav Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayUav Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture3DUav Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferUav Buffer; - - /// - [FieldOffset(0)] - public Texture1DUav Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayUav Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DUav Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayUav Texture2DArray; - - /// - [FieldOffset(0)] - public Texture3DUav Texture3D; - } -} - -/// -/// D3D11_SAMPLER_DESC -public partial struct SamplerDescription -{ - /// - public Filter Filter; - - /// - public TextureAddressMode AddressU; - - /// - public TextureAddressMode AddressV; - - /// - public TextureAddressMode AddressW; - - /// - public float MipLODBias; - - /// - public uint MaxAnisotropy; - - /// - public ComparisonFunction ComparisonFunc; - - /// - public unsafe fixed float BorderColor[4]; - - /// - public float MinLOD; - - /// - public float MaxLOD; -} - -/// -/// D3D11_QUERY_DESC -public partial struct QueryDescription -{ - /// - public QueryType Query; - - /// - public QueryMiscFlags MiscFlags; -} - -/// -/// D3D11_QUERY_DATA_TIMESTAMP_DISJOINT -public partial struct QueryDataTimestampDisjoint -{ - /// - public ulong Frequency; - - /// - public Bool32 Disjoint; -} - -/// -/// D3D11_QUERY_DATA_PIPELINE_STATISTICS -public partial struct QueryDataPipelineStatistics -{ - /// - public ulong IAVertices; - - /// - public ulong IAPrimitives; - - /// - public ulong VSInvocations; - - /// - public ulong GSInvocations; - - /// - public ulong GSPrimitives; - - /// - public ulong CInvocations; - - /// - public ulong CPrimitives; - - /// - public ulong PSInvocations; - - /// - public ulong HSInvocations; - - /// - public ulong DSInvocations; - - /// - public ulong CSInvocations; -} - -/// -/// D3D11_QUERY_DATA_SO_STATISTICS -public partial struct QueryDataSOStatistics -{ - /// - public ulong NumPrimitivesWritten; - - /// - public ulong PrimitivesStorageNeeded; -} - -/// -/// D3D11_COUNTER_DESC -public partial struct CounterDescription -{ - /// - public Counter Counter; - - /// - public uint MiscFlags; -} - -/// -/// D3D11_COUNTER_INFO -public partial struct CounterInfo -{ - /// - public Counter LastDeviceDependentCounter; - - /// - public uint NumSimultaneousCounters; - - /// - public byte NumDetectableParallelUnits; -} - -/// -/// D3D11_CLASS_INSTANCE_DESC -public partial struct ClassInstanceDescription -{ - /// - public uint InstanceId; - - /// - public uint InstanceIndex; - - /// - public uint TypeId; - - /// - public uint ConstantBuffer; - - /// - public uint BaseConstantBufferOffset; - - /// - public uint BaseTexture; - - /// - public uint BaseSampler; - - /// - public Bool32 Created; -} - -/// -/// D3D11_FEATURE_DATA_THREADING -public partial struct FeatureDataThreading -{ - /// - public Bool32 DriverConcurrentCreates; - - /// - public Bool32 DriverCommandLists; -} - -/// -/// D3D11_FEATURE_DATA_DOUBLES -public partial struct FeatureDataDoubles -{ - /// - public Bool32 DoublePrecisionFloatShaderOps; -} - -/// -/// D3D11_FEATURE_DATA_FORMAT_SUPPORT -public partial struct FeatureDataFormatSupport -{ - /// - public Graphics.Dxgi.Common.Format InFormat; - - /// - public FormatSupport OutFormatSupport; -} - -/// -/// D3D11_FEATURE_DATA_FORMAT_SUPPORT2 -public partial struct FeatureDataFormatSupport2 -{ - /// - public Graphics.Dxgi.Common.Format InFormat; - - /// - public FormatSupport2 OutFormatSupport2; -} - -/// -/// D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS -public partial struct FeatureDataD3D10XHardwareOptions -{ - /// - public Bool32 ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS -public partial struct FeatureDataD3D11Options -{ - /// - public Bool32 OutputMergerLogicOp; - - /// - public Bool32 UAVOnlyRenderingForcedSampleCount; - - /// - public Bool32 DiscardAPIsSeenByDriver; - - /// - public Bool32 FlagsForUpdateAndCopySeenByDriver; - - /// - public Bool32 ClearView; - - /// - public Bool32 CopyWithOverlap; - - /// - public Bool32 ConstantBufferPartialUpdate; - - /// - public Bool32 ConstantBufferOffsetting; - - /// - public Bool32 MapNoOverwriteOnDynamicConstantBuffer; - - /// - public Bool32 MapNoOverwriteOnDynamicBufferSRV; - - /// - public Bool32 MultisampleRTVWithForcedSampleCountOne; - - /// - public Bool32 SAD4ShaderInstructions; - - /// - public Bool32 ExtendedDoublesShaderInstructions; - - /// - public Bool32 ExtendedResourceSharing; -} - -/// -/// D3D11_FEATURE_DATA_ARCHITECTURE_INFO -public partial struct FeatureDataArchitectureInfo -{ - /// - public Bool32 TileBasedDeferredRenderer; -} - -/// -/// D3D11_FEATURE_DATA_D3D9_OPTIONS -public partial struct FeatureDataD3d9Options -{ - /// - public Bool32 FullNonPow2TextureSupport; -} - -/// -/// D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT -public partial struct FeatureDataD3d9ShadowSupport -{ - /// - public Bool32 SupportsDepthAsTextureWithLessEqualComparisonFilter; -} - -/// -/// D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT -public partial struct FeatureDataShaderMinPrecisionSupport -{ - /// - public uint PixelShaderMinPrecision; - - /// - public uint AllOtherShaderStagesMinPrecision; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS1 -public partial struct FeatureDataD3D11Options1 -{ - /// - public TiledResourcesTier TiledResourcesTier; - - /// - public Bool32 MinMaxFiltering; - - /// - public Bool32 ClearViewAlsoSupportsDepthOnlyFormats; - - /// - public Bool32 MapOnDefaultBuffers; -} - -/// -/// D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT -public partial struct FeatureDataD3d9SimpleInstancingSupport -{ - /// - public Bool32 SimpleInstancingSupported; -} - -/// -/// D3D11_FEATURE_DATA_MARKER_SUPPORT -public partial struct FeatureDataMarkerSupport -{ - /// - public Bool32 Profile; -} - -/// -/// D3D11_FEATURE_DATA_D3D9_OPTIONS1 -public partial struct FeatureDataD3d9Options1 -{ - /// - public Bool32 FullNonPow2TextureSupported; - - /// - public Bool32 DepthAsTextureWithLessEqualComparisonFilterSupported; - - /// - public Bool32 SimpleInstancingSupported; - - /// - public Bool32 TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS2 -public partial struct FeatureDataD3D11Options2 -{ - /// - public Bool32 PSSpecifiedStencilRefSupported; - - /// - public Bool32 TypedUAVLoadAdditionalFormats; - - /// - public Bool32 ROVsSupported; - - /// - public ConservativeRasterizationTier ConservativeRasterizationTier; - - /// - public TiledResourcesTier TiledResourcesTier; - - /// - public Bool32 MapOnDefaultTextures; - - /// - public Bool32 StandardSwizzle; - - /// - public Bool32 UnifiedMemoryArchitecture; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS3 -public partial struct FeatureDataD3D11Options3 -{ - /// - public Bool32 VPAndRTArrayIndexFromAnyShaderFeedingRasterizer; -} - -/// -/// D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT -public partial struct FeatureDataGpuVirtualAddressSupport -{ - /// - public uint MaxGPUVirtualAddressBitsPerResource; - - /// - public uint MaxGPUVirtualAddressBitsPerProcess; -} - -/// -/// D3D11_FEATURE_DATA_SHADER_CACHE -public partial struct FeatureDataShaderCache -{ - /// - public uint SupportFlags; -} - -/// -/// D3D11_FEATURE_DATA_DISPLAYABLE -public partial struct FeatureDataDisplayable -{ - /// - public Bool32 DisplayableTexture; - - /// - public SharedResourceTier SharedResourceTier; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS5 -public partial struct FeatureDataD3D11Options5 -{ - /// - public SharedResourceTier SharedResourceTier; -} - -/// -/// D3D11_VIDEO_DECODER_DESC -public partial struct VideoDecoderDescription -{ - /// - public Guid Guid; - - /// - public uint SampleWidth; - - /// - public uint SampleHeight; - - /// - public Graphics.Dxgi.Common.Format OutputFormat; -} - -/// -/// D3D11_VIDEO_DECODER_CONFIG -public partial struct VideoDecoderConfig -{ - /// - public Guid guidConfigBitstreamEncryption; - - /// - public Guid guidConfigMBcontrolEncryption; - - /// - public Guid guidConfigResidDiffEncryption; - - /// - public uint ConfigBitstreamRaw; - - /// - public uint ConfigMBcontrolRasterOrder; - - /// - public uint ConfigResidDiffHost; - - /// - public uint ConfigSpatialResid8; - - /// - public uint ConfigResid8Subtraction; - - /// - public uint ConfigSpatialHost8or9Clipping; - - /// - public uint ConfigSpatialResidInterleaved; - - /// - public uint ConfigIntraResidUnsigned; - - /// - public uint ConfigResidDiffAccelerator; - - /// - public uint ConfigHostInverseScan; - - /// - public uint ConfigSpecificIDCT; - - /// - public uint Config4GroupedCoefs; - - /// - public ushort ConfigMinRenderTargetBuffCount; - - /// - public ushort ConfigDecoderSpecific; -} - -/// -/// D3D11_AES_CTR_IV -public partial struct AesCtrIv -{ - /// - public ulong IV; - - /// - public ulong Count; -} - -/// -/// D3D11_ENCRYPTED_BLOCK_INFO -public partial struct EncryptedBlockInfo -{ - /// - public uint NumEncryptedBytesAtBeginning; - - /// - public uint NumBytesInSkipPattern; - - /// - public uint NumBytesInEncryptPattern; -} - -/// -/// D3D11_VIDEO_DECODER_BUFFER_DESC -public partial struct VideoDecoderBufferDescription -{ - /// - public VideoDecoderBufferType BufferType; - - /// - public uint BufferIndex; - - /// - public uint DataOffset; - - /// - public uint DataSize; - - /// - public uint FirstMBaddress; - - /// - public uint NumMBsInBuffer; - - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Stride; - - /// - public uint ReservedBits; - - /// - public unsafe void* pIV; - - /// - public uint IVSize; - - /// - public Bool32 PartialEncryption; - - /// - public EncryptedBlockInfo EncryptedBlockInfo; -} - -/// -/// D3D11_VIDEO_DECODER_EXTENSION -public partial struct VideoDecoderExtension -{ - /// - public uint Function; - - /// - public unsafe void* pPrivateInputData; - - /// - public uint PrivateInputDataSize; - - /// - public unsafe void* pPrivateOutputData; - - /// - public uint PrivateOutputDataSize; - - /// - public uint ResourceCount; - - /// - public unsafe ID3D11Resource* ppResourceList; -} - -/// -/// D3D11_VIDEO_PROCESSOR_CAPS -public partial struct VideoProcessorCaps -{ - /// - public uint DeviceCaps; - - /// - public uint FeatureCaps; - - /// - public uint FilterCaps; - - /// - public uint InputFormatCaps; - - /// - public uint AutoStreamCaps; - - /// - public uint StereoCaps; - - /// - public uint RateConversionCapsCount; - - /// - public uint MaxInputStreams; - - /// - public uint MaxStreamStates; -} - -/// -/// D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS -public partial struct VideoProcessorRateConversionCaps -{ - /// - public uint PastFrames; - - /// - public uint FutureFrames; - - /// - public uint ProcessorCaps; - - /// - public uint ITelecineCaps; - - /// - public uint CustomRateCount; -} - -/// -/// D3D11_VIDEO_CONTENT_PROTECTION_CAPS -public partial struct VideoContentProtectionCaps -{ - /// - public uint Caps; - - /// - public uint KeyExchangeTypeCount; - - /// - public uint BlockAlignmentSize; - - /// - public ulong ProtectedMemorySize; -} - -/// -/// D3D11_VIDEO_PROCESSOR_CUSTOM_RATE -public partial struct VideoProcessorCustomRate -{ - /// - public Graphics.Dxgi.Common.Rational CustomRate; - - /// - public uint OutputFrames; - - /// - public Bool32 InputInterlaced; - - /// - public uint InputFramesOrFields; -} - -/// -/// D3D11_VIDEO_PROCESSOR_FILTER_RANGE -public partial struct VideoProcessorFilterRange -{ - /// - public int Minimum; - - /// - public int Maximum; - - /// - public int Default; - - /// - public float Multiplier; -} - -/// -/// D3D11_VIDEO_PROCESSOR_CONTENT_DESC -public partial struct VideoProcessorContentDescription -{ - /// - public VideoFrameFormat InputFrameFormat; - - /// - public Graphics.Dxgi.Common.Rational InputFrameRate; - - /// - public uint InputWidth; - - /// - public uint InputHeight; - - /// - public Graphics.Dxgi.Common.Rational OutputFrameRate; - - /// - public uint OutputWidth; - - /// - public uint OutputHeight; - - /// - public VideoUsage Usage; -} - -/// -/// D3D11_VIDEO_COLOR_RGBA -public partial struct VideoColorRgba -{ - /// - public float R; - - /// - public float G; - - /// - public float B; - - /// - public float A; -} - -/// -/// D3D11_VIDEO_COLOR_YCbCrA -public partial struct VideoColorYcbcra -{ - /// - public float Y; - - /// - public float Cb; - - /// - public float Cr; - - /// - public float A; -} - -/// -/// D3D11_VIDEO_COLOR -public partial struct VideoColor -{ - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref VideoColorYcbcra YCbCr - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.YCbCr; - } - } - - [UnscopedRef] - public ref VideoColorRgba RGBA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.RGBA; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public VideoColorYcbcra YCbCr; - - /// - [FieldOffset(0)] - public VideoColorRgba RGBA; - } -} - -/// -/// D3D11_VIDEO_PROCESSOR_COLOR_SPACE -public partial struct VideoProcessorColorSpace -{ - /// - public uint _bitfield; -} - -/// -/// D3D11_VIDEO_PROCESSOR_STREAM -public partial struct VideoProcessorStream -{ - /// - public Bool32 Enable; - - /// - public uint OutputIndex; - - /// - public uint InputFrameOrField; - - /// - public uint PastFrames; - - /// - public uint FutureFrames; - - /// - public unsafe ID3D11VideoProcessorInputView* ppPastSurfaces; - - /// - public unsafe ID3D11VideoProcessorInputView* pInputSurface; - - /// - public unsafe ID3D11VideoProcessorInputView* ppFutureSurfaces; - - /// - public unsafe ID3D11VideoProcessorInputView* ppPastSurfacesRight; - - /// - public unsafe ID3D11VideoProcessorInputView* pInputSurfaceRight; - - /// - public unsafe ID3D11VideoProcessorInputView* ppFutureSurfacesRight; -} - -/// -/// D3D11_OMAC -public partial struct Omac -{ - /// - public unsafe fixed byte Buffer[16]; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_INPUT -public partial struct AuthenticatedQueryInput -{ - /// - public Guid QueryType; - - /// - public Handle hChannel; - - /// - public uint SequenceNumber; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_OUTPUT -public partial struct AuthenticatedQueryOutput -{ - /// - public Omac omac; - - /// - public Guid QueryType; - - /// - public Handle hChannel; - - /// - public uint SequenceNumber; - - /// - public HResult ReturnCode; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_PROTECTION_OUTPUT -public partial struct AuthenticatedQueryProtectionOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public AuthenticatedProtectionFlags ProtectionFlags; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_CHANNEL_TYPE_OUTPUT -public partial struct AuthenticatedQueryChannelTypeOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public AuthenticatedChannelType ChannelType; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_DEVICE_HANDLE_OUTPUT -public partial struct AuthenticatedQueryDeviceHandleOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public Handle DeviceHandle; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_INPUT -public partial struct AuthenticatedQueryCryptoSessionInput -{ - /// - public AuthenticatedQueryInput Input; - - /// - public Handle DecoderHandle; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_CRYPTO_SESSION_OUTPUT -public partial struct AuthenticatedQueryCryptoSessionOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public Handle DecoderHandle; - - /// - public Handle CryptoSessionHandle; - - /// - public Handle DeviceHandle; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_COUNT_OUTPUT -public partial struct AuthenticatedQueryRestrictedSharedResourceProcessCountOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public uint RestrictedSharedResourceProcessCount; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_INPUT -public partial struct AuthenticatedQueryRestrictedSharedResourceProcessInput -{ - /// - public AuthenticatedQueryInput Input; - - /// - public uint ProcessIndex; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_RESTRICTED_SHARED_RESOURCE_PROCESS_OUTPUT -public partial struct AuthenticatedQueryRestrictedSharedResourceProcessOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public uint ProcessIndex; - - /// - public AuthenticatedProcessIdentifierType ProcessIdentifier; - - /// - public Handle ProcessHandle; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_UNRESTRICTED_PROTECTED_SHARED_RESOURCE_COUNT_OUTPUT -public partial struct AuthenticatedQueryUnrestrictedProtectedSharedResourceCountOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public uint UnrestrictedProtectedSharedResourceCount; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_INPUT -public partial struct AuthenticatedQueryOutputIdCountInput -{ - /// - public AuthenticatedQueryInput Input; - - /// - public Handle DeviceHandle; - - /// - public Handle CryptoSessionHandle; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_COUNT_OUTPUT -public partial struct AuthenticatedQueryOutputIdCountOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public Handle DeviceHandle; - - /// - public Handle CryptoSessionHandle; - - /// - public uint OutputIDCount; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_INPUT -public partial struct AuthenticatedQueryOutputIdInput -{ - /// - public AuthenticatedQueryInput Input; - - /// - public Handle DeviceHandle; - - /// - public Handle CryptoSessionHandle; - - /// - public uint OutputIDIndex; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_OUTPUT_ID_OUTPUT -public partial struct AuthenticatedQueryOutputIdOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public Handle DeviceHandle; - - /// - public Handle CryptoSessionHandle; - - /// - public uint OutputIDIndex; - - /// - public ulong OutputID; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_OUTPUT -public partial struct AuthenticatedQueryAccessibilityOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public BusType BusType; - - /// - public Bool32 AccessibleInContiguousBlocks; - - /// - public Bool32 AccessibleInNonContiguousBlocks; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_COUNT_OUTPUT -public partial struct AuthenticatedQueryAccessibilityEncryptionGuidCountOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public uint EncryptionGuidCount; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_INPUT -public partial struct AuthenticatedQueryAccessibilityEncryptionGuidInput -{ - /// - public AuthenticatedQueryInput Input; - - /// - public uint EncryptionGuidIndex; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_ACCESSIBILITY_ENCRYPTION_GUID_OUTPUT -public partial struct AuthenticatedQueryAccessibilityEncryptionGuidOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public uint EncryptionGuidIndex; - - /// - public Guid EncryptionGuid; -} - -/// -/// D3D11_AUTHENTICATED_QUERY_CURRENT_ACCESSIBILITY_ENCRYPTION_OUTPUT -public partial struct AuthenticatedQueryCurrentAccessibilityEncryptionOutput -{ - /// - public AuthenticatedQueryOutput Output; - - /// - public Guid EncryptionGuid; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_INPUT -public partial struct AuthenticatedConfigureInput -{ - /// - public Omac omac; - - /// - public Guid ConfigureType; - - /// - public Handle hChannel; - - /// - public uint SequenceNumber; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_OUTPUT -public partial struct AuthenticatedConfigureOutput -{ - /// - public Omac omac; - - /// - public Guid ConfigureType; - - /// - public Handle hChannel; - - /// - public uint SequenceNumber; - - /// - public HResult ReturnCode; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_INITIALIZE_INPUT -public partial struct AuthenticatedConfigureInitializeInput -{ - /// - public AuthenticatedConfigureInput Parameters; - - /// - public uint StartSequenceQuery; - - /// - public uint StartSequenceConfigure; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_PROTECTION_INPUT -public partial struct AuthenticatedConfigureProtectionInput -{ - /// - public AuthenticatedConfigureInput Parameters; - - /// - public AuthenticatedProtectionFlags Protections; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_CRYPTO_SESSION_INPUT -public partial struct AuthenticatedConfigureCryptoSessionInput -{ - /// - public AuthenticatedConfigureInput Parameters; - - /// - public Handle DecoderHandle; - - /// - public Handle CryptoSessionHandle; - - /// - public Handle DeviceHandle; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_SHARED_RESOURCE_INPUT -public partial struct AuthenticatedConfigureSharedResourceInput -{ - /// - public AuthenticatedConfigureInput Parameters; - - /// - public AuthenticatedProcessIdentifierType ProcessType; - - /// - public Handle ProcessHandle; - - /// - public Bool32 AllowAccess; -} - -/// -/// D3D11_AUTHENTICATED_CONFIGURE_ACCESSIBLE_ENCRYPTION_INPUT -public partial struct AuthenticatedConfigureAccessibleEncryptionInput -{ - /// - public AuthenticatedConfigureInput Parameters; - - /// - public Guid EncryptionGuid; -} - -/// -/// D3D11_TEX2D_VDOV -public partial struct Texture2DVdov -{ - /// - public uint ArraySlice; -} - -/// -/// D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC -public partial struct VideoDecoderOutputViewDescription -{ - /// - public Guid DecodeProfile; - - /// - public VdovDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref Texture2DVdov Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public Texture2DVdov Texture2D; - } -} - -/// -/// D3D11_TEX2D_VPIV -public partial struct Texture2DVpiv -{ - /// - public uint MipSlice; - - /// - public uint ArraySlice; -} - -/// -/// D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC -public partial struct VideoProcessorInputViewDescription -{ - /// - public uint FourCC; - - /// - public VpivDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref Texture2DVpiv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public Texture2DVpiv Texture2D; - } -} - -/// -/// D3D11_TEX2D_VPOV -public partial struct Texture2DVpov -{ - /// - public uint MipSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_VPOV -public partial struct Texture2DArrayVpov -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC -public partial struct VideoProcessorOutputViewDescription -{ - /// - public VpovDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref Texture2DVpov Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayVpov Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public Texture2DVpov Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayVpov Texture2DArray; - } -} - -/// -/// D3D11_MESSAGE -public partial struct Message -{ - /// - public MessageCategory Category; - - /// - public MessageSeverity Severity; - - /// - public MessageId ID; - - /// - public unsafe byte* pDescription; - - /// - public nuint DescriptionByteLength; -} - -/// -/// D3D11_INFO_QUEUE_FILTER_DESC -public partial struct InfoQueueFilterDescription -{ - /// - public uint NumCategories; - - /// - public unsafe MessageCategory* pCategoryList; - - /// - public uint NumSeverities; - - /// - public unsafe MessageSeverity* pSeverityList; - - /// - public uint NumIDs; - - /// - public unsafe MessageId* pIDList; -} - -/// -/// D3D11_INFO_QUEUE_FILTER -public partial struct InfoQueueFilter -{ - /// - public InfoQueueFilterDescription AllowList; - - /// - public InfoQueueFilterDescription DenyList; -} - -/// -/// D3D11_RENDER_TARGET_BLEND_DESC1 -public partial struct RenderTargetBlendDescription1 -{ - /// - public Bool32 BlendEnable; - - /// - public Bool32 LogicOpEnable; - - /// - public Blend SrcBlend; - - /// - public Blend DestBlend; - - /// - public BlendOperation BlendOp; - - /// - public Blend SrcBlendAlpha; - - /// - public Blend DestBlendAlpha; - - /// - public BlendOperation BlendOpAlpha; - - /// - public LogicOperation LogicOp; - - /// - public ColorWriteEnable RenderTargetWriteMask; -} - -/// -/// D3D11_BLEND_DESC1 -public partial struct BlendDescription1 -{ - /// - public Bool32 AlphaToCoverageEnable; - - /// - public Bool32 IndependentBlendEnable; - - /// - public RenderTarget__FixedBuffer RenderTarget; - - public unsafe struct RenderTarget__FixedBuffer - { - public RenderTargetBlendDescription1 e0; - public RenderTargetBlendDescription1 e1; - public RenderTargetBlendDescription1 e2; - public RenderTargetBlendDescription1 e3; - public RenderTargetBlendDescription1 e4; - public RenderTargetBlendDescription1 e5; - public RenderTargetBlendDescription1 e6; - public RenderTargetBlendDescription1 e7; - - [UnscopedRef] - public ref RenderTargetBlendDescription1 this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 8); - } - } -} - -/// -/// D3D11_RASTERIZER_DESC1 -public partial struct RasterizerDescription1 -{ - /// - public FillMode FillMode; - - /// - public CullMode CullMode; - - /// - public Bool32 FrontCounterClockwise; - - /// - public int DepthBias; - - /// - public float DepthBiasClamp; - - /// - public float SlopeScaledDepthBias; - - /// - public Bool32 DepthClipEnable; - - /// - public Bool32 ScissorEnable; - - /// - public Bool32 MultisampleEnable; - - /// - public Bool32 AntialiasedLineEnable; - - /// - public uint ForcedSampleCount; -} - -/// -/// D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK -public partial struct VideoDecoderSubSampleMappingBlock -{ - /// - public uint ClearSize; - - /// - public uint EncryptedSize; -} - -/// -/// D3D11_VIDEO_DECODER_BUFFER_DESC1 -public partial struct VideoDecoderBufferDescription1 -{ - /// - public VideoDecoderBufferType BufferType; - - /// - public uint DataOffset; - - /// - public uint DataSize; - - /// - public unsafe void* pIV; - - /// - public uint IVSize; - - /// - public unsafe VideoDecoderSubSampleMappingBlock* pSubSampleMappingBlock; - - /// - public uint SubSampleMappingCount; -} - -/// -/// D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION -public partial struct VideoDecoderBeginFrameCryptoSession -{ - /// - public unsafe ID3D11CryptoSession* pCryptoSession; - - /// - public uint BlobSize; - - /// - public unsafe void* pBlob; - - /// - public unsafe Guid* pKeyInfoId; - - /// - public uint PrivateDataSize; - - /// - public unsafe void* pPrivateData; -} - -/// -/// D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT -public partial struct VideoProcessorStreamBehaviorHint -{ - /// - public Bool32 Enable; - - /// - public uint Width; - - /// - public uint Height; - - /// - public Graphics.Dxgi.Common.Format Format; -} - -/// -/// D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA -public partial struct KeyExchangeHWProtectionInputData -{ - /// - public uint PrivateDataSize; - - /// - public uint HWProtectionDataSize; - - /// - public unsafe fixed byte pbInput[4]; -} - -/// -/// D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA -public partial struct KeyExchangeHWProtectionOutputData -{ - /// - public uint PrivateDataSize; - - /// - public uint MaxHWProtectionDataSize; - - /// - public uint HWProtectionDataSize; - - /// - public ulong TransportTime; - - /// - public ulong ExecutionTime; - - /// - public unsafe fixed byte pbOutput[4]; -} - -/// -/// D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA -public partial struct KeyExchangeHWProtectionData -{ - /// - public uint HWProtectionFunctionID; - - /// - public unsafe KeyExchangeHWProtectionInputData* pInputData; - - /// - public unsafe KeyExchangeHWProtectionOutputData* pOutputData; - - /// - public HResult Status; -} - -/// -/// D3D11_VIDEO_SAMPLE_DESC -public partial struct VideoSampleDescription -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Dxgi.Common.ColorSpaceType ColorSpace; -} - -/// -/// D3D11_TILED_RESOURCE_COORDINATE -public partial struct TiledResourceCoordinate -{ - /// - public uint X; - - /// - public uint Y; - - /// - public uint Z; - - /// - public uint Subresource; -} - -/// -/// D3D11_TILE_REGION_SIZE -public partial struct TileRegionSize -{ - /// - public uint NumTiles; - - /// - public Bool32 bUseBox; - - /// - public uint Width; - - /// - public ushort Height; - - /// - public ushort Depth; -} - -/// -/// D3D11_SUBRESOURCE_TILING -public partial struct SubresourceTiling -{ - /// - public uint WidthInTiles; - - /// - public ushort HeightInTiles; - - /// - public ushort DepthInTiles; - - /// - public uint StartTileIndexInOverallResource; -} - -/// -/// D3D11_TILE_SHAPE -public partial struct TileShape -{ - /// - public uint WidthInTexels; - - /// - public uint HeightInTexels; - - /// - public uint DepthInTexels; -} - -/// -/// D3D11_PACKED_MIP_DESC -public partial struct PackedMipDescription -{ - /// - public byte NumStandardMips; - - /// - public byte NumPackedMips; - - /// - public uint NumTilesForPackedMips; - - /// - public uint StartTileIndexInOverallResource; -} - -/// -/// D3D11_TEXTURE2D_DESC1 -public partial struct Texture2DDescription1 -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint MipLevels; - - /// - public uint ArraySize; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Dxgi.Common.SampleDescription SampleDesc; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; - - /// - public TextureLayout TextureLayout; -} - -/// -/// D3D11_TEXTURE3D_DESC1 -public partial struct Texture3DDescription1 -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; - - /// - public uint MipLevels; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Usage Usage; - - /// - public BindFlags BindFlags; - - /// - public CpuAccessFlags CPUAccessFlags; - - /// - public ResourceMiscFlags MiscFlags; - - /// - public TextureLayout TextureLayout; -} - -/// -/// D3D11_RASTERIZER_DESC2 -public partial struct RasterizerDescription2 -{ - /// - public FillMode FillMode; - - /// - public CullMode CullMode; - - /// - public Bool32 FrontCounterClockwise; - - /// - public int DepthBias; - - /// - public float DepthBiasClamp; - - /// - public float SlopeScaledDepthBias; - - /// - public Bool32 DepthClipEnable; - - /// - public Bool32 ScissorEnable; - - /// - public Bool32 MultisampleEnable; - - /// - public Bool32 AntialiasedLineEnable; - - /// - public uint ForcedSampleCount; - - /// - public ConservativeRasterizationMode ConservativeRaster; -} - -/// -/// D3D11_TEX2D_SRV1 -public partial struct Texture2DSrv1 -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_SRV1 -public partial struct Texture2DArraySrv1 -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_SHADER_RESOURCE_VIEW_DESC1 -public partial struct ShaderResourceViewDescription1 -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Direct3D.SrvDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferSrv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DSrv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArraySrv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DSrv1 Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArraySrv1 Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsSrv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArraySrv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DSrv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [UnscopedRef] - public ref TexureCubeSrv TextureCube - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCube; - } - } - - [UnscopedRef] - public ref TexureCubeArraySrv TextureCubeArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCubeArray; - } - } - - [UnscopedRef] - public ref BufferExtendedSrv BufferEx - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.BufferEx; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferSrv Buffer; - - /// - [FieldOffset(0)] - public Texture1DSrv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArraySrv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DSrv1 Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArraySrv1 Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsSrv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArraySrv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DSrv Texture3D; - - /// - [FieldOffset(0)] - public TexureCubeSrv TextureCube; - - /// - [FieldOffset(0)] - public TexureCubeArraySrv TextureCubeArray; - - /// - [FieldOffset(0)] - public BufferExtendedSrv BufferEx; - } -} - -/// -/// D3D11_TEX2D_RTV1 -public partial struct Texture2DRtv1 -{ - /// - public uint MipSlice; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_RTV1 -public partial struct Texture2DArrayRtv1 -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_RENDER_TARGET_VIEW_DESC1 -public partial struct RenderTargetViewDescription1 -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public RtvDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferRtv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DRtv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayRtv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DRtv1 Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayRtv1 Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsRtv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArrayRtv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DRtv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferRtv Buffer; - - /// - [FieldOffset(0)] - public Texture1DRtv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayRtv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DRtv1 Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayRtv1 Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsRtv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArrayRtv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DRtv Texture3D; - } -} - -/// -/// D3D11_TEX2D_UAV1 -public partial struct Texture2DUav1 -{ - /// - public uint MipSlice; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_TEX2D_ARRAY_UAV1 -public partial struct Texture2DArrayUav1 -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; -} - -/// -/// D3D11_UNORDERED_ACCESS_VIEW_DESC1 -public partial struct UnorderedAccessViewDescription1 -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public UavDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferUav Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DUav Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayUav Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DUav1 Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayUav1 Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture3DUav Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferUav Buffer; - - /// - [FieldOffset(0)] - public Texture1DUav Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayUav Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DUav1 Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayUav1 Texture2DArray; - - /// - [FieldOffset(0)] - public Texture3DUav Texture3D; - } -} - -/// -/// D3D11_QUERY_DESC1 -public partial struct QueryDescription1 -{ - /// - public QueryType Query; - - /// - public QueryMiscFlags MiscFlags; - - /// - public ContextType ContextType; -} - -/// -/// D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM -public partial struct FeatureDataVideoDecoderHistogram -{ - /// - public VideoDecoderDescription DecoderDesc; - - /// - public VideoDecoderHistogramComponentFlags Components; - - /// - public uint BinCount; - - /// - public uint CounterBitDepth; -} - -/// -/// D3D11_VIDEO_DECODER_BUFFER_DESC2 -public partial struct VideoDecoderBufferDescription2 -{ - /// - public VideoDecoderBufferType BufferType; - - /// - public uint DataOffset; - - /// - public uint DataSize; - - /// - public unsafe void* pIV; - - /// - public uint IVSize; - - /// - public unsafe VideoDecoderSubSampleMappingBlock* pSubSampleMappingBlock; - - /// - public uint SubSampleMappingCount; - - /// - public uint cBlocksStripeEncrypted; - - /// - public uint cBlocksStripeClear; -} - -/// -/// D3D11_FEATURE_DATA_D3D11_OPTIONS4 -public partial struct FeatureDataD3D11Options4 -{ - /// - public Bool32 ExtendedNV12SharedTextureSupported; -} - -/// -/// D3D11_SIGNATURE_PARAMETER_DESC -public partial struct SignatureParameterDescription -{ - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public uint Register; - - /// - public Graphics.Direct3D.Name SystemValueType; - - /// - public Graphics.Direct3D.RegisterComponentType ComponentType; - - /// - public byte Mask; - - /// - public byte ReadWriteMask; - - /// - public uint Stream; - - /// - public Graphics.Direct3D.MinPrecision MinPrecision; -} - -/// -/// D3D11_SHADER_BUFFER_DESC -public partial struct ShaderBufferDescription -{ - /// - public unsafe sbyte* Name; - - /// - public Graphics.Direct3D.CBufferType Type; - - /// - public uint Variables; - - /// - public uint Size; - - /// - public uint uFlags; -} - -/// -/// D3D11_SHADER_VARIABLE_DESC -public partial struct ShaderVariableDescription -{ - /// - public unsafe sbyte* Name; - - /// - public uint StartOffset; - - /// - public uint Size; - - /// - public uint uFlags; - - /// - public unsafe void* DefaultValue; - - /// - public uint StartTexture; - - /// - public uint TextureSize; - - /// - public uint StartSampler; - - /// - public uint SamplerSize; -} - -/// -/// D3D11_SHADER_TYPE_DESC -public partial struct ShaderTypeDescription -{ - /// - public Graphics.Direct3D.ShaderVariableClass Class; - - /// - public Graphics.Direct3D.ShaderVariableType Type; - - /// - public uint Rows; - - /// - public uint Columns; - - /// - public uint Elements; - - /// - public uint Members; - - /// - public uint Offset; - - /// - public unsafe sbyte* Name; -} - -/// -/// D3D11_SHADER_DESC -public partial struct ShaderDescription -{ - /// - public uint Version; - - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint ConstantBuffers; - - /// - public uint BoundResources; - - /// - public uint InputParameters; - - /// - public uint OutputParameters; - - /// - public uint InstructionCount; - - /// - public uint TempRegisterCount; - - /// - public uint TempArrayCount; - - /// - public uint DefCount; - - /// - public uint DclCount; - - /// - public uint TextureNormalInstructions; - - /// - public uint TextureLoadInstructions; - - /// - public uint TextureCompInstructions; - - /// - public uint TextureBiasInstructions; - - /// - public uint TextureGradientInstructions; - - /// - public uint FloatInstructionCount; - - /// - public uint IntInstructionCount; - - /// - public uint UintInstructionCount; - - /// - public uint StaticFlowControlCount; - - /// - public uint DynamicFlowControlCount; - - /// - public uint MacroInstructionCount; - - /// - public uint ArrayInstructionCount; - - /// - public uint CutInstructionCount; - - /// - public uint EmitInstructionCount; - - /// - public Graphics.Direct3D.PrimitiveTopology GSOutputTopology; - - /// - public uint GSMaxOutputVertexCount; - - /// - public Graphics.Direct3D.Primitive InputPrimitive; - - /// - public uint PatchConstantParameters; - - /// - public uint cGSInstanceCount; - - /// - public uint cControlPoints; - - /// - public Graphics.Direct3D.TessellatorOutputPrimitive HSOutputPrimitive; - - /// - public Graphics.Direct3D.TessellatorPartitioning HSPartitioning; - - /// - public Graphics.Direct3D.TessellatorDomain TessellatorDomain; - - /// - public uint cBarrierInstructions; - - /// - public uint cInterlockedInstructions; - - /// - public uint cTextureStoreInstructions; -} - -/// -/// D3D11_SHADER_INPUT_BIND_DESC -public partial struct ShaderInputBindDescription -{ - /// - public unsafe sbyte* Name; - - /// - public Graphics.Direct3D.ShaderInputType Type; - - /// - public uint BindPoint; - - /// - public uint BindCount; - - /// - public uint uFlags; - - /// - public Graphics.Direct3D.ResourceReturnType ReturnType; - - /// - public Graphics.Direct3D.SrvDimension Dimension; - - /// - public uint NumSamples; -} - -/// -/// D3D11_LIBRARY_DESC -public partial struct LibraryDescription -{ - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint FunctionCount; -} - -/// -/// D3D11_FUNCTION_DESC -public partial struct FunctionDescription -{ - /// - public uint Version; - - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint ConstantBuffers; - - /// - public uint BoundResources; - - /// - public uint InstructionCount; - - /// - public uint TempRegisterCount; - - /// - public uint TempArrayCount; - - /// - public uint DefCount; - - /// - public uint DclCount; - - /// - public uint TextureNormalInstructions; - - /// - public uint TextureLoadInstructions; - - /// - public uint TextureCompInstructions; - - /// - public uint TextureBiasInstructions; - - /// - public uint TextureGradientInstructions; - - /// - public uint FloatInstructionCount; - - /// - public uint IntInstructionCount; - - /// - public uint UintInstructionCount; - - /// - public uint StaticFlowControlCount; - - /// - public uint DynamicFlowControlCount; - - /// - public uint MacroInstructionCount; - - /// - public uint ArrayInstructionCount; - - /// - public uint MovInstructionCount; - - /// - public uint MovcInstructionCount; - - /// - public uint ConversionInstructionCount; - - /// - public uint BitwiseInstructionCount; - - /// - public Graphics.Direct3D.FeatureLevel MinFeatureLevel; - - /// - public ulong RequiredFeatureFlags; - - /// - public unsafe sbyte* Name; - - /// - public int FunctionParameterCount; - - /// - public Bool32 HasReturn; - - /// - public Bool32 Has10Level9VertexShader; - - /// - public Bool32 Has10Level9PixelShader; -} - -/// -/// D3D11_PARAMETER_DESC -public partial struct ParameterDescription -{ - /// - public unsafe sbyte* Name; - - /// - public unsafe sbyte* SemanticName; - - /// - public Graphics.Direct3D.ShaderVariableType Type; - - /// - public Graphics.Direct3D.ShaderVariableClass Class; - - /// - public uint Rows; - - /// - public uint Columns; - - /// - public Graphics.Direct3D.InterpolationMode InterpolationMode; - - /// - public Graphics.Direct3D.ParameterFlags Flags; - - /// - public uint FirstInRegister; - - /// - public uint FirstInComponent; - - /// - public uint FirstOutRegister; - - /// - public uint FirstOutComponent; -} - -/// -/// D3D11_VERTEX_SHADER_TRACE_DESC -public partial struct VertexShaderTraceDescription -{ - /// - public ulong Invocation; -} - -/// -/// D3D11_HULL_SHADER_TRACE_DESC -public partial struct HullShaderTraceDescription -{ - /// - public ulong Invocation; -} - -/// -/// D3D11_DOMAIN_SHADER_TRACE_DESC -public partial struct DomainShaderTraceDescription -{ - /// - public ulong Invocation; -} - -/// -/// D3D11_GEOMETRY_SHADER_TRACE_DESC -public partial struct GeometryShaderTraceDescription -{ - /// - public ulong Invocation; -} - -/// -/// D3D11_PIXEL_SHADER_TRACE_DESC -public partial struct PixelShaderTraceDescription -{ - /// - public ulong Invocation; - - /// - public int X; - - /// - public int Y; - - /// - public ulong SampleMask; -} - -/// -/// D3D11_COMPUTE_SHADER_TRACE_DESC -public partial struct ComputeShaderTraceDescription -{ - /// - public ulong Invocation; - - /// - public unsafe fixed uint ThreadIDInGroup[3]; - - /// - public unsafe fixed uint ThreadGroupID[3]; -} - -/// -/// D3D11_SHADER_TRACE_DESC -public partial struct ShaderTraceDescription -{ - /// - public ShaderType Type; - - /// - public uint Flags; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref VertexShaderTraceDescription VertexShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.VertexShaderTraceDesc; - } - } - - [UnscopedRef] - public ref HullShaderTraceDescription HullShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.HullShaderTraceDesc; - } - } - - [UnscopedRef] - public ref DomainShaderTraceDescription DomainShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.DomainShaderTraceDesc; - } - } - - [UnscopedRef] - public ref GeometryShaderTraceDescription GeometryShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.GeometryShaderTraceDesc; - } - } - - [UnscopedRef] - public ref PixelShaderTraceDescription PixelShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.PixelShaderTraceDesc; - } - } - - [UnscopedRef] - public ref ComputeShaderTraceDescription ComputeShaderTraceDesc - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.ComputeShaderTraceDesc; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public VertexShaderTraceDescription VertexShaderTraceDesc; - - /// - [FieldOffset(0)] - public HullShaderTraceDescription HullShaderTraceDesc; - - /// - [FieldOffset(0)] - public DomainShaderTraceDescription DomainShaderTraceDesc; - - /// - [FieldOffset(0)] - public GeometryShaderTraceDescription GeometryShaderTraceDesc; - - /// - [FieldOffset(0)] - public PixelShaderTraceDescription PixelShaderTraceDesc; - - /// - [FieldOffset(0)] - public ComputeShaderTraceDescription ComputeShaderTraceDesc; - } -} - -/// -/// D3D11_TRACE_STATS -public partial struct TraceStats -{ - /// - public ShaderTraceDescription TraceDesc; - - /// - public byte NumInvocationsInStamp; - - /// - public byte TargetStampIndex; - - /// - public uint NumTraceSteps; - - /// - public unsafe fixed byte InputMask[32]; - - /// - public unsafe fixed byte OutputMask[32]; - - /// - public ushort NumTemps; - - /// - public ushort MaxIndexableTempIndex; - - /// - public unsafe fixed ushort IndexableTempSize[4096]; - - /// - public ushort ImmediateConstantBufferSize; - - /// - public unsafe fixed uint PixelPosition[8]; - - /// - public unsafe fixed ulong PixelCoverageMask[4]; - - /// - public unsafe fixed ulong PixelDiscardedMask[4]; - - /// - public unsafe fixed ulong PixelCoverageMaskAfterShader[4]; - - /// - public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMask[4]; - - /// - public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepth[4]; - - /// - public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepthStencil[4]; - - /// - public Bool32 PSOutputsDepth; - - /// - public Bool32 PSOutputsMask; - - /// - public TraceGSInputPrimitive GSInputPrimitive; - - /// - public Bool32 GSInputsPrimitiveID; - - /// - public unsafe fixed byte HSOutputPatchConstantMask[32]; - - /// - public unsafe fixed byte DSInputPatchConstantMask[32]; -} - -/// -/// D3D11_TRACE_VALUE -public partial struct TraceValue -{ - /// - public unsafe fixed uint Bits[4]; - - /// - public byte ValidMask; -} - -/// -/// D3D11_TRACE_REGISTER -public partial struct TraceRegister -{ - /// - public TraceRegisterType RegType; - - /// - public _Anonymous_e__Union Anonymous; - - /// - public byte OperandIndex; - - /// - public byte Flags; - - [UnscopedRef] - public ref ushort Index1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Index1D; - } - } - - [UnscopedRef] - public unsafe Span Index2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return MemoryMarshal.CreateSpan(ref Anonymous.Index2D[0], 2); - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public ushort Index1D; - - /// - [FieldOffset(0)] - public unsafe fixed ushort Index2D[2]; - } -} - -/// -/// D3D11_TRACE_STEP -public partial struct TraceStep -{ - /// - public uint ID; - - /// - public Bool32 InstructionActive; - - /// - public byte NumRegistersWritten; - - /// - public byte NumRegistersRead; - - /// - public ushort MiscOperations; - - /// - public uint OpcodeType; - - /// - public ulong CurrentGlobalCycle; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("d3d11.dll", ExactSpelling = true)] - public static extern HResult D3D11CreateDevice(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); - - [DllImport("d3d11.dll", ExactSpelling = true)] - public static extern HResult D3D11CreateDeviceAndSwapChain(Graphics.Dxgi.IDXGIAdapter* pAdapter, Graphics.Direct3D.DriverType DriverType, IntPtr Software, CreateDeviceFlags Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, uint SDKVersion, Graphics.Dxgi.SwapChainDescription* pSwapChainDesc, Graphics.Dxgi.IDXGISwapChain** ppSwapChain, ID3D11Device** ppDevice, Graphics.Direct3D.FeatureLevel* pFeatureLevel, ID3D11DeviceContext** ppImmediateContext); -} -#endregion Functions diff --git a/src/Vortice.Win32.Direct3D11/Generated/DomainShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/DomainShaderTraceDescription.cs new file mode 100644 index 0000000..717671b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DomainShaderTraceDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DOMAIN_SHADER_TRACE_DESC +public partial struct DomainShaderTraceDescription +{ + /// + public ulong Invocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DrawIndexedInstancedIndirectArgs.cs b/src/Vortice.Win32.Direct3D11/Generated/DrawIndexedInstancedIndirectArgs.cs new file mode 100644 index 0000000..dc8877e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DrawIndexedInstancedIndirectArgs.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DRAW_INDEXED_INSTANCED_INDIRECT_ARGS +public partial struct DrawIndexedInstancedIndirectArgs +{ + /// + public uint IndexCountPerInstance; + + /// + public uint InstanceCount; + + /// + public uint StartIndexLocation; + + /// + public int BaseVertexLocation; + + /// + public uint StartInstanceLocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DrawInstancedIndirectArgs.cs b/src/Vortice.Win32.Direct3D11/Generated/DrawInstancedIndirectArgs.cs new file mode 100644 index 0000000..4ea1569 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DrawInstancedIndirectArgs.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DRAW_INSTANCED_INDIRECT_ARGS +public partial struct DrawInstancedIndirectArgs +{ + /// + public uint VertexCountPerInstance; + + /// + public uint InstanceCount; + + /// + public uint StartVertexLocation; + + /// + public uint StartInstanceLocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DsvDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/DsvDimension.cs new file mode 100644 index 0000000..95f6b5f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DsvDimension.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DSV_DIMENSION +public enum DsvDimension : int +{ + /// + /// D3D11_DSV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_DSV_DIMENSION_TEXTURE1D + Texture1D = 1, + /// + /// D3D11_DSV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 2, + /// + /// D3D11_DSV_DIMENSION_TEXTURE2D + Texture2D = 3, + /// + /// D3D11_DSV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 4, + /// + /// D3D11_DSV_DIMENSION_TEXTURE2DMS + Texture2DMs = 5, + /// + /// D3D11_DSV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 6, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/DsvFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/DsvFlags.cs new file mode 100644 index 0000000..c98b3a5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/DsvFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_DSV_FLAG +[Flags] +public enum DsvFlags : int +{ + None = 0, + /// + /// D3D11_DSV_READ_ONLY_DEPTH + ReadOnlyDepth = 1, + /// + /// D3D11_DSV_READ_ONLY_STENCIL + ReadOnlyStencil = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/EncryptedBlockInfo.cs b/src/Vortice.Win32.Direct3D11/Generated/EncryptedBlockInfo.cs new file mode 100644 index 0000000..9c5ce1e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/EncryptedBlockInfo.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_ENCRYPTED_BLOCK_INFO +public partial struct EncryptedBlockInfo +{ + /// + public uint NumEncryptedBytesAtBeginning; + + /// + public uint NumBytesInSkipPattern; + + /// + public uint NumBytesInEncryptPattern; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Feature.cs b/src/Vortice.Win32.Direct3D11/Generated/Feature.cs new file mode 100644 index 0000000..cff4f50 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Feature.cs @@ -0,0 +1,79 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE +public enum Feature : int +{ + /// + /// D3D11_FEATURE_THREADING + Threading = 0, + /// + /// D3D11_FEATURE_DOUBLES + Doubles = 1, + /// + /// D3D11_FEATURE_FORMAT_SUPPORT + FormatSupport = 2, + /// + /// D3D11_FEATURE_FORMAT_SUPPORT2 + FormatSupport2 = 3, + /// + /// D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS + XHardwareOptions = 4, + /// + /// D3D11_FEATURE_D3D11_OPTIONS + Options = 5, + /// + /// D3D11_FEATURE_ARCHITECTURE_INFO + ArchitectureInfo = 6, + /// + /// D3D11_FEATURE_D3D9_OPTIONS + D3d9Options = 7, + /// + /// D3D11_FEATURE_SHADER_MIN_PRECISION_SUPPORT + ShaderMinPrecisionSupport = 8, + /// + /// D3D11_FEATURE_D3D9_SHADOW_SUPPORT + D3d9ShadowSupport = 9, + /// + /// D3D11_FEATURE_D3D11_OPTIONS1 + Options1 = 10, + /// + /// D3D11_FEATURE_D3D9_SIMPLE_INSTANCING_SUPPORT + D3d9SimpleInstancingSupport = 11, + /// + /// D3D11_FEATURE_MARKER_SUPPORT + MarkerSupport = 12, + /// + /// D3D11_FEATURE_D3D9_OPTIONS1 + D3d9Options1 = 13, + /// + /// D3D11_FEATURE_D3D11_OPTIONS2 + Options2 = 14, + /// + /// D3D11_FEATURE_D3D11_OPTIONS3 + Options3 = 15, + /// + /// D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT + GpuVirtualAddressSupport = 16, + /// + /// D3D11_FEATURE_D3D11_OPTIONS4 + Options4 = 17, + /// + /// D3D11_FEATURE_SHADER_CACHE + ShaderCache = 18, + /// + /// D3D11_FEATURE_D3D11_OPTIONS5 + Options5 = 19, + /// + /// D3D11_FEATURE_DISPLAYABLE + Displayable = 20, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataArchitectureInfo.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataArchitectureInfo.cs new file mode 100644 index 0000000..3962829 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataArchitectureInfo.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_ARCHITECTURE_INFO +public partial struct FeatureDataArchitectureInfo +{ + /// + public Bool32 TileBasedDeferredRenderer; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D10XHardwareOptions.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D10XHardwareOptions.cs new file mode 100644 index 0000000..7c0de3c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D10XHardwareOptions.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS +public partial struct FeatureDataD3D10XHardwareOptions +{ + /// + public Bool32 ComputeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options.cs new file mode 100644 index 0000000..a17132c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS +public partial struct FeatureDataD3D11Options +{ + /// + public Bool32 OutputMergerLogicOp; + + /// + public Bool32 UAVOnlyRenderingForcedSampleCount; + + /// + public Bool32 DiscardAPIsSeenByDriver; + + /// + public Bool32 FlagsForUpdateAndCopySeenByDriver; + + /// + public Bool32 ClearView; + + /// + public Bool32 CopyWithOverlap; + + /// + public Bool32 ConstantBufferPartialUpdate; + + /// + public Bool32 ConstantBufferOffsetting; + + /// + public Bool32 MapNoOverwriteOnDynamicConstantBuffer; + + /// + public Bool32 MapNoOverwriteOnDynamicBufferSRV; + + /// + public Bool32 MultisampleRTVWithForcedSampleCountOne; + + /// + public Bool32 SAD4ShaderInstructions; + + /// + public Bool32 ExtendedDoublesShaderInstructions; + + /// + public Bool32 ExtendedResourceSharing; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options1.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options1.cs new file mode 100644 index 0000000..0564d13 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options1.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS1 +public partial struct FeatureDataD3D11Options1 +{ + /// + public TiledResourcesTier TiledResourcesTier; + + /// + public Bool32 MinMaxFiltering; + + /// + public Bool32 ClearViewAlsoSupportsDepthOnlyFormats; + + /// + public Bool32 MapOnDefaultBuffers; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options2.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options2.cs new file mode 100644 index 0000000..f64de25 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options2.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS2 +public partial struct FeatureDataD3D11Options2 +{ + /// + public Bool32 PSSpecifiedStencilRefSupported; + + /// + public Bool32 TypedUAVLoadAdditionalFormats; + + /// + public Bool32 ROVsSupported; + + /// + public ConservativeRasterizationTier ConservativeRasterizationTier; + + /// + public TiledResourcesTier TiledResourcesTier; + + /// + public Bool32 MapOnDefaultTextures; + + /// + public Bool32 StandardSwizzle; + + /// + public Bool32 UnifiedMemoryArchitecture; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options3.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options3.cs new file mode 100644 index 0000000..7f82d8e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options3.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS3 +public partial struct FeatureDataD3D11Options3 +{ + /// + public Bool32 VPAndRTArrayIndexFromAnyShaderFeedingRasterizer; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options4.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options4.cs new file mode 100644 index 0000000..bf7e42a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options4.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS4 +public partial struct FeatureDataD3D11Options4 +{ + /// + public Bool32 ExtendedNV12SharedTextureSupported; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options5.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options5.cs new file mode 100644 index 0000000..44f2440 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3D11Options5.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D11_OPTIONS5 +public partial struct FeatureDataD3D11Options5 +{ + /// + public SharedResourceTier SharedResourceTier; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options.cs new file mode 100644 index 0000000..f0d2530 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D9_OPTIONS +public partial struct FeatureDataD3d9Options +{ + /// + public Bool32 FullNonPow2TextureSupport; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options1.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options1.cs new file mode 100644 index 0000000..d964934 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9Options1.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D9_OPTIONS1 +public partial struct FeatureDataD3d9Options1 +{ + /// + public Bool32 FullNonPow2TextureSupported; + + /// + public Bool32 DepthAsTextureWithLessEqualComparisonFilterSupported; + + /// + public Bool32 SimpleInstancingSupported; + + /// + public Bool32 TextureCubeFaceRenderTargetWithNonCubeDepthStencilSupported; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9ShadowSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9ShadowSupport.cs new file mode 100644 index 0000000..e817384 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9ShadowSupport.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D9_SHADOW_SUPPORT +public partial struct FeatureDataD3d9ShadowSupport +{ + /// + public Bool32 SupportsDepthAsTextureWithLessEqualComparisonFilter; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9SimpleInstancingSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9SimpleInstancingSupport.cs new file mode 100644 index 0000000..2c3039c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataD3d9SimpleInstancingSupport.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_D3D9_SIMPLE_INSTANCING_SUPPORT +public partial struct FeatureDataD3d9SimpleInstancingSupport +{ + /// + public Bool32 SimpleInstancingSupported; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDisplayable.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDisplayable.cs new file mode 100644 index 0000000..dd5f782 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDisplayable.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_DISPLAYABLE +public partial struct FeatureDataDisplayable +{ + /// + public Bool32 DisplayableTexture; + + /// + public SharedResourceTier SharedResourceTier; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDoubles.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDoubles.cs new file mode 100644 index 0000000..3375364 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataDoubles.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_DOUBLES +public partial struct FeatureDataDoubles +{ + /// + public Bool32 DoublePrecisionFloatShaderOps; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport.cs new file mode 100644 index 0000000..db91d50 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_FORMAT_SUPPORT +public partial struct FeatureDataFormatSupport +{ + /// + public Graphics.Dxgi.Common.Format InFormat; + + /// + public FormatSupport OutFormatSupport; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport2.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport2.cs new file mode 100644 index 0000000..1326f83 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataFormatSupport2.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_FORMAT_SUPPORT2 +public partial struct FeatureDataFormatSupport2 +{ + /// + public Graphics.Dxgi.Common.Format InFormat; + + /// + public FormatSupport2 OutFormatSupport2; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataGpuVirtualAddressSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataGpuVirtualAddressSupport.cs new file mode 100644 index 0000000..09d7766 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataGpuVirtualAddressSupport.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT +public partial struct FeatureDataGpuVirtualAddressSupport +{ + /// + public uint MaxGPUVirtualAddressBitsPerResource; + + /// + public uint MaxGPUVirtualAddressBitsPerProcess; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataMarkerSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataMarkerSupport.cs new file mode 100644 index 0000000..26d492a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataMarkerSupport.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_MARKER_SUPPORT +public partial struct FeatureDataMarkerSupport +{ + /// + public Bool32 Profile; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderCache.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderCache.cs new file mode 100644 index 0000000..23e5053 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderCache.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_SHADER_CACHE +public partial struct FeatureDataShaderCache +{ + /// + public uint SupportFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderMinPrecisionSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderMinPrecisionSupport.cs new file mode 100644 index 0000000..5aaa92f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataShaderMinPrecisionSupport.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_SHADER_MIN_PRECISION_SUPPORT +public partial struct FeatureDataShaderMinPrecisionSupport +{ + /// + public uint PixelShaderMinPrecision; + + /// + public uint AllOtherShaderStagesMinPrecision; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataThreading.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataThreading.cs new file mode 100644 index 0000000..bb3db5a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataThreading.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_THREADING +public partial struct FeatureDataThreading +{ + /// + public Bool32 DriverConcurrentCreates; + + /// + public Bool32 DriverCommandLists; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureDataVideoDecoderHistogram.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataVideoDecoderHistogram.cs new file mode 100644 index 0000000..c9f2514 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureDataVideoDecoderHistogram.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_DATA_VIDEO_DECODER_HISTOGRAM +public partial struct FeatureDataVideoDecoderHistogram +{ + /// + public VideoDecoderDescription DecoderDesc; + + /// + public VideoDecoderHistogramComponentFlags Components; + + /// + public uint BinCount; + + /// + public uint CounterBitDepth; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FeatureVideo.cs b/src/Vortice.Win32.Direct3D11/Generated/FeatureVideo.cs new file mode 100644 index 0000000..2fb0a36 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FeatureVideo.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FEATURE_VIDEO +public enum FeatureVideo : int +{ + /// + /// D3D11_FEATURE_VIDEO_DECODER_HISTOGRAM + DecoderHistogram = 0, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FenceFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/FenceFlags.cs new file mode 100644 index 0000000..3f4a120 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FenceFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FENCE_FLAG +[Flags] +public enum FenceFlags : uint +{ + /// + /// D3D11_FENCE_FLAG_NONE + None = 0, + /// + /// D3D11_FENCE_FLAG_SHARED + Shared = 2, + /// + /// D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER + SharedCrossAdapter = 4, + /// + /// D3D11_FENCE_FLAG_NON_MONITORED + NonMonitored = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FillMode.cs b/src/Vortice.Win32.Direct3D11/Generated/FillMode.cs new file mode 100644 index 0000000..eed6190 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FillMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FILL_MODE +public enum FillMode : int +{ + /// + /// D3D11_FILL_WIREFRAME + Wireframe = 2, + /// + /// D3D11_FILL_SOLID + Solid = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Filter.cs b/src/Vortice.Win32.Direct3D11/Generated/Filter.cs new file mode 100644 index 0000000..54ae98b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Filter.cs @@ -0,0 +1,124 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FILTER +public enum Filter : int +{ + /// + /// D3D11_FILTER_MIN_MAG_MIP_POINT + MinMagMipPoint = 0, + /// + /// D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR + MinMagPointMipLinear = 1, + /// + /// D3D11_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT + MinPointMagLinearMipPoint = 4, + /// + /// D3D11_FILTER_MIN_POINT_MAG_MIP_LINEAR + MinPointMagMipLinear = 5, + /// + /// D3D11_FILTER_MIN_LINEAR_MAG_MIP_POINT + MinLinearMagMipPoint = 16, + /// + /// D3D11_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MinLinearMagPointMipLinear = 17, + /// + /// D3D11_FILTER_MIN_MAG_LINEAR_MIP_POINT + MinMagLinearMipPoint = 20, + /// + /// D3D11_FILTER_MIN_MAG_MIP_LINEAR + MinMagMipLinear = 21, + /// + /// D3D11_FILTER_ANISOTROPIC + Anisotropic = 85, + /// + /// D3D11_FILTER_COMPARISON_MIN_MAG_MIP_POINT + ComparisonMinMagMipPoint = 128, + /// + /// D3D11_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR + ComparisonMinMagPointMipLinear = 129, + /// + /// D3D11_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT + ComparisonMinPointMagLinearMipPoint = 132, + /// + /// D3D11_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR + ComparisonMinPointMagMipLinear = 133, + /// + /// D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT + ComparisonMinLinearMagMipPoint = 144, + /// + /// D3D11_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR + ComparisonMinLinearMagPointMipLinear = 145, + /// + /// D3D11_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT + ComparisonMinMagLinearMipPoint = 148, + /// + /// D3D11_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR + ComparisonMinMagMipLinear = 149, + /// + /// D3D11_FILTER_COMPARISON_ANISOTROPIC + ComparisonAnisotropic = 213, + /// + /// D3D11_FILTER_MINIMUM_MIN_MAG_MIP_POINT + MinimumMinMagMipPoint = 256, + /// + /// D3D11_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR + MinimumMinMagPointMipLinear = 257, + /// + /// D3D11_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT + MinimumMinPointMagLinearMipPoint = 260, + /// + /// D3D11_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR + MinimumMinPointMagMipLinear = 261, + /// + /// D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT + MinimumMinLinearMagMipPoint = 272, + /// + /// D3D11_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MinimumMinLinearMagPointMipLinear = 273, + /// + /// D3D11_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT + MinimumMinMagLinearMipPoint = 276, + /// + /// D3D11_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR + MinimumMinMagMipLinear = 277, + /// + /// D3D11_FILTER_MINIMUM_ANISOTROPIC + MinimumAnisotropic = 341, + /// + /// D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_POINT + MaximumMinMagMipPoint = 384, + /// + /// D3D11_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR + MaximumMinMagPointMipLinear = 385, + /// + /// D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT + MaximumMinPointMagLinearMipPoint = 388, + /// + /// D3D11_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR + MaximumMinPointMagMipLinear = 389, + /// + /// D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT + MaximumMinLinearMagMipPoint = 400, + /// + /// D3D11_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MaximumMinLinearMagPointMipLinear = 401, + /// + /// D3D11_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT + MaximumMinMagLinearMipPoint = 404, + /// + /// D3D11_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR + MaximumMinMagMipLinear = 405, + /// + /// D3D11_FILTER_MAXIMUM_ANISOTROPIC + MaximumAnisotropic = 469, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FilterReductionType.cs b/src/Vortice.Win32.Direct3D11/Generated/FilterReductionType.cs new file mode 100644 index 0000000..7371701 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FilterReductionType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FILTER_REDUCTION_TYPE +public enum FilterReductionType : int +{ + /// + /// D3D11_FILTER_REDUCTION_TYPE_STANDARD + Standard = 0, + /// + /// D3D11_FILTER_REDUCTION_TYPE_COMPARISON + Comparison = 1, + /// + /// D3D11_FILTER_REDUCTION_TYPE_MINIMUM + Minimum = 2, + /// + /// D3D11_FILTER_REDUCTION_TYPE_MAXIMUM + Maximum = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FilterType.cs b/src/Vortice.Win32.Direct3D11/Generated/FilterType.cs new file mode 100644 index 0000000..5887cdb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FilterType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FILTER_TYPE +public enum FilterType : int +{ + /// + /// D3D11_FILTER_TYPE_POINT + Point = 0, + /// + /// D3D11_FILTER_TYPE_LINEAR + Linear = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FormatSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/FormatSupport.cs new file mode 100644 index 0000000..7796355 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FormatSupport.cs @@ -0,0 +1,111 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FORMAT_SUPPORT +[Flags] +public enum FormatSupport : int +{ + None = 0, + /// + /// D3D11_FORMAT_SUPPORT_BUFFER + Buffer = 1, + /// + /// D3D11_FORMAT_SUPPORT_IA_VERTEX_BUFFER + IAVertexBuffer = 2, + /// + /// D3D11_FORMAT_SUPPORT_IA_INDEX_BUFFER + IAIndexBuffer = 4, + /// + /// D3D11_FORMAT_SUPPORT_SO_BUFFER + SOBuffer = 8, + /// + /// D3D11_FORMAT_SUPPORT_TEXTURE1D + Texture1D = 16, + /// + /// D3D11_FORMAT_SUPPORT_TEXTURE2D + Texture2D = 32, + /// + /// D3D11_FORMAT_SUPPORT_TEXTURE3D + Texture3D = 64, + /// + /// D3D11_FORMAT_SUPPORT_TEXTURECUBE + TextureCube = 128, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_LOAD + ShaderLoad = 256, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE + ShaderSample = 512, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_COMPARISON + ShaderSampleComparison = 1024, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_SAMPLE_MONO_TEXT + ShaderSampleMonoText = 2048, + /// + /// D3D11_FORMAT_SUPPORT_MIP + Mip = 4096, + /// + /// D3D11_FORMAT_SUPPORT_MIP_AUTOGEN + MipAutogen = 8192, + /// + /// D3D11_FORMAT_SUPPORT_RENDER_TARGET + RenderTarget = 16384, + /// + /// D3D11_FORMAT_SUPPORT_BLENDABLE + Blendable = 32768, + /// + /// D3D11_FORMAT_SUPPORT_DEPTH_STENCIL + DepthStencil = 65536, + /// + /// D3D11_FORMAT_SUPPORT_CPU_LOCKABLE + CpuLockable = 131072, + /// + /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_RESOLVE + MultisampleResolve = 262144, + /// + /// D3D11_FORMAT_SUPPORT_DISPLAY + Display = 524288, + /// + /// D3D11_FORMAT_SUPPORT_CAST_WITHIN_BIT_LAYOUT + CastWithinBitLayout = 1048576, + /// + /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_RENDERTARGET + MultisampleRendertarget = 2097152, + /// + /// D3D11_FORMAT_SUPPORT_MULTISAMPLE_LOAD + MultisampleLoad = 4194304, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_GATHER + ShaderGather = 8388608, + /// + /// D3D11_FORMAT_SUPPORT_BACK_BUFFER_CAST + BackBufferCast = 16777216, + /// + /// D3D11_FORMAT_SUPPORT_TYPED_UNORDERED_ACCESS_VIEW + TypedUnorderedAccessView = 33554432, + /// + /// D3D11_FORMAT_SUPPORT_SHADER_GATHER_COMPARISON + ShaderGatherComparison = 67108864, + /// + /// D3D11_FORMAT_SUPPORT_DECODER_OUTPUT + DecoderOutput = 134217728, + /// + /// D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT + VideoProcessorOutput = 268435456, + /// + /// D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT + VideoProcessorInput = 536870912, + /// + /// D3D11_FORMAT_SUPPORT_VIDEO_ENCODER + VideoEncoder = 1073741824, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FormatSupport2.cs b/src/Vortice.Win32.Direct3D11/Generated/FormatSupport2.cs new file mode 100644 index 0000000..668d554 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FormatSupport2.cs @@ -0,0 +1,54 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FORMAT_SUPPORT2 +[Flags] +public enum FormatSupport2 : int +{ + None = 0, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD + UavAtomicAdd = 1, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS + UavAtomicBitwiseOps = 2, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE + UavAtomicCompareStoreOrCompareExchange = 4, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE + UavAtomicExchange = 8, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX + UavAtomicSignedMinOrMax = 16, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX + UavAtomicUnsignedMinOrMax = 32, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD + UavTypedLoad = 64, + /// + /// D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE + UavTypedStore = 128, + /// + /// D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP + OutputMergerLogicOp = 256, + /// + /// D3D11_FORMAT_SUPPORT2_TILED + Tiled = 512, + /// + /// D3D11_FORMAT_SUPPORT2_SHAREABLE + Shareable = 1024, + /// + /// D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY + MultiplaneOverlay = 16384, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/FunctionDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/FunctionDescription.cs new file mode 100644 index 0000000..25c9c84 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/FunctionDescription.cs @@ -0,0 +1,114 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_FUNCTION_DESC +public partial struct FunctionDescription +{ + /// + public uint Version; + + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint ConstantBuffers; + + /// + public uint BoundResources; + + /// + public uint InstructionCount; + + /// + public uint TempRegisterCount; + + /// + public uint TempArrayCount; + + /// + public uint DefCount; + + /// + public uint DclCount; + + /// + public uint TextureNormalInstructions; + + /// + public uint TextureLoadInstructions; + + /// + public uint TextureCompInstructions; + + /// + public uint TextureBiasInstructions; + + /// + public uint TextureGradientInstructions; + + /// + public uint FloatInstructionCount; + + /// + public uint IntInstructionCount; + + /// + public uint UintInstructionCount; + + /// + public uint StaticFlowControlCount; + + /// + public uint DynamicFlowControlCount; + + /// + public uint MacroInstructionCount; + + /// + public uint ArrayInstructionCount; + + /// + public uint MovInstructionCount; + + /// + public uint MovcInstructionCount; + + /// + public uint ConversionInstructionCount; + + /// + public uint BitwiseInstructionCount; + + /// + public Graphics.Direct3D.FeatureLevel MinFeatureLevel; + + /// + public ulong RequiredFeatureFlags; + + /// + public unsafe sbyte* Name; + + /// + public int FunctionParameterCount; + + /// + public Bool32 HasReturn; + + /// + public Bool32 Has10Level9VertexShader; + + /// + public Bool32 Has10Level9PixelShader; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/GeometryShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/GeometryShaderTraceDescription.cs new file mode 100644 index 0000000..b949be5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/GeometryShaderTraceDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_GEOMETRY_SHADER_TRACE_DESC +public partial struct GeometryShaderTraceDescription +{ + /// + public ulong Invocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/HullShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/HullShaderTraceDescription.cs new file mode 100644 index 0000000..46a4839 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/HullShaderTraceDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_HULL_SHADER_TRACE_DESC +public partial struct HullShaderTraceDescription +{ + /// + public ulong Invocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Asynchronous.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Asynchronous.cs index 6a4bf25..3046031 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Asynchronous.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Asynchronous.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("4b35d0cd-1e15-4258-9c98-1b1333f6dd3b")] [NativeTypeName("struct ID3D11Asynchronous : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Asynchronous +public unsafe partial struct ID3D11Asynchronous : INativeGuid { public static ref readonly Guid IID_ID3D11Asynchronous { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Asynchronous } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Asynchronous)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Asynchronous)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11AuthenticatedChannel.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11AuthenticatedChannel.cs index bc1d6ba..adb4be8 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11AuthenticatedChannel.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11AuthenticatedChannel.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("3015a308-dcbd-47aa-a747-192486d14d4a")] [NativeTypeName("struct ID3D11AuthenticatedChannel : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11AuthenticatedChannel +public unsafe partial struct ID3D11AuthenticatedChannel : INativeGuid { public static ref readonly Guid IID_ID3D11AuthenticatedChannel { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11AuthenticatedChannel } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11AuthenticatedChannel)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11AuthenticatedChannel)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState.cs index a0b45b2..10b52ed 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("75b68faa-347d-4159-8f45-a0640f01cd9a")] [NativeTypeName("struct ID3D11BlendState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11BlendState +public unsafe partial struct ID3D11BlendState : INativeGuid { public static ref readonly Guid IID_ID3D11BlendState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11BlendState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState1.cs index 14f33ec..facdf7e 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11BlendState1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("cc86fabe-da55-401d-85e7-e3c9de2877e9")] [NativeTypeName("struct ID3D11BlendState1 : ID3D11BlendState")] [NativeInheritance("ID3D11BlendState")] -public unsafe partial struct ID3D11BlendState1 +public unsafe partial struct ID3D11BlendState1 : INativeGuid { public static ref readonly Guid IID_ID3D11BlendState1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11BlendState1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11BlendState1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Buffer.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Buffer.cs index f5a0527..d0f4b33 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Buffer.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Buffer.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("48570b85-d1ee-4fcd-a250-eb350722b037")] [NativeTypeName("struct ID3D11Buffer : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Buffer +public unsafe partial struct ID3D11Buffer : INativeGuid { public static ref readonly Guid IID_ID3D11Buffer { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Buffer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Buffer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Buffer)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassInstance.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassInstance.cs index a4aab13..1070d67 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassInstance.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassInstance.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a6cd7faa-b0b7-4a2f-9436-8662a65797cb")] [NativeTypeName("struct ID3D11ClassInstance : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ClassInstance +public unsafe partial struct ID3D11ClassInstance : INativeGuid { public static ref readonly Guid IID_ID3D11ClassInstance { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ClassInstance } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassInstance)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassInstance)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassLinkage.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassLinkage.cs index 351343d..dd48023 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassLinkage.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ClassLinkage.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("ddf57cba-9543-46e4-a12b-f207a0fe7fed")] [NativeTypeName("struct ID3D11ClassLinkage : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ClassLinkage +public unsafe partial struct ID3D11ClassLinkage : INativeGuid { public static ref readonly Guid IID_ID3D11ClassLinkage { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ClassLinkage } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassLinkage)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ClassLinkage)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11CommandList.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11CommandList.cs index ad99eba..a5b37aa 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11CommandList.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11CommandList.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a24bc4d1-769e-43f7-8013-98ff566c18e2")] [NativeTypeName("struct ID3D11CommandList : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11CommandList +public unsafe partial struct ID3D11CommandList : INativeGuid { public static ref readonly Guid IID_ID3D11CommandList { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11CommandList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CommandList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CommandList)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ComputeShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ComputeShader.cs index 30acf67..aeee312 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ComputeShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ComputeShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("4f5b196e-c2bd-495e-bd01-1fded38e4969")] [NativeTypeName("struct ID3D11ComputeShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11ComputeShader +public unsafe partial struct ID3D11ComputeShader : INativeGuid { public static ref readonly Guid IID_ID3D11ComputeShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ComputeShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ComputeShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ComputeShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Counter.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Counter.cs index 98c9078..3ad4898 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Counter.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Counter.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("6e8c49fb-a371-4770-b440-29086022b741")] [NativeTypeName("struct ID3D11Counter : ID3D11Asynchronous")] [NativeInheritance("ID3D11Asynchronous")] -public unsafe partial struct ID3D11Counter +public unsafe partial struct ID3D11Counter : INativeGuid { public static ref readonly Guid IID_ID3D11Counter { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Counter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Counter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Counter)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11CryptoSession.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11CryptoSession.cs index 18eb902..257090e 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11CryptoSession.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11CryptoSession.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9b32f9ad-bdcc-40a6-a39d-d5c865845720")] [NativeTypeName("struct ID3D11CryptoSession : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11CryptoSession +public unsafe partial struct ID3D11CryptoSession : INativeGuid { public static ref readonly Guid IID_ID3D11CryptoSession { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11CryptoSession } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CryptoSession)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11CryptoSession)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Debug.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Debug.cs index 5f9c45e..3fb5fd0 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Debug.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Debug.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("79cf2233-7536-4948-9d36-1e4692dc5760")] [NativeTypeName("struct ID3D11Debug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Debug +public unsafe partial struct ID3D11Debug : INativeGuid { public static ref readonly Guid IID_ID3D11Debug { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Debug } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Debug)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Debug)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilState.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilState.cs index 7b689a7..badd7d7 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilState.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("03823efb-8d8f-4e1c-9aa2-f64bb2cbfdf1")] [NativeTypeName("struct ID3D11DepthStencilState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DepthStencilState +public unsafe partial struct ID3D11DepthStencilState : INativeGuid { public static ref readonly Guid IID_ID3D11DepthStencilState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DepthStencilState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilView.cs index 76b8ea9..f3184bd 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DepthStencilView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9fdac92a-1876-48c3-afad-25b94f84a9b6")] [NativeTypeName("struct ID3D11DepthStencilView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11DepthStencilView +public unsafe partial struct ID3D11DepthStencilView : INativeGuid { public static ref readonly Guid IID_ID3D11DepthStencilView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DepthStencilView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DepthStencilView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device.cs index 63e2801..07ca9d3 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("db6f6ddb-ac77-4e88-8253-819df9bbf140")] [NativeTypeName("struct ID3D11Device : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Device +public unsafe partial struct ID3D11Device : INativeGuid { public static ref readonly Guid IID_ID3D11Device { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device1.cs index 1b689c4..ee4ef40 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a04bfb29-08ef-43d6-a49c-a9bdbdcbe686")] [NativeTypeName("struct ID3D11Device1 : ID3D11Device")] [NativeInheritance("ID3D11Device")] -public unsafe partial struct ID3D11Device1 +public unsafe partial struct ID3D11Device1 : INativeGuid { public static ref readonly Guid IID_ID3D11Device1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device2.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device2.cs index d26904d..1be0d47 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device2.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9d06dffa-d1e5-4d07-83a8-1bb123f2f841")] [NativeTypeName("struct ID3D11Device2 : ID3D11Device1")] [NativeInheritance("ID3D11Device1")] -public unsafe partial struct ID3D11Device2 +public unsafe partial struct ID3D11Device2 : INativeGuid { public static ref readonly Guid IID_ID3D11Device2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device3.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device3.cs index dd87f21..49d87bf 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device3.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a05c8c37-d2c6-4732-b3a0-9ce0b0dc9ae6")] [NativeTypeName("struct ID3D11Device3 : ID3D11Device2")] [NativeInheritance("ID3D11Device2")] -public unsafe partial struct ID3D11Device3 +public unsafe partial struct ID3D11Device3 : INativeGuid { public static ref readonly Guid IID_ID3D11Device3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device4.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device4.cs index 2dfdd6f..f4d7c6c 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device4.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device4.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("8992ab71-02e6-4b8d-ba48-b056dcda42c4")] [NativeTypeName("struct ID3D11Device4 : ID3D11Device3")] [NativeInheritance("ID3D11Device3")] -public unsafe partial struct ID3D11Device4 +public unsafe partial struct ID3D11Device4 : INativeGuid { public static ref readonly Guid IID_ID3D11Device4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device4)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device5.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device5.cs index 2cb3e5f..c9592ca 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device5.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Device5.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("8ffde202-a0e7-45df-9e01-e837801b5ea0")] [NativeTypeName("struct ID3D11Device5 : ID3D11Device4")] [NativeInheritance("ID3D11Device4")] -public unsafe partial struct ID3D11Device5 +public unsafe partial struct ID3D11Device5 : INativeGuid { public static ref readonly Guid IID_ID3D11Device5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Device5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Device5)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceChild.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceChild.cs index 9dcf1c3..3778a08 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceChild.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceChild.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1841e5c8-16b0-489b-bcc8-44cfb0d5deae")] [NativeTypeName("struct ID3D11DeviceChild : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11DeviceChild +public unsafe partial struct ID3D11DeviceChild : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceChild { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceChild } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceChild)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceChild)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext.cs index 2d37420..b08731c 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("c0bfa96c-e089-44fb-8eaf-26f8796190da")] [NativeTypeName("struct ID3D11DeviceContext : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DeviceContext +public unsafe partial struct ID3D11DeviceContext : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceContext { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext1.cs index 023040b..a112150 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")] [NativeTypeName("struct ID3D11DeviceContext1 : ID3D11DeviceContext")] [NativeInheritance("ID3D11DeviceContext")] -public unsafe partial struct ID3D11DeviceContext1 +public unsafe partial struct ID3D11DeviceContext1 : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceContext1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceContext1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext2.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext2.cs index ef2824c..5658190 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext2.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("420d5b32-b90c-4da4-bef0-359f6a24a83a")] [NativeTypeName("struct ID3D11DeviceContext2 : ID3D11DeviceContext1")] [NativeInheritance("ID3D11DeviceContext1")] -public unsafe partial struct ID3D11DeviceContext2 +public unsafe partial struct ID3D11DeviceContext2 : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceContext2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceContext2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext3.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext3.cs index 046c51f..08f20a9 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext3.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("b4e3c01d-e79e-4637-91b2-510e9f4c9b8f")] [NativeTypeName("struct ID3D11DeviceContext3 : ID3D11DeviceContext2")] [NativeInheritance("ID3D11DeviceContext2")] -public unsafe partial struct ID3D11DeviceContext3 +public unsafe partial struct ID3D11DeviceContext3 : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceContext3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceContext3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext4.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext4.cs index f7c33c5..6bee9f2 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext4.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DeviceContext4.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("917600da-f58c-4c33-98d8-3e15b390fa24")] [NativeTypeName("struct ID3D11DeviceContext4 : ID3D11DeviceContext3")] [NativeInheritance("ID3D11DeviceContext3")] -public unsafe partial struct ID3D11DeviceContext4 +public unsafe partial struct ID3D11DeviceContext4 : INativeGuid { public static ref readonly Guid IID_ID3D11DeviceContext4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DeviceContext4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DeviceContext4)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DomainShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DomainShader.cs index 17bb079..c1c3a3c 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11DomainShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11DomainShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("f582c508-0f36-490c-9977-31eece268cfa")] [NativeTypeName("struct ID3D11DomainShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11DomainShader +public unsafe partial struct ID3D11DomainShader : INativeGuid { public static ref readonly Guid IID_ID3D11DomainShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11DomainShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DomainShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11DomainShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Fence.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Fence.cs index bccc16f..f80f047 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Fence.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Fence.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("affde9d1-1df7-4bb7-8a34-0f46251dab80")] [NativeTypeName("struct ID3D11Fence : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Fence +public unsafe partial struct ID3D11Fence : INativeGuid { public static ref readonly Guid IID_ID3D11Fence { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Fence } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Fence)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Fence)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs index 9320dab..922c3e5 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("54133220-1ce8-43d3-8236-9855c5ceecff")] [NativeTypeName("struct ID3D11FunctionLinkingGraph : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11FunctionLinkingGraph +public unsafe partial struct ID3D11FunctionLinkingGraph : INativeGuid { public static ref readonly Guid IID_ID3D11FunctionLinkingGraph { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11FunctionLinkingGraph } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionLinkingGraph)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionLinkingGraph)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionParameterReflection.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionParameterReflection.cs index 7fc9a54..ff414ae 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionParameterReflection.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionParameterReflection.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D11; /// /// ID3D11FunctionParameterReflection [Guid("42757488-334f-47fe-982e-1a65d08cc462")] -public unsafe partial struct ID3D11FunctionParameterReflection +public unsafe partial struct ID3D11FunctionParameterReflection : INativeGuid { public static ref readonly Guid IID_ID3D11FunctionParameterReflection { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D11FunctionParameterReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionReflection.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionReflection.cs index ef950a7..9da968d 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionReflection.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11FunctionReflection.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D11; /// /// ID3D11FunctionReflection [Guid("207bcecb-d683-4a06-a8a3-9b149b9f73a4")] -public unsafe partial struct ID3D11FunctionReflection +public unsafe partial struct ID3D11FunctionReflection : INativeGuid { public static ref readonly Guid IID_ID3D11FunctionReflection { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D11FunctionReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11GeometryShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11GeometryShader.cs index f5a2efb..27a90c6 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11GeometryShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11GeometryShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("38325b96-effb-4022-ba02-2e795b70275c")] [NativeTypeName("struct ID3D11GeometryShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11GeometryShader +public unsafe partial struct ID3D11GeometryShader : INativeGuid { public static ref readonly Guid IID_ID3D11GeometryShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11GeometryShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11GeometryShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11GeometryShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11HullShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11HullShader.cs index 097eb69..6f5dbb0 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11HullShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11HullShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("8e5c6061-628a-4c8e-8264-bbe45cb3d5dd")] [NativeTypeName("struct ID3D11HullShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11HullShader +public unsafe partial struct ID3D11HullShader : INativeGuid { public static ref readonly Guid IID_ID3D11HullShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11HullShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11HullShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11HullShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11InfoQueue.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11InfoQueue.cs index cecc876..8876bdb 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11InfoQueue.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11InfoQueue.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("6543dbb6-1b48-42f5-ab82-e97ec74326f6")] [NativeTypeName("struct ID3D11InfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11InfoQueue +public unsafe partial struct ID3D11InfoQueue : INativeGuid { public static ref readonly Guid IID_ID3D11InfoQueue { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11InfoQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InfoQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InfoQueue)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11InputLayout.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11InputLayout.cs index 4dc0620..0e4ac4a 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11InputLayout.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11InputLayout.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("e4819ddc-4cf0-4025-bd26-5de82a3e07b7")] [NativeTypeName("struct ID3D11InputLayout : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11InputLayout +public unsafe partial struct ID3D11InputLayout : INativeGuid { public static ref readonly Guid IID_ID3D11InputLayout { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11InputLayout } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InputLayout)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11InputLayout)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11LibraryReflection.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11LibraryReflection.cs index 7c2a4bf..5b59fbd 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11LibraryReflection.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11LibraryReflection.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("54384f1b-5b3e-4bb7-ae01-60ba3097cbb6")] [NativeTypeName("struct ID3D11LibraryReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11LibraryReflection +public unsafe partial struct ID3D11LibraryReflection : INativeGuid { public static ref readonly Guid IID_ID3D11LibraryReflection { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11LibraryReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LibraryReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LibraryReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Linker.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Linker.cs index a128ff5..95d4251 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Linker.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Linker.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("59a6cd0e-e10d-4c1f-88c0-63aba1daf30e")] [NativeTypeName("struct ID3D11Linker : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Linker +public unsafe partial struct ID3D11Linker : INativeGuid { public static ref readonly Guid IID_ID3D11Linker { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Linker } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Linker)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Linker)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11LinkingNode.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11LinkingNode.cs index e9f2790..524ab06 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11LinkingNode.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11LinkingNode.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("d80dd70c-8d2f-4751-94a1-03c79b3556db")] [NativeTypeName("struct ID3D11LinkingNode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11LinkingNode +public unsafe partial struct ID3D11LinkingNode : INativeGuid { public static ref readonly Guid IID_ID3D11LinkingNode { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11LinkingNode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LinkingNode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11LinkingNode)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Module.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Module.cs index f87b336..addf963 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Module.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Module.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("cac701ee-80fc-4122-8242-10b39c8cec34")] [NativeTypeName("struct ID3D11Module : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Module +public unsafe partial struct ID3D11Module : INativeGuid { public static ref readonly Guid IID_ID3D11Module { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Module } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Module)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Module)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ModuleInstance.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ModuleInstance.cs index 061642c..133db3e 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ModuleInstance.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ModuleInstance.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("469e07f7-045a-48d5-aa12-68a478cdf75d")] [NativeTypeName("struct ID3D11ModuleInstance : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ModuleInstance +public unsafe partial struct ID3D11ModuleInstance : INativeGuid { public static ref readonly Guid IID_ID3D11ModuleInstance { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ModuleInstance } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ModuleInstance)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ModuleInstance)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Multithread.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Multithread.cs index 5183d34..279b12a 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Multithread.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Multithread.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9b7e4e00-342c-4106-a19f-4f2704f689f0")] [NativeTypeName("struct ID3D11Multithread : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11Multithread +public unsafe partial struct ID3D11Multithread : INativeGuid { public static ref readonly Guid IID_ID3D11Multithread { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Multithread } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Multithread)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Multithread)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11PixelShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11PixelShader.cs index ffe2faa..7d39356 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11PixelShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11PixelShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("ea82e40d-51dc-4f33-93d4-db7c9125ae8c")] [NativeTypeName("struct ID3D11PixelShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11PixelShader +public unsafe partial struct ID3D11PixelShader : INativeGuid { public static ref readonly Guid IID_ID3D11PixelShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11PixelShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11PixelShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11PixelShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Predicate.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Predicate.cs index 189648e..f4b6305 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Predicate.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Predicate.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9eb576dd-9f77-4d86-81aa-8bab5fe490e2")] [NativeTypeName("struct ID3D11Predicate : ID3D11Query")] [NativeInheritance("ID3D11Query")] -public unsafe partial struct ID3D11Predicate +public unsafe partial struct ID3D11Predicate : INativeGuid { public static ref readonly Guid IID_ID3D11Predicate { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Predicate } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Predicate)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Predicate)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query.cs index f028cbd..6ea4fd4 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("d6c00747-87b7-425e-b84d-44d108560afd")] [NativeTypeName("struct ID3D11Query : ID3D11Asynchronous")] [NativeInheritance("ID3D11Asynchronous")] -public unsafe partial struct ID3D11Query +public unsafe partial struct ID3D11Query : INativeGuid { public static ref readonly Guid IID_ID3D11Query { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Query } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query1.cs index 3550203..d5b6c06 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Query1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("631b4766-36dc-461d-8db6-c47e13e60916")] [NativeTypeName("struct ID3D11Query1 : ID3D11Query")] [NativeInheritance("ID3D11Query")] -public unsafe partial struct ID3D11Query1 +public unsafe partial struct ID3D11Query1 : INativeGuid { public static ref readonly Guid IID_ID3D11Query1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Query1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Query1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState.cs index 3fd5902..a6fd9fe 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("9bb4ab81-ab1a-4d8f-b506-fc04200b6ee7")] [NativeTypeName("struct ID3D11RasterizerState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11RasterizerState +public unsafe partial struct ID3D11RasterizerState : INativeGuid { public static ref readonly Guid IID_ID3D11RasterizerState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RasterizerState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState1.cs index 3fbdf52..5395796 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1217d7a6-5039-418c-b042-9cbe256afd6e")] [NativeTypeName("struct ID3D11RasterizerState1 : ID3D11RasterizerState")] [NativeInheritance("ID3D11RasterizerState")] -public unsafe partial struct ID3D11RasterizerState1 +public unsafe partial struct ID3D11RasterizerState1 : INativeGuid { public static ref readonly Guid IID_ID3D11RasterizerState1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RasterizerState1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState2.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState2.cs index abe654e..3a36af9 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState2.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RasterizerState2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("6fbd02fb-209f-46c4-b059-2ed15586a6ac")] [NativeTypeName("struct ID3D11RasterizerState2 : ID3D11RasterizerState1")] [NativeInheritance("ID3D11RasterizerState1")] -public unsafe partial struct ID3D11RasterizerState2 +public unsafe partial struct ID3D11RasterizerState2 : INativeGuid { public static ref readonly Guid IID_ID3D11RasterizerState2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RasterizerState2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RasterizerState2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefDefaultTrackingOptions.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefDefaultTrackingOptions.cs index 2b8f97d..49079ff 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefDefaultTrackingOptions.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefDefaultTrackingOptions.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("03916615-c644-418c-9bf4-75db5be63ca0")] [NativeTypeName("struct ID3D11RefDefaultTrackingOptions : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11RefDefaultTrackingOptions +public unsafe partial struct ID3D11RefDefaultTrackingOptions : INativeGuid { public static ref readonly Guid IID_ID3D11RefDefaultTrackingOptions { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RefDefaultTrackingOptions } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefDefaultTrackingOptions)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefDefaultTrackingOptions)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefTrackingOptions.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefTrackingOptions.cs index 9dbaa43..ab5881d 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefTrackingOptions.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RefTrackingOptions.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("193dacdf-0db2-4c05-a55c-ef06cac56fd9")] [NativeTypeName("struct ID3D11RefTrackingOptions : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11RefTrackingOptions +public unsafe partial struct ID3D11RefTrackingOptions : INativeGuid { public static ref readonly Guid IID_ID3D11RefTrackingOptions { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RefTrackingOptions } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefTrackingOptions)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RefTrackingOptions)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView.cs index 070f1a2..8e81d2b 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("dfdba067-0b8d-4865-875b-d7b4516cc164")] [NativeTypeName("struct ID3D11RenderTargetView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11RenderTargetView +public unsafe partial struct ID3D11RenderTargetView : INativeGuid { public static ref readonly Guid IID_ID3D11RenderTargetView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RenderTargetView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView1.cs index 7597d07..67a21e9 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11RenderTargetView1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("ffbe2e23-f011-418a-ac56-5ceed7c5b94b")] [NativeTypeName("struct ID3D11RenderTargetView1 : ID3D11RenderTargetView")] [NativeInheritance("ID3D11RenderTargetView")] -public unsafe partial struct ID3D11RenderTargetView1 +public unsafe partial struct ID3D11RenderTargetView1 : INativeGuid { public static ref readonly Guid IID_ID3D11RenderTargetView1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11RenderTargetView1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11RenderTargetView1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Resource.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Resource.cs index 6fc50a5..13e9acc 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Resource.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Resource.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("dc8e63f3-d12b-4952-b47b-5e45026a862d")] [NativeTypeName("struct ID3D11Resource : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11Resource +public unsafe partial struct ID3D11Resource : INativeGuid { public static ref readonly Guid IID_ID3D11Resource { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Resource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Resource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Resource)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11SamplerState.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11SamplerState.cs index 36f9963..b421efc 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11SamplerState.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11SamplerState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("da6fea51-564c-4487-9810-f0d0f9b4e3a5")] [NativeTypeName("struct ID3D11SamplerState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11SamplerState +public unsafe partial struct ID3D11SamplerState : INativeGuid { public static ref readonly Guid IID_ID3D11SamplerState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11SamplerState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SamplerState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SamplerState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflection.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflection.cs index 654a1fb..a7f143c 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflection.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflection.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("8d536ca1-0cca-4956-a837-786963755584")] [NativeTypeName("struct ID3D11ShaderReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderReflection +public unsafe partial struct ID3D11ShaderReflection : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderReflection { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ShaderReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs index d9a122f..9099325 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D11; /// /// ID3D11ShaderReflectionConstantBuffer [Guid("eb62d63d-93dd-4318-8ae8-c6f83ad371b8")] -public unsafe partial struct ID3D11ShaderReflectionConstantBuffer +public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderReflectionConstantBuffer { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionConstantBuffer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionConstantBuffer)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionType.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionType.cs index 93b365c..0d67c7a 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionType.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionType.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D11; /// /// ID3D11ShaderReflectionType [Guid("6e6ffa6a-9bae-4613-a51e-91652d508c21")] -public unsafe partial struct ID3D11ShaderReflectionType +public unsafe partial struct ID3D11ShaderReflectionType : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderReflectionType { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D11ShaderReflectionType } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionType)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionType)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionVariable.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionVariable.cs index 8daa931..23a0913 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionVariable.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderReflectionVariable.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D11; /// /// ID3D11ShaderReflectionVariable [Guid("51f23923-f3e5-4bd1-91cb-606177d8db4c")] -public unsafe partial struct ID3D11ShaderReflectionVariable +public unsafe partial struct ID3D11ShaderReflectionVariable : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderReflectionVariable { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D11ShaderReflectionVariable } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionVariable)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderReflectionVariable)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView.cs index 413e9c5..70b1202 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("b0e06fe0-8192-4e1a-b1ca-36d7414710b2")] [NativeTypeName("struct ID3D11ShaderResourceView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11ShaderResourceView +public unsafe partial struct ID3D11ShaderResourceView : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderResourceView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ShaderResourceView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView1.cs index aa4c813..b582e55 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderResourceView1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("91308b87-9040-411d-8c67-c39253ce3802")] [NativeTypeName("struct ID3D11ShaderResourceView1 : ID3D11ShaderResourceView")] [NativeInheritance("ID3D11ShaderResourceView")] -public unsafe partial struct ID3D11ShaderResourceView1 +public unsafe partial struct ID3D11ShaderResourceView1 : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderResourceView1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ShaderResourceView1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderResourceView1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTrace.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTrace.cs index a2b95fa..79b8e13 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTrace.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTrace.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("36b013e6-2811-4845-baa7-d623fe0df104")] [NativeTypeName("struct ID3D11ShaderTrace : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderTrace +public unsafe partial struct ID3D11ShaderTrace : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderTrace { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ShaderTrace } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTrace)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTrace)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTraceFactory.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTraceFactory.cs index 4520a3b..48de557 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTraceFactory.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11ShaderTraceFactory.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1fbad429-66ab-41cc-9617-667ac10e4459")] [NativeTypeName("struct ID3D11ShaderTraceFactory : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11ShaderTraceFactory +public unsafe partial struct ID3D11ShaderTraceFactory : INativeGuid { public static ref readonly Guid IID_ID3D11ShaderTraceFactory { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11ShaderTraceFactory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTraceFactory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11ShaderTraceFactory)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11SwitchToRef.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11SwitchToRef.cs index 99605a0..4814ecd 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11SwitchToRef.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11SwitchToRef.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1ef337e3-58e7-4f83-a692-db221f5ed47e")] [NativeTypeName("struct ID3D11SwitchToRef : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11SwitchToRef +public unsafe partial struct ID3D11SwitchToRef : INativeGuid { public static ref readonly Guid IID_ID3D11SwitchToRef { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11SwitchToRef } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SwitchToRef)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11SwitchToRef)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture1D.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture1D.cs index 591efa8..53e51ff 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture1D.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture1D.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("f8fb5c27-c6b3-4f75-a4c8-439af2ef564c")] [NativeTypeName("struct ID3D11Texture1D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture1D +public unsafe partial struct ID3D11Texture1D : INativeGuid { public static ref readonly Guid IID_ID3D11Texture1D { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Texture1D } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture1D)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture1D)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D.cs index f572c75..b1e44db 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("6f15aaf2-d208-4e89-9ab4-489535d34f9c")] [NativeTypeName("struct ID3D11Texture2D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture2D +public unsafe partial struct ID3D11Texture2D : INativeGuid { public static ref readonly Guid IID_ID3D11Texture2D { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Texture2D } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D1.cs index d1a0df8..278ad24 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture2D1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("51218251-1e33-4617-9ccb-4d3a4367e7bb")] [NativeTypeName("struct ID3D11Texture2D1 : ID3D11Texture2D")] [NativeInheritance("ID3D11Texture2D")] -public unsafe partial struct ID3D11Texture2D1 +public unsafe partial struct ID3D11Texture2D1 : INativeGuid { public static ref readonly Guid IID_ID3D11Texture2D1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Texture2D1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture2D1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D.cs index 3b332f4..ce45d1f 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("037e866e-f56d-4357-a8af-9dabbe6e250e")] [NativeTypeName("struct ID3D11Texture3D : ID3D11Resource")] [NativeInheritance("ID3D11Resource")] -public unsafe partial struct ID3D11Texture3D +public unsafe partial struct ID3D11Texture3D : INativeGuid { public static ref readonly Guid IID_ID3D11Texture3D { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Texture3D } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D1.cs index 02bbbf3..82b1846 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11Texture3D1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("0c711683-2853-4846-9bb0-f3e60639e46a")] [NativeTypeName("struct ID3D11Texture3D1 : ID3D11Texture3D")] [NativeInheritance("ID3D11Texture3D")] -public unsafe partial struct ID3D11Texture3D1 +public unsafe partial struct ID3D11Texture3D1 : INativeGuid { public static ref readonly Guid IID_ID3D11Texture3D1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11Texture3D1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11Texture3D1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11TracingDevice.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11TracingDevice.cs index 90e3d3f..dcb8553 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11TracingDevice.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11TracingDevice.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1911c771-1587-413e-a7e0-fb26c3de0268")] [NativeTypeName("struct ID3D11TracingDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11TracingDevice +public unsafe partial struct ID3D11TracingDevice : INativeGuid { public static ref readonly Guid IID_ID3D11TracingDevice { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11TracingDevice } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11TracingDevice)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11TracingDevice)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView.cs index 350a159..aa28a54 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("28acf509-7f5c-48f6-8611-f316010a6380")] [NativeTypeName("struct ID3D11UnorderedAccessView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11UnorderedAccessView +public unsafe partial struct ID3D11UnorderedAccessView : INativeGuid { public static ref readonly Guid IID_ID3D11UnorderedAccessView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11UnorderedAccessView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView1.cs index c251ce2..02f4675 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11UnorderedAccessView1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("7b3b6153-a886-4544-ab37-6537c8500403")] [NativeTypeName("struct ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView")] [NativeInheritance("ID3D11UnorderedAccessView")] -public unsafe partial struct ID3D11UnorderedAccessView1 +public unsafe partial struct ID3D11UnorderedAccessView1 : INativeGuid { public static ref readonly Guid IID_ID3D11UnorderedAccessView1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11UnorderedAccessView1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11UnorderedAccessView1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VertexShader.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VertexShader.cs index 013d6f8..02c08c3 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VertexShader.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VertexShader.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("3b301d64-d678-4289-8897-22f8928b72f3")] [NativeTypeName("struct ID3D11VertexShader : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VertexShader +public unsafe partial struct ID3D11VertexShader : INativeGuid { public static ref readonly Guid IID_ID3D11VertexShader { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VertexShader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VertexShader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VertexShader)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext.cs index f08caa9..7225425 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("61f21c45-3c0e-4a74-9cea-67100d9ad5e4")] [NativeTypeName("struct ID3D11VideoContext : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoContext +public unsafe partial struct ID3D11VideoContext : INativeGuid { public static ref readonly Guid IID_ID3D11VideoContext { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext1.cs index 6b370c6..9d7d6e2 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a7f026da-a5f8-4487-a564-15e34357651e")] [NativeTypeName("struct ID3D11VideoContext1 : ID3D11VideoContext")] [NativeInheritance("ID3D11VideoContext")] -public unsafe partial struct ID3D11VideoContext1 +public unsafe partial struct ID3D11VideoContext1 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoContext1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoContext1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext2.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext2.cs index ee103dd..20f4c5d 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext2.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("c4e7374c-6243-4d1b-ae87-52b4f740e261")] [NativeTypeName("struct ID3D11VideoContext2 : ID3D11VideoContext1")] [NativeInheritance("ID3D11VideoContext1")] -public unsafe partial struct ID3D11VideoContext2 +public unsafe partial struct ID3D11VideoContext2 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoContext2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoContext2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext3.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext3.cs index 5bed682..3819b86 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext3.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoContext3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a9e2faa0-cb39-418f-a0b7-d8aad4de672e")] [NativeTypeName("struct ID3D11VideoContext3 : ID3D11VideoContext2")] [NativeInheritance("ID3D11VideoContext2")] -public unsafe partial struct ID3D11VideoContext3 +public unsafe partial struct ID3D11VideoContext3 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoContext3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoContext3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoContext3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoder.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoder.cs index 3bc9c2b..c92f46b 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoder.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoder.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("3c9c5b51-995d-48d1-9b8d-fa5caeded65c")] [NativeTypeName("struct ID3D11VideoDecoder : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoDecoder +public unsafe partial struct ID3D11VideoDecoder : INativeGuid { public static ref readonly Guid IID_ID3D11VideoDecoder { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoDecoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoder)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoderOutputView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoderOutputView.cs index 1bba354..d8ea060 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoderOutputView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDecoderOutputView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("c2931aea-2a85-4f20-860f-fba1fd256e18")] [NativeTypeName("struct ID3D11VideoDecoderOutputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoDecoderOutputView +public unsafe partial struct ID3D11VideoDecoderOutputView : INativeGuid { public static ref readonly Guid IID_ID3D11VideoDecoderOutputView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoDecoderOutputView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoderOutputView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDecoderOutputView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice.cs index 2c535c2..5c3190d 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("10ec4d5b-975a-4689-b9e4-d0aac30fe333")] [NativeTypeName("struct ID3D11VideoDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11VideoDevice +public unsafe partial struct ID3D11VideoDevice : INativeGuid { public static ref readonly Guid IID_ID3D11VideoDevice { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoDevice } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice1.cs index 8069b9d..b5964b4 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("29da1d51-1321-4454-804b-f5fc9f861f0f")] [NativeTypeName("struct ID3D11VideoDevice1 : ID3D11VideoDevice")] [NativeInheritance("ID3D11VideoDevice")] -public unsafe partial struct ID3D11VideoDevice1 +public unsafe partial struct ID3D11VideoDevice1 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoDevice1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoDevice1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice2.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice2.cs index f35ce46..6dcb3c3 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice2.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoDevice2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("59c0cb01-35f0-4a70-8f67-87905c906a53")] [NativeTypeName("struct ID3D11VideoDevice2 : ID3D11VideoDevice1")] [NativeInheritance("ID3D11VideoDevice1")] -public unsafe partial struct ID3D11VideoDevice2 +public unsafe partial struct ID3D11VideoDevice2 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoDevice2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoDevice2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoDevice2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessor.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessor.cs index 73a0fb2..aa02414 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessor.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessor.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("1d7b0652-185f-41c6-85ce-0c5be3d4ae6c")] [NativeTypeName("struct ID3D11VideoProcessor : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoProcessor +public unsafe partial struct ID3D11VideoProcessor : INativeGuid { public static ref readonly Guid IID_ID3D11VideoProcessor { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoProcessor } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessor)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessor)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator.cs index 1323a05..c58aa85 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("31627037-53ab-4200-9061-05faa9ab45f9")] [NativeTypeName("struct ID3D11VideoProcessorEnumerator : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11VideoProcessorEnumerator +public unsafe partial struct ID3D11VideoProcessorEnumerator : INativeGuid { public static ref readonly Guid IID_ID3D11VideoProcessorEnumerator { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator1.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator1.cs index 298cb5a..f8cddaf 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator1.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorEnumerator1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("465217f2-5568-43cf-b5b9-f61d54531ca1")] [NativeTypeName("struct ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator")] [NativeInheritance("ID3D11VideoProcessorEnumerator")] -public unsafe partial struct ID3D11VideoProcessorEnumerator1 +public unsafe partial struct ID3D11VideoProcessorEnumerator1 : INativeGuid { public static ref readonly Guid IID_ID3D11VideoProcessorEnumerator1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoProcessorEnumerator1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorEnumerator1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorInputView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorInputView.cs index d32875f..ddbac34 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorInputView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorInputView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("11ec5a5f-51dc-4945-ab34-6e8c21300ea5")] [NativeTypeName("struct ID3D11VideoProcessorInputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoProcessorInputView +public unsafe partial struct ID3D11VideoProcessorInputView : INativeGuid { public static ref readonly Guid IID_ID3D11VideoProcessorInputView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoProcessorInputView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorInputView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorInputView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorOutputView.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorOutputView.cs index 9893dcf..2ab68fe 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorOutputView.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11VideoProcessorOutputView.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("a048285e-25a9-4527-bd93-d68b68c44254")] [NativeTypeName("struct ID3D11VideoProcessorOutputView : ID3D11View")] [NativeInheritance("ID3D11View")] -public unsafe partial struct ID3D11VideoProcessorOutputView +public unsafe partial struct ID3D11VideoProcessorOutputView : INativeGuid { public static ref readonly Guid IID_ID3D11VideoProcessorOutputView { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11VideoProcessorOutputView } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorOutputView)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11VideoProcessorOutputView)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3D11View.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3D11View.cs index 564290a..35cefb3 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3D11View.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3D11View.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("839d1216-bb2e-412b-b7f4-a9dbebe08ed1")] [NativeTypeName("struct ID3D11View : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3D11View +public unsafe partial struct ID3D11View : INativeGuid { public static ref readonly Guid IID_ID3D11View { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11View } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11View)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11View)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3DDeviceContextState.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3DDeviceContextState.cs index a6b38b7..4179531 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3DDeviceContextState.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3DDeviceContextState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("5c1e0d8a-7c23-48f9-8c59-a92958ceff11")] [NativeTypeName("struct ID3DDeviceContextState : ID3D11DeviceChild")] [NativeInheritance("ID3D11DeviceChild")] -public unsafe partial struct ID3DDeviceContextState +public unsafe partial struct ID3DDeviceContextState : INativeGuid { public static ref readonly Guid IID_ID3DDeviceContextState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3DDeviceContextState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDeviceContextState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDeviceContextState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/ID3DUserDefinedAnnotation.cs b/src/Vortice.Win32.Direct3D11/Generated/ID3DUserDefinedAnnotation.cs index e2fc6e4..9742dbd 100644 --- a/src/Vortice.Win32.Direct3D11/Generated/ID3DUserDefinedAnnotation.cs +++ b/src/Vortice.Win32.Direct3D11/Generated/ID3DUserDefinedAnnotation.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D11; [Guid("b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab")] [NativeTypeName("struct ID3DUserDefinedAnnotation : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DUserDefinedAnnotation +public unsafe partial struct ID3DUserDefinedAnnotation : INativeGuid { public static ref readonly Guid IID_ID3DUserDefinedAnnotation { @@ -40,7 +40,11 @@ public unsafe partial struct ID3DUserDefinedAnnotation } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DUserDefinedAnnotation)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DUserDefinedAnnotation)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilter.cs b/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilter.cs new file mode 100644 index 0000000..e58d8d2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilter.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_INFO_QUEUE_FILTER +public partial struct InfoQueueFilter +{ + /// + public InfoQueueFilterDescription AllowList; + + /// + public InfoQueueFilterDescription DenyList; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilterDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilterDescription.cs new file mode 100644 index 0000000..76fe048 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/InfoQueueFilterDescription.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_INFO_QUEUE_FILTER_DESC +public partial struct InfoQueueFilterDescription +{ + /// + public uint NumCategories; + + /// + public unsafe MessageCategory* pCategoryList; + + /// + public uint NumSeverities; + + /// + public unsafe MessageSeverity* pSeverityList; + + /// + public uint NumIDs; + + /// + public unsafe MessageId* pIDList; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/InputClassification.cs b/src/Vortice.Win32.Direct3D11/Generated/InputClassification.cs new file mode 100644 index 0000000..15aaa0c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/InputClassification.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_INPUT_CLASSIFICATION +public enum InputClassification : int +{ + /// + /// D3D11_INPUT_PER_VERTEX_DATA + PerVertexData = 0, + /// + /// D3D11_INPUT_PER_INSTANCE_DATA + PerInstanceData = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/InputElementDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/InputElementDescription.cs new file mode 100644 index 0000000..1915054 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/InputElementDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_INPUT_ELEMENT_DESC +public partial struct InputElementDescription +{ + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public uint InputSlot; + + /// + public uint AlignedByteOffset; + + /// + public InputClassification InputSlotClass; + + /// + public uint InstanceDataStepRate; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionData.cs b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionData.cs new file mode 100644 index 0000000..419d192 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionData.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA +public partial struct KeyExchangeHWProtectionData +{ + /// + public uint HWProtectionFunctionID; + + /// + public unsafe KeyExchangeHWProtectionInputData* pInputData; + + /// + public unsafe KeyExchangeHWProtectionOutputData* pOutputData; + + /// + public HResult Status; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionInputData.cs b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionInputData.cs new file mode 100644 index 0000000..61d5e74 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionInputData.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA +public partial struct KeyExchangeHWProtectionInputData +{ + /// + public uint PrivateDataSize; + + /// + public uint HWProtectionDataSize; + + /// + public unsafe fixed byte pbInput[4]; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionOutputData.cs b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionOutputData.cs new file mode 100644 index 0000000..183fca4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/KeyExchangeHWProtectionOutputData.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA +public partial struct KeyExchangeHWProtectionOutputData +{ + /// + public uint PrivateDataSize; + + /// + public uint MaxHWProtectionDataSize; + + /// + public uint HWProtectionDataSize; + + /// + public ulong TransportTime; + + /// + public ulong ExecutionTime; + + /// + public unsafe fixed byte pbOutput[4]; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/LibraryDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/LibraryDescription.cs new file mode 100644 index 0000000..9e6161a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/LibraryDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_LIBRARY_DESC +public partial struct LibraryDescription +{ + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint FunctionCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/LogicOperation.cs b/src/Vortice.Win32.Direct3D11/Generated/LogicOperation.cs new file mode 100644 index 0000000..8ac2a6c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/LogicOperation.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_LOGIC_OP +public enum LogicOperation : int +{ + /// + /// D3D11_LOGIC_OP_CLEAR + Clear = 0, + /// + /// D3D11_LOGIC_OP_SET + Set = 1, + /// + /// D3D11_LOGIC_OP_COPY + Copy = 2, + /// + /// D3D11_LOGIC_OP_COPY_INVERTED + CopyInverted = 3, + /// + /// D3D11_LOGIC_OP_NOOP + Noop = 4, + /// + /// D3D11_LOGIC_OP_INVERT + Invert = 5, + /// + /// D3D11_LOGIC_OP_AND + And = 6, + /// + /// D3D11_LOGIC_OP_NAND + Nand = 7, + /// + /// D3D11_LOGIC_OP_OR + Or = 8, + /// + /// D3D11_LOGIC_OP_NOR + Nor = 9, + /// + /// D3D11_LOGIC_OP_XOR + Xor = 10, + /// + /// D3D11_LOGIC_OP_EQUIV + Equiv = 11, + /// + /// D3D11_LOGIC_OP_AND_REVERSE + AndReverse = 12, + /// + /// D3D11_LOGIC_OP_AND_INVERTED + AndInverted = 13, + /// + /// D3D11_LOGIC_OP_OR_REVERSE + OrReverse = 14, + /// + /// D3D11_LOGIC_OP_OR_INVERTED + OrInverted = 15, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MapFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/MapFlags.cs new file mode 100644 index 0000000..71e9bf2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MapFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MAP_FLAG +[Flags] +public enum MapFlags : int +{ + None = 0, + /// + /// D3D11_MAP_FLAG_DO_NOT_WAIT + DoNotWait = 1048576, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MapMode.cs b/src/Vortice.Win32.Direct3D11/Generated/MapMode.cs new file mode 100644 index 0000000..5a5eb66 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MapMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MAP +public enum MapMode : int +{ + /// + /// D3D11_MAP_READ + Read = 1, + /// + /// D3D11_MAP_WRITE + Write = 2, + /// + /// D3D11_MAP_READ_WRITE + ReadWrite = 3, + /// + /// D3D11_MAP_WRITE_DISCARD + WriteDiscard = 4, + /// + /// D3D11_MAP_WRITE_NO_OVERWRITE + WriteNoOverwrite = 5, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MappedSubresource.cs b/src/Vortice.Win32.Direct3D11/Generated/MappedSubresource.cs new file mode 100644 index 0000000..666d619 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MappedSubresource.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MAPPED_SUBRESOURCE +public partial struct MappedSubresource +{ + /// + public unsafe void* pData; + + /// + public uint RowPitch; + + /// + public uint DepthPitch; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Message.cs b/src/Vortice.Win32.Direct3D11/Generated/Message.cs new file mode 100644 index 0000000..eddbf81 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Message.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MESSAGE +public partial struct Message +{ + /// + public MessageCategory Category; + + /// + public MessageSeverity Severity; + + /// + public MessageId ID; + + /// + public unsafe byte* pDescription; + + /// + public nuint DescriptionByteLength; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MessageCategory.cs b/src/Vortice.Win32.Direct3D11/Generated/MessageCategory.cs new file mode 100644 index 0000000..451d364 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MessageCategory.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MESSAGE_CATEGORY +public enum MessageCategory : int +{ + /// + /// D3D11_MESSAGE_CATEGORY_APPLICATION_DEFINED + ApplicationDefined = 0, + /// + /// D3D11_MESSAGE_CATEGORY_MISCELLANEOUS + Miscellaneous = 1, + /// + /// D3D11_MESSAGE_CATEGORY_INITIALIZATION + Initialization = 2, + /// + /// D3D11_MESSAGE_CATEGORY_CLEANUP + Cleanup = 3, + /// + /// D3D11_MESSAGE_CATEGORY_COMPILATION + Compilation = 4, + /// + /// D3D11_MESSAGE_CATEGORY_STATE_CREATION + StateCreation = 5, + /// + /// D3D11_MESSAGE_CATEGORY_STATE_SETTING + StateSetting = 6, + /// + /// D3D11_MESSAGE_CATEGORY_STATE_GETTING + StateGetting = 7, + /// + /// D3D11_MESSAGE_CATEGORY_RESOURCE_MANIPULATION + ResourceManipulation = 8, + /// + /// D3D11_MESSAGE_CATEGORY_EXECUTION + Execution = 9, + /// + /// D3D11_MESSAGE_CATEGORY_SHADER + Shader = 10, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MessageId.cs b/src/Vortice.Win32.Direct3D11/Generated/MessageId.cs new file mode 100644 index 0000000..6d33293 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MessageId.cs @@ -0,0 +1,3985 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MESSAGE_ID +public enum MessageId : int +{ + /// + /// D3D11_MESSAGE_ID_UNKNOWN + Unknown = 0, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_HAZARD + DeviceIASetVertexBuffersHazard = 1, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_HAZARD + DeviceIASetIndexBufferHazard = 2, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_HAZARD + DeviceVSSetShaderResourcesHazard = 3, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_HAZARD + DeviceVSSetConstantBuffersHazard = 4, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_HAZARD + DeviceGSSetShaderResourcesHazard = 5, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_HAZARD + DeviceGSSetConstantBuffersHazard = 6, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_HAZARD + DevicePSSetShaderResourcesHazard = 7, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_HAZARD + DevicePSSetConstantBuffersHazard = 8, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETS_HAZARD + DeviceOMSetRenderTargetsHazard = 9, + /// + /// D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_HAZARD + DeviceSOSetTargetsHazard = 10, + /// + /// D3D11_MESSAGE_ID_STRING_FROM_APPLICATION + StringFromApplication = 11, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_THIS + CorruptedThis = 12, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER1 + CorruptedParameter1 = 13, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER2 + CorruptedParameter2 = 14, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER3 + CorruptedParameter3 = 15, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER4 + CorruptedParameter4 = 16, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER5 + CorruptedParameter5 = 17, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER6 + CorruptedParameter6 = 18, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER7 + CorruptedParameter7 = 19, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER8 + CorruptedParameter8 = 20, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER9 + CorruptedParameter9 = 21, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER10 + CorruptedParameter10 = 22, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER11 + CorruptedParameter11 = 23, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER12 + CorruptedParameter12 = 24, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER13 + CorruptedParameter13 = 25, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER14 + CorruptedParameter14 = 26, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_PARAMETER15 + CorruptedParameter15 = 27, + /// + /// D3D11_MESSAGE_ID_CORRUPTED_MULTITHREADING + CorruptedMultithreading = 28, + /// + /// D3D11_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY + MessageReportingOutOfMemory = 29, + /// + /// D3D11_MESSAGE_ID_IASETINPUTLAYOUT_UNBINDDELETINGOBJECT + IASetInputLayoutUnbindDeletingObject = 30, + /// + /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_UNBINDDELETINGOBJECT + IASetVertexBuffersUnbindDeletingObject = 31, + /// + /// D3D11_MESSAGE_ID_IASETINDEXBUFFER_UNBINDDELETINGOBJECT + IASetIndexBufferUnbindDeletingObject = 32, + /// + /// D3D11_MESSAGE_ID_VSSETSHADER_UNBINDDELETINGOBJECT + VSSetShaderUnbindDeletingObject = 33, + /// + /// D3D11_MESSAGE_ID_VSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + VSSetShaderResourcesUnbindDeletingObject = 34, + /// + /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + VSSetConstantBuffersUnbindDeletingObject = 35, + /// + /// D3D11_MESSAGE_ID_VSSETSAMPLERS_UNBINDDELETINGOBJECT + VSSetSamplersUnbindDeletingObject = 36, + /// + /// D3D11_MESSAGE_ID_GSSETSHADER_UNBINDDELETINGOBJECT + GSSetShaderUnbindDeletingObject = 37, + /// + /// D3D11_MESSAGE_ID_GSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + GSSetShaderResourcesUnbindDeletingObject = 38, + /// + /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + GSSetConstantBuffersUnbindDeletingObject = 39, + /// + /// D3D11_MESSAGE_ID_GSSETSAMPLERS_UNBINDDELETINGOBJECT + GSSetSamplersUnbindDeletingObject = 40, + /// + /// D3D11_MESSAGE_ID_SOSETTARGETS_UNBINDDELETINGOBJECT + SOSetTargetsUnbindDeletingObject = 41, + /// + /// D3D11_MESSAGE_ID_PSSETSHADER_UNBINDDELETINGOBJECT + PSSetShaderUnbindDeletingObject = 42, + /// + /// D3D11_MESSAGE_ID_PSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + PSSetShaderResourcesUnbindDeletingObject = 43, + /// + /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + PSSetConstantBuffersUnbindDeletingObject = 44, + /// + /// D3D11_MESSAGE_ID_PSSETSAMPLERS_UNBINDDELETINGOBJECT + PSSetSamplersUnbindDeletingObject = 45, + /// + /// D3D11_MESSAGE_ID_RSSETSTATE_UNBINDDELETINGOBJECT + RSSetStateUnbindDeletingObject = 46, + /// + /// D3D11_MESSAGE_ID_OMSETBLENDSTATE_UNBINDDELETINGOBJECT + OMSetBlendStateUnbindDeletingObject = 47, + /// + /// D3D11_MESSAGE_ID_OMSETDEPTHSTENCILSTATE_UNBINDDELETINGOBJECT + OMSetDepthStencilStateUnbindDeletingObject = 48, + /// + /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_UNBINDDELETINGOBJECT + OMSetRenderTargetsUnbindDeletingObject = 49, + /// + /// D3D11_MESSAGE_ID_SETPREDICATION_UNBINDDELETINGOBJECT + SetPredicationUnbindDeletingObject = 50, + /// + /// D3D11_MESSAGE_ID_GETPRIVATEDATA_MOREDATA + GetPrivateDataMoreData = 51, + /// + /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA + SetPrivateDataInvalidFreeData = 52, + /// + /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDIUNKNOWN + SetPrivateDataInvalidIUnknown = 53, + /// + /// D3D11_MESSAGE_ID_SETPRIVATEDATA_INVALIDFLAGS + SetPrivateDataInvalidFlags = 54, + /// + /// D3D11_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS + SetPrivateDataChangingParams = 55, + /// + /// D3D11_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY + SetPrivateDataOutOfMemory = 56, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDFORMAT + CreateBufferUnrecognizedFormat = 57, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSAMPLES + CreateBufferInvalidSamples = 58, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDUSAGE + CreateBufferUnrecognizedUsage = 59, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDBINDFLAGS + CreateBufferUnrecognizedBindFlags = 60, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDCPUACCESSFLAGS + CreateBufferUnrecognizedCPUAccessFlags = 61, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_UNRECOGNIZEDMISCFLAGS + CreateBufferUnrecognizedMiscFlags = 62, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCPUACCESSFLAGS + CreateBufferInvalidCPUAccessFlags = 63, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDBINDFLAGS + CreateBufferInvalidBindFlags = 64, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDINITIALDATA + CreateBufferInvalidInitialData = 65, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDDIMENSIONS + CreateBufferInvalidDimensions = 66, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMIPLEVELS + CreateBufferInvalidMipLevels = 67, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDMISCFLAGS + CreateBufferInvalidMiscFlags = 68, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDARG_RETURN + CreateBufferInvalidArgReturn = 69, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_OUTOFMEMORY_RETURN + CreateBufferOutOfMemoryReturn = 70, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_NULLDESC + CreateBufferNullDesc = 71, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDCONSTANTBUFFERBINDINGS + CreateBufferInvalidConstantBufferBindings = 72, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_LARGEALLOCATION + CreateBufferLargeAllocation = 73, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDFORMAT + CreateTexture1DUnrecognizedFormat = 74, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNSUPPORTEDFORMAT + CreateTexture1DUnsupportedFormat = 75, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDSAMPLES + CreateTexture1DInvalidSamples = 76, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDUSAGE + CreateTexture1DUnrecognizedUsage = 77, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDBINDFLAGS + CreateTexture1DUnrecognizedBindFlags = 78, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDCPUACCESSFLAGS + CreateTexture1DUnrecognizedCPUAccessFlags = 79, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_UNRECOGNIZEDMISCFLAGS + CreateTexture1DUnrecognizedMiscFlags = 80, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDCPUACCESSFLAGS + CreateTexture1DInvalidCPUAccessFlags = 81, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDBINDFLAGS + CreateTexture1DInvalidBindFlags = 82, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDINITIALDATA + CreateTexture1DInvalidInitialData = 83, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDDIMENSIONS + CreateTexture1DInvalidDimensions = 84, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMIPLEVELS + CreateTexture1DInvalidMipLevels = 85, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDMISCFLAGS + CreateTexture1DInvalidMiscFlags = 86, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDARG_RETURN + CreateTexture1DInvalidArgReturn = 87, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_OUTOFMEMORY_RETURN + CreateTexture1DOutOfMemoryReturn = 88, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_NULLDESC + CreateTexture1DNullDesc = 89, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_LARGEALLOCATION + CreateTexture1DLargeAllocation = 90, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDFORMAT + CreateTexture2DUnrecognizedFormat = 91, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNSUPPORTEDFORMAT + CreateTexture2DUnsupportedFormat = 92, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDSAMPLES + CreateTexture2DInvalidSamples = 93, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDUSAGE + CreateTexture2DUnrecognizedUsage = 94, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDBINDFLAGS + CreateTexture2DUnrecognizedBindFlags = 95, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDCPUACCESSFLAGS + CreateTexture2DUnrecognizedCPUAccessFlags = 96, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_UNRECOGNIZEDMISCFLAGS + CreateTexture2DUnrecognizedMiscFlags = 97, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDCPUACCESSFLAGS + CreateTexture2DInvalidCPUAccessFlags = 98, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDBINDFLAGS + CreateTexture2DInvalidBindFlags = 99, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDINITIALDATA + CreateTexture2DInvalidInitialData = 100, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDDIMENSIONS + CreateTexture2DInvalidDimensions = 101, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMIPLEVELS + CreateTexture2DInvalidMipLevels = 102, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDMISCFLAGS + CreateTexture2DInvalidMiscFlags = 103, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDARG_RETURN + CreateTexture2DInvalidArgReturn = 104, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_OUTOFMEMORY_RETURN + CreateTexture2DOutOfMemoryReturn = 105, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_NULLDESC + CreateTexture2DNullDesc = 106, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_LARGEALLOCATION + CreateTexture2DLargeAllocation = 107, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDFORMAT + CreateTexture3DUnrecognizedFormat = 108, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNSUPPORTEDFORMAT + CreateTexture3DUnsupportedFormat = 109, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDSAMPLES + CreateTexture3DInvalidSamples = 110, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDUSAGE + CreateTexture3DUnrecognizedUsage = 111, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDBINDFLAGS + CreateTexture3DUnrecognizedBindFlags = 112, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDCPUACCESSFLAGS + CreateTexture3DUnrecognizedCPUAccessFlags = 113, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_UNRECOGNIZEDMISCFLAGS + CreateTexture3DUnrecognizedMiscFlags = 114, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDCPUACCESSFLAGS + CreateTexture3DInvalidCPUAccessFlags = 115, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDBINDFLAGS + CreateTexture3DInvalidBindFlags = 116, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDINITIALDATA + CreateTexture3DInvalidInitialData = 117, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDDIMENSIONS + CreateTexture3DInvalidDimensions = 118, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMIPLEVELS + CreateTexture3DInvalidMipLevels = 119, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDMISCFLAGS + CreateTexture3DInvalidMiscFlags = 120, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_INVALIDARG_RETURN + CreateTexture3DInvalidArgReturn = 121, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_OUTOFMEMORY_RETURN + CreateTexture3DOutOfMemoryReturn = 122, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_NULLDESC + CreateTexture3DNullDesc = 123, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE3D_LARGEALLOCATION + CreateTexture3DLargeAllocation = 124, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT + CreateShaderResourceViewUnrecognizedFormat = 125, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC + CreateShaderResourceViewInvalidDesc = 126, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT + CreateShaderResourceViewInvalidFormat = 127, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS + CreateShaderResourceViewInvalidDimensions = 128, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE + CreateShaderResourceViewInvalidResource = 129, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_TOOMANYOBJECTS + CreateShaderResourceViewTooManyObjects = 130, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDARG_RETURN + CreateShaderResourceViewInvalidArgReturn = 131, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_OUTOFMEMORY_RETURN + CreateShaderResourceViewOutOfMemoryReturn = 132, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT + CreateRenderTargetViewUnrecognizedFormat = 133, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT + CreateRenderTargetViewUnsupportedFormat = 134, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC + CreateRenderTargetViewInvalidDesc = 135, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT + CreateRenderTargetViewInvalidFormat = 136, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS + CreateRenderTargetViewInvalidDimensions = 137, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE + CreateRenderTargetViewInvalidResource = 138, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_TOOMANYOBJECTS + CreateRenderTargetViewTooManyObjects = 139, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDARG_RETURN + CreateRenderTargetViewInvalidArgReturn = 140, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_OUTOFMEMORY_RETURN + CreateRenderTargetViewOutOfMemoryReturn = 141, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT + CreateDepthStencilViewUnrecognizedFormat = 142, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC + CreateDepthStencilViewInvalidDesc = 143, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT + CreateDepthStencilViewInvalidFormat = 144, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS + CreateDepthStencilViewInvalidDimensions = 145, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE + CreateDepthStencilViewInvalidResource = 146, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_TOOMANYOBJECTS + CreateDepthStencilViewTooManyObjects = 147, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDARG_RETURN + CreateDepthStencilViewInvalidArgReturn = 148, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_OUTOFMEMORY_RETURN + CreateDepthStencilViewOutOfMemoryReturn = 149, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY + CreateInputLayoutOutOfMemory = 150, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS + CreateInputLayoutTooManyElements = 151, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT + CreateInputLayoutInvalidFormat = 152, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT + CreateInputLayoutIncompatibleFormat = 153, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT + CreateInputLayoutInvalidSlot = 154, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS + CreateInputLayoutInvalidInputSlotClass = 155, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH + CreateInputLayoutStepRateSlotClassMismatch = 156, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE + CreateInputLayoutInvalidSlotClassChange = 157, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE + CreateInputLayoutInvalidStepRateChange = 158, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT + CreateInputLayoutInvalidAlignment = 159, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC + CreateInputLayoutDuplicateSemantic = 160, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE + CreateInputLayoutUnparseableInputSignature = 161, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC + CreateInputLayoutNullSemantic = 162, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT + CreateInputLayoutMissingElement = 163, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_NULLDESC + CreateInputLayoutNullDesc = 164, + /// + /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY + CreateVertexShaderOutOfMemory = 165, + /// + /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE + CreateVertexShaderInvalidShaderBytecode = 166, + /// + /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE + CreateVertexShaderInvalidShaderType = 167, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY + CreateGeometryShaderOutOfMemory = 168, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE + CreateGeometryShaderInvalidShaderBytecode = 169, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE + CreateGeometryShaderInvalidShaderType = 170, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY + CreateGeometryShaderWithStreamOutputOutOfMemory = 171, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE + CreateGeometryShaderWithStreamOutputInvalidShaderBytecode = 172, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE + CreateGeometryShaderWithStreamOutputInvalidShaderType = 173, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES + CreateGeometryShaderWithStreamOutputInvalidNumEntries = 174, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED + CreateGeometryShaderWithStreamOutputOutputStreamStrideUnused = 175, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDDECL + CreateGeometryShaderWithStreamOutputUnexpectedDecl = 176, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_EXPECTEDDECL + CreateGeometryShaderWithStreamOutputExpectedDecl = 177, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED + CreateGeometryShaderWithStreamOutputOutputSlot0Expected = 178, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT + CreateGeometryShaderWithStreamOutputInvalidOutputSlot = 179, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT + CreateGeometryShaderWithStreamOutputOnlyoneelementperslot = 180, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT + CreateGeometryShaderWithStreamOutputInvalidComponentCount = 181, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT + CreateGeometryShaderWithStreamOutputInvalidStartComponentAndComponentCount = 182, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION + CreateGeometryShaderWithStreamOutputInvalidGapDefinition = 183, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT + CreateGeometryShaderWithStreamOutputRepeatedOutput = 184, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE + CreateGeometryShaderWithStreamOutputInvalidOutputStreamStride = 185, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC + CreateGeometryShaderWithStreamOutputMissingsemantic = 186, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH + CreateGeometryShaderWithStreamOutputMaskmismatch = 187, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS + CreateGeometryShaderWithStreamOutputCanthaveonlygaps = 188, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX + CreateGeometryShaderWithStreamOutputDecltoocomplex = 189, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE + CreateGeometryShaderWithStreamOutputMissingOutputSignature = 190, + /// + /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY + CreatePixelShaderOutOfMemory = 191, + /// + /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE + CreatePixelShaderInvalidShaderBytecode = 192, + /// + /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE + CreatePixelShaderInvalidShaderType = 193, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE + CreateRasterizerStateInvalidFillMode = 194, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE + CreateRasterizerStateInvalidCullMode = 195, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP + CreateRasterizerStateInvalidDepthBiasClamp = 196, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS + CreateRasterizerStateInvalidSlopeScaledDepthBias = 197, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_TOOMANYOBJECTS + CreateRasterizerStateTooManyObjects = 198, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_NULLDESC + CreateRasterizerStateNullDesc = 199, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK + CreateDepthStencilStateInvalidDepthWriteMask = 200, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC + CreateDepthStencilStateInvalidDepthFunc = 201, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP + CreateDepthStencilStateInvalidFrontFaceStencilFailOp = 202, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP + CreateDepthStencilStateInvalidFrontFaceStencilZFailOp = 203, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP + CreateDepthStencilStateInvalidFrontFaceStencilPassOp = 204, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC + CreateDepthStencilStateInvalidFrontFaceStencilFunc = 205, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP + CreateDepthStencilStateInvalidBackFaceStencilFailOp = 206, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP + CreateDepthStencilStateInvalidBackFaceStencilZFailOp = 207, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP + CreateDepthStencilStateInvalidBackFaceStencilPassOp = 208, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC + CreateDepthStencilStateInvalidBackFaceStencilFunc = 209, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_TOOMANYOBJECTS + CreateDepthStencilStateTooManyObjects = 210, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_NULLDESC + CreateDepthStencilStateNullDesc = 211, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND + CreateBlendStateInvalidSrcBlend = 212, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND + CreateBlendStateInvalidDestBlend = 213, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP + CreateBlendStateInvalidBlendOp = 214, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA + CreateBlendStateInvalidSrcBlendAlpha = 215, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA + CreateBlendStateInvalidDestBlendAlpha = 216, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA + CreateBlendStateInvalidBlendOpAlpha = 217, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK + CreateBlendStateInvalidRenderTargetWriteMask = 218, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_TOOMANYOBJECTS + CreateBlendStateTooManyObjects = 219, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NULLDESC + CreateBlendStateNullDesc = 220, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDFILTER + CreateSamplerStateInvalidFilter = 221, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSU + CreateSamplerStateInvalidAddressU = 222, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSV + CreateSamplerStateInvalidAddressV = 223, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDADDRESSW + CreateSamplerStateInvalidAddressW = 224, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMIPLODBIAS + CreateSamplerStateInvalidmiplodbias = 225, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXANISOTROPY + CreateSamplerStateInvalidMaxAnisotropy = 226, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDCOMPARISONFUNC + CreateSamplerStateInvalidComparisonFunc = 227, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMINLOD + CreateSamplerStateInvalidMinLod = 228, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_INVALIDMAXLOD + CreateSamplerStateInvalidMaxLod = 229, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_TOOMANYOBJECTS + CreateSamplerStateTooManyObjects = 230, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NULLDESC + CreateSamplerStateNullDesc = 231, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDQUERY + CreateQueryOrPredicateInvalidQuery = 232, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDMISCFLAGS + CreateQueryOrPredicateInvalidMiscFlags = 233, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNEXPECTEDMISCFLAG + CreateQueryOrPredicateUnexpectedmiscflag = 234, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_NULLDESC + CreateQueryOrPredicateNullDesc = 235, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNRECOGNIZED + DeviceIASetPrimitiveTopologyTopologyUnrecognized = 236, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNDEFINED + DeviceIASetPrimitiveTopologyTopologyUndefined = 237, + /// + /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_INVALIDBUFFER + IASetVertexBuffersInvalidBuffer = 238, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_OFFSET_TOO_LARGE + DeviceIASetVertexBuffersOffsetTooLarge = 239, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_BUFFERS_EMPTY + DeviceIASetVertexBuffersBuffersEmpty = 240, + /// + /// D3D11_MESSAGE_ID_IASETINDEXBUFFER_INVALIDBUFFER + IASetIndexBufferInvalidBuffer = 241, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_FORMAT_INVALID + DeviceIASetIndexBufferFormatInvalid = 242, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_TOO_LARGE + DeviceIASetIndexBufferOffsetTooLarge = 243, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETINDEXBUFFER_OFFSET_UNALIGNED + DeviceIASetIndexBufferOffsetUnaligned = 244, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSSETSHADERRESOURCES_VIEWS_EMPTY + DeviceVSSetShaderResourcesViewsEmpty = 245, + /// + /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFER + VSSetConstantBuffersInvalidBuffer = 246, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceVSSetConstantBuffersBuffersEmpty = 247, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSSETSAMPLERS_SAMPLERS_EMPTY + DeviceVSSetSamplersSamplersEmpty = 248, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSSETSHADERRESOURCES_VIEWS_EMPTY + DeviceGSSetShaderResourcesViewsEmpty = 249, + /// + /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFER + GSSetConstantBuffersInvalidBuffer = 250, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceGSSetConstantBuffersBuffersEmpty = 251, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSSETSAMPLERS_SAMPLERS_EMPTY + DeviceGSSetSamplersSamplersEmpty = 252, + /// + /// D3D11_MESSAGE_ID_SOSETTARGETS_INVALIDBUFFER + SOSetTargetsInvalidBuffer = 253, + /// + /// D3D11_MESSAGE_ID_DEVICE_SOSETTARGETS_OFFSET_UNALIGNED + DeviceSOSetTargetsOffsetUnaligned = 254, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSSETSHADERRESOURCES_VIEWS_EMPTY + DevicePSSetShaderResourcesViewsEmpty = 255, + /// + /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFER + PSSetConstantBuffersInvalidBuffer = 256, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DevicePSSetConstantBuffersBuffersEmpty = 257, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSSETSAMPLERS_SAMPLERS_EMPTY + DevicePSSetSamplersSamplersEmpty = 258, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_INVALIDVIEWPORT + DeviceRSSetViewportsInvalidviewport = 259, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_INVALIDSCISSOR + DeviceRSSetScissorRectsInvalidscissor = 260, + /// + /// D3D11_MESSAGE_ID_CLEARRENDERTARGETVIEW_DENORMFLUSH + ClearRenderTargetViewDenormFlush = 261, + /// + /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DENORMFLUSH + ClearDepthStencilViewDenormFlush = 262, + /// + /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID + ClearDepthStencilViewInvalid = 263, + /// + /// D3D11_MESSAGE_ID_DEVICE_IAGETVERTEXBUFFERS_BUFFERS_EMPTY + DeviceIAGetVertexBuffersBuffersEmpty = 264, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSGETSHADERRESOURCES_VIEWS_EMPTY + DeviceVSGetShaderResourcesViewsEmpty = 265, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceVSGetConstantBuffersBuffersEmpty = 266, + /// + /// D3D11_MESSAGE_ID_DEVICE_VSGETSAMPLERS_SAMPLERS_EMPTY + DeviceVSGetSamplersSamplersEmpty = 267, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSGETSHADERRESOURCES_VIEWS_EMPTY + DeviceGSGetShaderResourcesViewsEmpty = 268, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceGSGetConstantBuffersBuffersEmpty = 269, + /// + /// D3D11_MESSAGE_ID_DEVICE_GSGETSAMPLERS_SAMPLERS_EMPTY + DeviceGSGetSamplersSamplersEmpty = 270, + /// + /// D3D11_MESSAGE_ID_DEVICE_SOGETTARGETS_BUFFERS_EMPTY + DeviceSOGetTargetsBuffersEmpty = 271, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSGETSHADERRESOURCES_VIEWS_EMPTY + DevicePSGetShaderResourcesViewsEmpty = 272, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DevicePSGetConstantBuffersBuffersEmpty = 273, + /// + /// D3D11_MESSAGE_ID_DEVICE_PSGETSAMPLERS_SAMPLERS_EMPTY + DevicePSGetSamplersSamplersEmpty = 274, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSGETVIEWPORTS_VIEWPORTS_EMPTY + DeviceRSGetViewportsViewportsEmpty = 275, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSGETSCISSORRECTS_RECTS_EMPTY + DeviceRSGetScissorRectsRectsEmpty = 276, + /// + /// D3D11_MESSAGE_ID_DEVICE_GENERATEMIPS_RESOURCE_INVALID + DeviceGenerateMipsResourceInvalid = 277, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSUBRESOURCE + CopySubresourceRegionInvalidDestinationSubresource = 278, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESUBRESOURCE + CopySubresourceRegionInvalidsourcesubresource = 279, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCEBOX + CopySubresourceRegionInvalidsourcebox = 280, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCE + CopySubresourceRegionInvalidSource = 281, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDDESTINATIONSTATE + CopySubresourceRegionInvalidDestinationState = 282, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_INVALIDSOURCESTATE + CopySubresourceRegionInvalidSourceState = 283, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCE + CopyResourceInvalidSource = 284, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDDESTINATIONSTATE + CopyResourceInvalidDestinationState = 285, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_INVALIDSOURCESTATE + CopyResourceInvalidSourceState = 286, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSUBRESOURCE + UpdateSubresourceInvalidDestinationSubresource = 287, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONBOX + UpdateSubresourceInvalidDestinationBox = 288, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_INVALIDDESTINATIONSTATE + UpdateSubresourceInvalidDestinationState = 289, + /// + /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_INVALID + DeviceResolveSubresourceDestinationInvalid = 290, + /// + /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_DESTINATION_SUBRESOURCE_INVALID + DeviceResolveSubresourceDestinationSubresourceInvalid = 291, + /// + /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_INVALID + DeviceResolveSubresourceSourceInvalid = 292, + /// + /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_SOURCE_SUBRESOURCE_INVALID + DeviceResolveSubresourceSourceSubresourceInvalid = 293, + /// + /// D3D11_MESSAGE_ID_DEVICE_RESOLVESUBRESOURCE_FORMAT_INVALID + DeviceResolveSubresourceFormatInvalid = 294, + /// + /// D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDMAPTYPE + BufferMapInvalidMapType = 295, + /// + /// D3D11_MESSAGE_ID_BUFFER_MAP_INVALIDFLAGS + BufferMapInvalidFlags = 296, + /// + /// D3D11_MESSAGE_ID_BUFFER_MAP_ALREADYMAPPED + BufferMapAlreadyMapped = 297, + /// + /// D3D11_MESSAGE_ID_BUFFER_MAP_DEVICEREMOVED_RETURN + BufferMapDeviceRemovedReturn = 298, + /// + /// D3D11_MESSAGE_ID_BUFFER_UNMAP_NOTMAPPED + BufferUnmapNotMapped = 299, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDMAPTYPE + Texture1DMapInvalidMapType = 300, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDSUBRESOURCE + Texture1DMapInvalidSubresource = 301, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_INVALIDFLAGS + Texture1DMapInvalidFlags = 302, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_ALREADYMAPPED + Texture1DMapAlreadyMapped = 303, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_MAP_DEVICEREMOVED_RETURN + Texture1DMapDeviceRemovedReturn = 304, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_INVALIDSUBRESOURCE + Texture1DUnmapInvalidSubresource = 305, + /// + /// D3D11_MESSAGE_ID_TEXTURE1D_UNMAP_NOTMAPPED + Texture1DUnmapNotMapped = 306, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDMAPTYPE + Texture2DMapInvalidMapType = 307, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDSUBRESOURCE + Texture2DMapInvalidSubresource = 308, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_INVALIDFLAGS + Texture2DMapInvalidFlags = 309, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_ALREADYMAPPED + Texture2DMapAlreadyMapped = 310, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_MAP_DEVICEREMOVED_RETURN + Texture2DMapDeviceRemovedReturn = 311, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_INVALIDSUBRESOURCE + Texture2DUnmapInvalidSubresource = 312, + /// + /// D3D11_MESSAGE_ID_TEXTURE2D_UNMAP_NOTMAPPED + Texture2DUnmapNotMapped = 313, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDMAPTYPE + Texture3DMapInvalidMapType = 314, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDSUBRESOURCE + Texture3DMapInvalidSubresource = 315, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_INVALIDFLAGS + Texture3DMapInvalidFlags = 316, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_ALREADYMAPPED + Texture3DMapAlreadyMapped = 317, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_MAP_DEVICEREMOVED_RETURN + Texture3DMapDeviceRemovedReturn = 318, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_INVALIDSUBRESOURCE + Texture3DUnmapInvalidSubresource = 319, + /// + /// D3D11_MESSAGE_ID_TEXTURE3D_UNMAP_NOTMAPPED + Texture3DUnmapNotMapped = 320, + /// + /// D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_DEPRECATED + CheckFormatSupportFormatDeprecated = 321, + /// + /// D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_FORMAT_DEPRECATED + CheckMultisampleQualityLevelsFormatDeprecated = 322, + /// + /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_UNRECOGNIZEDFLAGS + SetExceptionModeUnrecognizedflags = 323, + /// + /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_INVALIDARG_RETURN + SetExceptionModeInvalidArgReturn = 324, + /// + /// D3D11_MESSAGE_ID_SETEXCEPTIONMODE_DEVICEREMOVED_RETURN + SetExceptionModeDeviceRemovedReturn = 325, + /// + /// D3D11_MESSAGE_ID_REF_SIMULATING_INFINITELY_FAST_HARDWARE + RefSimulatingInfinitelyFastHardware = 326, + /// + /// D3D11_MESSAGE_ID_REF_THREADING_MODE + RefThreadingMode = 327, + /// + /// D3D11_MESSAGE_ID_REF_UMDRIVER_EXCEPTION + RefUmdriverException = 328, + /// + /// D3D11_MESSAGE_ID_REF_KMDRIVER_EXCEPTION + RefKmdriverException = 329, + /// + /// D3D11_MESSAGE_ID_REF_HARDWARE_EXCEPTION + RefHardwareException = 330, + /// + /// D3D11_MESSAGE_ID_REF_ACCESSING_INDEXABLE_TEMP_OUT_OF_RANGE + RefAccessingIndexableTempOutOfRange = 331, + /// + /// D3D11_MESSAGE_ID_REF_PROBLEM_PARSING_SHADER + RefProblemParsingShader = 332, + /// + /// D3D11_MESSAGE_ID_REF_OUT_OF_MEMORY + RefOutOfMemory = 333, + /// + /// D3D11_MESSAGE_ID_REF_INFO + RefInfo = 334, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEXPOS_OVERFLOW + DeviceDrawVertexPosOverflow = 335, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXED_INDEXPOS_OVERFLOW + DeviceDrawindexedIndexPosOverflow = 336, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_VERTEXPOS_OVERFLOW + DeviceDrawInstancedVertexPosOverflow = 337, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINSTANCED_INSTANCEPOS_OVERFLOW + DeviceDrawInstancedInstancePosOverflow = 338, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INSTANCEPOS_OVERFLOW + DeviceDrawIndexedInstancedInstancePosOverflow = 339, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDEXEDINSTANCED_INDEXPOS_OVERFLOW + DeviceDrawIndexedInstancedIndexPosOverflow = 340, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_SHADER_NOT_SET + DeviceDrawVertexShaderNotSet = 341, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND + DeviceShaderLinkageSemanticNameNotFound = 342, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERINDEX + DeviceShaderLinkageRegisterIndex = 343, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_COMPONENTTYPE + DeviceShaderLinkageComponentType = 344, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_REGISTERMASK + DeviceShaderLinkageRegisterMask = 345, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_SYSTEMVALUE + DeviceShaderLinkageSystemValue = 346, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS + DeviceShaderLinkageNeverWrittenAlwaysReads = 347, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_NOT_SET + DeviceDrawVertexBufferNotSet = 348, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INPUTLAYOUT_NOT_SET + DeviceDrawInputLayoutNotSet = 349, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_NOT_SET + DeviceDrawConstantBufferNotSet = 350, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_CONSTANT_BUFFER_TOO_SMALL + DeviceDrawConstantBufferTooSmall = 351, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_NOT_SET + DeviceDrawSamplerNotSet = 352, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SHADERRESOURCEVIEW_NOT_SET + DeviceDrawShaderResourceViewNotSet = 353, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VIEW_DIMENSION_MISMATCH + DeviceDrawViewDimensionMismatch = 354, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL + DeviceDrawVertexBufferStrideTooSmall = 355, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL + DeviceDrawVertexBufferTooSmall = 356, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_NOT_SET + DeviceDrawIndexBufferNotSet = 357, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_FORMAT_INVALID + DeviceDrawIndexBufferFormatInvalid = 358, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL + DeviceDrawIndexBufferTooSmall = 359, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_GS_INPUT_PRIMITIVE_MISMATCH + DeviceDrawGSInputPrimitiveMismatch = 360, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_RETURN_TYPE_MISMATCH + DeviceDrawResourceReturnTypeMismatch = 361, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_POSITION_NOT_PRESENT + DeviceDrawPositionNotPresent = 362, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_NOT_SET + DeviceDrawOutputStreamNotSet = 363, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_BOUND_RESOURCE_MAPPED + DeviceDrawBoundResourceMapped = 364, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_PRIMITIVETOPOLOGY + DeviceDrawInvalidPrimitivetopology = 365, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_OFFSET_UNALIGNED + DeviceDrawVertexOffsetUnaligned = 366, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VERTEX_STRIDE_UNALIGNED + DeviceDrawVertexStrideUnaligned = 367, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INDEX_OFFSET_UNALIGNED + DeviceDrawIndexOffsetUnaligned = 368, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_OUTPUT_STREAM_OFFSET_UNALIGNED + DeviceDrawOutputStreamOffsetUnaligned = 369, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_LD_UNSUPPORTED + DeviceDrawResourceFormatLdUnsupported = 370, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_UNSUPPORTED + DeviceDrawResourceFormatSampleUnsupported = 371, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_SAMPLE_C_UNSUPPORTED + DeviceDrawResourceFormatSampleCUnsupported = 372, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_MULTISAMPLE_UNSUPPORTED + DeviceDrawResourceMultisampleUnsupported = 373, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_TARGETS_BOUND_WITHOUT_SOURCE + DeviceDrawSOTargetsBoundWithoutSource = 374, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SO_STRIDE_LARGER_THAN_BUFFER + DeviceDrawSOStrideLargerThanBuffer = 375, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING + DeviceDrawOMRenderTargetDoesNotSupportBlending = 376, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 + DeviceDrawOMDualSourceBlendingCanOnlyHaveRenderTarget0 = 377, + /// + /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT + DeviceRemovalProcessAtFault = 378, + /// + /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT + DeviceRemovalProcessPossiblyAtFault = 379, + /// + /// D3D11_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT + DeviceRemovalProcessNotAtFault = 380, + /// + /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_INVALIDARG_RETURN + DeviceOpenSharedResourceInvalidArgReturn = 381, + /// + /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_OUTOFMEMORY_RETURN + DeviceOpenSharedResourceOutOfMemoryReturn = 382, + /// + /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BADINTERFACE_RETURN + DeviceOpenSharedResourceBadinterfaceReturn = 383, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_VIEWPORT_NOT_SET + DeviceDrawViewportNotSet = 384, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC + CreateInputLayoutTrailingDigitInSemantic = 385, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC + CreateGeometryShaderWithStreamOutputTrailingDigitInSemantic = 386, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_DENORMFLUSH + DeviceRSSetViewportsDenormFlush = 387, + /// + /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_INVALIDVIEW + OMSetRenderTargetsInvalidView = 388, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETTEXTFILTERSIZE_INVALIDDIMENSIONS + DeviceSettextfiltersizeInvalidDimensions = 389, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLER_MISMATCH + DeviceDrawSamplerMismatch = 390, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH + CreateInputLayoutTypeMismatch = 391, + /// + /// D3D11_MESSAGE_ID_BLENDSTATE_GETDESC_LEGACY + BlendStateGetDescLegacy = 392, + /// + /// D3D11_MESSAGE_ID_SHADERRESOURCEVIEW_GETDESC_LEGACY + ShaderResourceViewGetDescLegacy = 393, + /// + /// D3D11_MESSAGE_ID_CREATEQUERY_OUTOFMEMORY_RETURN + CreateQueryOutOfMemoryReturn = 394, + /// + /// D3D11_MESSAGE_ID_CREATEPREDICATE_OUTOFMEMORY_RETURN + CreatePredicateOutOfMemoryReturn = 395, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFRANGE_COUNTER + CreateCounterOutOfRangeCounter = 396, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_SIMULTANEOUS_ACTIVE_COUNTERS_EXHAUSTED + CreateCounterSimultaneousActiveCountersExhausted = 397, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER + CreateCounterUnsupportedWellknownCounter = 398, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_OUTOFMEMORY_RETURN + CreateCounterOutOfMemoryReturn = 399, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_NONEXCLUSIVE_RETURN + CreateCounterNonExclusiveReturn = 400, + /// + /// D3D11_MESSAGE_ID_CREATECOUNTER_NULLDESC + CreateCounterNullDesc = 401, + /// + /// D3D11_MESSAGE_ID_CHECKCOUNTER_OUTOFRANGE_COUNTER + CheckCounterOutOfRangeCounter = 402, + /// + /// D3D11_MESSAGE_ID_CHECKCOUNTER_UNSUPPORTED_WELLKNOWN_COUNTER + CheckCounterUnsupportedWellknownCounter = 403, + /// + /// D3D11_MESSAGE_ID_SETPREDICATION_INVALID_PREDICATE_STATE + SetPredicationInvalidPredicateState = 404, + /// + /// D3D11_MESSAGE_ID_QUERY_BEGIN_UNSUPPORTED + QueryBeginUnsupported = 405, + /// + /// D3D11_MESSAGE_ID_PREDICATE_BEGIN_DURING_PREDICATION + PredicateBeginDuringPredication = 406, + /// + /// D3D11_MESSAGE_ID_QUERY_BEGIN_DUPLICATE + QueryBeginDuplicate = 407, + /// + /// D3D11_MESSAGE_ID_QUERY_BEGIN_ABANDONING_PREVIOUS_RESULTS + QueryBeginAbandoningPreviousResults = 408, + /// + /// D3D11_MESSAGE_ID_PREDICATE_END_DURING_PREDICATION + PredicateEndDuringPredication = 409, + /// + /// D3D11_MESSAGE_ID_QUERY_END_ABANDONING_PREVIOUS_RESULTS + QueryEndAbandoningPreviousResults = 410, + /// + /// D3D11_MESSAGE_ID_QUERY_END_WITHOUT_BEGIN + QueryEndWithoutBegin = 411, + /// + /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_DATASIZE + QueryGetDataInvalidDatasize = 412, + /// + /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_FLAGS + QueryGetDataInvalidFlags = 413, + /// + /// D3D11_MESSAGE_ID_QUERY_GETDATA_INVALID_CALL + QueryGetDataInvalidCall = 414, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_PS_OUTPUT_TYPE_MISMATCH + DeviceDrawPSOutputTypeMismatch = 415, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_FORMAT_GATHER_UNSUPPORTED + DeviceDrawResourceFormatGatherUnsupported = 416, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN + DeviceDrawInvalidUseOfCenterMultisamplePattern = 417, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_STRIDE_TOO_LARGE + DeviceIASetVertexBuffersStrideTooLarge = 418, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETVERTEXBUFFERS_INVALIDRANGE + DeviceIASetVertexBuffersInvalidRange = 419, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT + CreateInputLayoutEmptyLayout = 420, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RESOURCE_SAMPLE_COUNT_MISMATCH + DeviceDrawResourceSampleCountMismatch = 421, + /// + /// D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY + LiveObjectSummary = 422, + /// + /// D3D11_MESSAGE_ID_LIVE_BUFFER + LiveBuffer = 423, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE1D + LiveTexture1D = 424, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE2D + LiveTexture2D = 425, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE3D + LiveTexture3D = 426, + /// + /// D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW + LiveShaderResourceView = 427, + /// + /// D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW + LiveRenderTargetView = 428, + /// + /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW + LiveDepthStencilView = 429, + /// + /// D3D11_MESSAGE_ID_LIVE_VERTEXSHADER + LiveVertexShader = 430, + /// + /// D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER + LiveGeometryShader = 431, + /// + /// D3D11_MESSAGE_ID_LIVE_PIXELSHADER + LivePixelShader = 432, + /// + /// D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT + LiveInputLayout = 433, + /// + /// D3D11_MESSAGE_ID_LIVE_SAMPLER + LiveSampler = 434, + /// + /// D3D11_MESSAGE_ID_LIVE_BLENDSTATE + LiveBlendState = 435, + /// + /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE + LiveDepthstencilstate = 436, + /// + /// D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE + LiveRasterizerstate = 437, + /// + /// D3D11_MESSAGE_ID_LIVE_QUERY + LiveQuery = 438, + /// + /// D3D11_MESSAGE_ID_LIVE_PREDICATE + LivePredicate = 439, + /// + /// D3D11_MESSAGE_ID_LIVE_COUNTER + LiveCounter = 440, + /// + /// D3D11_MESSAGE_ID_LIVE_DEVICE + LiveDevice = 441, + /// + /// D3D11_MESSAGE_ID_LIVE_SWAPCHAIN + LiveSwapchain = 442, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_STENCIL_NO_TWO_SIDED + CreateDepthStencilStateStencilNoTwoSided = 1048577, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthBiasClamp_NOT_SUPPORTED + CreateRasterizerStateDepthbiasclampNotSupported = 1048578, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_COMPARISON_SUPPORT + CreateSamplerStateNoComparisonSupport = 1048579, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_EXCESSIVE_ANISOTROPY + CreateSamplerStateExcessiveAnisotropy = 1048580, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_OUT_OF_RANGE + CreateSamplerStateBorderOutOfRange = 1048581, + /// + /// D3D11_MESSAGE_ID_VSSETSAMPLERS_NOT_SUPPORTED + VSSetSamplersNotSupported = 1048582, + /// + /// D3D11_MESSAGE_ID_VSSETSAMPLERS_TOO_MANY_SAMPLERS + VSSetSamplersTooManySamplers = 1048583, + /// + /// D3D11_MESSAGE_ID_PSSETSAMPLERS_TOO_MANY_SAMPLERS + PSSetSamplersTooManySamplers = 1048584, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_ARRAYS + CreateResourceNoArrays = 1048585, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_VB_AND_IB_BIND + CreateResourceNoVBAndIBBind = 1048586, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_TEXTURE_1D + CreateResourceNoTexture1D = 1048587, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_OUT_OF_RANGE + CreateResourceDimensionOutOfRange = 1048588, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_SHADER_RESOURCE + CreateResourceNotBindableAsShaderResource = 1048589, + /// + /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_TOO_MANY_RENDER_TARGETS + OMSetRenderTargetsTooManyRenderTargets = 1048590, + /// + /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_DIFFERING_BIT_DEPTHS + OMSetRenderTargetsNoDifferingBitDepths = 1048591, + /// + /// D3D11_MESSAGE_ID_IASETVERTEXBUFFERS_BAD_BUFFER_INDEX + IASetVertexBuffersBadBufferIndex = 1048592, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETVIEWPORTS_TOO_MANY_VIEWPORTS + DeviceRSSetViewportsTooManyViewports = 1048593, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_ADJACENCY_UNSUPPORTED + DeviceIASetPrimitiveTopologyAdjacencyUnsupported = 1048594, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_TOO_MANY_SCISSORS + DeviceRSSetScissorRectsTooManyScissors = 1048595, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_ONLY_TEXTURE_2D_WITHIN_GPU_MEMORY + CopyResourceOnlyTexture2DWithinGpuMemory = 1048596, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_3D_READBACK + CopyResourceNoTexture3DReadback = 1048597, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_TEXTURE_ONLY_READBACK + CopyResourceNoTextureOnlyReadback = 1048598, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_UNSUPPORTED_FORMAT + CreateInputLayoutUnsupportedFormat = 1048599, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_ALPHA_TO_COVERAGE + CreateBlendStateNoAlphaToCoverage = 1048600, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_DepthClipEnable_MUST_BE_TRUE + CreateRasterizerStateDepthclipenableMustBeTrue = 1048601, + /// + /// D3D11_MESSAGE_ID_DRAWINDEXED_STARTINDEXLOCATION_MUST_BE_POSITIVE + DrawindexedStartindexlocationMustBePositive = 1048602, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_MUST_USE_LOWEST_LOD + CreateShaderResourceViewMustUseLowestLod = 1048603, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MINLOD_MUST_NOT_BE_FRACTIONAL + CreateSamplerStateMinlodMustNotBeFractional = 1048604, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_MAXLOD_MUST_BE_FLT_MAX + CreateSamplerStateMaxlodMustBeFltMax = 1048605, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_FIRSTARRAYSLICE_MUST_BE_ZERO + CreateShaderResourceViewFirstarraysliceMustBeZero = 1048606, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_CUBES_MUST_HAVE_6_SIDES + CreateShaderResourceViewCubesMustHave6Sides = 1048607, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NOT_BINDABLE_AS_RENDER_TARGET + CreateResourceNotBindableAsRenderTarget = 1048608, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_DWORD_INDEX_BUFFER + CreateResourceNoDwordIndexBuffer = 1048609, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_MSAA_PRECLUDES_SHADER_RESOURCE + CreateResourceMsaaPrecludesShaderResource = 1048610, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_PRESENTATION_PRECLUDES_SHADER_RESOURCE + CreateResourcePresentationPrecludesShaderResource = 1048611, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_BLEND_ENABLE + CreateBlendStateNoIndependentBlendEnable = 1048612, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_INDEPENDENT_WRITE_MASKS + CreateBlendStateNoIndependentWriteMasks = 1048613, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_STREAM_OUT + CreateResourceNoStreamOut = 1048614, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_VB_IB_FOR_BUFFERS + CreateResourceOnlyVBIBForBuffers = 1048615, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NO_AUTOGEN_FOR_VOLUMES + CreateResourceNoAutogenForVolumes = 1048616, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_DXGI_FORMAT_R8G8B8A8_CANNOT_BE_SHARED + CreateResourceDxgiFormatR8g8b8a8CannotBeShared = 1048617, + /// + /// D3D11_MESSAGE_ID_VSSHADERRESOURCES_NOT_SUPPORTED + VsshaderresourcesNotSupported = 1048618, + /// + /// D3D11_MESSAGE_ID_GEOMETRY_SHADER_NOT_SUPPORTED + GeometryShaderNotSupported = 1048619, + /// + /// D3D11_MESSAGE_ID_STREAM_OUT_NOT_SUPPORTED + StreamOutNotSupported = 1048620, + /// + /// D3D11_MESSAGE_ID_TEXT_FILTER_NOT_SUPPORTED + TextFilterNotSupported = 1048621, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_SEPARATE_ALPHA_BLEND + CreateBlendStateNoSeparateAlphaBlend = 1048622, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_NO_MRT_BLEND + CreateBlendStateNoMRTBlend = 1048623, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_OPERATION_NOT_SUPPORTED + CreateBlendStateOperationNotSupported = 1048624, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_NO_MIRRORONCE + CreateSamplerStateNoMirrorOnce = 1048625, + /// + /// D3D11_MESSAGE_ID_DRAWINSTANCED_NOT_SUPPORTED + DrawInstancedNotSupported = 1048626, + /// + /// D3D11_MESSAGE_ID_DRAWINDEXEDINSTANCED_NOT_SUPPORTED_BELOW_9_3 + DrawIndexedInstancedNotSupportedBelow93 = 1048627, + /// + /// D3D11_MESSAGE_ID_DRAWINDEXED_POINTLIST_UNSUPPORTED + DrawindexedPointListUnsupported = 1048628, + /// + /// D3D11_MESSAGE_ID_SETBLENDSTATE_SAMPLE_MASK_CANNOT_BE_ZERO + SetblendstateSampleMaskCannotBeZero = 1048629, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_DIMENSION_EXCEEDS_FEATURE_LEVEL_DEFINITION + CreateResourceDimensionExceedsFeatureLevelDefinition = 1048630, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_ONLY_SINGLE_MIP_LEVEL_DEPTH_STENCIL_SUPPORTED + CreateResourceOnlySingleMipLevelDepthStencilSupported = 1048631, + /// + /// D3D11_MESSAGE_ID_DEVICE_RSSETSCISSORRECTS_NEGATIVESCISSOR + DeviceRSSetScissorRectsNegativescissor = 1048632, + /// + /// D3D11_MESSAGE_ID_SLOT_ZERO_MUST_BE_D3D10_INPUT_PER_VERTEX_DATA + SlotZeroMustBeD3D10InputPerVertexData = 1048633, + /// + /// D3D11_MESSAGE_ID_CREATERESOURCE_NON_POW_2_MIPMAP + CreateResourceNonPow2Mipmap = 1048634, + /// + /// D3D11_MESSAGE_ID_CREATESAMPLERSTATE_BORDER_NOT_SUPPORTED + CreateSamplerStateBorderNotSupported = 1048635, + /// + /// D3D11_MESSAGE_ID_OMSETRENDERTARGETS_NO_SRGB_MRT + OMSetRenderTargetsNoSrgbMRT = 1048636, + /// + /// D3D11_MESSAGE_ID_COPYRESOURCE_NO_3D_MISMATCHED_UPDATES + CopyResourceNo3DMismatchedUpdates = 1048637, + /// + /// D3D11_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS + CreateDepthStencilViewInvalidFlags = 2097153, + /// + /// D3D11_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE + CreateVertexShaderInvalidClassLinkage = 2097154, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE + CreateGeometryShaderInvalidClassLinkage = 2097155, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTREAMS + CreateGeometryShaderWithStreamOutputInvalidNumStreams = 2097156, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER + CreateGeometryShaderWithStreamOutputInvalidStreamToRasterizer = 2097157, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTREAMS + CreateGeometryShaderWithStreamOutputUnexpectedStreams = 2097158, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCLASSLINKAGE + CreateGeometryShaderWithStreamOutputInvalidClassLinkage = 2097159, + /// + /// D3D11_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE + CreatePixelShaderInvalidClassLinkage = 2097160, + /// + /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_COMMANDLISTFLAGS + CreateDeferredContextInvalidCommandListFlags = 2097161, + /// + /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_SINGLETHREADED + CreateDeferredContextSingleThreaded = 2097162, + /// + /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALIDARG_RETURN + CreateDeferredContextInvalidArgReturn = 2097163, + /// + /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_INVALID_CALL_RETURN + CreateDeferredContextInvalidCallReturn = 2097164, + /// + /// D3D11_MESSAGE_ID_CREATEDEFERREDCONTEXT_OUTOFMEMORY_RETURN + CreateDeferredContextOutOfMemoryReturn = 2097165, + /// + /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_ONIMMEDIATECONTEXT + FinishDisplayListOnImmediateContext = 2097166, + /// + /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_OUTOFMEMORY_RETURN + FinishDisplayListOutOfMemoryReturn = 2097167, + /// + /// D3D11_MESSAGE_ID_FINISHDISPLAYLIST_INVALID_CALL_RETURN + FinishDisplayListInvalidCallReturn = 2097168, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM + CreateGeometryShaderWithStreamOutputInvalidStream = 2097169, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES + CreateGeometryShaderWithStreamOutputUnexpectedEntries = 2097170, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES + CreateGeometryShaderWithStreamOutputUnexpectedStrides = 2097171, + /// + /// D3D11_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES + CreateGeometryShaderWithStreamOutputInvalidNumStrides = 2097172, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_HAZARD + DeviceHSSetShaderResourcesHazard = 2097173, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_HAZARD + DeviceHSSetConstantBuffersHazard = 2097174, + /// + /// D3D11_MESSAGE_ID_HSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + HSSetShaderResourcesUnbindDeletingObject = 2097175, + /// + /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + HSSetConstantBuffersUnbindDeletingObject = 2097176, + /// + /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCALL + CreateHullShaderInvalidcall = 2097177, + /// + /// D3D11_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY + CreateHullShaderOutOfMemory = 2097178, + /// + /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE + CreateHullShaderInvalidShaderBytecode = 2097179, + /// + /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE + CreateHullShaderInvalidShaderType = 2097180, + /// + /// D3D11_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE + CreateHullShaderInvalidClassLinkage = 2097181, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSSETSHADERRESOURCES_VIEWS_EMPTY + DeviceHSSetShaderResourcesViewsEmpty = 2097182, + /// + /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFER + HSSetConstantBuffersInvalidBuffer = 2097183, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceHSSetConstantBuffersBuffersEmpty = 2097184, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSSETSAMPLERS_SAMPLERS_EMPTY + DeviceHSSetSamplersSamplersEmpty = 2097185, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSGETSHADERRESOURCES_VIEWS_EMPTY + DeviceHSGetShaderResourcesViewsEmpty = 2097186, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceHSGetConstantBuffersBuffersEmpty = 2097187, + /// + /// D3D11_MESSAGE_ID_DEVICE_HSGETSAMPLERS_SAMPLERS_EMPTY + DeviceHSGetSamplersSamplersEmpty = 2097188, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_HAZARD + DeviceDSSetShaderResourcesHazard = 2097189, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_HAZARD + DeviceDSSetConstantBuffersHazard = 2097190, + /// + /// D3D11_MESSAGE_ID_DSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + DSSetShaderResourcesUnbindDeletingObject = 2097191, + /// + /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + DSSetConstantBuffersUnbindDeletingObject = 2097192, + /// + /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCALL + CreateDomainShaderInvalidcall = 2097193, + /// + /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY + CreateDomainShaderOutOfMemory = 2097194, + /// + /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE + CreateDomainShaderInvalidShaderBytecode = 2097195, + /// + /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE + CreateDomainShaderInvalidShaderType = 2097196, + /// + /// D3D11_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE + CreateDomainShaderInvalidClassLinkage = 2097197, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSSETSHADERRESOURCES_VIEWS_EMPTY + DeviceDSSetShaderResourcesViewsEmpty = 2097198, + /// + /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFER + DSSetConstantBuffersInvalidBuffer = 2097199, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceDSSetConstantBuffersBuffersEmpty = 2097200, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSSETSAMPLERS_SAMPLERS_EMPTY + DeviceDSSetSamplersSamplersEmpty = 2097201, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSGETSHADERRESOURCES_VIEWS_EMPTY + DeviceDSGetShaderResourcesViewsEmpty = 2097202, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceDSGetConstantBuffersBuffersEmpty = 2097203, + /// + /// D3D11_MESSAGE_ID_DEVICE_DSGETSAMPLERS_SAMPLERS_EMPTY + DeviceDSGetSamplersSamplersEmpty = 2097204, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_XOR_DS_MISMATCH + DeviceDrawHSXorDSMismatch = 2097205, + /// + /// D3D11_MESSAGE_ID_DEFERRED_CONTEXT_REMOVAL_PROCESS_AT_FAULT + DeferredContextRemovalProcessAtFault = 2097206, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_INVALID_ARG_BUFFER + DeviceDrawIndirectInvalidArgBuffer = 2097207, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_UNALIGNED + DeviceDrawIndirectOffsetUnaligned = 2097208, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAWINDIRECT_OFFSET_OVERFLOW + DeviceDrawIndirectOffsetOverflow = 2097209, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDMAPTYPE + ResourceMapInvalidMapType = 2097210, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDSUBRESOURCE + ResourceMapInvalidSubresource = 2097211, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_INVALIDFLAGS + ResourceMapInvalidFlags = 2097212, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_ALREADYMAPPED + ResourceMapAlreadyMapped = 2097213, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_DEVICEREMOVED_RETURN + ResourceMapDeviceRemovedReturn = 2097214, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_OUTOFMEMORY_RETURN + ResourceMapOutOfMemoryReturn = 2097215, + /// + /// D3D11_MESSAGE_ID_RESOURCE_MAP_WITHOUT_INITIAL_DISCARD + ResourceMapWithoutInitialDiscard = 2097216, + /// + /// D3D11_MESSAGE_ID_RESOURCE_UNMAP_INVALIDSUBRESOURCE + ResourceUnmapInvalidSubresource = 2097217, + /// + /// D3D11_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED + ResourceUnmapNotMapped = 2097218, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RASTERIZING_CONTROL_POINTS + DeviceDrawRasterizingControlPoints = 2097219, + /// + /// D3D11_MESSAGE_ID_DEVICE_IASETPRIMITIVETOPOLOGY_TOPOLOGY_UNSUPPORTED + DeviceIASetPrimitiveTopologyTopologyUnsupported = 2097220, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_SIGNATURE_MISMATCH + DeviceDrawHSDSSignatureMismatch = 2097221, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH + DeviceDrawHullShaderInputTopologyMismatch = 2097222, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_CONTROL_POINT_COUNT_MISMATCH + DeviceDrawHSDSControlPointCountMismatch = 2097223, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_HS_DS_TESSELLATOR_DOMAIN_MISMATCH + DeviceDrawHSDSTessellatorDomainMismatch = 2097224, + /// + /// D3D11_MESSAGE_ID_CREATE_CONTEXT + CreateContext = 2097225, + /// + /// D3D11_MESSAGE_ID_LIVE_CONTEXT + LiveContext = 2097226, + /// + /// D3D11_MESSAGE_ID_DESTROY_CONTEXT + DestroyContext = 2097227, + /// + /// D3D11_MESSAGE_ID_CREATE_BUFFER + CreateBuffer = 2097228, + /// + /// D3D11_MESSAGE_ID_LIVE_BUFFER_WIN7 + LiveBufferWin7 = 2097229, + /// + /// D3D11_MESSAGE_ID_DESTROY_BUFFER + DestroyBuffer = 2097230, + /// + /// D3D11_MESSAGE_ID_CREATE_TEXTURE1D + CreateTexture1D = 2097231, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE1D_WIN7 + LiveTexture1DWin7 = 2097232, + /// + /// D3D11_MESSAGE_ID_DESTROY_TEXTURE1D + DestroyTexture1D = 2097233, + /// + /// D3D11_MESSAGE_ID_CREATE_TEXTURE2D + CreateTexture2D = 2097234, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE2D_WIN7 + LiveTexture2DWin7 = 2097235, + /// + /// D3D11_MESSAGE_ID_DESTROY_TEXTURE2D + DestroyTexture2D = 2097236, + /// + /// D3D11_MESSAGE_ID_CREATE_TEXTURE3D + CreateTexture3D = 2097237, + /// + /// D3D11_MESSAGE_ID_LIVE_TEXTURE3D_WIN7 + LiveTexture3DWin7 = 2097238, + /// + /// D3D11_MESSAGE_ID_DESTROY_TEXTURE3D + DestroyTexture3D = 2097239, + /// + /// D3D11_MESSAGE_ID_CREATE_SHADERRESOURCEVIEW + CreateShaderResourceView = 2097240, + /// + /// D3D11_MESSAGE_ID_LIVE_SHADERRESOURCEVIEW_WIN7 + LiveShaderResourceViewWin7 = 2097241, + /// + /// D3D11_MESSAGE_ID_DESTROY_SHADERRESOURCEVIEW + DestroyShaderResourceView = 2097242, + /// + /// D3D11_MESSAGE_ID_CREATE_RENDERTARGETVIEW + CreateRenderTargetView = 2097243, + /// + /// D3D11_MESSAGE_ID_LIVE_RENDERTARGETVIEW_WIN7 + LiveRenderTargetViewWin7 = 2097244, + /// + /// D3D11_MESSAGE_ID_DESTROY_RENDERTARGETVIEW + DestroyRenderTargetView = 2097245, + /// + /// D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILVIEW + CreateDepthStencilView = 2097246, + /// + /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILVIEW_WIN7 + LiveDepthStencilViewWin7 = 2097247, + /// + /// D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILVIEW + DestroyDepthStencilView = 2097248, + /// + /// D3D11_MESSAGE_ID_CREATE_VERTEXSHADER + CreateVertexShader = 2097249, + /// + /// D3D11_MESSAGE_ID_LIVE_VERTEXSHADER_WIN7 + LiveVertexShaderWin7 = 2097250, + /// + /// D3D11_MESSAGE_ID_DESTROY_VERTEXSHADER + DestroyVertexShader = 2097251, + /// + /// D3D11_MESSAGE_ID_CREATE_HULLSHADER + CreateHullshader = 2097252, + /// + /// D3D11_MESSAGE_ID_LIVE_HULLSHADER + LiveHullshader = 2097253, + /// + /// D3D11_MESSAGE_ID_DESTROY_HULLSHADER + DestroyHullshader = 2097254, + /// + /// D3D11_MESSAGE_ID_CREATE_DOMAINSHADER + CreateDomainShader = 2097255, + /// + /// D3D11_MESSAGE_ID_LIVE_DOMAINSHADER + LiveDomainShader = 2097256, + /// + /// D3D11_MESSAGE_ID_DESTROY_DOMAINSHADER + DestroyDomainShader = 2097257, + /// + /// D3D11_MESSAGE_ID_CREATE_GEOMETRYSHADER + CreateGeometryShader = 2097258, + /// + /// D3D11_MESSAGE_ID_LIVE_GEOMETRYSHADER_WIN7 + LiveGeometryShaderWin7 = 2097259, + /// + /// D3D11_MESSAGE_ID_DESTROY_GEOMETRYSHADER + DestroyGeometryShader = 2097260, + /// + /// D3D11_MESSAGE_ID_CREATE_PIXELSHADER + CreatePixelShader = 2097261, + /// + /// D3D11_MESSAGE_ID_LIVE_PIXELSHADER_WIN7 + LivePixelShaderWin7 = 2097262, + /// + /// D3D11_MESSAGE_ID_DESTROY_PIXELSHADER + DestroyPixelShader = 2097263, + /// + /// D3D11_MESSAGE_ID_CREATE_INPUTLAYOUT + CreateInputLayout = 2097264, + /// + /// D3D11_MESSAGE_ID_LIVE_INPUTLAYOUT_WIN7 + LiveInputLayoutWin7 = 2097265, + /// + /// D3D11_MESSAGE_ID_DESTROY_INPUTLAYOUT + DestroyInputLayout = 2097266, + /// + /// D3D11_MESSAGE_ID_CREATE_SAMPLER + CreateSampler = 2097267, + /// + /// D3D11_MESSAGE_ID_LIVE_SAMPLER_WIN7 + LiveSamplerWin7 = 2097268, + /// + /// D3D11_MESSAGE_ID_DESTROY_SAMPLER + DestroySampler = 2097269, + /// + /// D3D11_MESSAGE_ID_CREATE_BLENDSTATE + CreateBlendState = 2097270, + /// + /// D3D11_MESSAGE_ID_LIVE_BLENDSTATE_WIN7 + LiveBlendStateWin7 = 2097271, + /// + /// D3D11_MESSAGE_ID_DESTROY_BLENDSTATE + DestroyBlendState = 2097272, + /// + /// D3D11_MESSAGE_ID_CREATE_DEPTHSTENCILSTATE + CreateDepthstencilstate = 2097273, + /// + /// D3D11_MESSAGE_ID_LIVE_DEPTHSTENCILSTATE_WIN7 + LiveDepthstencilstateWin7 = 2097274, + /// + /// D3D11_MESSAGE_ID_DESTROY_DEPTHSTENCILSTATE + DestroyDepthstencilstate = 2097275, + /// + /// D3D11_MESSAGE_ID_CREATE_RASTERIZERSTATE + CreateRasterizerstate = 2097276, + /// + /// D3D11_MESSAGE_ID_LIVE_RASTERIZERSTATE_WIN7 + LiveRasterizerstateWin7 = 2097277, + /// + /// D3D11_MESSAGE_ID_DESTROY_RASTERIZERSTATE + DestroyRasterizerstate = 2097278, + /// + /// D3D11_MESSAGE_ID_CREATE_QUERY + CreateQuery = 2097279, + /// + /// D3D11_MESSAGE_ID_LIVE_QUERY_WIN7 + LiveQueryWin7 = 2097280, + /// + /// D3D11_MESSAGE_ID_DESTROY_QUERY + DestroyQuery = 2097281, + /// + /// D3D11_MESSAGE_ID_CREATE_PREDICATE + CreatePredicate = 2097282, + /// + /// D3D11_MESSAGE_ID_LIVE_PREDICATE_WIN7 + LivePredicateWin7 = 2097283, + /// + /// D3D11_MESSAGE_ID_DESTROY_PREDICATE + DestroyPredicate = 2097284, + /// + /// D3D11_MESSAGE_ID_CREATE_COUNTER + CreateCounter = 2097285, + /// + /// D3D11_MESSAGE_ID_DESTROY_COUNTER + DestroyCounter = 2097286, + /// + /// D3D11_MESSAGE_ID_CREATE_COMMANDLIST + CreateCommandlist = 2097287, + /// + /// D3D11_MESSAGE_ID_LIVE_COMMANDLIST + LiveCommandlist = 2097288, + /// + /// D3D11_MESSAGE_ID_DESTROY_COMMANDLIST + DestroyCommandlist = 2097289, + /// + /// D3D11_MESSAGE_ID_CREATE_CLASSINSTANCE + CreateClassInstance = 2097290, + /// + /// D3D11_MESSAGE_ID_LIVE_CLASSINSTANCE + LiveClassInstance = 2097291, + /// + /// D3D11_MESSAGE_ID_DESTROY_CLASSINSTANCE + DestroyClassInstance = 2097292, + /// + /// D3D11_MESSAGE_ID_CREATE_CLASSLINKAGE + CreateClassLinkage = 2097293, + /// + /// D3D11_MESSAGE_ID_LIVE_CLASSLINKAGE + LiveClassLinkage = 2097294, + /// + /// D3D11_MESSAGE_ID_DESTROY_CLASSLINKAGE + DestroyClassLinkage = 2097295, + /// + /// D3D11_MESSAGE_ID_LIVE_DEVICE_WIN7 + LiveDeviceWin7 = 2097296, + /// + /// D3D11_MESSAGE_ID_LIVE_OBJECT_SUMMARY_WIN7 + LiveObjectSummaryWin7 = 2097297, + /// + /// D3D11_MESSAGE_ID_CREATE_COMPUTESHADER + CreateComputeShader = 2097298, + /// + /// D3D11_MESSAGE_ID_LIVE_COMPUTESHADER + LiveComputeShader = 2097299, + /// + /// D3D11_MESSAGE_ID_DESTROY_COMPUTESHADER + DestroyComputeShader = 2097300, + /// + /// D3D11_MESSAGE_ID_CREATE_UNORDEREDACCESSVIEW + CreateUnorderedAccessView = 2097301, + /// + /// D3D11_MESSAGE_ID_LIVE_UNORDEREDACCESSVIEW + LiveUnorderedAccessView = 2097302, + /// + /// D3D11_MESSAGE_ID_DESTROY_UNORDEREDACCESSVIEW + DestroyUnorderedAccessView = 2097303, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACES_FEATURELEVEL + DeviceSetShaderInterfacesFeaturelevel = 2097304, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INTERFACE_COUNT_MISMATCH + DeviceSetShaderInterfaceCountMismatch = 2097305, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE + DeviceSetShaderInvalidInstance = 2097306, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_INDEX + DeviceSetShaderInvalidInstanceIndex = 2097307, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_TYPE + DeviceSetShaderInvalidInstanceType = 2097308, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INVALID_INSTANCE_DATA + DeviceSetShaderInvalidInstanceData = 2097309, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_UNBOUND_INSTANCE_DATA + DeviceSetShaderUnboundInstanceData = 2097310, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETSHADER_INSTANCE_DATA_BINDINGS + DeviceSetShaderInstanceDataBindings = 2097311, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATESHADER_CLASSLINKAGE_FULL + DeviceCreateShaderClassLinkageFull = 2097312, + /// + /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_UNRECOGNIZED_FEATURE + DeviceCheckfeaturesupportUnrecognizedFeature = 2097313, + /// + /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE + DeviceCheckfeaturesupportMismatchedDataSize = 2097314, + /// + /// D3D11_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_INVALIDARG_RETURN + DeviceCheckfeaturesupportInvalidArgReturn = 2097315, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_HAZARD + DeviceCSSetShaderResourcesHazard = 2097316, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_HAZARD + DeviceCSSetConstantBuffersHazard = 2097317, + /// + /// D3D11_MESSAGE_ID_CSSETSHADERRESOURCES_UNBINDDELETINGOBJECT + CSSetShaderResourcesUnbindDeletingObject = 2097318, + /// + /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_UNBINDDELETINGOBJECT + CSSetConstantBuffersUnbindDeletingObject = 2097319, + /// + /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCALL + CreateComputeShaderInvalidcall = 2097320, + /// + /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY + CreateComputeShaderOutOfMemory = 2097321, + /// + /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE + CreateComputeShaderInvalidShaderBytecode = 2097322, + /// + /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERTYPE + CreateComputeShaderInvalidShaderType = 2097323, + /// + /// D3D11_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE + CreateComputeShaderInvalidClassLinkage = 2097324, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETSHADERRESOURCES_VIEWS_EMPTY + DeviceCSSetShaderResourcesViewsEmpty = 2097325, + /// + /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFER + CSSetConstantBuffersInvalidBuffer = 2097326, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceCSSetConstantBuffersBuffersEmpty = 2097327, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETSAMPLERS_SAMPLERS_EMPTY + DeviceCSSetSamplersSamplersEmpty = 2097328, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSGETSHADERRESOURCES_VIEWS_EMPTY + DeviceCSGetShaderResourcesViewsEmpty = 2097329, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSGETCONSTANTBUFFERS_BUFFERS_EMPTY + DeviceCSGetConstantBuffersBuffersEmpty = 2097330, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSGETSAMPLERS_SAMPLERS_EMPTY + DeviceCSGetSamplersSamplersEmpty = 2097331, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateVertexShaderDoubleFloatOpsNotSupported = 2097332, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateHullShaderDoubleFloatOpsNotSupported = 2097333, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateDomainShaderDoubleFloatOpsNotSupported = 2097334, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateGeometryShaderDoubleFloatOpsNotSupported = 2097335, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputDoubleFloatOpsNotSupported = 2097336, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreatePixelShaderDoubleFloatOpsNotSupported = 2097337, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateComputeShaderDoubleFloatOpsNotSupported = 2097338, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDSTRUCTURESTRIDE + CreateBufferInvalidstructurestride = 2097339, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFLAGS + CreateShaderResourceViewInvalidFlags = 2097340, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE + CreateUnorderedAccessViewInvalidResource = 2097341, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC + CreateUnorderedAccessViewInvalidDesc = 2097342, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT + CreateUnorderedAccessViewInvalidFormat = 2097343, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS + CreateUnorderedAccessViewInvalidDimensions = 2097344, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT + CreateUnorderedAccessViewUnrecognizedFormat = 2097345, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_HAZARD + DeviceOMSetRenderTargetsAndUnorderedAccessViewsHazard = 2097346, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_OVERLAPPING_OLD_SLOTS + DeviceOMSetRenderTargetsAndUnorderedAccessViewsOverlappingOldSlots = 2097347, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NO_OP + DeviceOMSetRenderTargetsAndUnorderedAccessViewsNoOp = 2097348, + /// + /// D3D11_MESSAGE_ID_CSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT + CSSetUnorderedAccessViewsUnbindDeletingObject = 2097349, + /// + /// D3D11_MESSAGE_ID_PSSETUNORDEREDACCESSVIEWS_UNBINDDELETINGOBJECT + PSSetUnorderedAccessViewsUnbindDeletingObject = 2097350, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDARG_RETURN + CreateUnorderedAccessViewInvalidArgReturn = 2097351, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_OUTOFMEMORY_RETURN + CreateUnorderedAccessViewOutOfMemoryReturn = 2097352, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_TOOMANYOBJECTS + CreateUnorderedAccessViewTooManyObjects = 2097353, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_HAZARD + DeviceCSSetUnorderedAccessViewsHazard = 2097354, + /// + /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_DENORMFLUSH + ClearUnorderedAccessViewDenormFlush = 2097355, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSS_VIEWS_EMPTY + DeviceCSSetUnorderedAccesssViewsEmpty = 2097356, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSGETUNORDEREDACCESSS_VIEWS_EMPTY + DeviceCSGetUnorderedAccesssViewsEmpty = 2097357, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS + CreateUnorderedAccessViewInvalidFlags = 2097358, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESESOURCEVIEW_TOOMANYOBJECTS + CreateShaderResesourceViewTooManyObjects = 2097359, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_INVALID_ARG_BUFFER + DeviceDispatchIndirectInvalidArgBuffer = 2097360, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_UNALIGNED + DeviceDispatchIndirectOffsetUnaligned = 2097361, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_OFFSET_OVERFLOW + DeviceDispatchIndirectOffsetOverflow = 2097362, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDCONTEXT + DeviceSetresourceminlodInvalidcontext = 2097363, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDRESOURCE + DeviceSetresourceminlodInvalidResource = 2097364, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETRESOURCEMINLOD_INVALIDMINLOD + DeviceSetresourceminlodInvalidMinLod = 2097365, + /// + /// D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDCONTEXT + DeviceGetresourceminlodInvalidcontext = 2097366, + /// + /// D3D11_MESSAGE_ID_DEVICE_GETRESOURCEMINLOD_INVALIDRESOURCE + DeviceGetresourceminlodInvalidResource = 2097367, + /// + /// D3D11_MESSAGE_ID_OMSETDEPTHSTENCIL_UNBINDDELETINGOBJECT + OmsetdepthstencilUnbindDeletingObject = 2097368, + /// + /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_DEPTH_READONLY + ClearDepthStencilViewDepthReadonly = 2097369, + /// + /// D3D11_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_STENCIL_READONLY + ClearDepthStencilViewStencilReadonly = 2097370, + /// + /// D3D11_MESSAGE_ID_CHECKFEATURESUPPORT_FORMAT_DEPRECATED + CheckfeaturesupportFormatDeprecated = 2097371, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RETURN_TYPE_MISMATCH + DeviceUnorderedAccessViewReturnTypeMismatch = 2097372, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET + DeviceUnorderedAccessViewNotSet = 2097373, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_UNORDEREDACCESSVIEW_RENDERTARGETVIEW_OVERLAP + DeviceDrawUnorderedAccessViewRenderTargetViewOverlap = 2097374, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_DIMENSION_MISMATCH + DeviceUnorderedAccessViewDimensionMismatch = 2097375, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_APPEND_UNSUPPORTED + DeviceUnorderedAccessViewAppendUnsupported = 2097376, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMICS_UNSUPPORTED + DeviceUnorderedAccessViewAtomicsUnsupported = 2097377, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_STRUCTURE_STRIDE_MISMATCH + DeviceUnorderedAccessViewStructureStrideMismatch = 2097378, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_BUFFER_TYPE_MISMATCH + DeviceUnorderedAccessViewBufferTypeMismatch = 2097379, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_RAW_UNSUPPORTED + DeviceUnorderedAccessViewRawUnsupported = 2097380, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_LD_UNSUPPORTED + DeviceUnorderedAccessViewFormatLdUnsupported = 2097381, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_FORMAT_STORE_UNSUPPORTED + DeviceUnorderedAccessViewFormatStoreUnsupported = 2097382, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_ADD_UNSUPPORTED + DeviceUnorderedAccessViewAtomicAddUnsupported = 2097383, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_BITWISE_OPS_UNSUPPORTED + DeviceUnorderedAccessViewAtomicBitwiseOpsUnsupported = 2097384, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_CMPSTORE_CMPEXCHANGE_UNSUPPORTED + DeviceUnorderedAccessViewAtomicCmpstoreCmpexchangeUnsupported = 2097385, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_EXCHANGE_UNSUPPORTED + DeviceUnorderedAccessViewAtomicExchangeUnsupported = 2097386, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_SIGNED_MINMAX_UNSUPPORTED + DeviceUnorderedAccessViewAtomicSignedMinmaxUnsupported = 2097387, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_ATOMIC_UNSIGNED_MINMAX_UNSUPPORTED + DeviceUnorderedAccessViewAtomicUnsignedMinmaxUnsupported = 2097388, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_BOUND_RESOURCE_MAPPED + DeviceDispatchBoundResourceMapped = 2097389, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_OVERFLOW + DeviceDispatchThreadgroupcountOverflow = 2097390, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_THREADGROUPCOUNT_ZERO + DeviceDispatchThreadgroupcountZero = 2097391, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_STRUCTURE_STRIDE_MISMATCH + DeviceShaderResourceViewStructureStrideMismatch = 2097392, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_BUFFER_TYPE_MISMATCH + DeviceShaderResourceViewBufferTypeMismatch = 2097393, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADERRESOURCEVIEW_RAW_UNSUPPORTED + DeviceShaderResourceViewRawUnsupported = 2097394, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCH_UNSUPPORTED + DeviceDispatchUnsupported = 2097395, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISPATCHINDIRECT_UNSUPPORTED + DeviceDispatchIndirectUnsupported = 2097396, + /// + /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDOFFSET + CopyStructureCountInvalidOffset = 2097397, + /// + /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_LARGEOFFSET + CopyStructureCountLargeOffset = 2097398, + /// + /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDDESTINATIONSTATE + CopyStructureCountInvalidDestinationState = 2097399, + /// + /// D3D11_MESSAGE_ID_COPYSTRUCTURECOUNT_INVALIDSOURCESTATE + CopyStructureCountInvalidSourceState = 2097400, + /// + /// D3D11_MESSAGE_ID_CHECKFORMATSUPPORT_FORMAT_NOT_SUPPORTED + CheckFormatSupportFormatNotSupported = 2097401, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDVIEW + DeviceCSSetUnorderedAccessViewsInvalidView = 2097402, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_INVALIDOFFSET + DeviceCSSetUnorderedAccessViewsInvalidOffset = 2097403, + /// + /// D3D11_MESSAGE_ID_DEVICE_CSSETUNORDEREDACCESSVIEWS_TOOMANYVIEWS + DeviceCSSetUnorderedAccessViewsToomanyviews = 2097404, + /// + /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_INVALIDFORMAT + ClearUnorderedAccessViewFloatInvalidFormat = 2097405, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_COUNTER_UNSUPPORTED + DeviceUnorderedAccessViewCounterUnsupported = 2097406, + /// + /// D3D11_MESSAGE_ID_REF_WARNING + RefWarning = 2097407, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_PIXEL_SHADER_WITHOUT_RTV_OR_DSV + DeviceDrawPixelShaderWithoutRtvOrDsv = 2097408, + /// + /// D3D11_MESSAGE_ID_SHADER_ABORT + ShaderAbort = 2097409, + /// + /// D3D11_MESSAGE_ID_SHADER_MESSAGE + ShaderMessage = 2097410, + /// + /// D3D11_MESSAGE_ID_SHADER_ERROR + ShaderError = 2097411, + /// + /// D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDRESOURCE + OfferResourcesInvalidResource = 2097412, + /// + /// D3D11_MESSAGE_ID_HSSETSAMPLERS_UNBINDDELETINGOBJECT + HSSetSamplersUnbindDeletingObject = 2097413, + /// + /// D3D11_MESSAGE_ID_DSSETSAMPLERS_UNBINDDELETINGOBJECT + DSSetSamplersUnbindDeletingObject = 2097414, + /// + /// D3D11_MESSAGE_ID_CSSETSAMPLERS_UNBINDDELETINGOBJECT + CSSetSamplersUnbindDeletingObject = 2097415, + /// + /// D3D11_MESSAGE_ID_HSSETSHADER_UNBINDDELETINGOBJECT + HSSetShaderUnbindDeletingObject = 2097416, + /// + /// D3D11_MESSAGE_ID_DSSETSHADER_UNBINDDELETINGOBJECT + DSSetShaderUnbindDeletingObject = 2097417, + /// + /// D3D11_MESSAGE_ID_CSSETSHADER_UNBINDDELETINGOBJECT + CSSetShaderUnbindDeletingObject = 2097418, + /// + /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_INVALIDARG_RETURN + EnqueueSetEventInvalidArgReturn = 2097419, + /// + /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_OUTOFMEMORY_RETURN + EnqueueSetEventOutOfMemoryReturn = 2097420, + /// + /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_ACCESSDENIED_RETURN + EnqueueSetEventAccessdeniedReturn = 2097421, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_NUMUAVS_INVALIDRANGE + DeviceOMSetRenderTargetsAndUnorderedAccessViewsNumuavsInvalidRange = 2097422, + /// + /// D3D11_MESSAGE_ID_USE_OF_ZERO_REFCOUNT_OBJECT + UseOfZeroRefcountObject = 2097423, + /// + /// D3D11_MESSAGE_ID_CREATE_VIDEODECODER + CreateVideoDecoder = 3145729, + /// + /// D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSORENUM + CreateVideoProcessorEnum = 3145730, + /// + /// D3D11_MESSAGE_ID_CREATE_VIDEOPROCESSOR + CreateVideoProcessor = 3145731, + /// + /// D3D11_MESSAGE_ID_CREATE_DECODEROUTPUTVIEW + CreateDecoderOutputView = 3145732, + /// + /// D3D11_MESSAGE_ID_CREATE_PROCESSORINPUTVIEW + CreateProcessorInputView = 3145733, + /// + /// D3D11_MESSAGE_ID_CREATE_PROCESSOROUTPUTVIEW + CreateProcessorOutputView = 3145734, + /// + /// D3D11_MESSAGE_ID_CREATE_DEVICECONTEXTSTATE + CreateDeviceContextState = 3145735, + /// + /// D3D11_MESSAGE_ID_LIVE_VIDEODECODER + LiveVideoDecoder = 3145736, + /// + /// D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSORENUM + LiveVideoProcessorEnum = 3145737, + /// + /// D3D11_MESSAGE_ID_LIVE_VIDEOPROCESSOR + LiveVideoProcessor = 3145738, + /// + /// D3D11_MESSAGE_ID_LIVE_DECODEROUTPUTVIEW + LiveDecoderOutputView = 3145739, + /// + /// D3D11_MESSAGE_ID_LIVE_PROCESSORINPUTVIEW + LiveProcessorInputView = 3145740, + /// + /// D3D11_MESSAGE_ID_LIVE_PROCESSOROUTPUTVIEW + LiveProcessorOutputView = 3145741, + /// + /// D3D11_MESSAGE_ID_LIVE_DEVICECONTEXTSTATE + LiveDeviceContextState = 3145742, + /// + /// D3D11_MESSAGE_ID_DESTROY_VIDEODECODER + DestroyVideoDecoder = 3145743, + /// + /// D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSORENUM + DestroyVideoProcessorEnum = 3145744, + /// + /// D3D11_MESSAGE_ID_DESTROY_VIDEOPROCESSOR + DestroyVideoProcessor = 3145745, + /// + /// D3D11_MESSAGE_ID_DESTROY_DECODEROUTPUTVIEW + DestroyDecoderOutputView = 3145746, + /// + /// D3D11_MESSAGE_ID_DESTROY_PROCESSORINPUTVIEW + DestroyProcessorInputView = 3145747, + /// + /// D3D11_MESSAGE_ID_DESTROY_PROCESSOROUTPUTVIEW + DestroyProcessorOutputView = 3145748, + /// + /// D3D11_MESSAGE_ID_DESTROY_DEVICECONTEXTSTATE + DestroyDeviceContextState = 3145749, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFLAGS + CreateDeviceContextStateInvalidFlags = 3145750, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDFEATURELEVEL + CreateDeviceContextStateInvalidfeaturelevel = 3145751, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_FEATURELEVELS_NOT_SUPPORTED + CreateDeviceContextStateFeaturelevelsNotSupported = 3145752, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICECONTEXTSTATE_INVALIDREFIID + CreateDeviceContextStateInvalidrefiid = 3145753, + /// + /// D3D11_MESSAGE_ID_DEVICE_DISCARDVIEW_INVALIDVIEW + DeviceDiscardviewInvalidView = 3145754, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION1_INVALIDCOPYFLAGS + Copysubresourceregion1InvalidCopyFlags = 3145755, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE1_INVALIDCOPYFLAGS + UpdateSubresource1InvalidCopyFlags = 3145756, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT + CreateRasterizerStateInvalidforcedsamplecount = 3145757, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_OUTOFMEMORY_RETURN + CreateVideoDecoderOutOfMemoryReturn = 3145758, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_NULLPARAM + CreateVideoDecoderNullParam = 3145759, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_INVALIDFORMAT + CreateVideoDecoderInvalidFormat = 3145760, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_ZEROWIDTHHEIGHT + CreateVideoDecoderZeroWidthHeight = 3145761, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERSIZE + CreateVideoDecoderDriverInvalidBufferSize = 3145762, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODER_DRIVER_INVALIDBUFFERUSAGE + CreateVideoDecoderDriverInvalidBufferUsage = 3145763, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILECOUNT_OUTOFMEMORY + GetvideodecoderprofilecountOutOfMemory = 3145764, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_NULLPARAM + GetvideodecoderprofileNullParam = 3145765, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_INVALIDINDEX + GetvideodecoderprofileInvalidindex = 3145766, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERPROFILE_OUTOFMEMORY_RETURN + GetvideodecoderprofileOutOfMemoryReturn = 3145767, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_NULLPARAM + CheckvideodecoderformatNullParam = 3145768, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEODECODERFORMAT_OUTOFMEMORY_RETURN + CheckvideodecoderformatOutOfMemoryReturn = 3145769, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_NULLPARAM + GetvideodecoderconfigcountNullParam = 3145770, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIGCOUNT_OUTOFMEMORY_RETURN + GetvideodecoderconfigcountOutOfMemoryReturn = 3145771, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_NULLPARAM + GetvideodecoderconfigNullParam = 3145772, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_INVALIDINDEX + GetvideodecoderconfigInvalidindex = 3145773, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCONFIG_OUTOFMEMORY_RETURN + GetvideodecoderconfigOutOfMemoryReturn = 3145774, + /// + /// D3D11_MESSAGE_ID_GETDECODERCREATIONPARAMS_NULLPARAM + GetdecodercreationparamsNullParam = 3145775, + /// + /// D3D11_MESSAGE_ID_GETDECODERDRIVERHANDLE_NULLPARAM + GetdecoderdriverhandleNullParam = 3145776, + /// + /// D3D11_MESSAGE_ID_GETDECODERBUFFER_NULLPARAM + GetdecoderbufferNullParam = 3145777, + /// + /// D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDBUFFER + GetdecoderbufferInvalidBuffer = 3145778, + /// + /// D3D11_MESSAGE_ID_GETDECODERBUFFER_INVALIDTYPE + GetdecoderbufferInvalidtype = 3145779, + /// + /// D3D11_MESSAGE_ID_GETDECODERBUFFER_LOCKED + GetdecoderbufferLocked = 3145780, + /// + /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NULLPARAM + ReleasedecoderbufferNullParam = 3145781, + /// + /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_INVALIDTYPE + ReleasedecoderbufferInvalidtype = 3145782, + /// + /// D3D11_MESSAGE_ID_RELEASEDECODERBUFFER_NOTLOCKED + ReleasedecoderbufferNotlocked = 3145783, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_NULLPARAM + DecoderBeginFrameNullParam = 3145784, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_HAZARD + DecoderBeginFrameHazard = 3145785, + /// + /// D3D11_MESSAGE_ID_DECODERENDFRAME_NULLPARAM + DecoderendframeNullParam = 3145786, + /// + /// D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_NULLPARAM + SubmitdecoderbuffersNullParam = 3145787, + /// + /// D3D11_MESSAGE_ID_SUBMITDECODERBUFFERS_INVALIDTYPE + SubmitdecoderbuffersInvalidtype = 3145788, + /// + /// D3D11_MESSAGE_ID_DECODEREXTENSION_NULLPARAM + DecoderextensionNullParam = 3145789, + /// + /// D3D11_MESSAGE_ID_DECODEREXTENSION_INVALIDRESOURCE + DecoderextensionInvalidResource = 3145790, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_OUTOFMEMORY_RETURN + CreatevideoprocessorenumeratorOutOfMemoryReturn = 3145791, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_NULLPARAM + CreatevideoprocessorenumeratorNullParam = 3145792, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDFRAMEFORMAT + CreatevideoprocessorenumeratorInvalidframeformat = 3145793, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDUSAGE + CreatevideoprocessorenumeratorInvalidUsage = 3145794, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDINPUTFRAMERATE + CreatevideoprocessorenumeratorInvalidinputframerate = 3145795, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDOUTPUTFRAMERATE + CreatevideoprocessorenumeratorInvalidoutputframerate = 3145796, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORENUMERATOR_INVALIDWIDTHHEIGHT + CreatevideoprocessorenumeratorInvalidwidthheight = 3145797, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCONTENTDESC_NULLPARAM + GetvideoprocessorcontentdescNullParam = 3145798, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMAT_NULLPARAM + CheckvideoprocessorformatNullParam = 3145799, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCAPS_NULLPARAM + GetvideoprocessorcapsNullParam = 3145800, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_NULLPARAM + GetvideoprocessorrateconversioncapsNullParam = 3145801, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORRATECONVERSIONCAPS_INVALIDINDEX + GetvideoprocessorrateconversioncapsInvalidindex = 3145802, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_NULLPARAM + GetvideoprocessorcustomrateNullParam = 3145803, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORCUSTOMRATE_INVALIDINDEX + GetvideoprocessorcustomrateInvalidindex = 3145804, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_NULLPARAM + GetvideoprocessorfilterrangeNullParam = 3145805, + /// + /// D3D11_MESSAGE_ID_GETVIDEOPROCESSORFILTERRANGE_UNSUPPORTED + GetvideoprocessorfilterrangeUnsupported = 3145806, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_OUTOFMEMORY_RETURN + CreatevideoprocessorOutOfMemoryReturn = 3145807, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOR_NULLPARAM + CreatevideoprocessorNullParam = 3145808, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTTARGETRECT_NULLPARAM + VideoprocessorsetoutputtargetrectNullParam = 3145809, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_NULLPARAM + VideoprocessorsetoutputbackgroundcolorNullParam = 3145810, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTBACKGROUNDCOLOR_INVALIDALPHA + VideoprocessorsetoutputbackgroundcolorInvalidalpha = 3145811, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE_NULLPARAM + VideoprocessorsetoutputcolorspaceNullParam = 3145812, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_NULLPARAM + VideoprocessorsetoutputalphafillmodeNullParam = 3145813, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_UNSUPPORTED + VideoprocessorsetoutputalphafillmodeUnsupported = 3145814, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDSTREAM + VideoprocessorsetoutputalphafillmodeInvalidStream = 3145815, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTALPHAFILLMODE_INVALIDFILLMODE + VideoprocessorsetoutputalphafillmodeInvalidFillMode = 3145816, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_NULLPARAM + VideoprocessorsetoutputconstrictionNullParam = 3145817, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_NULLPARAM + VideoprocessorsetoutputstereomodeNullParam = 3145818, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSTEREOMODE_UNSUPPORTED + VideoprocessorsetoutputstereomodeUnsupported = 3145819, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTEXTENSION_NULLPARAM + VideoprocessorsetoutputextensionNullParam = 3145820, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTTARGETRECT_NULLPARAM + VideoprocessorgetoutputtargetrectNullParam = 3145821, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTBACKGROUNDCOLOR_NULLPARAM + VideoprocessorgetoutputbackgroundcolorNullParam = 3145822, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE_NULLPARAM + VideoprocessorgetoutputcolorspaceNullParam = 3145823, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTALPHAFILLMODE_NULLPARAM + VideoprocessorgetoutputalphafillmodeNullParam = 3145824, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCONSTRICTION_NULLPARAM + VideoprocessorgetoutputconstrictionNullParam = 3145825, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_UNSUPPORTED + VideoprocessorsetoutputconstrictionUnsupported = 3145826, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCONSTRICTION_INVALIDSIZE + VideoprocessorsetoutputconstrictionInvalidSize = 3145827, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSTEREOMODE_NULLPARAM + VideoprocessorgetoutputstereomodeNullParam = 3145828, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTEXTENSION_NULLPARAM + VideoprocessorgetoutputextensionNullParam = 3145829, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_NULLPARAM + VideoprocessorsetstreamframeformatNullParam = 3145830, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDFORMAT + VideoprocessorsetstreamframeformatInvalidFormat = 3145831, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFRAMEFORMAT_INVALIDSTREAM + VideoprocessorsetstreamframeformatInvalidStream = 3145832, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_NULLPARAM + VideoprocessorsetstreamcolorspaceNullParam = 3145833, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE_INVALIDSTREAM + VideoprocessorsetstreamcolorspaceInvalidStream = 3145834, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_NULLPARAM + VideoprocessorsetstreamoutputrateNullParam = 3145835, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDRATE + VideoprocessorsetstreamoutputrateInvalidrate = 3145836, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDFLAG + VideoprocessorsetstreamoutputrateInvalidflag = 3145837, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMOUTPUTRATE_INVALIDSTREAM + VideoprocessorsetstreamoutputrateInvalidStream = 3145838, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_NULLPARAM + VideoprocessorsetstreamsourcerectNullParam = 3145839, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDSTREAM + VideoprocessorsetstreamsourcerectInvalidStream = 3145840, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSOURCERECT_INVALIDRECT + VideoprocessorsetstreamsourcerectInvalidRect = 3145841, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_NULLPARAM + VideoprocessorsetstreamdestrectNullParam = 3145842, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDSTREAM + VideoprocessorsetstreamdestrectInvalidStream = 3145843, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMDESTRECT_INVALIDRECT + VideoprocessorsetstreamdestrectInvalidRect = 3145844, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_NULLPARAM + VideoprocessorsetstreamalphaNullParam = 3145845, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDSTREAM + VideoprocessorsetstreamalphaInvalidStream = 3145846, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_INVALIDALPHA + VideoprocessorsetstreamalphaInvalidalpha = 3145847, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_NULLPARAM + VideoprocessorsetstreampaletteNullParam = 3145848, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDSTREAM + VideoprocessorsetstreampaletteInvalidStream = 3145849, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDCOUNT + VideoprocessorsetstreampaletteInvalidcount = 3145850, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPALETTE_INVALIDALPHA + VideoprocessorsetstreampaletteInvalidalpha = 3145851, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_NULLPARAM + VideoprocessorsetstreampixelaspectratioNullParam = 3145852, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDSTREAM + VideoprocessorsetstreampixelaspectratioInvalidStream = 3145853, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_INVALIDRATIO + VideoprocessorsetstreampixelaspectratioInvalidratio = 3145854, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_NULLPARAM + VideoprocessorsetstreamlumakeyNullParam = 3145855, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDSTREAM + VideoprocessorsetstreamlumakeyInvalidStream = 3145856, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_INVALIDRANGE + VideoprocessorsetstreamlumakeyInvalidRange = 3145857, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMLUMAKEY_UNSUPPORTED + VideoprocessorsetstreamlumakeyUnsupported = 3145858, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_NULLPARAM + VideoprocessorsetstreamstereoformatNullParam = 3145859, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDSTREAM + VideoprocessorsetstreamstereoformatInvalidStream = 3145860, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_UNSUPPORTED + VideoprocessorsetstreamstereoformatUnsupported = 3145861, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FLIPUNSUPPORTED + VideoprocessorsetstreamstereoformatFlipunsupported = 3145862, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_MONOOFFSETUNSUPPORTED + VideoprocessorsetstreamstereoformatMonooffsetunsupported = 3145863, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_FORMATUNSUPPORTED + VideoprocessorsetstreamstereoformatFormatunsupported = 3145864, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMSTEREOFORMAT_INVALIDFORMAT + VideoprocessorsetstreamstereoformatInvalidFormat = 3145865, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_NULLPARAM + VideoprocessorsetstreamautoprocessingmodeNullParam = 3145866, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM + VideoprocessorsetstreamautoprocessingmodeInvalidStream = 3145867, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_NULLPARAM + VideoprocessorsetstreamfilterNullParam = 3145868, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDSTREAM + VideoprocessorsetstreamfilterInvalidStream = 3145869, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDFILTER + VideoprocessorsetstreamfilterInvalidFilter = 3145870, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_UNSUPPORTED + VideoprocessorsetstreamfilterUnsupported = 3145871, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMFILTER_INVALIDLEVEL + VideoprocessorsetstreamfilterInvalidlevel = 3145872, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_NULLPARAM + VideoprocessorsetstreamextensionNullParam = 3145873, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMEXTENSION_INVALIDSTREAM + VideoprocessorsetstreamextensionInvalidStream = 3145874, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_NULLPARAM + VideoprocessorgetstreamframeformatNullParam = 3145875, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_NULLPARAM + VideoprocessorgetstreamcolorspaceNullParam = 3145876, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_NULLPARAM + VideoprocessorgetstreamoutputrateNullParam = 3145877, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_NULLPARAM + VideoprocessorgetstreamsourcerectNullParam = 3145878, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_NULLPARAM + VideoprocessorgetstreamdestrectNullParam = 3145879, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_NULLPARAM + VideoprocessorgetstreamalphaNullParam = 3145880, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_NULLPARAM + VideoprocessorgetstreampaletteNullParam = 3145881, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_NULLPARAM + VideoprocessorgetstreampixelaspectratioNullParam = 3145882, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_NULLPARAM + VideoprocessorgetstreamlumakeyNullParam = 3145883, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_NULLPARAM + VideoprocessorgetstreamstereoformatNullParam = 3145884, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_NULLPARAM + VideoprocessorgetstreamautoprocessingmodeNullParam = 3145885, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_NULLPARAM + VideoprocessorgetstreamfilterNullParam = 3145886, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_NULLPARAM + VideoprocessorgetstreamextensionNullParam = 3145887, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMEXTENSION_INVALIDSTREAM + VideoprocessorgetstreamextensionInvalidStream = 3145888, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NULLPARAM + VideoprocessorbltNullParam = 3145889, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSTREAMCOUNT + VideoprocessorbltInvalidstreamcount = 3145890, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_TARGETRECT + VideoprocessorbltTargetrect = 3145891, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDOUTPUT + VideoprocessorbltInvalidoutput = 3145892, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDPASTFRAMES + VideoprocessorbltInvalidpastframes = 3145893, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDFUTUREFRAMES + VideoprocessorbltInvalidfutureframes = 3145894, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDSOURCERECT + VideoprocessorbltInvalidsourcerect = 3145895, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDDESTRECT + VideoprocessorbltInvaliddestrect = 3145896, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDINPUTRESOURCE + VideoprocessorbltInvalidinputresource = 3145897, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAYSIZE + VideoprocessorbltInvalidarraysize = 3145898, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDARRAY + VideoprocessorbltInvalidarray = 3145899, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTEXPECTED + VideoprocessorbltRightexpected = 3145900, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_RIGHTNOTEXPECTED + VideoprocessorbltRightnotexpected = 3145901, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_STEREONOTENABLED + VideoprocessorbltStereonotenabled = 3145902, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INVALIDRIGHTRESOURCE + VideoprocessorbltInvalidrightresource = 3145903, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_NOSTEREOSTREAMS + VideoprocessorbltNostereostreams = 3145904, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_INPUTHAZARD + VideoprocessorbltInputhazard = 3145905, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORBLT_OUTPUTHAZARD + VideoprocessorbltOutputhazard = 3145906, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_OUTOFMEMORY_RETURN + CreatevideodecoderoutputviewOutOfMemoryReturn = 3145907, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_NULLPARAM + CreatevideodecoderoutputviewNullParam = 3145908, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDTYPE + CreatevideodecoderoutputviewInvalidtype = 3145909, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDBIND + CreatevideodecoderoutputviewInvalidbind = 3145910, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEDFORMAT + CreatevideodecoderoutputviewUnsupportedFormat = 3145911, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDMIP + CreatevideodecoderoutputviewInvalidmip = 3145912, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_UNSUPPORTEMIP + CreatevideodecoderoutputviewUnsupportemip = 3145913, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAYSIZE + CreatevideodecoderoutputviewInvalidarraysize = 3145914, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDARRAY + CreatevideodecoderoutputviewInvalidarray = 3145915, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEODECODEROUTPUTVIEW_INVALIDDIMENSION + CreatevideodecoderoutputviewInvaliddimension = 3145916, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_OUTOFMEMORY_RETURN + CreatevideoprocessorinputviewOutOfMemoryReturn = 3145917, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_NULLPARAM + CreatevideoprocessorinputviewNullParam = 3145918, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDTYPE + CreatevideoprocessorinputviewInvalidtype = 3145919, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDBIND + CreatevideoprocessorinputviewInvalidbind = 3145920, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMISC + CreatevideoprocessorinputviewInvalidmisc = 3145921, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDUSAGE + CreatevideoprocessorinputviewInvalidUsage = 3145922, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFORMAT + CreatevideoprocessorinputviewInvalidFormat = 3145923, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDFOURCC + CreatevideoprocessorinputviewInvalidfourcc = 3145924, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMIP + CreatevideoprocessorinputviewInvalidmip = 3145925, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_UNSUPPORTEDMIP + CreatevideoprocessorinputviewUnsupportedmip = 3145926, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAYSIZE + CreatevideoprocessorinputviewInvalidarraysize = 3145927, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDARRAY + CreatevideoprocessorinputviewInvalidarray = 3145928, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDDIMENSION + CreatevideoprocessorinputviewInvaliddimension = 3145929, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_OUTOFMEMORY_RETURN + CreatevideoprocessoroutputviewOutOfMemoryReturn = 3145930, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_NULLPARAM + CreatevideoprocessoroutputviewNullParam = 3145931, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDTYPE + CreatevideoprocessoroutputviewInvalidtype = 3145932, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDBIND + CreatevideoprocessoroutputviewInvalidbind = 3145933, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDFORMAT + CreatevideoprocessoroutputviewInvalidFormat = 3145934, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMIP + CreatevideoprocessoroutputviewInvalidmip = 3145935, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDMIP + CreatevideoprocessoroutputviewUnsupportedmip = 3145936, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_UNSUPPORTEDARRAY + CreatevideoprocessoroutputviewUnsupportedarray = 3145937, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDARRAY + CreatevideoprocessoroutputviewInvalidarray = 3145938, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDDIMENSION + CreatevideoprocessoroutputviewInvaliddimension = 3145939, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_USE_OF_FORCED_SAMPLE_COUNT + DeviceDrawInvalidUseOfForcedSampleCount = 3145940, + /// + /// D3D11_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS + CreateBlendStateInvalidlogicops = 3145941, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDARRAYWITHDECODER + CreateShaderResourceViewInvaliddarraywithdecoder = 3145942, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDARRAYWITHDECODER + CreateUnorderedAccessViewInvaliddarraywithdecoder = 3145943, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDARRAYWITHDECODER + CreateRenderTargetViewInvaliddarraywithdecoder = 3145944, + /// + /// D3D11_MESSAGE_ID_DEVICE_LOCKEDOUT_INTERFACE + DeviceLockedoutInterface = 3145945, + /// + /// D3D11_MESSAGE_ID_REF_WARNING_ATOMIC_INCONSISTENT + RefWarningAtomicInconsistent = 3145946, + /// + /// D3D11_MESSAGE_ID_REF_WARNING_READING_UNINITIALIZED_RESOURCE + RefWarningReadingUninitializedResource = 3145947, + /// + /// D3D11_MESSAGE_ID_REF_WARNING_RAW_HAZARD + RefWarningRawHazard = 3145948, + /// + /// D3D11_MESSAGE_ID_REF_WARNING_WAR_HAZARD + RefWarningWarHazard = 3145949, + /// + /// D3D11_MESSAGE_ID_REF_WARNING_WAW_HAZARD + RefWarningWawHazard = 3145950, + /// + /// D3D11_MESSAGE_ID_CREATECRYPTOSESSION_NULLPARAM + CreatecryptosessionNullParam = 3145951, + /// + /// D3D11_MESSAGE_ID_CREATECRYPTOSESSION_OUTOFMEMORY_RETURN + CreatecryptosessionOutOfMemoryReturn = 3145952, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOTYPE_NULLPARAM + GetcryptotypeNullParam = 3145953, + /// + /// D3D11_MESSAGE_ID_GETDECODERPROFILE_NULLPARAM + GetdecoderprofileNullParam = 3145954, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATESIZE_NULLPARAM + GetcryptosessioncertificatesizeNullParam = 3145955, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_NULLPARAM + GetcryptosessioncertificateNullParam = 3145956, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONCERTIFICATE_WRONGSIZE + GetcryptosessioncertificateWrongsize = 3145957, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_WRONGSIZE + GetcryptosessionhandleWrongsize = 3145958, + /// + /// D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_NULLPARAM + NegotiatecrpytosessionkeyexchangeNullParam = 3145959, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_UNSUPPORTED + EncryptionbltUnsupported = 3145960, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_NULLPARAM + EncryptionbltNullParam = 3145961, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_WRONGDEVICE + EncryptionbltSrcWrongdevice = 3145962, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_WRONGDEVICE + EncryptionbltDstWrongdevice = 3145963, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_FORMAT_MISMATCH + EncryptionbltFormatMismatch = 3145964, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SIZE_MISMATCH + EncryptionbltSizeMismatch = 3145965, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MULTISAMPLED + EncryptionbltSrcMultisampled = 3145966, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_NOT_STAGING + EncryptionbltDstNotStaging = 3145967, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_MAPPED + EncryptionbltSrcMapped = 3145968, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_MAPPED + EncryptionbltDstMapped = 3145969, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_OFFERED + EncryptionbltSrcOffered = 3145970, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_DST_OFFERED + EncryptionbltDstOffered = 3145971, + /// + /// D3D11_MESSAGE_ID_ENCRYPTIONBLT_SRC_CONTENT_UNDEFINED + EncryptionbltSrcContentUndefined = 3145972, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_UNSUPPORTED + DecryptionBltUnsupported = 3145973, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_NULLPARAM + DecryptionBltNullParam = 3145974, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_WRONGDEVICE + DecryptionBltSrcWrongdevice = 3145975, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_WRONGDEVICE + DecryptionBltDstWrongdevice = 3145976, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_FORMAT_MISMATCH + DecryptionBltFormatMismatch = 3145977, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SIZE_MISMATCH + DecryptionBltSizeMismatch = 3145978, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MULTISAMPLED + DecryptionBltDstMultisampled = 3145979, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_NOT_STAGING + DecryptionBltSrcNotStaging = 3145980, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_NOT_RENDER_TARGET + DecryptionBltDstNotRenderTarget = 3145981, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_MAPPED + DecryptionBltSrcMapped = 3145982, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_MAPPED + DecryptionBltDstMapped = 3145983, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_OFFERED + DecryptionBltSrcOffered = 3145984, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_DST_OFFERED + DecryptionBltDstOffered = 3145985, + /// + /// D3D11_MESSAGE_ID_DECRYPTIONBLT_SRC_CONTENT_UNDEFINED + DecryptionBltSrcContentUndefined = 3145986, + /// + /// D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_NULLPARAM + StartsessionkeyrefreshNullParam = 3145987, + /// + /// D3D11_MESSAGE_ID_STARTSESSIONKEYREFRESH_INVALIDSIZE + StartsessionkeyrefreshInvalidSize = 3145988, + /// + /// D3D11_MESSAGE_ID_FINISHSESSIONKEYREFRESH_NULLPARAM + FinishsessionkeyrefreshNullParam = 3145989, + /// + /// D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_NULLPARAM + GetencryptionbltkeyNullParam = 3145990, + /// + /// D3D11_MESSAGE_ID_GETENCRYPTIONBLTKEY_INVALIDSIZE + GetencryptionbltkeyInvalidSize = 3145991, + /// + /// D3D11_MESSAGE_ID_GETCONTENTPROTECTIONCAPS_NULLPARAM + GetcontentprotectioncapsNullParam = 3145992, + /// + /// D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_NULLPARAM + CheckcryptokeyexchangeNullParam = 3145993, + /// + /// D3D11_MESSAGE_ID_CHECKCRYPTOKEYEXCHANGE_INVALIDINDEX + CheckcryptokeyexchangeInvalidindex = 3145994, + /// + /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_NULLPARAM + CreateauthenticatedchannelNullParam = 3145995, + /// + /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_UNSUPPORTED + CreateauthenticatedchannelUnsupported = 3145996, + /// + /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_INVALIDTYPE + CreateauthenticatedchannelInvalidtype = 3145997, + /// + /// D3D11_MESSAGE_ID_CREATEAUTHENTICATEDCHANNEL_OUTOFMEMORY_RETURN + CreateauthenticatedchannelOutOfMemoryReturn = 3145998, + /// + /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_INVALIDCHANNEL + GetauthenticatedchannelcertificatesizeInvalidchannel = 3145999, + /// + /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATESIZE_NULLPARAM + GetauthenticatedchannelcertificatesizeNullParam = 3146000, + /// + /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_INVALIDCHANNEL + GetauthenticatedchannelcertificateInvalidchannel = 3146001, + /// + /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_NULLPARAM + GetauthenticatedchannelcertificateNullParam = 3146002, + /// + /// D3D11_MESSAGE_ID_GETAUTHENTICATEDCHANNELCERTIFICATE_WRONGSIZE + GetauthenticatedchannelcertificateWrongsize = 3146003, + /// + /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDCHANNEL + NegotiateauthenticatedchannelkeyexchangeInvalidchannel = 3146004, + /// + /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_NULLPARAM + NegotiateauthenticatedchannelkeyexchangeNullParam = 3146005, + /// + /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_NULLPARAM + QueryauthenticatedchannelNullParam = 3146006, + /// + /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGCHANNEL + QueryauthenticatedchannelWrongchannel = 3146007, + /// + /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_UNSUPPORTEDQUERY + QueryauthenticatedchannelUnsupportedquery = 3146008, + /// + /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_WRONGSIZE + QueryauthenticatedchannelWrongsize = 3146009, + /// + /// D3D11_MESSAGE_ID_QUERYAUTHENTICATEDCHANNEL_INVALIDPROCESSINDEX + QueryauthenticatedchannelInvalidprocessindex = 3146010, + /// + /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_NULLPARAM + ConfigureauthenticatedchannelNullParam = 3146011, + /// + /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGCHANNEL + ConfigureauthenticatedchannelWrongchannel = 3146012, + /// + /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_UNSUPPORTEDCONFIGURE + ConfigureauthenticatedchannelUnsupportedconfigure = 3146013, + /// + /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_WRONGSIZE + ConfigureauthenticatedchannelWrongsize = 3146014, + /// + /// D3D11_MESSAGE_ID_CONFIGUREAUTHENTICATEDCHANNEL_INVALIDPROCESSIDTYPE + ConfigureauthenticatedchannelInvalidprocessidtype = 3146015, + /// + /// D3D11_MESSAGE_ID_VSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + VSSetConstantBuffersInvalidBufferOffsetOrCount = 3146016, + /// + /// D3D11_MESSAGE_ID_DSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + DSSetConstantBuffersInvalidBufferOffsetOrCount = 3146017, + /// + /// D3D11_MESSAGE_ID_HSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + HSSetConstantBuffersInvalidBufferOffsetOrCount = 3146018, + /// + /// D3D11_MESSAGE_ID_GSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + GSSetConstantBuffersInvalidBufferOffsetOrCount = 3146019, + /// + /// D3D11_MESSAGE_ID_PSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + PSSetConstantBuffersInvalidBufferOffsetOrCount = 3146020, + /// + /// D3D11_MESSAGE_ID_CSSETCONSTANTBUFFERS_INVALIDBUFFEROFFSETORCOUNT + CSSetConstantBuffersInvalidBufferOffsetOrCount = 3146021, + /// + /// D3D11_MESSAGE_ID_NEGOTIATECRPYTOSESSIONKEYEXCHANGE_INVALIDSIZE + NegotiatecrpytosessionkeyexchangeInvalidSize = 3146022, + /// + /// D3D11_MESSAGE_ID_NEGOTIATEAUTHENTICATEDCHANNELKEYEXCHANGE_INVALIDSIZE + NegotiateauthenticatedchannelkeyexchangeInvalidSize = 3146023, + /// + /// D3D11_MESSAGE_ID_OFFERRESOURCES_INVALIDPRIORITY + OfferResourcesInvalidpriority = 3146024, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONHANDLE_OUTOFMEMORY + GetcryptosessionhandleOutOfMemory = 3146025, + /// + /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_NULLPARAM + AcquirehandleforcaptureNullParam = 3146026, + /// + /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDTYPE + AcquirehandleforcaptureInvalidtype = 3146027, + /// + /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDBIND + AcquirehandleforcaptureInvalidbind = 3146028, + /// + /// D3D11_MESSAGE_ID_ACQUIREHANDLEFORCAPTURE_INVALIDARRAY + AcquirehandleforcaptureInvalidarray = 3146029, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_NULLPARAM + VideoprocessorsetstreamrotationNullParam = 3146030, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALIDSTREAM + VideoprocessorsetstreamrotationInvalidStream = 3146031, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_INVALID + VideoprocessorsetstreamrotationInvalid = 3146032, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMROTATION_UNSUPPORTED + VideoprocessorsetstreamrotationUnsupported = 3146033, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_NULLPARAM + VideoprocessorgetstreamrotationNullParam = 3146034, + /// + /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDVIEW + DeviceClearViewInvalidView = 3146035, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateVertexShaderDoubleExtensionsNotSupported = 3146036, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateVertexShaderShaderExtensionsNotSupported = 3146037, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateHullShaderDoubleExtensionsNotSupported = 3146038, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateHullShaderShaderExtensionsNotSupported = 3146039, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateDomainShaderDoubleExtensionsNotSupported = 3146040, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateDomainShaderShaderExtensionsNotSupported = 3146041, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderDoubleExtensionsNotSupported = 3146042, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderShaderExtensionsNotSupported = 3146043, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputDoubleExtensionsNotSupported = 3146044, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputShaderExtensionsNotSupported = 3146045, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreatePixelShaderDoubleExtensionsNotSupported = 3146046, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreatePixelShaderShaderExtensionsNotSupported = 3146047, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateComputeShaderDoubleExtensionsNotSupported = 3146048, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_SHADEREXTENSIONSNOTSUPPORTED + DeviceCreateComputeShaderShaderExtensionsNotSupported = 3146049, + /// + /// D3D11_MESSAGE_ID_DEVICE_SHADER_LINKAGE_MINPRECISION + DeviceShaderLinkageMinPrecision = 3146050, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMALPHA_UNSUPPORTED + VideoprocessorsetstreamalphaUnsupported = 3146051, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMPIXELASPECTRATIO_UNSUPPORTED + VideoprocessorsetstreampixelaspectratioUnsupported = 3146052, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED + DeviceCreateVertexShaderUAVsNotSupported = 3146053, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED + DeviceCreateHullShaderUAVsNotSupported = 3146054, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED + DeviceCreateDomainShaderUAVsNotSupported = 3146055, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED + DeviceCreateGeometryShaderUAVsNotSupported = 3146056, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputUAVsNotSupported = 3146057, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED + DeviceCreatePixelShaderUAVsNotSupported = 3146058, + /// + /// D3D11_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED + DeviceCreateComputeShaderUAVsNotSupported = 3146059, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_INVALIDOFFSET + DeviceOMSetRenderTargetsAndUnorderedAccessViewsInvalidOffset = 3146060, + /// + /// D3D11_MESSAGE_ID_DEVICE_OMSETRENDERTARGETSANDUNORDEREDACCESSVIEWS_TOOMANYVIEWS + DeviceOMSetRenderTargetsAndUnorderedAccessViewsToomanyviews = 3146061, + /// + /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_NOTSUPPORTED + DeviceClearViewNotSupported = 3146062, + /// + /// D3D11_MESSAGE_ID_SWAPDEVICECONTEXTSTATE_NOTSUPPORTED + SwapDeviceContextStateNotSupported = 3146063, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_PREFERUPDATESUBRESOURCE1 + UpdateSubresourcePreferUpdateSubresource1 = 3146064, + /// + /// D3D11_MESSAGE_ID_GETDC_INACCESSIBLE + GetDCInaccessible = 3146065, + /// + /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDRECT + DeviceClearViewInvalidRect = 3146066, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_SAMPLE_MASK_IGNORED_ON_FL9 + DeviceDrawSampleMaskIgnoredOnFl9 = 3146067, + /// + /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE1_NOT_SUPPORTED + DeviceOpenSharedResource1NotSupported = 3146068, + /// + /// D3D11_MESSAGE_ID_DEVICE_OPEN_SHARED_RESOURCE_BY_NAME_NOT_SUPPORTED + DeviceOpenSharedResourceByNameNotSupported = 3146069, + /// + /// D3D11_MESSAGE_ID_ENQUEUESETEVENT_NOT_SUPPORTED + EnqueueSetEventNotSupported = 3146070, + /// + /// D3D11_MESSAGE_ID_OFFERRELEASE_NOT_SUPPORTED + OfferreleaseNotSupported = 3146071, + /// + /// D3D11_MESSAGE_ID_OFFERRESOURCES_INACCESSIBLE + OfferResourcesInaccessible = 3146072, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSORINPUTVIEW_INVALIDMSAA + CreatevideoprocessorinputviewInvalidmsaa = 3146073, + /// + /// D3D11_MESSAGE_ID_CREATEVIDEOPROCESSOROUTPUTVIEW_INVALIDMSAA + CreatevideoprocessoroutputviewInvalidmsaa = 3146074, + /// + /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT + DeviceClearViewInvalidsourcerect = 3146075, + /// + /// D3D11_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT + DeviceClearViewEmptyRect = 3146076, + /// + /// D3D11_MESSAGE_ID_UPDATESUBRESOURCE_EMPTYDESTBOX + UpdateSubresourceEmptydestbox = 3146077, + /// + /// D3D11_MESSAGE_ID_COPYSUBRESOURCEREGION_EMPTYSOURCEBOX + CopySubresourceRegionEmptysourcebox = 3146078, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS + DeviceDrawOMRenderTargetDoesNotSupportLogicOps = 3146079, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_DEPTHSTENCILVIEW_NOT_SET + DeviceDrawDepthStencilViewNotSet = 3146080, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET + DeviceDrawRenderTargetViewNotSet = 3146081, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_RENDERTARGETVIEW_NOT_SET_DUE_TO_FLIP_PRESENT + DeviceDrawRenderTargetViewNotSetDueToFlipPresent = 3146082, + /// + /// D3D11_MESSAGE_ID_DEVICE_UNORDEREDACCESSVIEW_NOT_SET_DUE_TO_FLIP_PRESENT + DeviceUnorderedAccessViewNotSetDueToFlipPresent = 3146083, + /// + /// D3D11_MESSAGE_ID_GETDATAFORNEWHARDWAREKEY_NULLPARAM + GetdatafornewhardwarekeyNullParam = 3146084, + /// + /// D3D11_MESSAGE_ID_CHECKCRYPTOSESSIONSTATUS_NULLPARAM + CheckcryptosessionstatusNullParam = 3146085, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_NULLPARAM + GetcryptosessionprivatedatasizeNullParam = 3146086, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_NULLPARAM + GetvideodecodercapsNullParam = 3146087, + /// + /// D3D11_MESSAGE_ID_GETVIDEODECODERCAPS_ZEROWIDTHHEIGHT + GetvideodecodercapsZeroWidthHeight = 3146088, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_NULLPARAM + CheckvideodecoderdownsamplingNullParam = 3146089, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE + CheckvideodecoderdownsamplingInvalidcolorspace = 3146090, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT + CheckvideodecoderdownsamplingZeroWidthHeight = 3146091, + /// + /// D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_NULLPARAM + VideodecoderenabledownsamplingNullParam = 3146092, + /// + /// D3D11_MESSAGE_ID_VIDEODECODERENABLEDOWNSAMPLING_UNSUPPORTED + VideodecoderenabledownsamplingUnsupported = 3146093, + /// + /// D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_NULLPARAM + VideodecoderupdatedownsamplingNullParam = 3146094, + /// + /// D3D11_MESSAGE_ID_VIDEODECODERUPDATEDOWNSAMPLING_UNSUPPORTED + VideodecoderupdatedownsamplingUnsupported = 3146095, + /// + /// D3D11_MESSAGE_ID_CHECKVIDEOPROCESSORFORMATCONVERSION_NULLPARAM + CheckvideoprocessorformatconversionNullParam = 3146096, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTCOLORSPACE1_NULLPARAM + Videoprocessorsetoutputcolorspace1NullParam = 3146097, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTCOLORSPACE1_NULLPARAM + Videoprocessorgetoutputcolorspace1NullParam = 3146098, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_NULLPARAM + Videoprocessorsetstreamcolorspace1NullParam = 3146099, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMCOLORSPACE1_INVALIDSTREAM + Videoprocessorsetstreamcolorspace1InvalidStream = 3146100, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_NULLPARAM + VideoprocessorsetstreammirrorNullParam = 3146101, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_INVALIDSTREAM + VideoprocessorsetstreammirrorInvalidStream = 3146102, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMMIRROR_UNSUPPORTED + VideoprocessorsetstreammirrorUnsupported = 3146103, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_NULLPARAM + Videoprocessorgetstreamcolorspace1NullParam = 3146104, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_NULLPARAM + VideoProcessorGetStreamMirrorNullParam = 3146105, + /// + /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_NULLPARAM + RecommendvideodecoderdownsamplingNullParam = 3146106, + /// + /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_INVALIDCOLORSPACE + RecommendvideodecoderdownsamplingInvalidcolorspace = 3146107, + /// + /// D3D11_MESSAGE_ID_RECOMMENDVIDEODECODERDOWNSAMPLING_ZEROWIDTHHEIGHT + RecommendvideodecoderdownsamplingZeroWidthHeight = 3146108, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTSHADERUSAGE_NULLPARAM + VideoprocessorsetoutputshaderusageNullParam = 3146109, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTSHADERUSAGE_NULLPARAM + VideoprocessorgetoutputshaderusageNullParam = 3146110, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_NULLPARAM + VideoprocessorgetbehaviorhintsNullParam = 3146111, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSTREAMCOUNT + VideoprocessorgetbehaviorhintsInvalidstreamcount = 3146112, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_TARGETRECT + VideoprocessorgetbehaviorhintsTargetrect = 3146113, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDSOURCERECT + VideoprocessorgetbehaviorhintsInvalidsourcerect = 3146114, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETBEHAVIORHINTS_INVALIDDESTRECT + VideoprocessorgetbehaviorhintsInvaliddestrect = 3146115, + /// + /// D3D11_MESSAGE_ID_GETCRYPTOSESSIONPRIVATEDATASIZE_INVALID_KEY_EXCHANGE_TYPE + GetcryptosessionprivatedatasizeInvalidKeyExchangeType = 3146116, + /// + /// D3D11_MESSAGE_ID_CREATEBUFFER_INVALIDUSAGE + CreateBufferInvalidUsage = 3146119, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE1D_INVALIDUSAGE + CreateTexture1DInvalidUsage = 3146120, + /// + /// D3D11_MESSAGE_ID_CREATETEXTURE2D_INVALIDUSAGE + CreateTexture2DInvalidUsage = 3146121, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_STEPRATE_NOT_1 + CreateInputLayoutLevel9StepRateNot1 = 3146122, + /// + /// D3D11_MESSAGE_ID_CREATEINPUTLAYOUT_LEVEL9_INSTANCING_NOT_SUPPORTED + CreateInputLayoutLevel9InstancingNotSupported = 3146123, + /// + /// D3D11_MESSAGE_ID_UPDATETILEMAPPINGS_INVALID_PARAMETER + UpdateTileMappingsInvalidParameter = 3146124, + /// + /// D3D11_MESSAGE_ID_COPYTILEMAPPINGS_INVALID_PARAMETER + CopyTileMappingsInvalidParameter = 3146125, + /// + /// D3D11_MESSAGE_ID_COPYTILES_INVALID_PARAMETER + CopyTilesInvalidParameter = 3146126, + /// + /// D3D11_MESSAGE_ID_UPDATETILES_INVALID_PARAMETER + UpdateTilesInvalidParameter = 3146127, + /// + /// D3D11_MESSAGE_ID_RESIZETILEPOOL_INVALID_PARAMETER + ResizetilepoolInvalidParameter = 3146128, + /// + /// D3D11_MESSAGE_ID_TILEDRESOURCEBARRIER_INVALID_PARAMETER + TiledresourcebarrierInvalidParameter = 3146129, + /// + /// D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_WARNING + NullTileMappingAccessWarning = 3146130, + /// + /// D3D11_MESSAGE_ID_NULL_TILE_MAPPING_ACCESS_ERROR + NullTileMappingAccessError = 3146131, + /// + /// D3D11_MESSAGE_ID_DIRTY_TILE_MAPPING_ACCESS + DirtyTileMappingAccess = 3146132, + /// + /// D3D11_MESSAGE_ID_DUPLICATE_TILE_MAPPINGS_IN_COVERED_AREA + DuplicateTileMappingsInCoveredArea = 3146133, + /// + /// D3D11_MESSAGE_ID_TILE_MAPPINGS_IN_COVERED_AREA_DUPLICATED_OUTSIDE + TileMappingsInCoveredAreaDuplicatedOutside = 3146134, + /// + /// D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INCOMPATIBLE_RESOURCES + TileMappingsSharedBetweenIncompatibleResources = 3146135, + /// + /// D3D11_MESSAGE_ID_TILE_MAPPINGS_SHARED_BETWEEN_INPUT_AND_OUTPUT + TileMappingsSharedBetweenInputAndOutput = 3146136, + /// + /// D3D11_MESSAGE_ID_CHECKMULTISAMPLEQUALITYLEVELS_INVALIDFLAGS + CheckMultisampleQualityLevelsInvalidFlags = 3146137, + /// + /// D3D11_MESSAGE_ID_GETRESOURCETILING_NONTILED_RESOURCE + GetresourcetilingNontiledResource = 3146138, + /// + /// D3D11_MESSAGE_ID_RESIZETILEPOOL_SHRINK_WITH_MAPPINGS_STILL_DEFINED_PAST_END + ResizetilepoolShrinkWithMappingsStillDefinedPastEnd = 3146139, + /// + /// D3D11_MESSAGE_ID_NEED_TO_CALL_TILEDRESOURCEBARRIER + NeedToCallTiledresourcebarrier = 3146140, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICE_INVALIDARGS + CreateDeviceInvalidArgs = 3146141, + /// + /// D3D11_MESSAGE_ID_CREATEDEVICE_WARNING + CreateDeviceWarning = 3146142, + /// + /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWUINT_HAZARD + ClearunorderedaccessviewuintHazard = 3146143, + /// + /// D3D11_MESSAGE_ID_CLEARUNORDEREDACCESSVIEWFLOAT_HAZARD + ClearUnorderedAccessViewFloatHazard = 3146144, + /// + /// D3D11_MESSAGE_ID_TILED_RESOURCE_TIER_1_BUFFER_TEXTURE_MISMATCH + TiledResourceTier1BufferTextureMismatch = 3146145, + /// + /// D3D11_MESSAGE_ID_CREATE_CRYPTOSESSION + CreateCryptoSession = 3146146, + /// + /// D3D11_MESSAGE_ID_CREATE_AUTHENTICATEDCHANNEL + CreateAuthenticatedChannel = 3146147, + /// + /// D3D11_MESSAGE_ID_LIVE_CRYPTOSESSION + LiveCryptoSession = 3146148, + /// + /// D3D11_MESSAGE_ID_LIVE_AUTHENTICATEDCHANNEL + LiveAuthenticatedChannel = 3146149, + /// + /// D3D11_MESSAGE_ID_DESTROY_CRYPTOSESSION + DestroyCryptoSession = 3146150, + /// + /// D3D11_MESSAGE_ID_DESTROY_AUTHENTICATEDCHANNEL + DestroyAuthenticatedChannel = 3146151, + /// + /// D3D11_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE + CreateRasterizerStateInvalidConservativeRasterMode = 3146154, + /// + /// D3D11_MESSAGE_ID_DEVICE_DRAW_INVALID_SYSTEMVALUE + DeviceDrawInvalidSystemValue = 3146155, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_INVALIDCONTEXTTYPE + CreateQueryOrPredicateInvalidContextType = 3146156, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_DECODENOTSUPPORTED + CreateQueryOrPredicateDecodenotsupported = 3146157, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_ENCODENOTSUPPORTED + CreateQueryOrPredicateEncodenotsupported = 3146158, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDPLANEINDEX + CreateShaderResourceViewInvalidplaneindex = 3146159, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANEINDEX + CreateShaderResourceViewInvalidvideoplaneindex = 3146160, + /// + /// D3D11_MESSAGE_ID_CREATESHADERRESOURCEVIEW_AMBIGUOUSVIDEOPLANEINDEX + CreateShaderResourceViewAmbiguousvideoplaneindex = 3146161, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDPLANEINDEX + CreateRenderTargetViewInvalidplaneindex = 3146162, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDVIDEOPLANEINDEX + CreateRenderTargetViewInvalidvideoplaneindex = 3146163, + /// + /// D3D11_MESSAGE_ID_CREATERENDERTARGETVIEW_AMBIGUOUSVIDEOPLANEINDEX + CreateRenderTargetViewAmbiguousvideoplaneindex = 3146164, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDPLANEINDEX + CreateUnorderedAccessViewInvalidplaneindex = 3146165, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANEINDEX + CreateUnorderedAccessViewInvalidvideoplaneindex = 3146166, + /// + /// D3D11_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_AMBIGUOUSVIDEOPLANEINDEX + CreateUnorderedAccessViewAmbiguousvideoplaneindex = 3146167, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSCANDATAOFFSET + JpegDecodeInvalidScanDataOffset = 3146168, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_NOTSUPPORTED + JpegDecodeNotSupported = 3146169, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_DIMENSIONSTOOLARGE + JpegDecodeDimensionsTooLarge = 3146170, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOMPONENTS + JpegDecodeInvalidComponents = 3146171, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_DESTINATIONNOT2D + JpegDecodeDestinationNot2D = 3146172, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_TILEDRESOURCESUNSUPPORTED + JpegDecodeTiledresourcesunsupported = 3146173, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_GUARDRECTSUNSUPPORTED + JpegDecodeGuardrectsunsupported = 3146174, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_FORMATUNSUPPORTED + JpegDecodeFormatunsupported = 3146175, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSUBRESOURCE + JpegDecodeInvalidSubresource = 3146176, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDMIPLEVEL + JpegDecodeInvalidMipLevel = 3146177, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_EMPTYDESTBOX + JpegDecodeEmptydestbox = 3146178, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOT2D + JpegDecodeDestboxnot2d = 3146179, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXNOTSUB + JpegDecodeDestboxnotsub = 3146180, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_DESTBOXESINTERSECT + JpegDecodeDestboxesintersect = 3146181, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEMISMATCH + JpegDecodeXsubsamplemismatch = 3146182, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEMISMATCH + JpegDecodeYsubsamplemismatch = 3146183, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_XSUBSAMPLEODD + JpegDecodeXsubsampleodd = 3146184, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_YSUBSAMPLEODD + JpegDecodeYsubsampleodd = 3146185, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_OUTPUTDIMENSIONSTOOLARGE + JpegDecodeOutputdimensionstoolarge = 3146186, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_NONPOW2SCALEUNSUPPORTED + JpegDecodeNonpow2scaleunsupported = 3146187, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_FRACTIONALDOWNSCALETOLARGE + JpegDecodeFractionaldownscaletolarge = 3146188, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_CHROMASIZEMISMATCH + JpegDecodeChromasizemismatch = 3146189, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_LUMACHROMASIZEMISMATCH + JpegDecodeLumachromasizemismatch = 3146190, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDNUMDESTINATIONS + JpegDecodeInvalidnumdestinations = 3146191, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_SUBBOXUNSUPPORTED + JpegDecodeSubboxunsupported = 3146192, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_1DESTUNSUPPORTEDFORMAT + JpegDecode1destunsupportedformat = 3146193, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_3DESTUNSUPPORTEDFORMAT + JpegDecode3destunsupportedformat = 3146194, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_SCALEUNSUPPORTED + JpegDecodeScaleunsupported = 3146195, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDSOURCESIZE + JpegDecodeInvalidsourcesize = 3146196, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_INVALIDCOPYFLAGS + JpegDecodeInvalidCopyFlags = 3146197, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_HAZARD + JpegDecodeHazard = 3146198, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERUSAGE + JpegDecodeUnsupportedsrcbufferusage = 3146199, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDSRCBUFFERMISCFLAGS + JpegDecodeUnsupportedsrcbuffermiscflags = 3146200, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPORTEDDSTTEXTUREUSAGE + JpegDecodeUnsupporteddsttextureusage = 3146201, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_BACKBUFFERNOTSUPPORTED + JpegDecodeBackbufferNotSupported = 3146202, + /// + /// D3D11_MESSAGE_ID_JPEGDECODE_UNSUPPRTEDCOPYFLAGS + JpegDecodeUnsupprtedcopyflags = 3146203, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_NOTSUPPORTED + JpegEncodeNotSupported = 3146204, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSCANDATAOFFSET + JpegEncodeInvalidScanDataOffset = 3146205, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDCOMPONENTS + JpegEncodeInvalidComponents = 3146206, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_SOURCENOT2D + JpegEncodeSourceNot2D = 3146207, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_TILEDRESOURCESUNSUPPORTED + JpegEncodeTiledresourcesunsupported = 3146208, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_GUARDRECTSUNSUPPORTED + JpegEncodeGuardrectsunsupported = 3146209, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_XSUBSAMPLEMISMATCH + JpegEncodeXsubsamplemismatch = 3146210, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_YSUBSAMPLEMISMATCH + JpegEncodeYsubsamplemismatch = 3146211, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_FORMATUNSUPPORTED + JpegEncodeFormatunsupported = 3146212, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDSUBRESOURCE + JpegEncodeInvalidSubresource = 3146213, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_INVALIDMIPLEVEL + JpegEncodeInvalidMipLevel = 3146214, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_DIMENSIONSTOOLARGE + JpegEncodeDimensionsTooLarge = 3146215, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_HAZARD + JpegEncodeHazard = 3146216, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERUSAGE + JpegEncodeUnsupporteddstbufferusage = 3146217, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDDSTBUFFERMISCFLAGS + JpegEncodeUnsupporteddstbuffermiscflags = 3146218, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_UNSUPPORTEDSRCTEXTUREUSAGE + JpegEncodeUnsupportedsrctextureusage = 3146219, + /// + /// D3D11_MESSAGE_ID_JPEGENCODE_BACKBUFFERNOTSUPPORTED + JpegEncodeBackbufferNotSupported = 3146220, + /// + /// D3D11_MESSAGE_ID_CREATEQUERYORPREDICATE_UNSUPPORTEDCONTEXTTTYPEFORQUERY + CreateQueryOrPredicateUnsupportedcontextttypeforquery = 3146221, + /// + /// D3D11_MESSAGE_ID_FLUSH1_INVALIDCONTEXTTYPE + Flush1InvalidContextType = 3146222, + /// + /// D3D11_MESSAGE_ID_DEVICE_SETHARDWAREPROTECTION_INVALIDCONTEXT + DeviceSethardwareprotectionInvalidcontext = 3146223, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_NULLPARAM + VideoprocessorsetoutputhdrmetadataNullParam = 3146224, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETOUTPUTHDRMETADATA_INVALIDSIZE + VideoprocessorsetoutputhdrmetadataInvalidSize = 3146225, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_NULLPARAM + VideoprocessorgetoutputhdrmetadataNullParam = 3146226, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETOUTPUTHDRMETADATA_INVALIDSIZE + VideoprocessorgetoutputhdrmetadataInvalidSize = 3146227, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_NULLPARAM + VideoprocessorsetstreamhdrmetadataNullParam = 3146228, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSTREAM + VideoprocessorsetstreamhdrmetadataInvalidStream = 3146229, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORSETSTREAMHDRMETADATA_INVALIDSIZE + VideoprocessorsetstreamhdrmetadataInvalidSize = 3146230, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_NULLPARAM + VideoprocessorgetstreamhdrmetadataNullParam = 3146231, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSTREAM + VideoprocessorgetstreamhdrmetadataInvalidStream = 3146232, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMHDRMETADATA_INVALIDSIZE + VideoprocessorgetstreamhdrmetadataInvalidSize = 3146233, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFRAMEFORMAT_INVALIDSTREAM + VideoprocessorgetstreamframeformatInvalidStream = 3146234, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE_INVALIDSTREAM + VideoprocessorgetstreamcolorspaceInvalidStream = 3146235, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMOUTPUTRATE_INVALIDSTREAM + VideoprocessorgetstreamoutputrateInvalidStream = 3146236, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSOURCERECT_INVALIDSTREAM + VideoprocessorgetstreamsourcerectInvalidStream = 3146237, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMDESTRECT_INVALIDSTREAM + VideoprocessorgetstreamdestrectInvalidStream = 3146238, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMALPHA_INVALIDSTREAM + VideoprocessorgetstreamalphaInvalidStream = 3146239, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPALETTE_INVALIDSTREAM + VideoprocessorgetstreampaletteInvalidStream = 3146240, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMPIXELASPECTRATIO_INVALIDSTREAM + VideoprocessorgetstreampixelaspectratioInvalidStream = 3146241, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMLUMAKEY_INVALIDSTREAM + VideoprocessorgetstreamlumakeyInvalidStream = 3146242, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMSTEREOFORMAT_INVALIDSTREAM + VideoprocessorgetstreamstereoformatInvalidStream = 3146243, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMAUTOPROCESSINGMODE_INVALIDSTREAM + VideoprocessorgetstreamautoprocessingmodeInvalidStream = 3146244, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMFILTER_INVALIDSTREAM + VideoprocessorgetstreamfilterInvalidStream = 3146245, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMROTATION_INVALIDSTREAM + VideoprocessorgetstreamrotationInvalidStream = 3146246, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMCOLORSPACE1_INVALIDSTREAM + Videoprocessorgetstreamcolorspace1InvalidStream = 3146247, + /// + /// D3D11_MESSAGE_ID_VIDEOPROCESSORGETSTREAMMIRROR_INVALIDSTREAM + VideoProcessorGetStreamMirrorInvalidStream = 3146248, + /// + /// D3D11_MESSAGE_ID_CREATE_FENCE + CreateFence = 3146249, + /// + /// D3D11_MESSAGE_ID_LIVE_FENCE + LiveFence = 3146250, + /// + /// D3D11_MESSAGE_ID_DESTROY_FENCE + DestroyFence = 3146251, + /// + /// D3D11_MESSAGE_ID_CREATE_SYNCHRONIZEDCHANNEL + CreateSynchronizedChannel = 3146252, + /// + /// D3D11_MESSAGE_ID_LIVE_SYNCHRONIZEDCHANNEL + LiveSynchronizedChannel = 3146253, + /// + /// D3D11_MESSAGE_ID_DESTROY_SYNCHRONIZEDCHANNEL + DestroySynchronizedChannel = 3146254, + /// + /// D3D11_MESSAGE_ID_CREATEFENCE_INVALIDFLAGS + CreateFenceInvalidFlags = 3146255, + /// + /// D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_INVALIDKEYEXCHANGETYPE + NegotiatecryptosessionkeyexchangemtInvalidkeyexchangetype = 3146258, + /// + /// D3D11_MESSAGE_ID_NEGOTIATECRYPTOSESSIONKEYEXCHANGEMT_NOT_SUPPORTED + NegotiatecryptosessionkeyexchangemtNotSupported = 3146259, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT_COUNT + DecoderBeginFrameInvalidHistogramComponentCount = 3146260, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_COMPONENT + DecoderBeginFrameInvalidHistogramComponent = 3146261, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_SIZE + DecoderBeginFrameInvalidHistogramBufferSize = 3146262, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_USAGE + DecoderBeginFrameInvalidHistogramBufferUsage = 3146263, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_MISC_FLAGS + DecoderBeginFrameInvalidHistogramBufferMiscFlags = 3146264, + /// + /// D3D11_MESSAGE_ID_DECODERBEGINFRAME_INVALID_HISTOGRAM_BUFFER_OFFSET + DecoderBeginFrameInvalidHistogramBufferOffset = 3146265, + /// + /// D3D11_MESSAGE_ID_CREATE_TRACKEDWORKLOAD + CreateTrackedworkload = 3146266, + /// + /// D3D11_MESSAGE_ID_LIVE_TRACKEDWORKLOAD + LiveTrackedworkload = 3146267, + /// + /// D3D11_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD + DestroyTrackedworkload = 3146268, + /// + /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_NULLPARAM + CreateTrackedWorkloadNullParam = 3146269, + /// + /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_MAX_INSTANCES + CreateTrackedWorkloadInvalidMaxInstances = 3146270, + /// + /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_DEADLINE_TYPE + CreateTrackedWorkloadInvalidDeadlineType = 3146271, + /// + /// D3D11_MESSAGE_ID_CREATE_TRACKED_WORKLOAD_INVALID_ENGINE_TYPE + CreateTrackedWorkloadInvalidEngineType = 3146272, + /// + /// D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS + MultipleTrackedWorkloads = 3146273, + /// + /// D3D11_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS + MultipleTrackedWorkloadPairs = 3146274, + /// + /// D3D11_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR + IncompleteTrackedWorkloadPair = 3146275, + /// + /// D3D11_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR + OutOfOrderTrackedWorkloadPair = 3146276, + /// + /// D3D11_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD + CannotAddTrackedWorkload = 3146277, + /// + /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED + TrackedWorkloadNotSupported = 3146278, + /// + /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_ENGINE_TYPE_NOT_FOUND + TrackedWorkloadEngineTypeNotFound = 3146279, + /// + /// D3D11_MESSAGE_ID_NO_TRACKED_WORKLOAD_SLOT_AVAILABLE + NoTrackedWorkloadSlotAvailable = 3146280, + /// + /// D3D11_MESSAGE_ID_END_TRACKED_WORKLOAD_INVALID_ARG + EndTrackedWorkloadInvalidArg = 3146281, + /// + /// D3D11_MESSAGE_ID_TRACKED_WORKLOAD_DISJOINT_FAILURE + TrackedWorkloadDisjointFailure = 3146282, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/MessageSeverity.cs b/src/Vortice.Win32.Direct3D11/Generated/MessageSeverity.cs new file mode 100644 index 0000000..d0e2e35 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/MessageSeverity.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_MESSAGE_SEVERITY +public enum MessageSeverity : int +{ + /// + /// D3D11_MESSAGE_SEVERITY_CORRUPTION + Corruption = 0, + /// + /// D3D11_MESSAGE_SEVERITY_ERROR + Error = 1, + /// + /// D3D11_MESSAGE_SEVERITY_WARNING + Warning = 2, + /// + /// D3D11_MESSAGE_SEVERITY_INFO + Info = 3, + /// + /// D3D11_MESSAGE_SEVERITY_MESSAGE + Message = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Omac.cs b/src/Vortice.Win32.Direct3D11/Generated/Omac.cs new file mode 100644 index 0000000..340b51d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Omac.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_OMAC +public partial struct Omac +{ + /// + public unsafe fixed byte Buffer[16]; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/PackedMipDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/PackedMipDescription.cs new file mode 100644 index 0000000..2d2d926 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/PackedMipDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_PACKED_MIP_DESC +public partial struct PackedMipDescription +{ + /// + public byte NumStandardMips; + + /// + public byte NumPackedMips; + + /// + public uint NumTilesForPackedMips; + + /// + public uint StartTileIndexInOverallResource; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ParameterDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ParameterDescription.cs new file mode 100644 index 0000000..0a53e2e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ParameterDescription.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_PARAMETER_DESC +public partial struct ParameterDescription +{ + /// + public unsafe sbyte* Name; + + /// + public unsafe sbyte* SemanticName; + + /// + public Graphics.Direct3D.ShaderVariableType Type; + + /// + public Graphics.Direct3D.ShaderVariableClass Class; + + /// + public uint Rows; + + /// + public uint Columns; + + /// + public Graphics.Direct3D.InterpolationMode InterpolationMode; + + /// + public Graphics.Direct3D.ParameterFlags Flags; + + /// + public uint FirstInRegister; + + /// + public uint FirstInComponent; + + /// + public uint FirstOutRegister; + + /// + public uint FirstOutComponent; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/PixelShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/PixelShaderTraceDescription.cs new file mode 100644 index 0000000..ff510bf --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/PixelShaderTraceDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_PIXEL_SHADER_TRACE_DESC +public partial struct PixelShaderTraceDescription +{ + /// + public ulong Invocation; + + /// + public int X; + + /// + public int Y; + + /// + public ulong SampleMask; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryDataPipelineStatistics.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryDataPipelineStatistics.cs new file mode 100644 index 0000000..4297d2a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryDataPipelineStatistics.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_DATA_PIPELINE_STATISTICS +public partial struct QueryDataPipelineStatistics +{ + /// + public ulong IAVertices; + + /// + public ulong IAPrimitives; + + /// + public ulong VSInvocations; + + /// + public ulong GSInvocations; + + /// + public ulong GSPrimitives; + + /// + public ulong CInvocations; + + /// + public ulong CPrimitives; + + /// + public ulong PSInvocations; + + /// + public ulong HSInvocations; + + /// + public ulong DSInvocations; + + /// + public ulong CSInvocations; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryDataSOStatistics.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryDataSOStatistics.cs new file mode 100644 index 0000000..66384d5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryDataSOStatistics.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_DATA_SO_STATISTICS +public partial struct QueryDataSOStatistics +{ + /// + public ulong NumPrimitivesWritten; + + /// + public ulong PrimitivesStorageNeeded; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryDataTimestampDisjoint.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryDataTimestampDisjoint.cs new file mode 100644 index 0000000..aaf37d0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryDataTimestampDisjoint.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_DATA_TIMESTAMP_DISJOINT +public partial struct QueryDataTimestampDisjoint +{ + /// + public ulong Frequency; + + /// + public Bool32 Disjoint; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryDescription.cs new file mode 100644 index 0000000..db73cae --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_DESC +public partial struct QueryDescription +{ + /// + public QueryType Query; + + /// + public QueryMiscFlags MiscFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryDescription1.cs new file mode 100644 index 0000000..b2c27e0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryDescription1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_DESC1 +public partial struct QueryDescription1 +{ + /// + public QueryType Query; + + /// + public QueryMiscFlags MiscFlags; + + /// + public ContextType ContextType; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryMiscFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryMiscFlags.cs new file mode 100644 index 0000000..3082e12 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryMiscFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY_MISC_FLAG +[Flags] +public enum QueryMiscFlags : int +{ + None = 0, + /// + /// D3D11_QUERY_MISC_PREDICATEHINT + PredicateHint = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/QueryType.cs b/src/Vortice.Win32.Direct3D11/Generated/QueryType.cs new file mode 100644 index 0000000..62124f1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/QueryType.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_QUERY +public enum QueryType : int +{ + /// + /// D3D11_QUERY_EVENT + Event = 0, + /// + /// D3D11_QUERY_OCCLUSION + Occlusion = 1, + /// + /// D3D11_QUERY_TIMESTAMP + Timestamp = 2, + /// + /// D3D11_QUERY_TIMESTAMP_DISJOINT + TimestampDisjoint = 3, + /// + /// D3D11_QUERY_PIPELINE_STATISTICS + PipelineStatistics = 4, + /// + /// D3D11_QUERY_OCCLUSION_PREDICATE + OcclusionPredicate = 5, + /// + /// D3D11_QUERY_SO_STATISTICS + SOStatistics = 6, + /// + /// D3D11_QUERY_SO_OVERFLOW_PREDICATE + SOOverflowPredicate = 7, + /// + /// D3D11_QUERY_SO_STATISTICS_STREAM0 + SOStatisticsStream0 = 8, + /// + /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM0 + SOOverflowPredicateStream0 = 9, + /// + /// D3D11_QUERY_SO_STATISTICS_STREAM1 + SOStatisticsStream1 = 10, + /// + /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM1 + SOOverflowPredicateStream1 = 11, + /// + /// D3D11_QUERY_SO_STATISTICS_STREAM2 + SOStatisticsStream2 = 12, + /// + /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM2 + SOOverflowPredicateStream2 = 13, + /// + /// D3D11_QUERY_SO_STATISTICS_STREAM3 + SOStatisticsStream3 = 14, + /// + /// D3D11_QUERY_SO_OVERFLOW_PREDICATE_STREAM3 + SOOverflowPredicateStream3 = 15, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RaiseFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/RaiseFlags.cs new file mode 100644 index 0000000..bcc4d0e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RaiseFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RAISE_FLAG +[Flags] +public enum RaiseFlags : int +{ + None = 0, + /// + /// D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR + DriverInternalError = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription.cs new file mode 100644 index 0000000..e46fea9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RASTERIZER_DESC +public partial struct RasterizerDescription +{ + /// + public FillMode FillMode; + + /// + public CullMode CullMode; + + /// + public Bool32 FrontCounterClockwise; + + /// + public int DepthBias; + + /// + public float DepthBiasClamp; + + /// + public float SlopeScaledDepthBias; + + /// + public Bool32 DepthClipEnable; + + /// + public Bool32 ScissorEnable; + + /// + public Bool32 MultisampleEnable; + + /// + public Bool32 AntialiasedLineEnable; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription1.cs new file mode 100644 index 0000000..09657d3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription1.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RASTERIZER_DESC1 +public partial struct RasterizerDescription1 +{ + /// + public FillMode FillMode; + + /// + public CullMode CullMode; + + /// + public Bool32 FrontCounterClockwise; + + /// + public int DepthBias; + + /// + public float DepthBiasClamp; + + /// + public float SlopeScaledDepthBias; + + /// + public Bool32 DepthClipEnable; + + /// + public Bool32 ScissorEnable; + + /// + public Bool32 MultisampleEnable; + + /// + public Bool32 AntialiasedLineEnable; + + /// + public uint ForcedSampleCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription2.cs b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription2.cs new file mode 100644 index 0000000..30fdb7a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RasterizerDescription2.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RASTERIZER_DESC2 +public partial struct RasterizerDescription2 +{ + /// + public FillMode FillMode; + + /// + public CullMode CullMode; + + /// + public Bool32 FrontCounterClockwise; + + /// + public int DepthBias; + + /// + public float DepthBiasClamp; + + /// + public float SlopeScaledDepthBias; + + /// + public Bool32 DepthClipEnable; + + /// + public Bool32 ScissorEnable; + + /// + public Bool32 MultisampleEnable; + + /// + public Bool32 AntialiasedLineEnable; + + /// + public uint ForcedSampleCount; + + /// + public ConservativeRasterizationMode ConservativeRaster; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription.cs new file mode 100644 index 0000000..01c03fb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RENDER_TARGET_BLEND_DESC +public partial struct RenderTargetBlendDescription +{ + /// + public Bool32 BlendEnable; + + /// + public Blend SrcBlend; + + /// + public Blend DestBlend; + + /// + public BlendOperation BlendOp; + + /// + public Blend SrcBlendAlpha; + + /// + public Blend DestBlendAlpha; + + /// + public BlendOperation BlendOpAlpha; + + /// + public ColorWriteEnable RenderTargetWriteMask; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription1.cs new file mode 100644 index 0000000..bf1ace7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetBlendDescription1.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RENDER_TARGET_BLEND_DESC1 +public partial struct RenderTargetBlendDescription1 +{ + /// + public Bool32 BlendEnable; + + /// + public Bool32 LogicOpEnable; + + /// + public Blend SrcBlend; + + /// + public Blend DestBlend; + + /// + public BlendOperation BlendOp; + + /// + public Blend SrcBlendAlpha; + + /// + public Blend DestBlendAlpha; + + /// + public BlendOperation BlendOpAlpha; + + /// + public LogicOperation LogicOp; + + /// + public ColorWriteEnable RenderTargetWriteMask; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription.cs new file mode 100644 index 0000000..47c5811 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription.cs @@ -0,0 +1,140 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RENDER_TARGET_VIEW_DESC +public partial struct RenderTargetViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public RtvDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferRtv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DRtv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayRtv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DRtv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayRtv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsRtv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArrayRtv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DRtv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferRtv Buffer; + + /// + [FieldOffset(0)] + public Texture1DRtv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayRtv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DRtv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayRtv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsRtv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArrayRtv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DRtv Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription1.cs new file mode 100644 index 0000000..6b484ea --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RenderTargetViewDescription1.cs @@ -0,0 +1,140 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RENDER_TARGET_VIEW_DESC1 +public partial struct RenderTargetViewDescription1 +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public RtvDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferRtv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DRtv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayRtv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DRtv1 Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayRtv1 Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsRtv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArrayRtv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DRtv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferRtv Buffer; + + /// + [FieldOffset(0)] + public Texture1DRtv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayRtv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DRtv1 Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayRtv1 Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsRtv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArrayRtv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DRtv Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ReportLiveDeviceObjectFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/ReportLiveDeviceObjectFlags.cs new file mode 100644 index 0000000..7aa2700 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ReportLiveDeviceObjectFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RLDO_FLAGS +[Flags] +public enum ReportLiveDeviceObjectFlags : int +{ + None = 0, + /// + /// D3D11_RLDO_SUMMARY + Summary = 1, + /// + /// D3D11_RLDO_DETAIL + Detail = 2, + /// + /// D3D11_RLDO_IGNORE_INTERNAL + IgnoreInternal = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ResourceDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/ResourceDimension.cs new file mode 100644 index 0000000..6827eb6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ResourceDimension.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RESOURCE_DIMENSION +public enum ResourceDimension : int +{ + /// + /// D3D11_RESOURCE_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_RESOURCE_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D11_RESOURCE_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D11_RESOURCE_DIMENSION_TEXTURE2D + Texture2D = 3, + /// + /// D3D11_RESOURCE_DIMENSION_TEXTURE3D + Texture3D = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ResourceMiscFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/ResourceMiscFlags.cs new file mode 100644 index 0000000..4f6d51c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ResourceMiscFlags.cs @@ -0,0 +1,75 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RESOURCE_MISC_FLAG +[Flags] +public enum ResourceMiscFlags : uint +{ + None = 0, + /// + /// D3D11_RESOURCE_MISC_GENERATE_MIPS + GenerateMips = 1, + /// + /// D3D11_RESOURCE_MISC_SHARED + Shared = 2, + /// + /// D3D11_RESOURCE_MISC_TEXTURECUBE + TextureCube = 4, + /// + /// D3D11_RESOURCE_MISC_DRAWINDIRECT_ARGS + DrawIndirectArgs = 16, + /// + /// D3D11_RESOURCE_MISC_BUFFER_ALLOW_RAW_VIEWS + BufferAllowRawViews = 32, + /// + /// D3D11_RESOURCE_MISC_BUFFER_STRUCTURED + BufferStructured = 64, + /// + /// D3D11_RESOURCE_MISC_RESOURCE_CLAMP + ResourceClamp = 128, + /// + /// D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX + SharedKeyedMutex = 256, + /// + /// D3D11_RESOURCE_MISC_GDI_COMPATIBLE + GDICompatible = 512, + /// + /// D3D11_RESOURCE_MISC_SHARED_NTHANDLE + SharedNthandle = 2048, + /// + /// D3D11_RESOURCE_MISC_RESTRICTED_CONTENT + RestrictedContent = 4096, + /// + /// D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE + RestrictSharedResource = 8192, + /// + /// D3D11_RESOURCE_MISC_RESTRICT_SHARED_RESOURCE_DRIVER + RestrictSharedResourceDriver = 16384, + /// + /// D3D11_RESOURCE_MISC_GUARDED + Guarded = 32768, + /// + /// D3D11_RESOURCE_MISC_TILE_POOL + TilePool = 131072, + /// + /// D3D11_RESOURCE_MISC_TILED + Tiled = 262144, + /// + /// D3D11_RESOURCE_MISC_HW_PROTECTED + HWProtected = 524288, + /// + /// D3D11_RESOURCE_MISC_SHARED_DISPLAYABLE + SharedDisplayable = 1048576, + /// + /// D3D11_RESOURCE_MISC_SHARED_EXCLUSIVE_WRITER + SharedExclusiveWriter = 2097152, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/RtvDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/RtvDimension.cs new file mode 100644 index 0000000..179b110 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/RtvDimension.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_RTV_DIMENSION +public enum RtvDimension : int +{ + /// + /// D3D11_RTV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_RTV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D11_RTV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D11_RTV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D11_RTV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D11_RTV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D11_RTV_DIMENSION_TEXTURE2DMS + Texture2DMs = 6, + /// + /// D3D11_RTV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 7, + /// + /// D3D11_RTV_DIMENSION_TEXTURE3D + Texture3D = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SODeclarationEntry.cs b/src/Vortice.Win32.Direct3D11/Generated/SODeclarationEntry.cs new file mode 100644 index 0000000..b2fc615 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SODeclarationEntry.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SO_DECLARATION_ENTRY +public partial struct SODeclarationEntry +{ + /// + public uint Stream; + + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public byte StartComponent; + + /// + public byte ComponentCount; + + /// + public byte OutputSlot; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SamplerDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/SamplerDescription.cs new file mode 100644 index 0000000..397269f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SamplerDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SAMPLER_DESC +public partial struct SamplerDescription +{ + /// + public Filter Filter; + + /// + public TextureAddressMode AddressU; + + /// + public TextureAddressMode AddressV; + + /// + public TextureAddressMode AddressW; + + /// + public float MipLODBias; + + /// + public uint MaxAnisotropy; + + /// + public ComparisonFunction ComparisonFunc; + + /// + public unsafe fixed float BorderColor[4]; + + /// + public float MinLOD; + + /// + public float MaxLOD; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderBufferDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderBufferDescription.cs new file mode 100644 index 0000000..dea7055 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderBufferDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_BUFFER_DESC +public partial struct ShaderBufferDescription +{ + /// + public unsafe sbyte* Name; + + /// + public Graphics.Direct3D.CBufferType Type; + + /// + public uint Variables; + + /// + public uint Size; + + /// + public uint uFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderCacheSupportFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderCacheSupportFlags.cs new file mode 100644 index 0000000..41cd154 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderCacheSupportFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_CACHE_SUPPORT_FLAGS +[Flags] +public enum ShaderCacheSupportFlags : int +{ + /// + /// D3D11_SHADER_CACHE_SUPPORT_NONE + None = 0, + /// + /// D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE + AutomaticInprocCache = 1, + /// + /// D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE + AutomaticDiskCache = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderDescription.cs new file mode 100644 index 0000000..8e6c492 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderDescription.cs @@ -0,0 +1,129 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_DESC +public partial struct ShaderDescription +{ + /// + public uint Version; + + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint ConstantBuffers; + + /// + public uint BoundResources; + + /// + public uint InputParameters; + + /// + public uint OutputParameters; + + /// + public uint InstructionCount; + + /// + public uint TempRegisterCount; + + /// + public uint TempArrayCount; + + /// + public uint DefCount; + + /// + public uint DclCount; + + /// + public uint TextureNormalInstructions; + + /// + public uint TextureLoadInstructions; + + /// + public uint TextureCompInstructions; + + /// + public uint TextureBiasInstructions; + + /// + public uint TextureGradientInstructions; + + /// + public uint FloatInstructionCount; + + /// + public uint IntInstructionCount; + + /// + public uint UintInstructionCount; + + /// + public uint StaticFlowControlCount; + + /// + public uint DynamicFlowControlCount; + + /// + public uint MacroInstructionCount; + + /// + public uint ArrayInstructionCount; + + /// + public uint CutInstructionCount; + + /// + public uint EmitInstructionCount; + + /// + public Graphics.Direct3D.PrimitiveTopology GSOutputTopology; + + /// + public uint GSMaxOutputVertexCount; + + /// + public Graphics.Direct3D.Primitive InputPrimitive; + + /// + public uint PatchConstantParameters; + + /// + public uint cGSInstanceCount; + + /// + public uint cControlPoints; + + /// + public Graphics.Direct3D.TessellatorOutputPrimitive HSOutputPrimitive; + + /// + public Graphics.Direct3D.TessellatorPartitioning HSPartitioning; + + /// + public Graphics.Direct3D.TessellatorDomain TessellatorDomain; + + /// + public uint cBarrierInstructions; + + /// + public uint cInterlockedInstructions; + + /// + public uint cTextureStoreInstructions; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderInputBindDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderInputBindDescription.cs new file mode 100644 index 0000000..a92d8d4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderInputBindDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_INPUT_BIND_DESC +public partial struct ShaderInputBindDescription +{ + /// + public unsafe sbyte* Name; + + /// + public Graphics.Direct3D.ShaderInputType Type; + + /// + public uint BindPoint; + + /// + public uint BindCount; + + /// + public uint uFlags; + + /// + public Graphics.Direct3D.ResourceReturnType ReturnType; + + /// + public Graphics.Direct3D.SrvDimension Dimension; + + /// + public uint NumSamples; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderMinPrecisionSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderMinPrecisionSupport.cs new file mode 100644 index 0000000..98efe21 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderMinPrecisionSupport.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_MIN_PRECISION_SUPPORT +public enum ShaderMinPrecisionSupport : int +{ + /// + /// D3D11_SHADER_MIN_PRECISION_10_BIT + P10Bit = 1, + /// + /// D3D11_SHADER_MIN_PRECISION_16_BIT + P16Bit = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription.cs new file mode 100644 index 0000000..69236b6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription.cs @@ -0,0 +1,182 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_RESOURCE_VIEW_DESC +public partial struct ShaderResourceViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Direct3D.SrvDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferSrv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DSrv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArraySrv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DSrv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArraySrv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsSrv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArraySrv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DSrv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [UnscopedRef] + public ref TexureCubeSrv TextureCube + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCube; + } + } + + [UnscopedRef] + public ref TexureCubeArraySrv TextureCubeArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCubeArray; + } + } + + [UnscopedRef] + public ref BufferExtendedSrv BufferEx + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.BufferEx; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferSrv Buffer; + + /// + [FieldOffset(0)] + public Texture1DSrv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArraySrv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DSrv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArraySrv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsSrv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArraySrv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DSrv Texture3D; + + /// + [FieldOffset(0)] + public TexureCubeSrv TextureCube; + + /// + [FieldOffset(0)] + public TexureCubeArraySrv TextureCubeArray; + + /// + [FieldOffset(0)] + public BufferExtendedSrv BufferEx; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription1.cs new file mode 100644 index 0000000..06736d8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderResourceViewDescription1.cs @@ -0,0 +1,182 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_RESOURCE_VIEW_DESC1 +public partial struct ShaderResourceViewDescription1 +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Direct3D.SrvDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferSrv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DSrv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArraySrv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DSrv1 Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArraySrv1 Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsSrv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArraySrv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DSrv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [UnscopedRef] + public ref TexureCubeSrv TextureCube + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCube; + } + } + + [UnscopedRef] + public ref TexureCubeArraySrv TextureCubeArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCubeArray; + } + } + + [UnscopedRef] + public ref BufferExtendedSrv BufferEx + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.BufferEx; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferSrv Buffer; + + /// + [FieldOffset(0)] + public Texture1DSrv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArraySrv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DSrv1 Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArraySrv1 Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsSrv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArraySrv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DSrv Texture3D; + + /// + [FieldOffset(0)] + public TexureCubeSrv TextureCube; + + /// + [FieldOffset(0)] + public TexureCubeArraySrv TextureCubeArray; + + /// + [FieldOffset(0)] + public BufferExtendedSrv BufferEx; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderTraceDescription.cs new file mode 100644 index 0000000..eb115b8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderTraceDescription.cs @@ -0,0 +1,112 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_TRACE_DESC +public partial struct ShaderTraceDescription +{ + /// + public ShaderType Type; + + /// + public uint Flags; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref VertexShaderTraceDescription VertexShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.VertexShaderTraceDesc; + } + } + + [UnscopedRef] + public ref HullShaderTraceDescription HullShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.HullShaderTraceDesc; + } + } + + [UnscopedRef] + public ref DomainShaderTraceDescription DomainShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.DomainShaderTraceDesc; + } + } + + [UnscopedRef] + public ref GeometryShaderTraceDescription GeometryShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.GeometryShaderTraceDesc; + } + } + + [UnscopedRef] + public ref PixelShaderTraceDescription PixelShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.PixelShaderTraceDesc; + } + } + + [UnscopedRef] + public ref ComputeShaderTraceDescription ComputeShaderTraceDesc + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.ComputeShaderTraceDesc; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public VertexShaderTraceDescription VertexShaderTraceDesc; + + /// + [FieldOffset(0)] + public HullShaderTraceDescription HullShaderTraceDesc; + + /// + [FieldOffset(0)] + public DomainShaderTraceDescription DomainShaderTraceDesc; + + /// + [FieldOffset(0)] + public GeometryShaderTraceDescription GeometryShaderTraceDesc; + + /// + [FieldOffset(0)] + public PixelShaderTraceDescription PixelShaderTraceDesc; + + /// + [FieldOffset(0)] + public ComputeShaderTraceDescription ComputeShaderTraceDesc; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingOptions.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingOptions.cs new file mode 100644 index 0000000..a6ca7c1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingOptions.cs @@ -0,0 +1,61 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_TRACKING_OPTIONS +public enum ShaderTrackingOptions : int +{ + /// + /// D3D11_SHADER_TRACKING_OPTION_IGNORE + OptionIgnore = 0, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_UNINITIALIZED + OptionTrackUninitialized = 1, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_RAW + OptionTrackRaw = 2, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAR + OptionTrackWar = 4, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAW + OptionTrackWaw = 8, + /// + /// D3D11_SHADER_TRACKING_OPTION_ALLOW_SAME + OptionAllowSame = 16, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY + OptionTrackAtomicConsistency = 32, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_RAW_ACROSS_THREADGROUPS + OptionTrackRawAcrossThreadgroups = 64, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAR_ACROSS_THREADGROUPS + OptionTrackWarAcrossThreadgroups = 128, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_WAW_ACROSS_THREADGROUPS + OptionTrackWawAcrossThreadgroups = 256, + /// + /// D3D11_SHADER_TRACKING_OPTION_TRACK_ATOMIC_CONSISTENCY_ACROSS_THREADGROUPS + OptionTrackAtomicConsistencyAcrossThreadgroups = 512, + /// + /// D3D11_SHADER_TRACKING_OPTION_UAV_SPECIFIC_FLAGS + OptionUavSpecificFlags = 960, + /// + /// D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS + OptionAllHazards = 1006, + /// + /// D3D11_SHADER_TRACKING_OPTION_ALL_HAZARDS_ALLOWING_SAME + OptionAllHazardsAllowingSame = 1022, + /// + /// D3D11_SHADER_TRACKING_OPTION_ALL_OPTIONS + OptionAllOptions = 1023, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingResourceType.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingResourceType.cs new file mode 100644 index 0000000..b7deddc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderTrackingResourceType.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_TRACKING_RESOURCE_TYPE +public enum ShaderTrackingResourceType : int +{ + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_NONE + None = 0, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_UAV_DEVICEMEMORY + UavDeviceMemory = 1, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_NON_UAV_DEVICEMEMORY + NonUavDeviceMemory = 2, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_DEVICEMEMORY + AllDeviceMemory = 3, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_MEMORY + GroupSharedMemory = 4, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL_SHARED_MEMORY + AllSharedMemory = 5, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_GROUPSHARED_NON_UAV + GroupSharedNonUav = 6, + /// + /// D3D11_SHADER_TRACKING_RESOURCE_TYPE_ALL + All = 7, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderType.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderType.cs new file mode 100644 index 0000000..3051578 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderType.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_TYPE +public enum ShaderType : int +{ + /// + /// D3D11_VERTEX_SHADER + D3D11_VERTEX_SHADER = 1, + /// + /// D3D11_HULL_SHADER + D3D11_HULL_SHADER = 2, + /// + /// D3D11_DOMAIN_SHADER + D3D11_DOMAIN_SHADER = 3, + /// + /// D3D11_GEOMETRY_SHADER + D3D11_GEOMETRY_SHADER = 4, + /// + /// D3D11_PIXEL_SHADER + D3D11_PIXEL_SHADER = 5, + /// + /// D3D11_COMPUTE_SHADER + D3D11_COMPUTE_SHADER = 6, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderTypeDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderTypeDescription.cs new file mode 100644 index 0000000..2bca88e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderTypeDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_TYPE_DESC +public partial struct ShaderTypeDescription +{ + /// + public Graphics.Direct3D.ShaderVariableClass Class; + + /// + public Graphics.Direct3D.ShaderVariableType Type; + + /// + public uint Rows; + + /// + public uint Columns; + + /// + public uint Elements; + + /// + public uint Members; + + /// + public uint Offset; + + /// + public unsafe sbyte* Name; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderVariableDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderVariableDescription.cs new file mode 100644 index 0000000..cfe2ce2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderVariableDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_VARIABLE_DESC +public partial struct ShaderVariableDescription +{ + /// + public unsafe sbyte* Name; + + /// + public uint StartOffset; + + /// + public uint Size; + + /// + public uint uFlags; + + /// + public unsafe void* DefaultValue; + + /// + public uint StartTexture; + + /// + public uint TextureSize; + + /// + public uint StartSampler; + + /// + public uint SamplerSize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/ShaderVersionType.cs b/src/Vortice.Win32.Direct3D11/Generated/ShaderVersionType.cs new file mode 100644 index 0000000..b466b27 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/ShaderVersionType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHADER_VERSION_TYPE +public enum ShaderVersionType : int +{ + /// + /// D3D11_SHVER_PIXEL_SHADER + D3D11_SHVER_PIXEL_SHADER = 0, + /// + /// D3D11_SHVER_VERTEX_SHADER + D3D11_SHVER_VERTEX_SHADER = 1, + /// + /// D3D11_SHVER_GEOMETRY_SHADER + D3D11_SHVER_GEOMETRY_SHADER = 2, + /// + /// D3D11_SHVER_HULL_SHADER + D3D11_SHVER_HULL_SHADER = 3, + /// + /// D3D11_SHVER_DOMAIN_SHADER + D3D11_SHVER_DOMAIN_SHADER = 4, + /// + /// D3D11_SHVER_COMPUTE_SHADER + D3D11_SHVER_COMPUTE_SHADER = 5, + /// + /// D3D11_SHVER_RESERVED0 + D3D11_SHVER_RESERVED0 = 65520, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SharedResourceTier.cs b/src/Vortice.Win32.Direct3D11/Generated/SharedResourceTier.cs new file mode 100644 index 0000000..d927f79 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SharedResourceTier.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SHARED_RESOURCE_TIER +public enum SharedResourceTier : int +{ + /// + /// D3D11_SHARED_RESOURCE_TIER_0 + Tier0 = 0, + /// + /// D3D11_SHARED_RESOURCE_TIER_1 + Tier1 = 1, + /// + /// D3D11_SHARED_RESOURCE_TIER_2 + Tier2 = 2, + /// + /// D3D11_SHARED_RESOURCE_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SignatureParameterDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/SignatureParameterDescription.cs new file mode 100644 index 0000000..514910e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SignatureParameterDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SIGNATURE_PARAMETER_DESC +public partial struct SignatureParameterDescription +{ + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public uint Register; + + /// + public Graphics.Direct3D.Name SystemValueType; + + /// + public Graphics.Direct3D.RegisterComponentType ComponentType; + + /// + public byte Mask; + + /// + public byte ReadWriteMask; + + /// + public uint Stream; + + /// + public Graphics.Direct3D.MinPrecision MinPrecision; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/StandardMultisampleQualityLevels.cs b/src/Vortice.Win32.Direct3D11/Generated/StandardMultisampleQualityLevels.cs new file mode 100644 index 0000000..a04f8ec --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/StandardMultisampleQualityLevels.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_STANDARD_MULTISAMPLE_QUALITY_LEVELS +public enum StandardMultisampleQualityLevels : int +{ + /// + /// D3D11_STANDARD_MULTISAMPLE_PATTERN + Standard = -1, + /// + /// D3D11_CENTER_MULTISAMPLE_PATTERN + Center = -2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/StencilOperation.cs b/src/Vortice.Win32.Direct3D11/Generated/StencilOperation.cs new file mode 100644 index 0000000..6bef1f3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/StencilOperation.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_STENCIL_OP +public enum StencilOperation : int +{ + /// + /// D3D11_STENCIL_OP_KEEP + Keep = 1, + /// + /// D3D11_STENCIL_OP_ZERO + Zero = 2, + /// + /// D3D11_STENCIL_OP_REPLACE + Replace = 3, + /// + /// D3D11_STENCIL_OP_INCR_SAT + IncrSat = 4, + /// + /// D3D11_STENCIL_OP_DECR_SAT + DecrSat = 5, + /// + /// D3D11_STENCIL_OP_INVERT + Invert = 6, + /// + /// D3D11_STENCIL_OP_INCR + Incr = 7, + /// + /// D3D11_STENCIL_OP_DECR + Decr = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SubresourceData.cs b/src/Vortice.Win32.Direct3D11/Generated/SubresourceData.cs new file mode 100644 index 0000000..66d09c5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SubresourceData.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SUBRESOURCE_DATA +public partial struct SubresourceData +{ + /// + public unsafe void* pSysMem; + + /// + public uint SysMemPitch; + + /// + public uint SysMemSlicePitch; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/SubresourceTiling.cs b/src/Vortice.Win32.Direct3D11/Generated/SubresourceTiling.cs new file mode 100644 index 0000000..ca76225 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/SubresourceTiling.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_SUBRESOURCE_TILING +public partial struct SubresourceTiling +{ + /// + public uint WidthInTiles; + + /// + public ushort HeightInTiles; + + /// + public ushort DepthInTiles; + + /// + public uint StartTileIndexInOverallResource; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayDsv.cs new file mode 100644 index 0000000..1ec9115 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayDsv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_ARRAY_DSV +public partial struct Texture1DArrayDsv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayRtv.cs new file mode 100644 index 0000000..182a423 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayRtv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_ARRAY_RTV +public partial struct Texture1DArrayRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DArraySrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArraySrv.cs new file mode 100644 index 0000000..ac310dc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArraySrv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_ARRAY_SRV +public partial struct Texture1DArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayUav.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayUav.cs new file mode 100644 index 0000000..9c9504c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DArrayUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_ARRAY_UAV +public partial struct Texture1DArrayUav +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DDescription.cs new file mode 100644 index 0000000..6b6d48d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE1D_DESC +public partial struct Texture1DDescription +{ + /// + public uint Width; + + /// + public uint MipLevels; + + /// + public uint ArraySize; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DDsv.cs new file mode 100644 index 0000000..961fed7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_DSV +public partial struct Texture1DDsv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DRtv.cs new file mode 100644 index 0000000..29a85f1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DRtv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_RTV +public partial struct Texture1DRtv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DSrv.cs new file mode 100644 index 0000000..83481c9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DSrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_SRV +public partial struct Texture1DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture1DUav.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture1DUav.cs new file mode 100644 index 0000000..bf50d17 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture1DUav.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX1D_UAV +public partial struct Texture1DUav +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayDsv.cs new file mode 100644 index 0000000..593212f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayDsv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_DSV +public partial struct Texture2DArrayDsv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv.cs new file mode 100644 index 0000000..54687a7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_RTV +public partial struct Texture2DArrayRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv1.cs new file mode 100644 index 0000000..8c82523 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayRtv1.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_RTV1 +public partial struct Texture2DArrayRtv1 +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv.cs new file mode 100644 index 0000000..26de6f5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_SRV +public partial struct Texture2DArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv1.cs new file mode 100644 index 0000000..d73f7c1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArraySrv1.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_SRV1 +public partial struct Texture2DArraySrv1 +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav.cs new file mode 100644 index 0000000..7307b2c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_UAV +public partial struct Texture2DArrayUav +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav1.cs new file mode 100644 index 0000000..25bb1d0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayUav1.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_UAV1 +public partial struct Texture2DArrayUav1 +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayVpov.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayVpov.cs new file mode 100644 index 0000000..2a3704c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DArrayVpov.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_ARRAY_VPOV +public partial struct Texture2DArrayVpov +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription.cs new file mode 100644 index 0000000..e649b93 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE2D_DESC +public partial struct Texture2DDescription +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint MipLevels; + + /// + public uint ArraySize; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Dxgi.Common.SampleDescription SampleDesc; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription1.cs new file mode 100644 index 0000000..f5c4796 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDescription1.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE2D_DESC1 +public partial struct Texture2DDescription1 +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint MipLevels; + + /// + public uint ArraySize; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Dxgi.Common.SampleDescription SampleDesc; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; + + /// + public TextureLayout TextureLayout; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDsv.cs new file mode 100644 index 0000000..b744592 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_DSV +public partial struct Texture2DDsv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayDsv.cs new file mode 100644 index 0000000..ac9b26a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayDsv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_ARRAY_DSV +public partial struct Texture2DMsArrayDsv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayRtv.cs new file mode 100644 index 0000000..71f5164 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArrayRtv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_ARRAY_RTV +public partial struct Texture2DMsArrayRtv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArraySrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArraySrv.cs new file mode 100644 index 0000000..82a2d3a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsArraySrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_ARRAY_SRV +public partial struct Texture2DMsArraySrv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsDsv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsDsv.cs new file mode 100644 index 0000000..ecf0a87 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_DSV +public partial struct Texture2DMsDsv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsRtv.cs new file mode 100644 index 0000000..74a8be4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsRtv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_RTV +public partial struct Texture2DMsRtv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsSrv.cs new file mode 100644 index 0000000..ca5fc6b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DMsSrv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2DMS_SRV +public partial struct Texture2DMsSrv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv.cs new file mode 100644 index 0000000..3a97d0b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_RTV +public partial struct Texture2DRtv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv1.cs new file mode 100644 index 0000000..50bf2a8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DRtv1.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_RTV1 +public partial struct Texture2DRtv1 +{ + /// + public uint MipSlice; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv.cs new file mode 100644 index 0000000..be55569 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_SRV +public partial struct Texture2DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv1.cs new file mode 100644 index 0000000..01df385 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DSrv1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_SRV1 +public partial struct Texture2DSrv1 +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav.cs new file mode 100644 index 0000000..889ec56 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_UAV +public partial struct Texture2DUav +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav1.cs new file mode 100644 index 0000000..f2611ff --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DUav1.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_UAV1 +public partial struct Texture2DUav1 +{ + /// + public uint MipSlice; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DVdov.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVdov.cs new file mode 100644 index 0000000..f6776c6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVdov.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_VDOV +public partial struct Texture2DVdov +{ + /// + public uint ArraySlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpiv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpiv.cs new file mode 100644 index 0000000..817bffc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpiv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_VPIV +public partial struct Texture2DVpiv +{ + /// + public uint MipSlice; + + /// + public uint ArraySlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpov.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpov.cs new file mode 100644 index 0000000..a4d458b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture2DVpov.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX2D_VPOV +public partial struct Texture2DVpov +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription.cs new file mode 100644 index 0000000..875a21e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE3D_DESC +public partial struct Texture3DDescription +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; + + /// + public uint MipLevels; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription1.cs new file mode 100644 index 0000000..a56e7f1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture3DDescription1.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE3D_DESC1 +public partial struct Texture3DDescription1 +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; + + /// + public uint MipLevels; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Usage Usage; + + /// + public BindFlags BindFlags; + + /// + public CpuAccessFlags CPUAccessFlags; + + /// + public ResourceMiscFlags MiscFlags; + + /// + public TextureLayout TextureLayout; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture3DRtv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture3DRtv.cs new file mode 100644 index 0000000..9807092 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture3DRtv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX3D_RTV +public partial struct Texture3DRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstWSlice; + + /// + public uint WSize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture3DSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture3DSrv.cs new file mode 100644 index 0000000..e4bee70 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture3DSrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX3D_SRV +public partial struct Texture3DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Texture3DUav.cs b/src/Vortice.Win32.Direct3D11/Generated/Texture3DUav.cs new file mode 100644 index 0000000..ff31c0e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Texture3DUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEX3D_UAV +public partial struct Texture3DUav +{ + /// + public uint MipSlice; + + /// + public uint FirstWSlice; + + /// + public uint WSize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TextureAddressMode.cs b/src/Vortice.Win32.Direct3D11/Generated/TextureAddressMode.cs new file mode 100644 index 0000000..8c95fd1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TextureAddressMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE_ADDRESS_MODE +public enum TextureAddressMode : int +{ + /// + /// D3D11_TEXTURE_ADDRESS_WRAP + Wrap = 1, + /// + /// D3D11_TEXTURE_ADDRESS_MIRROR + Mirror = 2, + /// + /// D3D11_TEXTURE_ADDRESS_CLAMP + Clamp = 3, + /// + /// D3D11_TEXTURE_ADDRESS_BORDER + Border = 4, + /// + /// D3D11_TEXTURE_ADDRESS_MIRROR_ONCE + MirrorOnce = 5, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TextureCubeFace.cs b/src/Vortice.Win32.Direct3D11/Generated/TextureCubeFace.cs new file mode 100644 index 0000000..471c7b2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TextureCubeFace.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURECUBE_FACE +public enum TextureCubeFace : int +{ + /// + /// D3D11_TEXTURECUBE_FACE_POSITIVE_X + PositiveX = 0, + /// + /// D3D11_TEXTURECUBE_FACE_NEGATIVE_X + NegativeX = 1, + /// + /// D3D11_TEXTURECUBE_FACE_POSITIVE_Y + PositiveY = 2, + /// + /// D3D11_TEXTURECUBE_FACE_NEGATIVE_Y + NegativeY = 3, + /// + /// D3D11_TEXTURECUBE_FACE_POSITIVE_Z + PositiveZ = 4, + /// + /// D3D11_TEXTURECUBE_FACE_NEGATIVE_Z + NegativeZ = 5, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TextureLayout.cs b/src/Vortice.Win32.Direct3D11/Generated/TextureLayout.cs new file mode 100644 index 0000000..e238cd3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TextureLayout.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXTURE_LAYOUT +public enum TextureLayout : int +{ + /// + /// D3D11_TEXTURE_LAYOUT_UNDEFINED + Undefined = 0, + /// + /// D3D11_TEXTURE_LAYOUT_ROW_MAJOR + RowMajor = 1, + /// + /// D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE + _64kStandardSwizzle = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TexureCubeArraySrv.cs b/src/Vortice.Win32.Direct3D11/Generated/TexureCubeArraySrv.cs new file mode 100644 index 0000000..a645630 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TexureCubeArraySrv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXCUBE_ARRAY_SRV +public partial struct TexureCubeArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint First2DArrayFace; + + /// + public uint NumCubes; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TexureCubeSrv.cs b/src/Vortice.Win32.Direct3D11/Generated/TexureCubeSrv.cs new file mode 100644 index 0000000..b4fc169 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TexureCubeSrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TEXCUBE_SRV +public partial struct TexureCubeSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TileCopyFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/TileCopyFlags.cs new file mode 100644 index 0000000..ef96784 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TileCopyFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILE_COPY_FLAG +[Flags] +public enum TileCopyFlags : int +{ + None = 0, + /// + /// D3D11_TILE_COPY_NO_OVERWRITE + NoOverwrite = 1, + /// + /// D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE + LinearBufferToSwizzledTiledResource = 2, + /// + /// D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER + SwizzledTiledResourceToLinearBuffer = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TileMappingFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/TileMappingFlags.cs new file mode 100644 index 0000000..c3a441c --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TileMappingFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILE_MAPPING_FLAG +[Flags] +public enum TileMappingFlags : int +{ + None = 0, + /// + /// D3D11_TILE_MAPPING_NO_OVERWRITE + NoOverwrite = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TileRangeFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/TileRangeFlags.cs new file mode 100644 index 0000000..742d802 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TileRangeFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILE_RANGE_FLAG +[Flags] +public enum TileRangeFlags : int +{ + None = 0, + /// + /// D3D11_TILE_RANGE_NULL + Null = 1, + /// + /// D3D11_TILE_RANGE_SKIP + Skip = 2, + /// + /// D3D11_TILE_RANGE_REUSE_SINGLE_TILE + ReuseSingleTile = 4, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TileRegionSize.cs b/src/Vortice.Win32.Direct3D11/Generated/TileRegionSize.cs new file mode 100644 index 0000000..1fad5d7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TileRegionSize.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILE_REGION_SIZE +public partial struct TileRegionSize +{ + /// + public uint NumTiles; + + /// + public Bool32 bUseBox; + + /// + public uint Width; + + /// + public ushort Height; + + /// + public ushort Depth; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TileShape.cs b/src/Vortice.Win32.Direct3D11/Generated/TileShape.cs new file mode 100644 index 0000000..ce560b9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TileShape.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILE_SHAPE +public partial struct TileShape +{ + /// + public uint WidthInTexels; + + /// + public uint HeightInTexels; + + /// + public uint DepthInTexels; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TiledResourceCoordinate.cs b/src/Vortice.Win32.Direct3D11/Generated/TiledResourceCoordinate.cs new file mode 100644 index 0000000..b397f86 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TiledResourceCoordinate.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILED_RESOURCE_COORDINATE +public partial struct TiledResourceCoordinate +{ + /// + public uint X; + + /// + public uint Y; + + /// + public uint Z; + + /// + public uint Subresource; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TiledResourcesTier.cs b/src/Vortice.Win32.Direct3D11/Generated/TiledResourcesTier.cs new file mode 100644 index 0000000..fe3e3e9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TiledResourcesTier.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TILED_RESOURCES_TIER +public enum TiledResourcesTier : int +{ + /// + /// D3D11_TILED_RESOURCES_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D11_TILED_RESOURCES_TIER_1 + Tier1 = 1, + /// + /// D3D11_TILED_RESOURCES_TIER_2 + Tier2 = 2, + /// + /// D3D11_TILED_RESOURCES_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceGSInputPrimitive.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceGSInputPrimitive.cs new file mode 100644 index 0000000..1fbb966 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceGSInputPrimitive.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_GS_INPUT_PRIMITIVE +public enum TraceGSInputPrimitive : int +{ + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED + Undefined = 0, + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT + Point = 1, + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE + Line = 2, + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE + Triangle = 3, + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ + LineAdj = 6, + /// + /// D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ + TriangleAdj = 7, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceRegister.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceRegister.cs new file mode 100644 index 0000000..23ef084 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceRegister.cs @@ -0,0 +1,59 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_REGISTER +public partial struct TraceRegister +{ + /// + public TraceRegisterType RegType; + + /// + public _Anonymous_e__Union Anonymous; + + /// + public byte OperandIndex; + + /// + public byte Flags; + + [UnscopedRef] + public ref ushort Index1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Index1D; + } + } + + [UnscopedRef] + public unsafe Span Index2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return MemoryMarshal.CreateSpan(ref Anonymous.Index2D[0], 2); + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public ushort Index1D; + + /// + [FieldOffset(0)] + public unsafe fixed ushort Index2D[2]; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceRegisterType.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceRegisterType.cs new file mode 100644 index 0000000..857ad59 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceRegisterType.cs @@ -0,0 +1,124 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_REGISTER_TYPE +public enum TraceRegisterType : int +{ + /// + /// D3D11_TRACE_OUTPUT_NULL_REGISTER + D3D11_TRACE_OUTPUT_NULL_REGISTER = 0, + /// + /// D3D11_TRACE_INPUT_REGISTER + D3D11_TRACE_INPUT_REGISTER = 1, + /// + /// D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER + D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = 2, + /// + /// D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER + D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = 3, + /// + /// D3D11_TRACE_TEMP_REGISTER + D3D11_TRACE_TEMP_REGISTER = 4, + /// + /// D3D11_TRACE_INDEXABLE_TEMP_REGISTER + D3D11_TRACE_INDEXABLE_TEMP_REGISTER = 5, + /// + /// D3D11_TRACE_OUTPUT_REGISTER + D3D11_TRACE_OUTPUT_REGISTER = 6, + /// + /// D3D11_TRACE_OUTPUT_DEPTH_REGISTER + D3D11_TRACE_OUTPUT_DEPTH_REGISTER = 7, + /// + /// D3D11_TRACE_CONSTANT_BUFFER + D3D11_TRACE_CONSTANT_BUFFER = 8, + /// + /// D3D11_TRACE_IMMEDIATE32 + D3D11_TRACE_IMMEDIATE32 = 9, + /// + /// D3D11_TRACE_SAMPLER + D3D11_TRACE_SAMPLER = 10, + /// + /// D3D11_TRACE_RESOURCE + D3D11_TRACE_RESOURCE = 11, + /// + /// D3D11_TRACE_RASTERIZER + D3D11_TRACE_RASTERIZER = 12, + /// + /// D3D11_TRACE_OUTPUT_COVERAGE_MASK + D3D11_TRACE_OUTPUT_COVERAGE_MASK = 13, + /// + /// D3D11_TRACE_STREAM + D3D11_TRACE_STREAM = 14, + /// + /// D3D11_TRACE_THIS_POINTER + D3D11_TRACE_THIS_POINTER = 15, + /// + /// D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER + D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = 16, + /// + /// D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER + D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = 17, + /// + /// D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER + D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = 18, + /// + /// D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER + D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = 19, + /// + /// D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER + D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = 20, + /// + /// D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER + D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = 21, + /// + /// D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER + D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = 22, + /// + /// D3D11_TRACE_UNORDERED_ACCESS_VIEW + D3D11_TRACE_UNORDERED_ACCESS_VIEW = 23, + /// + /// D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY + D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = 24, + /// + /// D3D11_TRACE_INPUT_THREAD_ID_REGISTER + D3D11_TRACE_INPUT_THREAD_ID_REGISTER = 25, + /// + /// D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER + D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = 26, + /// + /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER + D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = 27, + /// + /// D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER + D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = 28, + /// + /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER + D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = 29, + /// + /// D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER + D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = 30, + /// + /// D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER + D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = 31, + /// + /// D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER + D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = 32, + /// + /// D3D11_TRACE_IMMEDIATE64 + D3D11_TRACE_IMMEDIATE64 = 33, + /// + /// D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER + D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = 34, + /// + /// D3D11_TRACE_INTERFACE_POINTER + D3D11_TRACE_INTERFACE_POINTER = 35, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceStats.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceStats.cs new file mode 100644 index 0000000..27f43a0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceStats.cs @@ -0,0 +1,84 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_STATS +public partial struct TraceStats +{ + /// + public ShaderTraceDescription TraceDesc; + + /// + public byte NumInvocationsInStamp; + + /// + public byte TargetStampIndex; + + /// + public uint NumTraceSteps; + + /// + public unsafe fixed byte InputMask[32]; + + /// + public unsafe fixed byte OutputMask[32]; + + /// + public ushort NumTemps; + + /// + public ushort MaxIndexableTempIndex; + + /// + public unsafe fixed ushort IndexableTempSize[4096]; + + /// + public ushort ImmediateConstantBufferSize; + + /// + public unsafe fixed uint PixelPosition[8]; + + /// + public unsafe fixed ulong PixelCoverageMask[4]; + + /// + public unsafe fixed ulong PixelDiscardedMask[4]; + + /// + public unsafe fixed ulong PixelCoverageMaskAfterShader[4]; + + /// + public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMask[4]; + + /// + public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepth[4]; + + /// + public unsafe fixed ulong PixelCoverageMaskAfterA2CSampleMaskDepthStencil[4]; + + /// + public Bool32 PSOutputsDepth; + + /// + public Bool32 PSOutputsMask; + + /// + public TraceGSInputPrimitive GSInputPrimitive; + + /// + public Bool32 GSInputsPrimitiveID; + + /// + public unsafe fixed byte HSOutputPatchConstantMask[32]; + + /// + public unsafe fixed byte DSInputPatchConstantMask[32]; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceStep.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceStep.cs new file mode 100644 index 0000000..37a3f76 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceStep.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_STEP +public partial struct TraceStep +{ + /// + public uint ID; + + /// + public Bool32 InstructionActive; + + /// + public byte NumRegistersWritten; + + /// + public byte NumRegistersRead; + + /// + public ushort MiscOperations; + + /// + public uint OpcodeType; + + /// + public ulong CurrentGlobalCycle; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/TraceValue.cs b/src/Vortice.Win32.Direct3D11/Generated/TraceValue.cs new file mode 100644 index 0000000..336cdca --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/TraceValue.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_TRACE_VALUE +public partial struct TraceValue +{ + /// + public unsafe fixed uint Bits[4]; + + /// + public byte ValidMask; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/UavDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/UavDimension.cs new file mode 100644 index 0000000..a0bd3e5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/UavDimension.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_UAV_DIMENSION +public enum UavDimension : int +{ + /// + /// D3D11_UAV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_UAV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D11_UAV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D11_UAV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D11_UAV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D11_UAV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D11_UAV_DIMENSION_TEXTURE3D + Texture3D = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription.cs new file mode 100644 index 0000000..8d206d7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription.cs @@ -0,0 +1,112 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_UNORDERED_ACCESS_VIEW_DESC +public partial struct UnorderedAccessViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public UavDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferUav Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DUav Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayUav Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DUav Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayUav Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture3DUav Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferUav Buffer; + + /// + [FieldOffset(0)] + public Texture1DUav Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayUav Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DUav Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayUav Texture2DArray; + + /// + [FieldOffset(0)] + public Texture3DUav Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription1.cs new file mode 100644 index 0000000..83808a9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/UnorderedAccessViewDescription1.cs @@ -0,0 +1,112 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_UNORDERED_ACCESS_VIEW_DESC1 +public partial struct UnorderedAccessViewDescription1 +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public UavDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferUav Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DUav Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayUav Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DUav1 Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayUav1 Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture3DUav Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferUav Buffer; + + /// + [FieldOffset(0)] + public Texture1DUav Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayUav Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DUav1 Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayUav1 Texture2DArray; + + /// + [FieldOffset(0)] + public Texture3DUav Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/Usage.cs b/src/Vortice.Win32.Direct3D11/Generated/Usage.cs new file mode 100644 index 0000000..3f1fdad --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/Usage.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_USAGE +public enum Usage : int +{ + /// + /// D3D11_USAGE_DEFAULT + Default = 0, + /// + /// D3D11_USAGE_IMMUTABLE + Immutable = 1, + /// + /// D3D11_USAGE_DYNAMIC + Dynamic = 2, + /// + /// D3D11_USAGE_STAGING + Staging = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VdovDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/VdovDimension.cs new file mode 100644 index 0000000..f1c3208 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VdovDimension.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VDOV_DIMENSION +public enum VdovDimension : int +{ + /// + /// D3D11_VDOV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_VDOV_DIMENSION_TEXTURE2D + Texture2D = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VertexShaderTraceDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VertexShaderTraceDescription.cs new file mode 100644 index 0000000..43fa731 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VertexShaderTraceDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VERTEX_SHADER_TRACE_DESC +public partial struct VertexShaderTraceDescription +{ + /// + public ulong Invocation; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoColor.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoColor.cs new file mode 100644 index 0000000..39423bd --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoColor.cs @@ -0,0 +1,50 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_COLOR +public partial struct VideoColor +{ + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref VideoColorYcbcra YCbCr + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.YCbCr; + } + } + + [UnscopedRef] + public ref VideoColorRgba RGBA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.RGBA; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public VideoColorYcbcra YCbCr; + + /// + [FieldOffset(0)] + public VideoColorRgba RGBA; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoColorRgba.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoColorRgba.cs new file mode 100644 index 0000000..603b1e5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoColorRgba.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_COLOR_RGBA +public partial struct VideoColorRgba +{ + /// + public float R; + + /// + public float G; + + /// + public float B; + + /// + public float A; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoColorYcbcra.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoColorYcbcra.cs new file mode 100644 index 0000000..61b5831 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoColorYcbcra.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_COLOR_YCbCrA +public partial struct VideoColorYcbcra +{ + /// + public float Y; + + /// + public float Cb; + + /// + public float Cr; + + /// + public float A; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoContentProtectionCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoContentProtectionCaps.cs new file mode 100644 index 0000000..a42d88b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoContentProtectionCaps.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_CONTENT_PROTECTION_CAPS +public partial struct VideoContentProtectionCaps +{ + /// + public uint Caps; + + /// + public uint KeyExchangeTypeCount; + + /// + public uint BlockAlignmentSize; + + /// + public ulong ProtectedMemorySize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBeginFrameCryptoSession.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBeginFrameCryptoSession.cs new file mode 100644 index 0000000..6f30315 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBeginFrameCryptoSession.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION +public partial struct VideoDecoderBeginFrameCryptoSession +{ + /// + public unsafe ID3D11CryptoSession* pCryptoSession; + + /// + public uint BlobSize; + + /// + public unsafe void* pBlob; + + /// + public unsafe Guid* pKeyInfoId; + + /// + public uint PrivateDataSize; + + /// + public unsafe void* pPrivateData; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription.cs new file mode 100644 index 0000000..593ec0d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_BUFFER_DESC +public partial struct VideoDecoderBufferDescription +{ + /// + public VideoDecoderBufferType BufferType; + + /// + public uint BufferIndex; + + /// + public uint DataOffset; + + /// + public uint DataSize; + + /// + public uint FirstMBaddress; + + /// + public uint NumMBsInBuffer; + + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Stride; + + /// + public uint ReservedBits; + + /// + public unsafe void* pIV; + + /// + public uint IVSize; + + /// + public Bool32 PartialEncryption; + + /// + public EncryptedBlockInfo EncryptedBlockInfo; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription1.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription1.cs new file mode 100644 index 0000000..2cf9f9b --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription1.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_BUFFER_DESC1 +public partial struct VideoDecoderBufferDescription1 +{ + /// + public VideoDecoderBufferType BufferType; + + /// + public uint DataOffset; + + /// + public uint DataSize; + + /// + public unsafe void* pIV; + + /// + public uint IVSize; + + /// + public unsafe VideoDecoderSubSampleMappingBlock* pSubSampleMappingBlock; + + /// + public uint SubSampleMappingCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription2.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription2.cs new file mode 100644 index 0000000..18874df --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferDescription2.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_BUFFER_DESC2 +public partial struct VideoDecoderBufferDescription2 +{ + /// + public VideoDecoderBufferType BufferType; + + /// + public uint DataOffset; + + /// + public uint DataSize; + + /// + public unsafe void* pIV; + + /// + public uint IVSize; + + /// + public unsafe VideoDecoderSubSampleMappingBlock* pSubSampleMappingBlock; + + /// + public uint SubSampleMappingCount; + + /// + public uint cBlocksStripeEncrypted; + + /// + public uint cBlocksStripeClear; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferType.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferType.cs new file mode 100644 index 0000000..031d5da --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderBufferType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_BUFFER_TYPE +public enum VideoDecoderBufferType : int +{ + /// + /// D3D11_VIDEO_DECODER_BUFFER_PICTURE_PARAMETERS + PictureParameters = 0, + /// + /// D3D11_VIDEO_DECODER_BUFFER_MACROBLOCK_CONTROL + MacroblockControl = 1, + /// + /// D3D11_VIDEO_DECODER_BUFFER_RESIDUAL_DIFFERENCE + ResidualDifference = 2, + /// + /// D3D11_VIDEO_DECODER_BUFFER_DEBLOCKING_CONTROL + DeblockingControl = 3, + /// + /// D3D11_VIDEO_DECODER_BUFFER_INVERSE_QUANTIZATION_MATRIX + InverseQuantizationMatrix = 4, + /// + /// D3D11_VIDEO_DECODER_BUFFER_SLICE_CONTROL + SliceControl = 5, + /// + /// D3D11_VIDEO_DECODER_BUFFER_BITSTREAM + Bitstream = 6, + /// + /// D3D11_VIDEO_DECODER_BUFFER_MOTION_VECTOR + MotionVector = 7, + /// + /// D3D11_VIDEO_DECODER_BUFFER_FILM_GRAIN + FilmGrain = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderCaps.cs new file mode 100644 index 0000000..8e35032 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderCaps.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_CAPS +public enum VideoDecoderCaps : int +{ + /// + /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE + Downsample = 1, + /// + /// D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME + NonRealTime = 2, + /// + /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC + DownsampleDynamic = 4, + /// + /// D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED + DownsampleRequired = 8, + /// + /// D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED + Unsupported = 16, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderConfig.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderConfig.cs new file mode 100644 index 0000000..07e4ce0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderConfig.cs @@ -0,0 +1,66 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_CONFIG +public partial struct VideoDecoderConfig +{ + /// + public Guid guidConfigBitstreamEncryption; + + /// + public Guid guidConfigMBcontrolEncryption; + + /// + public Guid guidConfigResidDiffEncryption; + + /// + public uint ConfigBitstreamRaw; + + /// + public uint ConfigMBcontrolRasterOrder; + + /// + public uint ConfigResidDiffHost; + + /// + public uint ConfigSpatialResid8; + + /// + public uint ConfigResid8Subtraction; + + /// + public uint ConfigSpatialHost8or9Clipping; + + /// + public uint ConfigSpatialResidInterleaved; + + /// + public uint ConfigIntraResidUnsigned; + + /// + public uint ConfigResidDiffAccelerator; + + /// + public uint ConfigHostInverseScan; + + /// + public uint ConfigSpecificIDCT; + + /// + public uint Config4GroupedCoefs; + + /// + public ushort ConfigMinRenderTargetBuffCount; + + /// + public ushort ConfigDecoderSpecific; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderDescription.cs new file mode 100644 index 0000000..d45ae27 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_DESC +public partial struct VideoDecoderDescription +{ + /// + public Guid Guid; + + /// + public uint SampleWidth; + + /// + public uint SampleHeight; + + /// + public Graphics.Dxgi.Common.Format OutputFormat; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderExtension.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderExtension.cs new file mode 100644 index 0000000..20a6c69 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderExtension.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_EXTENSION +public partial struct VideoDecoderExtension +{ + /// + public uint Function; + + /// + public unsafe void* pPrivateInputData; + + /// + public uint PrivateInputDataSize; + + /// + public unsafe void* pPrivateOutputData; + + /// + public uint PrivateOutputDataSize; + + /// + public uint ResourceCount; + + /// + public unsafe ID3D11Resource* ppResourceList; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponent.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponent.cs new file mode 100644 index 0000000..d0481d6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponent.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT +public enum VideoDecoderHistogramComponent : int +{ + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_Y + Y = 0, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_U + U = 1, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_V + V = 2, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_R + R = 0, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_G + G = 1, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_B + B = 2, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_A + A = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponentFlags.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponentFlags.cs new file mode 100644 index 0000000..890cd92 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderHistogramComponentFlags.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAGS +[Flags] +public enum VideoDecoderHistogramComponentFlags : uint +{ + None = 0, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_NONE + FlagNone = 0, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_Y + FlagY = 1, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_U + FlagU = 2, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_V + FlagV = 4, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_R + FlagR = 1, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_G + FlagG = 2, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B + FlagB = 4, + /// + /// D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A + FlagA = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderOutputViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderOutputViewDescription.cs new file mode 100644 index 0000000..46009eb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderOutputViewDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC +public partial struct VideoDecoderOutputViewDescription +{ + /// + public Guid DecodeProfile; + + /// + public VdovDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref Texture2DVdov Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public Texture2DVdov Texture2D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderSubSampleMappingBlock.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderSubSampleMappingBlock.cs new file mode 100644 index 0000000..85a072f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoDecoderSubSampleMappingBlock.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK +public partial struct VideoDecoderSubSampleMappingBlock +{ + /// + public uint ClearSize; + + /// + public uint EncryptedSize; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoFrameFormat.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoFrameFormat.cs new file mode 100644 index 0000000..cd9e6cc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoFrameFormat.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_FRAME_FORMAT +public enum VideoFrameFormat : int +{ + /// + /// D3D11_VIDEO_FRAME_FORMAT_PROGRESSIVE + Progressive = 0, + /// + /// D3D11_VIDEO_FRAME_FORMAT_INTERLACED_TOP_FIELD_FIRST + InterlacedTopFieldFirst = 1, + /// + /// D3D11_VIDEO_FRAME_FORMAT_INTERLACED_BOTTOM_FIELD_FIRST + InterlacedBottomFieldFirst = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAlphaFillMode.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAlphaFillMode.cs new file mode 100644 index 0000000..9531a4e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAlphaFillMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE +public enum VideoProcessorAlphaFillMode : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE + Opaque = 0, + /// + /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND + Background = 1, + /// + /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION + Destination = 2, + /// + /// D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM + SourceStream = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAutoStreamCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAutoStreamCaps.cs new file mode 100644 index 0000000..fc1d6ee --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorAutoStreamCaps.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS +public enum VideoProcessorAutoStreamCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DENOISE + Denoise = 1, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_DERINGING + Deringing = 2, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_EDGE_ENHANCEMENT + EdgeEnhancement = 4, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_COLOR_CORRECTION + ColorCorrection = 8, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_FLESH_TONE_MAPPING + FleshToneMapping = 16, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_IMAGE_STABILIZATION + ImageStabilization = 32, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_SUPER_RESOLUTION + SuperResolution = 64, + /// + /// D3D11_VIDEO_PROCESSOR_AUTO_STREAM_CAPS_ANAMORPHIC_SCALING + AnamorphicScaling = 128, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorBehaviorHints.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorBehaviorHints.cs new file mode 100644 index 0000000..e64b7cb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorBehaviorHints.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS +public enum VideoProcessorBehaviorHints : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION + HintMultiplaneOverlayRotation = 1, + /// + /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE + HintMultiplaneOverlayResize = 2, + /// + /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION + HintMultiplaneOverlayColorSpaceConversion = 4, + /// + /// D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT + HintTripleBufferOutput = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCaps.cs new file mode 100644 index 0000000..2162159 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCaps.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_CAPS +public partial struct VideoProcessorCaps +{ + /// + public uint DeviceCaps; + + /// + public uint FeatureCaps; + + /// + public uint FilterCaps; + + /// + public uint InputFormatCaps; + + /// + public uint AutoStreamCaps; + + /// + public uint StereoCaps; + + /// + public uint RateConversionCapsCount; + + /// + public uint MaxInputStreams; + + /// + public uint MaxStreamStates; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorColorSpace.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorColorSpace.cs new file mode 100644 index 0000000..8079c73 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorColorSpace.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_COLOR_SPACE +public partial struct VideoProcessorColorSpace +{ + /// + public uint _bitfield; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorContentDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorContentDescription.cs new file mode 100644 index 0000000..e985ec7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorContentDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_CONTENT_DESC +public partial struct VideoProcessorContentDescription +{ + /// + public VideoFrameFormat InputFrameFormat; + + /// + public Graphics.Dxgi.Common.Rational InputFrameRate; + + /// + public uint InputWidth; + + /// + public uint InputHeight; + + /// + public Graphics.Dxgi.Common.Rational OutputFrameRate; + + /// + public uint OutputWidth; + + /// + public uint OutputHeight; + + /// + public VideoUsage Usage; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCustomRate.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCustomRate.cs new file mode 100644 index 0000000..23fcd9a --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorCustomRate.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_CUSTOM_RATE +public partial struct VideoProcessorCustomRate +{ + /// + public Graphics.Dxgi.Common.Rational CustomRate; + + /// + public uint OutputFrames; + + /// + public Bool32 InputInterlaced; + + /// + public uint InputFramesOrFields; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorDeviceCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorDeviceCaps.cs new file mode 100644 index 0000000..0f547bb --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorDeviceCaps.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS +public enum VideoProcessorDeviceCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_LINEAR_SPACE + LinearSpace = 1, + /// + /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_xvYCC + Xvycc = 2, + /// + /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_RGB_RANGE_CONVERSION + RgbRangeConversion = 4, + /// + /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_YCbCr_MATRIX_CONVERSION + YcbcrMatrixConversion = 8, + /// + /// D3D11_VIDEO_PROCESSOR_DEVICE_CAPS_NOMINAL_RANGE + NominalRange = 16, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFeatureCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFeatureCaps.cs new file mode 100644 index 0000000..88a4568 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFeatureCaps.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS +public enum VideoProcessorFeatureCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_FILL + AlphaFill = 1, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_CONSTRICTION + Constriction = 2, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LUMA_KEY + LumaKey = 4, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_PALETTE + AlphaPalette = 8, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_LEGACY + Legacy = 16, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_STEREO + Stereo = 32, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ROTATION + Rotation = 64, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_STREAM + AlphaStream = 128, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_PIXEL_ASPECT_RATIO + PixelAspectRatio = 256, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_MIRROR + Mirror = 512, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_SHADER_USAGE + ShaderUsage = 1024, + /// + /// D3D11_VIDEO_PROCESSOR_FEATURE_CAPS_METADATA_HDR10 + MetadataHdr10 = 2048, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilter.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilter.cs new file mode 100644 index 0000000..f09f485 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilter.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FILTER +public enum VideoProcessorFilter : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_BRIGHTNESS + Brightness = 0, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CONTRAST + Contrast = 1, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_HUE + Hue = 2, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_SATURATION + Saturation = 3, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_NOISE_REDUCTION + NoiseReduction = 4, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_EDGE_ENHANCEMENT + EdgeEnhancement = 5, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_ANAMORPHIC_SCALING + AnamorphicScaling = 6, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_STEREO_ADJUSTMENT + StereoAdjustment = 7, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterCaps.cs new file mode 100644 index 0000000..2701d4d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterCaps.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FILTER_CAPS +public enum VideoProcessorFilterCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_BRIGHTNESS + Brightness = 1, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_CONTRAST + Contrast = 2, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_HUE + Hue = 4, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_SATURATION + Saturation = 8, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_NOISE_REDUCTION + NoiseReduction = 16, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_EDGE_ENHANCEMENT + EdgeEnhancement = 32, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_ANAMORPHIC_SCALING + AnamorphicScaling = 64, + /// + /// D3D11_VIDEO_PROCESSOR_FILTER_CAPS_STEREO_ADJUSTMENT + StereoAdjustment = 128, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterRange.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterRange.cs new file mode 100644 index 0000000..9c365be --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFilterRange.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FILTER_RANGE +public partial struct VideoProcessorFilterRange +{ + /// + public int Minimum; + + /// + public int Maximum; + + /// + public int Default; + + /// + public float Multiplier; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatCaps.cs new file mode 100644 index 0000000..2f6d40d --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatCaps.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS +public enum VideoProcessorFormatCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_INTERLACED + RgbInterlaced = 1, + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_PROCAMP + RgbProcamp = 2, + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_RGB_LUMA_KEY + RgbLumaKey = 4, + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_CAPS_PALETTE_INTERLACED + PaletteInterlaced = 8, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatSupport.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatSupport.cs new file mode 100644 index 0000000..97fd3aa --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorFormatSupport.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT +public enum VideoProcessorFormatSupport : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_INPUT + Input = 1, + /// + /// D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT + Output = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorInputViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorInputViewDescription.cs new file mode 100644 index 0000000..fe12061 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorInputViewDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC +public partial struct VideoProcessorInputViewDescription +{ + /// + public uint FourCC; + + /// + public VpivDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref Texture2DVpiv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public Texture2DVpiv Texture2D; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorItelecineCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorItelecineCaps.cs new file mode 100644 index 0000000..6f12d20 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorItelecineCaps.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS +public enum VideoProcessorItelecineCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32 + _32 = 1, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_22 + _22 = 2, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2224 + _2224 = 4, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_2332 + _2332 = 8, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_32322 + _32322 = 16, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_55 + _55 = 32, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_64 + _64 = 64, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_87 + _87 = 128, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_222222222223 + _222222222223 = 256, + /// + /// D3D11_VIDEO_PROCESSOR_ITELECINE_CAPS_OTHER + Other = -2147483648, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorNominalRange.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorNominalRange.cs new file mode 100644 index 0000000..acf1c5f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorNominalRange.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE +public enum VideoProcessorNominalRange : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_UNDEFINED + Undefined = 0, + /// + /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_16_235 + Range_16_235 = 1, + /// + /// D3D11_VIDEO_PROCESSOR_NOMINAL_RANGE_0_255 + Range_0_255 = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputRate.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputRate.cs new file mode 100644 index 0000000..48b60bc --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputRate.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE +public enum VideoProcessorOutputRate : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_NORMAL + Normal = 0, + /// + /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_HALF + Half = 1, + /// + /// D3D11_VIDEO_PROCESSOR_OUTPUT_RATE_CUSTOM + Custom = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputViewDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputViewDescription.cs new file mode 100644 index 0000000..83b69e6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorOutputViewDescription.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC +public partial struct VideoProcessorOutputViewDescription +{ + /// + public VpovDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref Texture2DVpov Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayVpov Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public Texture2DVpov Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayVpov Texture2DArray; + } +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorProcessorCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorProcessorCaps.cs new file mode 100644 index 0000000..9e146fd --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorProcessorCaps.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS +public enum VideoProcessorProcessorCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BLEND + DeinterlaceBlend = 1, + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_BOB + DeinterlaceBob = 2, + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_ADAPTIVE + DeinterlaceAdaptive = 4, + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_DEINTERLACE_MOTION_COMPENSATION + DeinterlaceMotionCompensation = 8, + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_INVERSE_TELECINE + InverseTelecine = 16, + /// + /// D3D11_VIDEO_PROCESSOR_PROCESSOR_CAPS_FRAME_RATE_CONVERSION + FrameRateConversion = 32, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRateConversionCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRateConversionCaps.cs new file mode 100644 index 0000000..d45d0e3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRateConversionCaps.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS +public partial struct VideoProcessorRateConversionCaps +{ + /// + public uint PastFrames; + + /// + public uint FutureFrames; + + /// + public uint ProcessorCaps; + + /// + public uint ITelecineCaps; + + /// + public uint CustomRateCount; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRotation.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRotation.cs new file mode 100644 index 0000000..bc98be2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorRotation.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_ROTATION +public enum VideoProcessorRotation : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_ROTATION_IDENTITY + Identity = 0, + /// + /// D3D11_VIDEO_PROCESSOR_ROTATION_90 + Rotation90 = 1, + /// + /// D3D11_VIDEO_PROCESSOR_ROTATION_180 + Rotation180 = 2, + /// + /// D3D11_VIDEO_PROCESSOR_ROTATION_270 + Rotation270 = 3, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoCaps.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoCaps.cs new file mode 100644 index 0000000..626a30f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoCaps.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_STEREO_CAPS +public enum VideoProcessorStereoCaps : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_MONO_OFFSET + MonoOffset = 1, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_ROW_INTERLEAVED + RowInterleaved = 2, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_COLUMN_INTERLEAVED + ColumnInterleaved = 4, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_CHECKERBOARD + Checkerboard = 8, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_CAPS_FLIP_MODE + FlipMode = 16, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFlipMode.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFlipMode.cs new file mode 100644 index 0000000..5fffeac --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFlipMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE +public enum VideoProcessorStereoFlipMode : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_NONE + None = 0, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME0 + Frame0 = 1, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FLIP_FRAME1 + Frame1 = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFormat.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFormat.cs new file mode 100644 index 0000000..1728928 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStereoFormat.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT +public enum VideoProcessorStereoFormat : int +{ + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO + Mono = 0, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_HORIZONTAL + Horizontal = 1, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_VERTICAL + Vertical = 2, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE + Separate = 3, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_MONO_OFFSET + MonoOffset = 4, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_ROW_INTERLEAVED + RowInterleaved = 5, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_COLUMN_INTERLEAVED + ColumnInterleaved = 6, + /// + /// D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_CHECKERBOARD + Checkerboard = 7, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStream.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStream.cs new file mode 100644 index 0000000..2f8a259 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStream.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_STREAM +public partial struct VideoProcessorStream +{ + /// + public Bool32 Enable; + + /// + public uint OutputIndex; + + /// + public uint InputFrameOrField; + + /// + public uint PastFrames; + + /// + public uint FutureFrames; + + /// + public unsafe ID3D11VideoProcessorInputView* ppPastSurfaces; + + /// + public unsafe ID3D11VideoProcessorInputView* pInputSurface; + + /// + public unsafe ID3D11VideoProcessorInputView* ppFutureSurfaces; + + /// + public unsafe ID3D11VideoProcessorInputView* ppPastSurfacesRight; + + /// + public unsafe ID3D11VideoProcessorInputView* pInputSurfaceRight; + + /// + public unsafe ID3D11VideoProcessorInputView* ppFutureSurfacesRight; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStreamBehaviorHint.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStreamBehaviorHint.cs new file mode 100644 index 0000000..fb2a669 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoProcessorStreamBehaviorHint.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT +public partial struct VideoProcessorStreamBehaviorHint +{ + /// + public Bool32 Enable; + + /// + public uint Width; + + /// + public uint Height; + + /// + public Graphics.Dxgi.Common.Format Format; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoSampleDescription.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoSampleDescription.cs new file mode 100644 index 0000000..2a9040f --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoSampleDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_SAMPLE_DESC +public partial struct VideoSampleDescription +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Dxgi.Common.ColorSpaceType ColorSpace; +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VideoUsage.cs b/src/Vortice.Win32.Direct3D11/Generated/VideoUsage.cs new file mode 100644 index 0000000..9cf5d0e --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VideoUsage.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VIDEO_USAGE +public enum VideoUsage : int +{ + /// + /// D3D11_VIDEO_USAGE_PLAYBACK_NORMAL + PlaybackNormal = 0, + /// + /// D3D11_VIDEO_USAGE_OPTIMAL_SPEED + OptimalSpeed = 1, + /// + /// D3D11_VIDEO_USAGE_OPTIMAL_QUALITY + OptimalQuality = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VpivDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/VpivDimension.cs new file mode 100644 index 0000000..27121b5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VpivDimension.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VPIV_DIMENSION +public enum VpivDimension : int +{ + /// + /// D3D11_VPIV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_VPIV_DIMENSION_TEXTURE2D + Texture2D = 1, +} diff --git a/src/Vortice.Win32.Direct3D11/Generated/VpovDimension.cs b/src/Vortice.Win32.Direct3D11/Generated/VpovDimension.cs new file mode 100644 index 0000000..b7c4e16 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11/Generated/VpovDimension.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11; + +/// +/// D3D11_VPOV_DIMENSION +public enum VpovDimension : int +{ + /// + /// D3D11_VPOV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D11_VPOV_DIMENSION_TEXTURE2D + Texture2D = 1, + /// + /// D3D11_VPOV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 2, +} diff --git a/src/Vortice.Win32.Direct3D11/ID3D11DeviceChild.cs b/src/Vortice.Win32.Direct3D11/ID3D11DeviceChild.cs index 6437a48..886b932 100644 --- a/src/Vortice.Win32.Direct3D11/ID3D11DeviceChild.cs +++ b/src/Vortice.Win32.Direct3D11/ID3D11DeviceChild.cs @@ -1,13 +1,36 @@ // Copyright © Amer Koleci and Contributors. // Licensed under the MIT License (MIT). See LICENSE in the repository root for more information. -using static Win32.Graphics.Direct3D.Apis; using static Win32.StringUtilities; namespace Win32.Graphics.Direct3D11; public unsafe partial struct ID3D11DeviceChild { + public static ref readonly Guid WKPDID_D3DDebugObjectName + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x22, 0x8C, 0x9B, 0x42, + 0x88, 0x91, + 0x0C, 0x4B, + 0x87, + 0x42, + 0xAC, + 0xB0, + 0xBF, + 0x85, + 0xC2, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + public static Guid* D3DDebugObjectNameGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in WKPDID_D3DDebugObjectName)); /// diff --git a/src/Vortice.Win32.Direct3D11on12/Generated/Apis.Functions.cs b/src/Vortice.Win32.Direct3D11on12/Generated/Apis.Functions.cs new file mode 100644 index 0000000..98e2908 --- /dev/null +++ b/src/Vortice.Win32.Direct3D11on12/Generated/Apis.Functions.cs @@ -0,0 +1,16 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D11on12; + +public static unsafe partial class Apis +{ + [DllImport("d3d11.dll", ExactSpelling = true)] + public static extern HResult D3D11On12CreateDevice(IUnknown* pDevice, uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, IUnknown** ppCommandQueues, uint NumQueues, uint NodeMask, Graphics.Direct3D11.ID3D11Device** ppDevice, Graphics.Direct3D11.ID3D11DeviceContext** ppImmediateContext, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel); +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging.D2D.cs b/src/Vortice.Win32.Direct3D11on12/Generated/Apis.cs similarity index 83% rename from src/Vortice.Win32/Generated/Graphics/Imaging.D2D.cs rename to src/Vortice.Win32.Direct3D11on12/Generated/Apis.cs index 4051a18..841e6eb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging.D2D.cs +++ b/src/Vortice.Win32.Direct3D11on12/Generated/Apis.cs @@ -7,12 +7,9 @@ // // ------------------------------------------------------------------------------ -namespace Win32.Graphics.Imaging.D2D; +namespace Win32.Graphics.Direct3D11on12; public static partial class Apis { } -#region COM Types -#endregion Com Types - diff --git a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device.cs b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device.cs index ecbd132..1a87331 100644 --- a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device.cs +++ b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D11on12; -/// +/// /// ID3D11On12Device [Guid("85611e73-70a9-490e-9614-a9e302777904")] [NativeTypeName("struct ID3D11On12Device : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D11On12Device +public unsafe partial struct ID3D11On12Device : INativeGuid { public static ref readonly Guid IID_ID3D11On12Device { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11On12Device } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID3D11On12Device return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateWrappedResource(IUnknown* pResource12, ResourceFlags* pFlags11, Graphics.Direct3D12.ResourceStates InState, Graphics.Direct3D12.ResourceStates OutState, Guid* riid, void** ppResource11) @@ -78,7 +82,7 @@ public unsafe partial struct ID3D11On12Device return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D11On12Device*)Unsafe.AsPointer(ref this), pResource12, pFlags11, InState, OutState, riid, ppResource11); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void ReleaseWrappedResources(Graphics.Direct3D11.ID3D11Resource** ppResources, uint NumResources) @@ -86,7 +90,7 @@ public unsafe partial struct ID3D11On12Device ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D11On12Device*)Unsafe.AsPointer(ref this), ppResources, NumResources); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void AcquireWrappedResources(Graphics.Direct3D11.ID3D11Resource** ppResources, uint NumResources) diff --git a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device1.cs b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device1.cs index a5bd0b5..20a5ba4 100644 --- a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device1.cs +++ b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D11on12; -/// +/// /// ID3D11On12Device1 [Guid("bdb64df4-ea2f-4c70-b861-aaab1258bb5d")] [NativeTypeName("struct ID3D11On12Device1 : ID3D11On12Device")] [NativeInheritance("ID3D11On12Device")] -public unsafe partial struct ID3D11On12Device1 +public unsafe partial struct ID3D11On12Device1 : INativeGuid { public static ref readonly Guid IID_ID3D11On12Device1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11On12Device1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device1)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID3D11On12Device1 ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D11On12Device1*)Unsafe.AsPointer(ref this), ppResources, NumResources); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetD3D12Device(Guid* riid, void** ppvDevice) diff --git a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device2.cs b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device2.cs index 4ae34b8..62def22 100644 --- a/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device2.cs +++ b/src/Vortice.Win32.Direct3D11on12/Generated/ID3D11On12Device2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D11on12; -/// +/// /// ID3D11On12Device2 [Guid("dc90f331-4740-43fa-866e-67f12cb58223")] [NativeTypeName("struct ID3D11On12Device2 : ID3D11On12Device1")] [NativeInheritance("ID3D11On12Device1")] -public unsafe partial struct ID3D11On12Device2 +public unsafe partial struct ID3D11On12Device2 : INativeGuid { public static ref readonly Guid IID_ID3D11On12Device2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D11On12Device2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11On12Device2)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID3D11On12Device2 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D11On12Device2*)Unsafe.AsPointer(ref this), riid, ppvDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult UnwrapUnderlyingResource(Graphics.Direct3D11.ID3D11Resource* pResource11, Graphics.Direct3D12.ID3D12CommandQueue* pCommandQueue, Guid* riid, void** ppvResource12) @@ -110,7 +114,7 @@ public unsafe partial struct ID3D11On12Device2 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D11On12Device2*)Unsafe.AsPointer(ref this), pResource11, pCommandQueue, riid, ppvResource12); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult ReturnUnderlyingResource(Graphics.Direct3D11.ID3D11Resource* pResource11, uint NumSync, ulong* pSignalValues, Graphics.Direct3D12.ID3D12Fence** ppFences) diff --git a/src/Vortice.Win32.Direct3D11on12/Generated/Direct3D11on12.cs b/src/Vortice.Win32.Direct3D11on12/Generated/ResourceFlags.cs similarity index 56% rename from src/Vortice.Win32.Direct3D11on12/Generated/Direct3D11on12.cs rename to src/Vortice.Win32.Direct3D11on12/Generated/ResourceFlags.cs index b3c69b5..3268ae0 100644 --- a/src/Vortice.Win32.Direct3D11on12/Generated/Direct3D11on12.cs +++ b/src/Vortice.Win32.Direct3D11on12/Generated/ResourceFlags.cs @@ -9,37 +9,19 @@ namespace Win32.Graphics.Direct3D11on12; -public static partial class Apis -{ -} - -#region Structs - /// /// D3D11_RESOURCE_FLAGS public partial struct ResourceFlags { /// - public Win32.Graphics.Direct3D11.BindFlags BindFlags; + public uint BindFlags; /// - public Win32.Graphics.Direct3D11.ResourceMiscFlags MiscFlags; + public uint MiscFlags; /// - public Win32.Graphics.Direct3D11.CpuAccessFlags CPUAccessFlags; + public uint CPUAccessFlags; /// public uint StructureByteStride; } -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("d3d11.dll", ExactSpelling = true)] - public static extern HResult D3D11On12CreateDevice(IUnknown* pDevice, uint Flags, Graphics.Direct3D.FeatureLevel* pFeatureLevels, uint FeatureLevels, IUnknown** ppCommandQueues, uint NumQueues, uint NodeMask, Graphics.Direct3D11.ID3D11Device** ppDevice, Graphics.Direct3D11.ID3D11DeviceContext** ppImmediateContext, Graphics.Direct3D.FeatureLevel* pChosenFeatureLevel); -} -#endregion Functions diff --git a/src/Vortice.Win32.Direct3D12/Generated/Apis.Functions.cs b/src/Vortice.Win32.Direct3D12/Generated/Apis.Functions.cs new file mode 100644 index 0000000..3e2c233 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Apis.Functions.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +public static unsafe partial class Apis +{ + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12SerializeRootSignature(RootSignatureDescription* pRootSignature, RootSignatureVersion Version, Graphics.Direct3D.ID3DBlob** ppBlob, Graphics.Direct3D.ID3DBlob** ppErrorBlob); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12CreateRootSignatureDeserializer(void* pSrcData, nuint SrcDataSizeInBytes, Guid* pRootSignatureDeserializerInterface, void** ppRootSignatureDeserializer); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12SerializeVersionedRootSignature(VersionedRootSignatureDescription* pRootSignature, Graphics.Direct3D.ID3DBlob** ppBlob, Graphics.Direct3D.ID3DBlob** ppErrorBlob); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12CreateVersionedRootSignatureDeserializer(void* pSrcData, nuint SrcDataSizeInBytes, Guid* pRootSignatureDeserializerInterface, void** ppRootSignatureDeserializer); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12CreateDevice(IUnknown* pAdapter, Graphics.Direct3D.FeatureLevel MinimumFeatureLevel, Guid* riid, void** ppDevice); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12GetDebugInterface(Guid* riid, void** ppvDebug); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12EnableExperimentalFeatures(uint NumFeatures, Guid* pIIDs, void* pConfigurationStructs, uint* pConfigurationStructSizes); + + [DllImport("d3d12.dll", ExactSpelling = true)] + public static extern HResult D3D12GetInterface(Guid* rclsid, Guid* riid, void** ppvDebug); +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Apis.cs b/src/Vortice.Win32.Direct3D12/Generated/Apis.cs new file mode 100644 index 0000000..da85b95 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Apis.cs @@ -0,0 +1,1165 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +public static partial class Apis +{ + public const uint D3D12_SHADER_COMPONENT_MAPPING_ALWAYS_SET_BIT_AVOIDING_ZEROMEM_MISTAKES = 4096; + + public const uint D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING = 5768; + + public const uint D3D12_16BIT_INDEX_STRIP_CUT_VALUE = 65535; + + public const uint D3D12_32BIT_INDEX_STRIP_CUT_VALUE = 4294967295; + + public const uint D3D12_8BIT_INDEX_STRIP_CUT_VALUE = 255; + + public const uint D3D12_APPEND_ALIGNED_ELEMENT = 4294967295; + + public const uint D3D12_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT = 9; + + public const uint D3D12_CLIP_OR_CULL_DISTANCE_COUNT = 8; + + public const uint D3D12_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT = 2; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT = 16; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; + + public const uint D3D12_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; + + public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; + + public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; + + public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; + + public const uint D3D12_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; + + public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; + + public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; + + public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; + + public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; + + public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; + + public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; + + public const uint D3D12_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; + + public const uint D3D12_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; + + public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; + + public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; + + public const uint D3D12_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; + + public const uint D3D12_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; + + public const uint D3D12_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; + + public const int D3D12_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; + + public const int D3D12_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; + + public const uint D3D12_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; + + public const uint D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT = 256; + + public const uint D3D12_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; + + public const uint D3D12_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; + + public const uint D3D12_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; + + public const uint D3D12_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; + + public const uint D3D12_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; + + public const uint D3D12_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; + + public const uint D3D12_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; + + public const uint D3D12_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; + + public const uint D3D12_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; + + public const uint D3D12_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; + + public const uint D3D12_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; + + public const uint D3D12_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; + + public const uint D3D12_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; + + public const uint D3D12_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; + + public const uint D3D12_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; + + public const uint D3D12_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; + + public const uint D3D12_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; + + public const uint D3D12_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; + + public const uint D3D12_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; + + public const uint D3D12_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; + + public const uint D3D12_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; + + public const uint D3D12_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; + + public const uint D3D12_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; + + public const uint D3D12_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; + + public const uint D3D12_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; + + public const uint D3D12_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; + + public const uint D3D12_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; + + public const uint D3D12_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; + + public const uint D3D12_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; + + public const uint D3D12_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; + + public const uint D3D12_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; + + public const uint D3D12_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; + + public const uint D3D12_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; + + public const uint D3D12_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; + + public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; + + public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_X = 768; + + public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_Y = 768; + + public const uint D3D12_CS_4_X_UAV_REGISTER_COUNT = 1; + + public const uint D3D12_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; + + public const uint D3D12_CS_TGSM_REGISTER_COUNT = 8192; + + public const uint D3D12_CS_TGSM_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; + + public const uint D3D12_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; + + public const uint D3D12_CS_THREADGROUPID_REGISTER_COMPONENTS = 3; + + public const uint D3D12_CS_THREADGROUPID_REGISTER_COUNT = 1; + + public const uint D3D12_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS = 1; + + public const uint D3D12_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT = 1; + + public const uint D3D12_CS_THREADIDINGROUP_REGISTER_COMPONENTS = 3; + + public const uint D3D12_CS_THREADIDINGROUP_REGISTER_COUNT = 1; + + public const uint D3D12_CS_THREADID_REGISTER_COMPONENTS = 3; + + public const uint D3D12_CS_THREADID_REGISTER_COUNT = 1; + + public const uint D3D12_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; + + public const uint D3D12_CS_THREAD_GROUP_MAX_X = 1024; + + public const uint D3D12_CS_THREAD_GROUP_MAX_Y = 1024; + + public const uint D3D12_CS_THREAD_GROUP_MAX_Z = 64; + + public const uint D3D12_CS_THREAD_GROUP_MIN_X = 1; + + public const uint D3D12_CS_THREAD_GROUP_MIN_Y = 1; + + public const uint D3D12_CS_THREAD_GROUP_MIN_Z = 1; + + public const uint D3D12_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; + + public const float D3D12_DEFAULT_BLEND_FACTOR_ALPHA = 1f; + + public const float D3D12_DEFAULT_BLEND_FACTOR_BLUE = 1f; + + public const float D3D12_DEFAULT_BLEND_FACTOR_GREEN = 1f; + + public const float D3D12_DEFAULT_BLEND_FACTOR_RED = 1f; + + public const float D3D12_DEFAULT_BORDER_COLOR_COMPONENT = 0f; + + public const int D3D12_DEFAULT_DEPTH_BIAS = 0; + + public const float D3D12_DEFAULT_DEPTH_BIAS_CLAMP = 0f; + + public const uint D3D12_DEFAULT_MAX_ANISOTROPY = 16; + + public const float D3D12_DEFAULT_MIP_LOD_BIAS = 0f; + + public const uint D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT = 4194304; + + public const uint D3D12_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; + + public const uint D3D12_DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT = 65536; + + public const uint D3D12_DEFAULT_SAMPLE_MASK = 4294967295; + + public const uint D3D12_DEFAULT_SCISSOR_ENDX = 0; + + public const uint D3D12_DEFAULT_SCISSOR_ENDY = 0; + + public const uint D3D12_DEFAULT_SCISSOR_STARTX = 0; + + public const uint D3D12_DEFAULT_SCISSOR_STARTY = 0; + + public const float D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS = 0f; + + public const uint D3D12_DEFAULT_STENCIL_READ_MASK = 255; + + public const uint D3D12_DEFAULT_STENCIL_REFERENCE = 0; + + public const uint D3D12_DEFAULT_STENCIL_WRITE_MASK = 255; + + public const uint D3D12_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; + + public const uint D3D12_DEFAULT_VIEWPORT_HEIGHT = 0; + + public const float D3D12_DEFAULT_VIEWPORT_MAX_DEPTH = 0f; + + public const float D3D12_DEFAULT_VIEWPORT_MIN_DEPTH = 0f; + + public const uint D3D12_DEFAULT_VIEWPORT_TOPLEFTX = 0; + + public const uint D3D12_DEFAULT_VIEWPORT_TOPLEFTY = 0; + + public const uint D3D12_DEFAULT_VIEWPORT_WIDTH = 0; + + public const uint D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND = 4294967295; + + public const uint D3D12_DRIVER_RESERVED_REGISTER_SPACE_VALUES_END = 4294967287; + + public const uint D3D12_DRIVER_RESERVED_REGISTER_SPACE_VALUES_START = 4294967280; + + public const uint D3D12_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; + + public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COUNT = 32; + + public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS = 3; + + public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT = 1; + + public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; + + public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; + + public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D12_DS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_DS_OUTPUT_REGISTER_COUNT = 32; + + public const double D3D12_FLOAT16_FUSED_TOLERANCE_IN_ULP = 0.6; + + public const float D3D12_FLOAT32_MAX = 3.4028235E+38f; + + public const float D3D12_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP = 0.6f; + + public const float D3D12_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR = 2.4f; + + public const float D3D12_FLOAT_TO_SRGB_EXPONENT_NUMERATOR = 1f; + + public const float D3D12_FLOAT_TO_SRGB_OFFSET = 0.055f; + + public const float D3D12_FLOAT_TO_SRGB_SCALE_1 = 12.92f; + + public const float D3D12_FLOAT_TO_SRGB_SCALE_2 = 1.055f; + + public const float D3D12_FLOAT_TO_SRGB_THRESHOLD = 0.0031308f; + + public const float D3D12_FTOI_INSTRUCTION_MAX_INPUT = 2.1474836E+09f; + + public const float D3D12_FTOI_INSTRUCTION_MIN_INPUT = -2.1474836E+09f; + + public const float D3D12_FTOU_INSTRUCTION_MAX_INPUT = 4.2949673E+09f; + + public const float D3D12_FTOU_INSTRUCTION_MIN_INPUT = 0f; + + public const uint D3D12_GS_INPUT_INSTANCE_ID_READS_PER_INST = 2; + + public const uint D3D12_GS_INPUT_INSTANCE_ID_READ_PORTS = 1; + + public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS = 1; + + public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COUNT = 1; + + public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS = 1; + + public const uint D3D12_GS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_GS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D12_GS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_GS_INPUT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_GS_INPUT_REGISTER_VERTICES = 32; + + public const uint D3D12_GS_MAX_INSTANCE_COUNT = 32; + + public const uint D3D12_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES = 1024; + + public const uint D3D12_GS_OUTPUT_ELEMENTS = 32; + + public const uint D3D12_GS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_GS_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D12_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT = 32; + + public const uint D3D12_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D12_HS_CONTROL_POINT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_CONTROL_POINT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_CONTROL_POINT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; + + public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT = 1; + + public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; + + public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; + + public const float D3D12_HS_MAXTESSFACTOR_LOWER_BOUND = 1f; + + public const float D3D12_HS_MAXTESSFACTOR_UPPER_BOUND = 64f; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS = 1; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT = 1; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS = 128; + + public const uint D3D12_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES = 0; + + public const uint D3D12_IA_DEFAULT_PRIMITIVE_TOPOLOGY = 0; + + public const uint D3D12_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES = 0; + + public const uint D3D12_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT = 1; + + public const uint D3D12_IA_INSTANCE_ID_BIT_COUNT = 32; + + public const uint D3D12_IA_INTEGER_ARITHMETIC_BIT_COUNT = 32; + + public const uint D3D12_IA_PATCH_MAX_CONTROL_POINT_COUNT = 32; + + public const uint D3D12_IA_PRIMITIVE_ID_BIT_COUNT = 32; + + public const uint D3D12_IA_VERTEX_ID_BIT_COUNT = 32; + + public const uint D3D12_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; + + public const uint D3D12_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 128; + + public const uint D3D12_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 32; + + public const uint D3D12_INTEGER_DIVIDE_BY_ZERO_QUOTIENT = 4294967295; + + public const uint D3D12_INTEGER_DIVIDE_BY_ZERO_REMAINDER = 4294967295; + + public const uint D3D12_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL = 4294967295; + + public const uint D3D12_KEEP_UNORDERED_ACCESS_VIEWS = 4294967295; + + public const float D3D12_LINEAR_GAMMA = 1f; + + public const uint D3D12_MAJOR_VERSION = 12; + + public const float D3D12_MAX_BORDER_COLOR_COMPONENT = 1f; + + public const float D3D12_MAX_DEPTH = 1f; + + public const uint D3D12_MAX_LIVE_STATIC_SAMPLERS = 2032; + + public const uint D3D12_MAX_MAXANISOTROPY = 16; + + public const uint D3D12_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; + + public const float D3D12_MAX_POSITION_VALUE = 3.4028236E+34f; + + public const uint D3D12_MAX_ROOT_COST = 64; + + public const uint D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_1 = 1000000; + + public const uint D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_2 = 1000000; + + public const uint D3D12_MAX_SHADER_VISIBLE_SAMPLER_HEAP_SIZE = 2048; + + public const uint D3D12_MAX_TEXTURE_DIMENSION_2_TO_EXP = 17; + + public const uint D3D12_MAX_VIEW_INSTANCE_COUNT = 4; + + public const uint D3D12_MINOR_VERSION = 0; + + public const float D3D12_MIN_BORDER_COLOR_COMPONENT = 0f; + + public const float D3D12_MIN_DEPTH = 0f; + + public const uint D3D12_MIN_MAXANISOTROPY = 0; + + public const float D3D12_MIP_LOD_BIAS_MAX = 15.99f; + + public const float D3D12_MIP_LOD_BIAS_MIN = -16f; + + public const uint D3D12_MIP_LOD_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D12_MIP_LOD_RANGE_BIT_COUNT = 8; + + public const float D3D12_MULTISAMPLE_ANTIALIAS_LINE_WIDTH = 1.4f; + + public const uint D3D12_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT = 0; + + public const uint D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_END = 4294967295; + + public const uint D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_START = 4294967288; + + public const uint D3D12_PACKED_TILE = 4294967295; + + public const uint D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; + + public const uint D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; + + public const uint D3D12_PS_CS_UAV_REGISTER_COMPONENTS = 1; + + public const uint D3D12_PS_CS_UAV_REGISTER_COUNT = 8; + + public const uint D3D12_PS_CS_UAV_REGISTER_READS_PER_INST = 1; + + public const uint D3D12_PS_CS_UAV_REGISTER_READ_PORTS = 1; + + public const uint D3D12_PS_FRONTFACING_DEFAULT_VALUE = 4294967295; + + public const uint D3D12_PS_FRONTFACING_FALSE_VALUE = 0; + + public const uint D3D12_PS_FRONTFACING_TRUE_VALUE = 4294967295; + + public const uint D3D12_PS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_PS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D12_PS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_PS_INPUT_REGISTER_READ_PORTS = 1; + + public const float D3D12_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0f; + + public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; + + public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; + + public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; + + public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COUNT = 1; + + public const uint D3D12_PS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_PS_OUTPUT_REGISTER_COUNT = 8; + + public const float D3D12_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.5f; + + public const uint D3D12_RAW_UAV_SRV_BYTE_ALIGNMENT = 16; + + public const uint D3D12_RAYTRACING_AABB_BYTE_ALIGNMENT = 8; + + public const uint D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT = 256; + + public const uint D3D12_RAYTRACING_INSTANCE_DESCS_BYTE_ALIGNMENT = 16; + + public const uint D3D12_RAYTRACING_MAX_ATTRIBUTE_SIZE_IN_BYTES = 32; + + public const uint D3D12_RAYTRACING_MAX_DECLARABLE_TRACE_RECURSION_DEPTH = 31; + + public const uint D3D12_RAYTRACING_MAX_GEOMETRIES_PER_BOTTOM_LEVEL_ACCELERATION_STRUCTURE = 16777216; + + public const uint D3D12_RAYTRACING_MAX_INSTANCES_PER_TOP_LEVEL_ACCELERATION_STRUCTURE = 16777216; + + public const uint D3D12_RAYTRACING_MAX_PRIMITIVES_PER_BOTTOM_LEVEL_ACCELERATION_STRUCTURE = 536870912; + + public const uint D3D12_RAYTRACING_MAX_RAY_GENERATION_SHADER_THREADS = 1073741824; + + public const uint D3D12_RAYTRACING_MAX_SHADER_RECORD_STRIDE = 4096; + + public const uint D3D12_RAYTRACING_SHADER_RECORD_BYTE_ALIGNMENT = 32; + + public const uint D3D12_RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT = 64; + + public const uint D3D12_RAYTRACING_TRANSFORM3X4_BYTE_ALIGNMENT = 16; + + public const uint D3D12_REQ_BLEND_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D12_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; + + public const uint D3D12_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; + + public const uint D3D12_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D12_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; + + public const uint D3D12_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; + + public const uint D3D12_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 16384; + + public const uint D3D12_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; + + public const uint D3D12_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; + + public const uint D3D12_REQ_MAXANISOTROPY = 16; + + public const uint D3D12_REQ_MIP_LEVELS = 15; + + public const uint D3D12_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; + + public const uint D3D12_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D12_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 16384; + + public const uint D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM = 128; + + public const float D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM = 0.25f; + + public const uint D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM = 2048; + + public const uint D3D12_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP = 20; + + public const uint D3D12_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE = 4096; + + public const uint D3D12_REQ_SUBRESOURCES = 30720; + + public const uint D3D12_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 2048; + + public const uint D3D12_REQ_TEXTURE1D_U_DIMENSION = 16384; + + public const uint D3D12_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 2048; + + public const uint D3D12_REQ_TEXTURE2D_U_OR_V_DIMENSION = 16384; + + public const uint D3D12_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; + + public const uint D3D12_REQ_TEXTURECUBE_DIMENSION = 16384; + + public const uint D3D12_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; + + public const uint D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES = 4294967295; + + public const uint D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT = 2; + + public const uint D3D12_SDK_VERSION = 5; + + public const uint D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES = 32; + + public const uint D3D12_SHADER_MAJOR_VERSION = 5; + + public const uint D3D12_SHADER_MAX_INSTANCES = 65535; + + public const uint D3D12_SHADER_MAX_INTERFACES = 253; + + public const uint D3D12_SHADER_MAX_INTERFACE_CALL_SITES = 4096; + + public const uint D3D12_SHADER_MAX_TYPES = 65535; + + public const uint D3D12_SHADER_MINOR_VERSION = 1; + + public const uint D3D12_SHIFT_INSTRUCTION_PAD_VALUE = 0; + + public const uint D3D12_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; + + public const uint D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; + + public const uint D3D12_SMALL_MSAA_RESOURCE_PLACEMENT_ALIGNMENT = 65536; + + public const uint D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT = 4096; + + public const uint D3D12_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; + + public const uint D3D12_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 512; + + public const uint D3D12_SO_BUFFER_SLOT_COUNT = 4; + + public const uint D3D12_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 4294967295; + + public const uint D3D12_SO_NO_RASTERIZED_STREAM = 4294967295; + + public const uint D3D12_SO_OUTPUT_COMPONENT_COUNT = 128; + + public const uint D3D12_SO_STREAM_COUNT = 4; + + public const uint D3D12_SPEC_DATE_DAY = 14; + + public const uint D3D12_SPEC_DATE_MONTH = 11; + + public const uint D3D12_SPEC_DATE_YEAR = 2014; + + public const double D3D12_SPEC_VERSION = 1.16; + + public const float D3D12_SRGB_GAMMA = 2.2f; + + public const float D3D12_SRGB_TO_FLOAT_DENOMINATOR_1 = 12.92f; + + public const float D3D12_SRGB_TO_FLOAT_DENOMINATOR_2 = 1.055f; + + public const float D3D12_SRGB_TO_FLOAT_EXPONENT = 2.4f; + + public const float D3D12_SRGB_TO_FLOAT_OFFSET = 0.055f; + + public const float D3D12_SRGB_TO_FLOAT_THRESHOLD = 0.04045f; + + public const float D3D12_SRGB_TO_FLOAT_TOLERANCE_IN_ULP = 0.5f; + + public const uint D3D12_STANDARD_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; + + public const uint D3D12_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; + + public const uint D3D12_STANDARD_PIXEL_COMPONENT_COUNT = 128; + + public const uint D3D12_STANDARD_PIXEL_ELEMENT_COUNT = 32; + + public const uint D3D12_STANDARD_VECTOR_SIZE = 4; + + public const uint D3D12_STANDARD_VERTEX_ELEMENT_COUNT = 32; + + public const uint D3D12_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; + + public const uint D3D12_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D12_SUBTEXEL_FRACTIONAL_BIT_COUNT = 8; + + public const uint D3D12_SYSTEM_RESERVED_REGISTER_SPACE_VALUES_END = 4294967295; + + public const uint D3D12_SYSTEM_RESERVED_REGISTER_SPACE_VALUES_START = 4294967280; + + public const uint D3D12_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR = 64; + + public const uint D3D12_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR = 64; + + public const uint D3D12_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR = 63; + + public const uint D3D12_TESSELLATOR_MAX_TESSELLATION_FACTOR = 64; + + public const uint D3D12_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR = 2; + + public const uint D3D12_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR = 1; + + public const uint D3D12_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR = 1; + + public const uint D3D12_TEXEL_ADDRESS_RANGE_BIT_COUNT = 16; + + public const uint D3D12_TEXTURE_DATA_PITCH_ALIGNMENT = 256; + + public const uint D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT = 512; + + public const uint D3D12_TILED_RESOURCE_TILE_SIZE_IN_BYTES = 65536; + + public const uint D3D12_TRACKED_WORKLOAD_MAX_INSTANCES = 32; + + public const uint D3D12_UAV_COUNTER_PLACEMENT_ALIGNMENT = 4096; + + public const uint D3D12_UAV_SLOT_COUNT = 64; + + public const uint D3D12_UNBOUND_MEMORY_ACCESS_RESULT = 0; + + public const uint D3D12_VIDEO_DECODE_MAX_ARGUMENTS = 10; + + public const uint D3D12_VIDEO_DECODE_MAX_HISTOGRAM_COMPONENTS = 4; + + public const uint D3D12_VIDEO_DECODE_MIN_BITSTREAM_OFFSET_ALIGNMENT = 256; + + public const uint D3D12_VIDEO_DECODE_MIN_HISTOGRAM_OFFSET_ALIGNMENT = 256; + + public const uint D3D12_VIDEO_DECODE_STATUS_MACROBLOCKS_AFFECTED_UNKNOWN = 4294967295; + + public const uint D3D12_VIDEO_PROCESS_MAX_FILTERS = 32; + + public const uint D3D12_VIDEO_PROCESS_STEREO_VIEWS = 2; + + public const uint D3D12_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; + + public const uint D3D12_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; + + public const uint D3D12_VIEWPORT_BOUNDS_MAX = 32767; + + public const int D3D12_VIEWPORT_BOUNDS_MIN = -32768; + + public const uint D3D12_VS_INPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_VS_INPUT_REGISTER_COUNT = 32; + + public const uint D3D12_VS_INPUT_REGISTER_READS_PER_INST = 2; + + public const uint D3D12_VS_INPUT_REGISTER_READ_PORTS = 1; + + public const uint D3D12_VS_OUTPUT_REGISTER_COMPONENTS = 4; + + public const uint D3D12_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; + + public const uint D3D12_VS_OUTPUT_REGISTER_COUNT = 32; + + public const uint D3D12_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT = 10; + + public const uint D3D12_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 25; + + public const uint D3D12_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP = 25; + + public const uint D3D12_SHADER_COMPONENT_MAPPING_MASK = 7; + + public const uint D3D12_SHADER_COMPONENT_MAPPING_SHIFT = 3; + + public const uint D3D12_FILTER_REDUCTION_TYPE_MASK = 3; + + public const uint D3D12_FILTER_REDUCTION_TYPE_SHIFT = 7; + + public const uint D3D12_FILTER_TYPE_MASK = 3; + + public const uint D3D12_MIN_FILTER_SHIFT = 4; + + public const uint D3D12_MAG_FILTER_SHIFT = 2; + + public const uint D3D12_MIP_FILTER_SHIFT = 0; + + public const uint D3D12_ANISOTROPIC_FILTERING_BIT = 64; + + public const uint LUID_DEFINED = 1; + + public static ref readonly Guid D3D12_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0x08, 0xB0, 0x62, + 0x0E, 0xC7, + 0xAA, 0x4D, + 0xA1, + 0x09, + 0x30, + 0xFF, + 0x8D, + 0x5A, + 0x04, + 0x82 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D3D12Debug + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0x2A, 0x35, 0xF2, + 0x84, 0xDD, + 0xFE, 0x49, + 0xB9, + 0x7B, + 0xA9, + 0xDC, + 0xFD, + 0xCC, + 0x1B, + 0x4F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D3D12Tools + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB1, 0x16, 0x82, 0xE3, + 0x8C, 0x3C, + 0x33, 0x48, + 0xAA, + 0x09, + 0x0A, + 0x06, + 0xB6, + 0x5D, + 0x96, + 0xC8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D3D12DeviceRemovedExtendedData + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC4, 0xBB, 0x75, 0x4A, + 0xF4, 0x9F, + 0xD8, 0x4A, + 0x9F, + 0x18, + 0xAB, + 0xAE, + 0x84, + 0xDC, + 0x5F, + 0xF2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D3D12SDKConfiguration + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCA, 0x6A, 0xDA, 0x7C, + 0x3E, 0xA0, + 0xC8, 0x49, + 0x94, + 0x58, + 0x03, + 0x34, + 0xD2, + 0x0E, + 0x07, + 0xCE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint D3D12_SHADING_RATE_X_AXIS_SHIFT = 2; + + public const uint D3D12_SHADING_RATE_VALID_MASK = 3; + + public static ref readonly Guid WKPDID_D3DAutoDebugObjectNameW + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0x2E, 0x90, 0xD4, + 0x7A, 0x75, + 0x42, 0x49, + 0x95, + 0x94, + 0xB6, + 0x76, + 0x9A, + 0xFA, + 0x43, + 0xCD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid DXGI_DEBUG_D3D12 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0xA9, 0x59, 0xCF, + 0x50, 0xA9, + 0x26, 0x43, + 0x91, + 0xEF, + 0x9B, + 0xBA, + 0xA1, + 0x7B, + 0xFD, + 0x95 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint D3D12_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; + + public const uint D3D_SHADER_REQUIRES_STENCIL_REF = 512; + + public const uint D3D_SHADER_REQUIRES_INNER_COVERAGE = 1024; + + public const uint D3D_SHADER_REQUIRES_TYPED_UAV_LOAD_ADDITIONAL_FORMATS = 2048; + + public const uint D3D_SHADER_REQUIRES_ROVS = 4096; + + public const uint D3D_SHADER_REQUIRES_VIEWPORT_AND_RT_ARRAY_INDEX_FROM_ANY_SHADER_FEEDING_RASTERIZER = 8192; + + public const uint D3D_SHADER_REQUIRES_WAVE_OPS = 16384; + + public const uint D3D_SHADER_REQUIRES_INT64_OPS = 32768; + + public const uint D3D_SHADER_REQUIRES_VIEW_ID = 65536; + + public const uint D3D_SHADER_REQUIRES_BARYCENTRICS = 131072; + + public const uint D3D_SHADER_REQUIRES_NATIVE_16BIT_OPS = 262144; + + public const uint D3D_SHADER_REQUIRES_SHADING_RATE = 524288; + + public const uint D3D_SHADER_REQUIRES_RAYTRACING_TIER_1_1 = 1048576; + + public const uint D3D_SHADER_REQUIRES_SAMPLER_FEEDBACK = 2097152; + + public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_TYPED_RESOURCE = 4194304; + + public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_GROUP_SHARED = 8388608; + + public const uint D3D_SHADER_REQUIRES_DERIVATIVES_IN_MESH_AND_AMPLIFICATION_SHADERS = 16777216; + + public const uint D3D_SHADER_REQUIRES_RESOURCE_DESCRIPTOR_HEAP_INDEXING = 33554432; + + public const uint D3D_SHADER_REQUIRES_SAMPLER_DESCRIPTOR_HEAP_INDEXING = 67108864; + + public const uint D3D_SHADER_REQUIRES_WAVE_MMA = 134217728; + + public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_DESCRIPTOR_HEAP_RESOURCE = 268435456; + + public static ref readonly Guid D3D12ExperimentalShaderModels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3E, 0x57, 0xF5, 0x76, + 0x3A, 0xF1, + 0xF5, 0x40, + 0xB2, + 0x97, + 0x81, + 0xCE, + 0x9E, + 0x18, + 0x93, + 0x3F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D12TiledResourceTier4 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5F, 0x72, 0xC4, 0xC9, + 0x1A, 0xA8, + 0x56, 0x4F, + 0x8C, + 0x5B, + 0xC5, + 0x10, + 0x39, + 0xD6, + 0x94, + 0xFB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid D3D12MetaCommand + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0xC9, 0x34, 0xC7, + 0x77, 0x80, + 0xC8, 0x48, + 0x9F, + 0xDC, + 0xD9, + 0xD1, + 0xDD, + 0x31, + 0xDD, + 0x77 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + +} + diff --git a/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode.cs b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode.cs new file mode 100644 index 0000000..638d49e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_AUTO_BREADCRUMB_NODE +public partial struct AutoBreadcrumbNode +{ + /// + public unsafe byte* pCommandListDebugNameA; + + /// + public unsafe ushort* pCommandListDebugNameW; + + /// + public unsafe byte* pCommandQueueDebugNameA; + + /// + public unsafe ushort* pCommandQueueDebugNameW; + + /// + public unsafe ID3D12GraphicsCommandList* pCommandList; + + /// + public unsafe ID3D12CommandQueue* pCommandQueue; + + /// + public uint BreadcrumbCount; + + /// + public unsafe uint* pLastBreadcrumbValue; + + /// + public unsafe AutoBreadcrumbOperation* pCommandHistory; + + /// + public unsafe AutoBreadcrumbNode* pNext; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode1.cs b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode1.cs new file mode 100644 index 0000000..61d7919 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbNode1.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_AUTO_BREADCRUMB_NODE1 +public partial struct AutoBreadcrumbNode1 +{ + /// + public unsafe byte* pCommandListDebugNameA; + + /// + public unsafe ushort* pCommandListDebugNameW; + + /// + public unsafe byte* pCommandQueueDebugNameA; + + /// + public unsafe ushort* pCommandQueueDebugNameW; + + /// + public unsafe ID3D12GraphicsCommandList* pCommandList; + + /// + public unsafe ID3D12CommandQueue* pCommandQueue; + + /// + public uint BreadcrumbCount; + + /// + public unsafe uint* pLastBreadcrumbValue; + + /// + public unsafe AutoBreadcrumbOperation* pCommandHistory; + + /// + public unsafe AutoBreadcrumbNode1* pNext; + + /// + public uint BreadcrumbContextsCount; + + /// + public unsafe DredBreadcrumbContext* pBreadcrumbContexts; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbOperation.cs b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbOperation.cs new file mode 100644 index 0000000..f38fec8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/AutoBreadcrumbOperation.cs @@ -0,0 +1,151 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_AUTO_BREADCRUMB_OP +public enum AutoBreadcrumbOperation : int +{ + /// + /// D3D12_AUTO_BREADCRUMB_OP_SETMARKER + SetMarker = 0, + /// + /// D3D12_AUTO_BREADCRUMB_OP_BEGINEVENT + BeginEvent = 1, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ENDEVENT + EndEvent = 2, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DRAWINSTANCED + DrawInstanced = 3, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DRAWINDEXEDINSTANCED + DrawIndexedInstanced = 4, + /// + /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEINDIRECT + ExecuteIndirect = 5, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DISPATCH + Dispatch = 6, + /// + /// D3D12_AUTO_BREADCRUMB_OP_COPYBUFFERREGION + CopyBufferRegion = 7, + /// + /// D3D12_AUTO_BREADCRUMB_OP_COPYTEXTUREREGION + CopyTextureRegion = 8, + /// + /// D3D12_AUTO_BREADCRUMB_OP_COPYRESOURCE + CopyResource = 9, + /// + /// D3D12_AUTO_BREADCRUMB_OP_COPYTILES + CopyTiles = 10, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCE + ResolveSubresource = 11, + /// + /// D3D12_AUTO_BREADCRUMB_OP_CLEARRENDERTARGETVIEW + ClearRenderTargetView = 12, + /// + /// D3D12_AUTO_BREADCRUMB_OP_CLEARUNORDEREDACCESSVIEW + ClearUnorderedAccessView = 13, + /// + /// D3D12_AUTO_BREADCRUMB_OP_CLEARDEPTHSTENCILVIEW + ClearDepthStencilView = 14, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOURCEBARRIER + ResourceBarrier = 15, + /// + /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEBUNDLE + ExecuteBundle = 16, + /// + /// D3D12_AUTO_BREADCRUMB_OP_PRESENT + Present = 17, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEQUERYDATA + ResolveQueryData = 18, + /// + /// D3D12_AUTO_BREADCRUMB_OP_BEGINSUBMISSION + BeginSubmission = 19, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ENDSUBMISSION + EndSubmission = 20, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME + DecodeFrame = 21, + /// + /// D3D12_AUTO_BREADCRUMB_OP_PROCESSFRAMES + ProcessFrames = 22, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT + AtomicCopyBufferUInt = 23, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT64 + AtomicCopyBufferUInt64 = 24, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCEREGION + ResolveSubresourceRegion = 25, + /// + /// D3D12_AUTO_BREADCRUMB_OP_WRITEBUFFERIMMEDIATE + WriteBufferImmediate = 26, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME1 + DecodeFrame1 = 27, + /// + /// D3D12_AUTO_BREADCRUMB_OP_SETPROTECTEDRESOURCESESSION + SetProtectedResourceSession = 28, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME2 + DecodeFrame2 = 29, + /// + /// D3D12_AUTO_BREADCRUMB_OP_PROCESSFRAMES1 + ProcessFrames1 = 30, + /// + /// D3D12_AUTO_BREADCRUMB_OP_BUILDRAYTRACINGACCELERATIONSTRUCTURE + BuildRaytracingAccelerationStructure = 31, + /// + /// D3D12_AUTO_BREADCRUMB_OP_EMITRAYTRACINGACCELERATIONSTRUCTUREPOSTBUILDINFO + EmitRaytracingAccelerationStructurePostBuildInfo = 32, + /// + /// D3D12_AUTO_BREADCRUMB_OP_COPYRAYTRACINGACCELERATIONSTRUCTURE + CopyRaytracingAccelerationStructure = 33, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DISPATCHRAYS + DispatchRays = 34, + /// + /// D3D12_AUTO_BREADCRUMB_OP_INITIALIZEMETACOMMAND + InitializeMetaCommand = 35, + /// + /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEMETACOMMAND + ExecuteMetaCommand = 36, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ESTIMATEMOTION + EstimateMotion = 37, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEMOTIONVECTORHEAP + ResolveMotionVectorHeap = 38, + /// + /// D3D12_AUTO_BREADCRUMB_OP_SETPIPELINESTATE1 + SetPipelineState1 = 39, + /// + /// D3D12_AUTO_BREADCRUMB_OP_INITIALIZEEXTENSIONCOMMAND + InitializeExtensionCommand = 40, + /// + /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEEXTENSIONCOMMAND + ExecuteExtensionCommand = 41, + /// + /// D3D12_AUTO_BREADCRUMB_OP_DISPATCHMESH + DispatchMesh = 42, + /// + /// D3D12_AUTO_BREADCRUMB_OP_ENCODEFRAME + EncodeFrame = 43, + /// + /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEENCODEROUTPUTMETADATA + ResolveEncoderOutputMetadata = 44, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/AxisShadingRate.cs b/src/Vortice.Win32.Direct3D12/Generated/AxisShadingRate.cs new file mode 100644 index 0000000..0e5e863 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/AxisShadingRate.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_AXIS_SHADING_RATE +public enum AxisShadingRate : int +{ + /// + /// D3D12_AXIS_SHADING_RATE_1X + Rate1x = 0, + /// + /// D3D12_AXIS_SHADING_RATE_2X + Rate2x = 1, + /// + /// D3D12_AXIS_SHADING_RATE_4X + Rate4x = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BackgroundProcessingMode.cs b/src/Vortice.Win32.Direct3D12/Generated/BackgroundProcessingMode.cs new file mode 100644 index 0000000..cfb5c4f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BackgroundProcessingMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BACKGROUND_PROCESSING_MODE +public enum BackgroundProcessingMode : int +{ + /// + /// D3D12_BACKGROUND_PROCESSING_MODE_ALLOWED + Allowed = 0, + /// + /// D3D12_BACKGROUND_PROCESSING_MODE_ALLOW_INTRUSIVE_MEASUREMENTS + AllowIntrusiveMeasurements = 1, + /// + /// D3D12_BACKGROUND_PROCESSING_MODE_DISABLE_BACKGROUND_WORK + DisableBackgroundWork = 2, + /// + /// D3D12_BACKGROUND_PROCESSING_MODE_DISABLE_PROFILING_BY_SYSTEM + DisableProfilingBySystem = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Blend.cs b/src/Vortice.Win32.Direct3D12/Generated/Blend.cs new file mode 100644 index 0000000..58520a4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Blend.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BLEND +public enum Blend : int +{ + /// + /// D3D12_BLEND_ZERO + Zero = 1, + /// + /// D3D12_BLEND_ONE + One = 2, + /// + /// D3D12_BLEND_SRC_COLOR + SrcColor = 3, + /// + /// D3D12_BLEND_INV_SRC_COLOR + InvSrcColor = 4, + /// + /// D3D12_BLEND_SRC_ALPHA + SrcAlpha = 5, + /// + /// D3D12_BLEND_INV_SRC_ALPHA + InvSrcAlpha = 6, + /// + /// D3D12_BLEND_DEST_ALPHA + DestAlpha = 7, + /// + /// D3D12_BLEND_INV_DEST_ALPHA + InvDestAlpha = 8, + /// + /// D3D12_BLEND_DEST_COLOR + DestColor = 9, + /// + /// D3D12_BLEND_INV_DEST_COLOR + InvDestColor = 10, + /// + /// D3D12_BLEND_SRC_ALPHA_SAT + SrcAlphaSat = 11, + /// + /// D3D12_BLEND_BLEND_FACTOR + BlendFactor = 14, + /// + /// D3D12_BLEND_INV_BLEND_FACTOR + InvBlendFactor = 15, + /// + /// D3D12_BLEND_SRC1_COLOR + Src1Color = 16, + /// + /// D3D12_BLEND_INV_SRC1_COLOR + InvSrc1Color = 17, + /// + /// D3D12_BLEND_SRC1_ALPHA + Src1Alpha = 18, + /// + /// D3D12_BLEND_INV_SRC1_ALPHA + InvSrc1Alpha = 19, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BlendDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/BlendDescription.cs new file mode 100644 index 0000000..b2cd72e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BlendDescription.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BLEND_DESC +public partial struct BlendDescription +{ + /// + public Bool32 AlphaToCoverageEnable; + + /// + public Bool32 IndependentBlendEnable; + + /// + public RenderTarget__FixedBuffer RenderTarget; + + public unsafe struct RenderTarget__FixedBuffer + { + public RenderTargetBlendDescription e0; + public RenderTargetBlendDescription e1; + public RenderTargetBlendDescription e2; + public RenderTargetBlendDescription e3; + public RenderTargetBlendDescription e4; + public RenderTargetBlendDescription e5; + public RenderTargetBlendDescription e6; + public RenderTargetBlendDescription e7; + + [UnscopedRef] + public ref RenderTargetBlendDescription this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 8); + } + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BlendOperation.cs b/src/Vortice.Win32.Direct3D12/Generated/BlendOperation.cs new file mode 100644 index 0000000..242635a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BlendOperation.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BLEND_OP +public enum BlendOperation : int +{ + /// + /// D3D12_BLEND_OP_ADD + Add = 1, + /// + /// D3D12_BLEND_OP_SUBTRACT + Subtract = 2, + /// + /// D3D12_BLEND_OP_REV_SUBTRACT + RevSubtract = 3, + /// + /// D3D12_BLEND_OP_MIN + Min = 4, + /// + /// D3D12_BLEND_OP_MAX + Max = 5, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Box.cs b/src/Vortice.Win32.Direct3D12/Generated/Box.cs new file mode 100644 index 0000000..62d89b8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Box.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BOX +public partial struct Box +{ + /// + public uint left; + + /// + public uint top; + + /// + public uint front; + + /// + public uint right; + + /// + public uint bottom; + + /// + public uint back; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BufferRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/BufferRtv.cs new file mode 100644 index 0000000..aabed64 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BufferRtv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUFFER_RTV +public partial struct BufferRtv +{ + /// + public ulong FirstElement; + + /// + public uint NumElements; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BufferSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/BufferSrv.cs new file mode 100644 index 0000000..32f1874 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BufferSrv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUFFER_SRV +public partial struct BufferSrv +{ + /// + public ulong FirstElement; + + /// + public uint NumElements; + + /// + public uint StructureByteStride; + + /// + public BufferSrvFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BufferSrvFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/BufferSrvFlags.cs new file mode 100644 index 0000000..8984de6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BufferSrvFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUFFER_SRV_FLAGS +[Flags] +public enum BufferSrvFlags : uint +{ + /// + /// D3D12_BUFFER_SRV_FLAG_NONE + None = 0, + /// + /// D3D12_BUFFER_SRV_FLAG_RAW + Raw = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BufferUav.cs b/src/Vortice.Win32.Direct3D12/Generated/BufferUav.cs new file mode 100644 index 0000000..1f2829e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BufferUav.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUFFER_UAV +public partial struct BufferUav +{ + /// + public ulong FirstElement; + + /// + public uint NumElements; + + /// + public uint StructureByteStride; + + /// + public ulong CounterOffsetInBytes; + + /// + public BufferUavFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BufferUavFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/BufferUavFlags.cs new file mode 100644 index 0000000..ddce37d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BufferUavFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUFFER_UAV_FLAGS +[Flags] +public enum BufferUavFlags : uint +{ + /// + /// D3D12_BUFFER_UAV_FLAG_NONE + None = 0, + /// + /// D3D12_BUFFER_UAV_FLAG_RAW + Raw = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureDescription.cs new file mode 100644 index 0000000..2af1128 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC +public partial struct BuildRaytracingAccelerationStructureDescription +{ + /// + public ulong DestAccelerationStructureData; + + /// + public BuildRaytracingAccelerationStructureInputs Inputs; + + /// + public ulong SourceAccelerationStructureData; + + /// + public ulong ScratchAccelerationStructureData; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureInputs.cs b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureInputs.cs new file mode 100644 index 0000000..15cb900 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureInputs.cs @@ -0,0 +1,76 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS +public partial struct BuildRaytracingAccelerationStructureInputs +{ + /// + public RaytracingAccelerationStructureType Type; + + /// + public RaytracingAccelerationStructureBuildFlags Flags; + + /// + public uint NumDescs; + + /// + public ElementsLayout DescsLayout; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref ulong InstanceDescs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.InstanceDescs; + } + } + + [UnscopedRef] + public unsafe ref RaytracingGeometryDescription* pGeometryDescs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.pGeometryDescs; + } + } + + [UnscopedRef] + public unsafe ref RaytracingGeometryDescription** ppGeometryDescs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.ppGeometryDescs; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public ulong InstanceDescs; + + /// + [FieldOffset(0)] + public unsafe RaytracingGeometryDescription* pGeometryDescs; + + /// + [FieldOffset(0)] + public unsafe RaytracingGeometryDescription** ppGeometryDescs; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureToolsVisualizationHeader.cs b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureToolsVisualizationHeader.cs new file mode 100644 index 0000000..69b9d42 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/BuildRaytracingAccelerationStructureToolsVisualizationHeader.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_TOOLS_VISUALIZATION_HEADER +public partial struct BuildRaytracingAccelerationStructureToolsVisualizationHeader +{ + /// + public RaytracingAccelerationStructureType Type; + + /// + public uint NumDescs; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CachedPipelineState.cs b/src/Vortice.Win32.Direct3D12/Generated/CachedPipelineState.cs new file mode 100644 index 0000000..ddbf463 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CachedPipelineState.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CACHED_PIPELINE_STATE +public partial struct CachedPipelineState +{ + /// + public unsafe void* pCachedBlob; + + /// + public nuint CachedBlobSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ClearFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ClearFlags.cs new file mode 100644 index 0000000..63cc1af --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ClearFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CLEAR_FLAGS +[Flags] +public enum ClearFlags : uint +{ + None = 0, + /// + /// D3D12_CLEAR_FLAG_DEPTH + Depth = 1, + /// + /// D3D12_CLEAR_FLAG_STENCIL + Stencil = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ClearValue.cs b/src/Vortice.Win32.Direct3D12/Generated/ClearValue.cs new file mode 100644 index 0000000..57d174e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ClearValue.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CLEAR_VALUE +public partial struct ClearValue +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public unsafe Span Color + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return MemoryMarshal.CreateSpan(ref Anonymous.Color[0], 4); + } + } + + [UnscopedRef] + public ref DepthStencilValue DepthStencil + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.DepthStencil; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public unsafe fixed float Color[4]; + + /// + [FieldOffset(0)] + public DepthStencilValue DepthStencil; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ColorWriteEnable.cs b/src/Vortice.Win32.Direct3D12/Generated/ColorWriteEnable.cs new file mode 100644 index 0000000..e786da1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ColorWriteEnable.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COLOR_WRITE_ENABLE +[Flags] +public enum ColorWriteEnable : byte +{ + None = 0, + /// + /// D3D12_COLOR_WRITE_ENABLE_RED + Red = 1, + /// + /// D3D12_COLOR_WRITE_ENABLE_GREEN + Green = 2, + /// + /// D3D12_COLOR_WRITE_ENABLE_BLUE + Blue = 4, + /// + /// D3D12_COLOR_WRITE_ENABLE_ALPHA + Alpha = 8, + /// + /// D3D12_COLOR_WRITE_ENABLE_ALL + All = 15, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandListFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandListFlags.cs new file mode 100644 index 0000000..254e688 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandListFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_LIST_FLAGS +[Flags] +public enum CommandListFlags : uint +{ + /// + /// D3D12_COMMAND_LIST_FLAG_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandListSupportFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandListSupportFlags.cs new file mode 100644 index 0000000..10ffc15 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandListSupportFlags.cs @@ -0,0 +1,41 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_LIST_SUPPORT_FLAGS +[Flags] +public enum CommandListSupportFlags : uint +{ + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_NONE + None = 0, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_DIRECT + Direct = 1, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_BUNDLE + Bundle = 2, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_COMPUTE + Compute = 4, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_COPY + Copy = 8, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_DECODE + VideoDecode = 16, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS + VideoProcess = 32, + /// + /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE + VideoEncode = 64, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandListType.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandListType.cs new file mode 100644 index 0000000..22166a3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandListType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_LIST_TYPE +public enum CommandListType : int +{ + /// + /// D3D12_COMMAND_LIST_TYPE_DIRECT + Direct = 0, + /// + /// D3D12_COMMAND_LIST_TYPE_BUNDLE + Bundle = 1, + /// + /// D3D12_COMMAND_LIST_TYPE_COMPUTE + Compute = 2, + /// + /// D3D12_COMMAND_LIST_TYPE_COPY + Copy = 3, + /// + /// D3D12_COMMAND_LIST_TYPE_VIDEO_DECODE + VideoDecode = 4, + /// + /// D3D12_COMMAND_LIST_TYPE_VIDEO_PROCESS + VideoProcess = 5, + /// + /// D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE + VideoEncode = 6, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandPoolFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandPoolFlags.cs new file mode 100644 index 0000000..ec609fb --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandPoolFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_POOL_FLAGS +[Flags] +public enum CommandPoolFlags : uint +{ + /// + /// D3D12_COMMAND_POOL_FLAG_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandQueueDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandQueueDescription.cs new file mode 100644 index 0000000..0758e2d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandQueueDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_QUEUE_DESC +public partial struct CommandQueueDescription +{ + /// + public CommandListType Type; + + /// + public int Priority; + + /// + public CommandQueueFlags Flags; + + /// + public uint NodeMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandQueueFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandQueueFlags.cs new file mode 100644 index 0000000..c22810e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandQueueFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_QUEUE_FLAGS +[Flags] +public enum CommandQueueFlags : uint +{ + /// + /// D3D12_COMMAND_QUEUE_FLAG_NONE + None = 0, + /// + /// D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT + DisableGpuTimeout = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandQueuePriority.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandQueuePriority.cs new file mode 100644 index 0000000..279a138 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandQueuePriority.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_QUEUE_PRIORITY +public enum CommandQueuePriority : int +{ + /// + /// D3D12_COMMAND_QUEUE_PRIORITY_NORMAL + Normal = 0, + /// + /// D3D12_COMMAND_QUEUE_PRIORITY_HIGH + High = 100, + /// + /// D3D12_COMMAND_QUEUE_PRIORITY_GLOBAL_REALTIME + GlobalRealtime = 10000, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandRecorderFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandRecorderFlags.cs new file mode 100644 index 0000000..4c9978e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandRecorderFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_RECORDER_FLAGS +[Flags] +public enum CommandRecorderFlags : uint +{ + /// + /// D3D12_COMMAND_RECORDER_FLAG_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CommandSignatureDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/CommandSignatureDescription.cs new file mode 100644 index 0000000..da41abc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CommandSignatureDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMMAND_SIGNATURE_DESC +public partial struct CommandSignatureDescription +{ + /// + public uint ByteStride; + + /// + public uint NumArgumentDescs; + + /// + public unsafe IndirectArgumentDescription* pArgumentDescs; + + /// + public uint NodeMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ComparisonFunction.cs b/src/Vortice.Win32.Direct3D12/Generated/ComparisonFunction.cs new file mode 100644 index 0000000..ba358e7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ComparisonFunction.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMPARISON_FUNC +public enum ComparisonFunction : int +{ + /// + /// D3D12_COMPARISON_FUNC_NEVER + Never = 1, + /// + /// D3D12_COMPARISON_FUNC_LESS + Less = 2, + /// + /// D3D12_COMPARISON_FUNC_EQUAL + Equal = 3, + /// + /// D3D12_COMPARISON_FUNC_LESS_EQUAL + LessEqual = 4, + /// + /// D3D12_COMPARISON_FUNC_GREATER + Greater = 5, + /// + /// D3D12_COMPARISON_FUNC_NOT_EQUAL + NotEqual = 6, + /// + /// D3D12_COMPARISON_FUNC_GREATER_EQUAL + GreaterEqual = 7, + /// + /// D3D12_COMPARISON_FUNC_ALWAYS + Always = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ComputePipelineStateDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ComputePipelineStateDescription.cs new file mode 100644 index 0000000..a6e56d2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ComputePipelineStateDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_COMPUTE_PIPELINE_STATE_DESC +public partial struct ComputePipelineStateDescription +{ + /// + public unsafe ID3D12RootSignature* pRootSignature; + + /// + public ShaderBytecode CS; + + /// + public uint NodeMask; + + /// + public CachedPipelineState CachedPSO; + + /// + public PipelineStateFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationMode.cs b/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationMode.cs new file mode 100644 index 0000000..59a1017 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CONSERVATIVE_RASTERIZATION_MODE +public enum ConservativeRasterizationMode : int +{ + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF + Off = 0, + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_MODE_ON + On = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationTier.cs b/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationTier.cs new file mode 100644 index 0000000..50d5b61 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ConservativeRasterizationTier.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CONSERVATIVE_RASTERIZATION_TIER +public enum ConservativeRasterizationTier : int +{ + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_1 + Tier1 = 1, + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_2 + Tier2 = 2, + /// + /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ConstantBufferViewDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ConstantBufferViewDescription.cs new file mode 100644 index 0000000..a4cb636 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ConstantBufferViewDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CONSTANT_BUFFER_VIEW_DESC +public partial struct ConstantBufferViewDescription +{ + /// + public ulong BufferLocation; + + /// + public uint SizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CpuDescriptorHandle.cs b/src/Vortice.Win32.Direct3D12/Generated/CpuDescriptorHandle.cs new file mode 100644 index 0000000..41d050f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CpuDescriptorHandle.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CPU_DESCRIPTOR_HANDLE +public partial struct CpuDescriptorHandle +{ + /// + public nuint ptr; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CpuPageProperty.cs b/src/Vortice.Win32.Direct3D12/Generated/CpuPageProperty.cs new file mode 100644 index 0000000..e14c987 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CpuPageProperty.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CPU_PAGE_PROPERTY +public enum CpuPageProperty : int +{ + /// + /// D3D12_CPU_PAGE_PROPERTY_UNKNOWN + Unknown = 0, + /// + /// D3D12_CPU_PAGE_PROPERTY_NOT_AVAILABLE + NotAvailable = 1, + /// + /// D3D12_CPU_PAGE_PROPERTY_WRITE_COMBINE + WriteCombine = 2, + /// + /// D3D12_CPU_PAGE_PROPERTY_WRITE_BACK + WriteBack = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CrossNodeSharingTier.cs b/src/Vortice.Win32.Direct3D12/Generated/CrossNodeSharingTier.cs new file mode 100644 index 0000000..33805b1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CrossNodeSharingTier.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CROSS_NODE_SHARING_TIER +public enum CrossNodeSharingTier : int +{ + /// + /// D3D12_CROSS_NODE_SHARING_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_CROSS_NODE_SHARING_TIER_1_EMULATED + Tier1Emulated = 1, + /// + /// D3D12_CROSS_NODE_SHARING_TIER_1 + Tier1 = 2, + /// + /// D3D12_CROSS_NODE_SHARING_TIER_2 + Tier2 = 3, + /// + /// D3D12_CROSS_NODE_SHARING_TIER_3 + Tier3 = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/CullMode.cs b/src/Vortice.Win32.Direct3D12/Generated/CullMode.cs new file mode 100644 index 0000000..9ed7d9f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/CullMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_CULL_MODE +public enum CullMode : int +{ + /// + /// D3D12_CULL_MODE_NONE + None = 1, + /// + /// D3D12_CULL_MODE_FRONT + Front = 2, + /// + /// D3D12_CULL_MODE_BACK + Back = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListGpuBasedValidationSettings.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListGpuBasedValidationSettings.cs new file mode 100644 index 0000000..850dd22 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListGpuBasedValidationSettings.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_COMMAND_LIST_GPU_BASED_VALIDATION_SETTINGS +public partial struct DebugCommandListGpuBasedValidationSettings +{ + /// + public GpuBasedValidationShaderPatchMode ShaderPatchMode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListParameterType.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListParameterType.cs new file mode 100644 index 0000000..e3e0699 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugCommandListParameterType.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE +public enum DebugCommandListParameterType : int +{ + /// + /// D3D12_DEBUG_COMMAND_LIST_PARAMETER_GPU_BASED_VALIDATION_SETTINGS + GpuBasedValidationSettings = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuBasedValidationSettings.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuBasedValidationSettings.cs new file mode 100644 index 0000000..76826c4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuBasedValidationSettings.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_DEVICE_GPU_BASED_VALIDATION_SETTINGS +public partial struct DebugDeviceGpuBasedValidationSettings +{ + /// + public uint MaxMessagesPerCommandList; + + /// + public GpuBasedValidationShaderPatchMode DefaultShaderPatchMode; + + /// + public GpuBasedValidationPipelineStateCreateFlags PipelineStateCreateFlags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuSlowdownPerformanceFactor.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuSlowdownPerformanceFactor.cs new file mode 100644 index 0000000..3e64072 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceGpuSlowdownPerformanceFactor.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_DEVICE_GPU_SLOWDOWN_PERFORMANCE_FACTOR +public partial struct DebugDeviceGpuSlowdownPerformanceFactor +{ + /// + public float SlowdownFactor; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceParameterType.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceParameterType.cs new file mode 100644 index 0000000..a846ac2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugDeviceParameterType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_DEVICE_PARAMETER_TYPE +public enum DebugDeviceParameterType : int +{ + /// + /// D3D12_DEBUG_DEVICE_PARAMETER_FEATURE_FLAGS + FeatureFlags = 0, + /// + /// D3D12_DEBUG_DEVICE_PARAMETER_GPU_BASED_VALIDATION_SETTINGS + GpuBasedValidationSettings = 1, + /// + /// D3D12_DEBUG_DEVICE_PARAMETER_GPU_SLOWDOWN_PERFORMANCE_FACTOR + GpuSlowdownPerformanceFactor = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DebugFeature.cs b/src/Vortice.Win32.Direct3D12/Generated/DebugFeature.cs new file mode 100644 index 0000000..c1547da --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DebugFeature.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEBUG_FEATURE +public enum DebugFeature : int +{ + /// + /// D3D12_DEBUG_FEATURE_NONE + None = 0, + /// + /// D3D12_DEBUG_FEATURE_ALLOW_BEHAVIOR_CHANGING_DEBUG_AIDS + AllowBehaviorChangingDebugAids = 1, + /// + /// D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING + ConservativeResourceStateTracking = 2, + /// + /// D3D12_DEBUG_FEATURE_DISABLE_VIRTUALIZED_BUNDLES_VALIDATION + DisableVirtualizedBundlesValidation = 4, + /// + /// D3D12_DEBUG_FEATURE_EMULATE_WINDOWS7 + EmulateWindows7 = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription.cs new file mode 100644 index 0000000..d82118b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_STENCIL_DESC +public partial struct DepthStencilDescription +{ + /// + public Bool32 DepthEnable; + + /// + public DepthWriteMask DepthWriteMask; + + /// + public ComparisonFunction DepthFunc; + + /// + public Bool32 StencilEnable; + + /// + public byte StencilReadMask; + + /// + public byte StencilWriteMask; + + /// + public DepthStencilOperationDescription FrontFace; + + /// + public DepthStencilOperationDescription BackFace; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription1.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription1.cs new file mode 100644 index 0000000..105a07d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilDescription1.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_STENCIL_DESC1 +public partial struct DepthStencilDescription1 +{ + /// + public Bool32 DepthEnable; + + /// + public DepthWriteMask DepthWriteMask; + + /// + public ComparisonFunction DepthFunc; + + /// + public Bool32 StencilEnable; + + /// + public byte StencilReadMask; + + /// + public byte StencilWriteMask; + + /// + public DepthStencilOperationDescription FrontFace; + + /// + public DepthStencilOperationDescription BackFace; + + /// + public Bool32 DepthBoundsTestEnable; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthStencilOperationDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilOperationDescription.cs new file mode 100644 index 0000000..0c03e3f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilOperationDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_STENCILOP_DESC +public partial struct DepthStencilOperationDescription +{ + /// + public StencilOperation StencilFailOp; + + /// + public StencilOperation StencilDepthFailOp; + + /// + public StencilOperation StencilPassOp; + + /// + public ComparisonFunction StencilFunc; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthStencilValue.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilValue.cs new file mode 100644 index 0000000..2ec5545 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilValue.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_STENCIL_VALUE +public partial struct DepthStencilValue +{ + /// + public float Depth; + + /// + public byte Stencil; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthStencilViewDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilViewDescription.cs new file mode 100644 index 0000000..f0904e7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthStencilViewDescription.cs @@ -0,0 +1,115 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_STENCIL_VIEW_DESC +public partial struct DepthStencilViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public DsvDimension ViewDimension; + + /// + public DsvFlags Flags; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref Texture1DDsv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayDsv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DDsv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayDsv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsDsv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArrayDsv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public Texture1DDsv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayDsv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DDsv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayDsv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsDsv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArrayDsv Texture2DMSArray; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DepthWriteMask.cs b/src/Vortice.Win32.Direct3D12/Generated/DepthWriteMask.cs new file mode 100644 index 0000000..198ea63 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DepthWriteMask.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEPTH_WRITE_MASK +public enum DepthWriteMask : int +{ + /// + /// D3D12_DEPTH_WRITE_MASK_ZERO + Zero = 0, + /// + /// D3D12_DEPTH_WRITE_MASK_ALL + All = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapDescription.cs new file mode 100644 index 0000000..fc07a39 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_HEAP_DESC +public partial struct DescriptorHeapDescription +{ + /// + public DescriptorHeapType Type; + + /// + public uint NumDescriptors; + + /// + public DescriptorHeapFlags Flags; + + /// + public uint NodeMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapFlags.cs new file mode 100644 index 0000000..a7d1154 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_HEAP_FLAGS +[Flags] +public enum DescriptorHeapFlags : uint +{ + /// + /// D3D12_DESCRIPTOR_HEAP_FLAG_NONE + None = 0, + /// + /// D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE + ShaderVisible = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapType.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapType.cs new file mode 100644 index 0000000..f58ecea --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorHeapType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_HEAP_TYPE +public enum DescriptorHeapType : int +{ + /// + /// D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV + CbvSrvUav = 0, + /// + /// D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER + Sampler = 1, + /// + /// D3D12_DESCRIPTOR_HEAP_TYPE_RTV + Rtv = 2, + /// + /// D3D12_DESCRIPTOR_HEAP_TYPE_DSV + Dsv = 3, + /// + /// D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES + NumTypes = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange.cs new file mode 100644 index 0000000..cf070f1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_RANGE +public partial struct DescriptorRange +{ + /// + public DescriptorRangeType RangeType; + + /// + public uint NumDescriptors; + + /// + public uint BaseShaderRegister; + + /// + public uint RegisterSpace; + + /// + public uint OffsetInDescriptorsFromTableStart; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange1.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange1.cs new file mode 100644 index 0000000..749df87 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRange1.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_RANGE1 +public partial struct DescriptorRange1 +{ + /// + public DescriptorRangeType RangeType; + + /// + public uint NumDescriptors; + + /// + public uint BaseShaderRegister; + + /// + public uint RegisterSpace; + + /// + public DescriptorRangeFlags Flags; + + /// + public uint OffsetInDescriptorsFromTableStart; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeFlags.cs new file mode 100644 index 0000000..ae28fc7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeFlags.cs @@ -0,0 +1,35 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_RANGE_FLAGS +[Flags] +public enum DescriptorRangeFlags : uint +{ + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_NONE + None = 0, + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_VOLATILE + DescriptorsVolatile = 1, + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_VOLATILE + DataVolatile = 2, + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE + DataStaticWhileSetAtExecute = 4, + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC + DataStatic = 8, + /// + /// D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS + DescriptorsStaticKeepingBufferBoundsChecks = 65536, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeType.cs b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeType.cs new file mode 100644 index 0000000..92c6a97 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DescriptorRangeType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DESCRIPTOR_RANGE_TYPE +public enum DescriptorRangeType : int +{ + /// + /// D3D12_DESCRIPTOR_RANGE_TYPE_SRV + Srv = 0, + /// + /// D3D12_DESCRIPTOR_RANGE_TYPE_UAV + Uav = 1, + /// + /// D3D12_DESCRIPTOR_RANGE_TYPE_CBV + Cbv = 2, + /// + /// D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER + Sampler = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData.cs b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData.cs new file mode 100644 index 0000000..b88d560 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEVICE_REMOVED_EXTENDED_DATA +public partial struct DeviceRemovedExtendedData +{ + /// + public DredFlags Flags; + + /// + public unsafe AutoBreadcrumbNode* pHeadAutoBreadcrumbNode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData1.cs b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData1.cs new file mode 100644 index 0000000..9855374 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEVICE_REMOVED_EXTENDED_DATA1 +public partial struct DeviceRemovedExtendedData1 +{ + /// + public HResult DeviceRemovedReason; + + /// + public DredAutoBreadcrumbsOutput AutoBreadcrumbsOutput; + + /// + public DredPageFaultOutput PageFaultOutput; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData2.cs b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData2.cs new file mode 100644 index 0000000..a3e1be1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData2.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEVICE_REMOVED_EXTENDED_DATA2 +public partial struct DeviceRemovedExtendedData2 +{ + /// + public HResult DeviceRemovedReason; + + /// + public DredAutoBreadcrumbsOutput1 AutoBreadcrumbsOutput; + + /// + public DredPageFaultOutput1 PageFaultOutput; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData3.cs b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData3.cs new file mode 100644 index 0000000..6770ca4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DeviceRemovedExtendedData3.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DEVICE_REMOVED_EXTENDED_DATA3 +public partial struct DeviceRemovedExtendedData3 +{ + /// + public HResult DeviceRemovedReason; + + /// + public DredAutoBreadcrumbsOutput1 AutoBreadcrumbsOutput; + + /// + public DredPageFaultOutput2 PageFaultOutput; + + /// + public DredDeviceState DeviceState; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Direct3D12.cs b/src/Vortice.Win32.Direct3D12/Generated/Direct3D12.cs deleted file mode 100644 index 938bf37..0000000 --- a/src/Vortice.Win32.Direct3D12/Generated/Direct3D12.cs +++ /dev/null @@ -1,12268 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct3D12; - -public static partial class Apis -{ - public const uint D3D12_SHADER_COMPONENT_MAPPING_ALWAYS_SET_BIT_AVOIDING_ZEROMEM_MISTAKES = 4096; - - public const uint D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING = 5768; - - public const uint D3D12_16BIT_INDEX_STRIP_CUT_VALUE = 65535; - - public const uint D3D12_32BIT_INDEX_STRIP_CUT_VALUE = 4294967295; - - public const uint D3D12_8BIT_INDEX_STRIP_CUT_VALUE = 255; - - public const uint D3D12_APPEND_ALIGNED_ELEMENT = 4294967295; - - public const uint D3D12_ARRAY_AXIS_ADDRESS_RANGE_BIT_COUNT = 9; - - public const uint D3D12_CLIP_OR_CULL_DISTANCE_COUNT = 8; - - public const uint D3D12_CLIP_OR_CULL_DISTANCE_ELEMENT_COUNT = 2; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT = 14; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_COMPONENTS = 4; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_HW_SLOT_COUNT = 15; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_PARTIAL_UPDATE_EXTENTS_BYTE_ALIGNMENT = 16; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; - - public const uint D3D12_COMMONSHADER_FLOWCONTROL_NESTING_LIMIT = 64; - - public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COMPONENTS = 4; - - public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_COUNT = 1; - - public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_COMMONSHADER_IMMEDIATE_CONSTANT_BUFFER_REGISTER_READ_PORTS = 1; - - public const uint D3D12_COMMONSHADER_IMMEDIATE_VALUE_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_COMPONENTS = 1; - - public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_COUNT = 128; - - public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_REGISTER_READ_PORTS = 1; - - public const uint D3D12_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT = 128; - - public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_COMPONENTS = 1; - - public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_COUNT = 16; - - public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_COMMONSHADER_SAMPLER_REGISTER_READ_PORTS = 1; - - public const uint D3D12_COMMONSHADER_SAMPLER_SLOT_COUNT = 16; - - public const uint D3D12_COMMONSHADER_SUBROUTINE_NESTING_LIMIT = 32; - - public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COMPONENTS = 4; - - public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_COMMONSHADER_TEMP_REGISTER_COUNT = 4096; - - public const uint D3D12_COMMONSHADER_TEMP_REGISTER_READS_PER_INST = 3; - - public const uint D3D12_COMMONSHADER_TEMP_REGISTER_READ_PORTS = 3; - - public const uint D3D12_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MAX = 10; - - public const int D3D12_COMMONSHADER_TEXCOORD_RANGE_REDUCTION_MIN = -10; - - public const int D3D12_COMMONSHADER_TEXEL_OFFSET_MAX_NEGATIVE = -8; - - public const uint D3D12_COMMONSHADER_TEXEL_OFFSET_MAX_POSITIVE = 7; - - public const uint D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT = 256; - - public const uint D3D12_CS_4_X_BUCKET00_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 256; - - public const uint D3D12_CS_4_X_BUCKET00_MAX_NUM_THREADS_PER_GROUP = 64; - - public const uint D3D12_CS_4_X_BUCKET01_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 240; - - public const uint D3D12_CS_4_X_BUCKET01_MAX_NUM_THREADS_PER_GROUP = 68; - - public const uint D3D12_CS_4_X_BUCKET02_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 224; - - public const uint D3D12_CS_4_X_BUCKET02_MAX_NUM_THREADS_PER_GROUP = 72; - - public const uint D3D12_CS_4_X_BUCKET03_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 208; - - public const uint D3D12_CS_4_X_BUCKET03_MAX_NUM_THREADS_PER_GROUP = 76; - - public const uint D3D12_CS_4_X_BUCKET04_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 192; - - public const uint D3D12_CS_4_X_BUCKET04_MAX_NUM_THREADS_PER_GROUP = 84; - - public const uint D3D12_CS_4_X_BUCKET05_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 176; - - public const uint D3D12_CS_4_X_BUCKET05_MAX_NUM_THREADS_PER_GROUP = 92; - - public const uint D3D12_CS_4_X_BUCKET06_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 160; - - public const uint D3D12_CS_4_X_BUCKET06_MAX_NUM_THREADS_PER_GROUP = 100; - - public const uint D3D12_CS_4_X_BUCKET07_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 144; - - public const uint D3D12_CS_4_X_BUCKET07_MAX_NUM_THREADS_PER_GROUP = 112; - - public const uint D3D12_CS_4_X_BUCKET08_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 128; - - public const uint D3D12_CS_4_X_BUCKET08_MAX_NUM_THREADS_PER_GROUP = 128; - - public const uint D3D12_CS_4_X_BUCKET09_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 112; - - public const uint D3D12_CS_4_X_BUCKET09_MAX_NUM_THREADS_PER_GROUP = 144; - - public const uint D3D12_CS_4_X_BUCKET10_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 96; - - public const uint D3D12_CS_4_X_BUCKET10_MAX_NUM_THREADS_PER_GROUP = 168; - - public const uint D3D12_CS_4_X_BUCKET11_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 80; - - public const uint D3D12_CS_4_X_BUCKET11_MAX_NUM_THREADS_PER_GROUP = 204; - - public const uint D3D12_CS_4_X_BUCKET12_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 64; - - public const uint D3D12_CS_4_X_BUCKET12_MAX_NUM_THREADS_PER_GROUP = 256; - - public const uint D3D12_CS_4_X_BUCKET13_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 48; - - public const uint D3D12_CS_4_X_BUCKET13_MAX_NUM_THREADS_PER_GROUP = 340; - - public const uint D3D12_CS_4_X_BUCKET14_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 32; - - public const uint D3D12_CS_4_X_BUCKET14_MAX_NUM_THREADS_PER_GROUP = 512; - - public const uint D3D12_CS_4_X_BUCKET15_MAX_BYTES_TGSM_WRITABLE_PER_THREAD = 16; - - public const uint D3D12_CS_4_X_BUCKET15_MAX_NUM_THREADS_PER_GROUP = 768; - - public const uint D3D12_CS_4_X_DISPATCH_MAX_THREAD_GROUPS_IN_Z_DIMENSION = 1; - - public const uint D3D12_CS_4_X_RAW_UAV_BYTE_ALIGNMENT = 256; - - public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_THREADS_PER_GROUP = 768; - - public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_X = 768; - - public const uint D3D12_CS_4_X_THREAD_GROUP_MAX_Y = 768; - - public const uint D3D12_CS_4_X_UAV_REGISTER_COUNT = 1; - - public const uint D3D12_CS_DISPATCH_MAX_THREAD_GROUPS_PER_DIMENSION = 65535; - - public const uint D3D12_CS_TGSM_REGISTER_COUNT = 8192; - - public const uint D3D12_CS_TGSM_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_CS_TGSM_RESOURCE_REGISTER_COMPONENTS = 1; - - public const uint D3D12_CS_TGSM_RESOURCE_REGISTER_READ_PORTS = 1; - - public const uint D3D12_CS_THREADGROUPID_REGISTER_COMPONENTS = 3; - - public const uint D3D12_CS_THREADGROUPID_REGISTER_COUNT = 1; - - public const uint D3D12_CS_THREADIDINGROUPFLATTENED_REGISTER_COMPONENTS = 1; - - public const uint D3D12_CS_THREADIDINGROUPFLATTENED_REGISTER_COUNT = 1; - - public const uint D3D12_CS_THREADIDINGROUP_REGISTER_COMPONENTS = 3; - - public const uint D3D12_CS_THREADIDINGROUP_REGISTER_COUNT = 1; - - public const uint D3D12_CS_THREADID_REGISTER_COMPONENTS = 3; - - public const uint D3D12_CS_THREADID_REGISTER_COUNT = 1; - - public const uint D3D12_CS_THREAD_GROUP_MAX_THREADS_PER_GROUP = 1024; - - public const uint D3D12_CS_THREAD_GROUP_MAX_X = 1024; - - public const uint D3D12_CS_THREAD_GROUP_MAX_Y = 1024; - - public const uint D3D12_CS_THREAD_GROUP_MAX_Z = 64; - - public const uint D3D12_CS_THREAD_GROUP_MIN_X = 1; - - public const uint D3D12_CS_THREAD_GROUP_MIN_Y = 1; - - public const uint D3D12_CS_THREAD_GROUP_MIN_Z = 1; - - public const uint D3D12_CS_THREAD_LOCAL_TEMP_REGISTER_POOL = 16384; - - public const float D3D12_DEFAULT_BLEND_FACTOR_ALPHA = 1f; - - public const float D3D12_DEFAULT_BLEND_FACTOR_BLUE = 1f; - - public const float D3D12_DEFAULT_BLEND_FACTOR_GREEN = 1f; - - public const float D3D12_DEFAULT_BLEND_FACTOR_RED = 1f; - - public const float D3D12_DEFAULT_BORDER_COLOR_COMPONENT = 0f; - - public const int D3D12_DEFAULT_DEPTH_BIAS = 0; - - public const float D3D12_DEFAULT_DEPTH_BIAS_CLAMP = 0f; - - public const uint D3D12_DEFAULT_MAX_ANISOTROPY = 16; - - public const float D3D12_DEFAULT_MIP_LOD_BIAS = 0f; - - public const uint D3D12_DEFAULT_MSAA_RESOURCE_PLACEMENT_ALIGNMENT = 4194304; - - public const uint D3D12_DEFAULT_RENDER_TARGET_ARRAY_INDEX = 0; - - public const uint D3D12_DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT = 65536; - - public const uint D3D12_DEFAULT_SAMPLE_MASK = 4294967295; - - public const uint D3D12_DEFAULT_SCISSOR_ENDX = 0; - - public const uint D3D12_DEFAULT_SCISSOR_ENDY = 0; - - public const uint D3D12_DEFAULT_SCISSOR_STARTX = 0; - - public const uint D3D12_DEFAULT_SCISSOR_STARTY = 0; - - public const float D3D12_DEFAULT_SLOPE_SCALED_DEPTH_BIAS = 0f; - - public const uint D3D12_DEFAULT_STENCIL_READ_MASK = 255; - - public const uint D3D12_DEFAULT_STENCIL_REFERENCE = 0; - - public const uint D3D12_DEFAULT_STENCIL_WRITE_MASK = 255; - - public const uint D3D12_DEFAULT_VIEWPORT_AND_SCISSORRECT_INDEX = 0; - - public const uint D3D12_DEFAULT_VIEWPORT_HEIGHT = 0; - - public const float D3D12_DEFAULT_VIEWPORT_MAX_DEPTH = 0f; - - public const float D3D12_DEFAULT_VIEWPORT_MIN_DEPTH = 0f; - - public const uint D3D12_DEFAULT_VIEWPORT_TOPLEFTX = 0; - - public const uint D3D12_DEFAULT_VIEWPORT_TOPLEFTY = 0; - - public const uint D3D12_DEFAULT_VIEWPORT_WIDTH = 0; - - public const uint D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND = 4294967295; - - public const uint D3D12_DRIVER_RESERVED_REGISTER_SPACE_VALUES_END = 4294967287; - - public const uint D3D12_DRIVER_RESERVED_REGISTER_SPACE_VALUES_START = 4294967280; - - public const uint D3D12_DS_INPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; - - public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_COUNT = 32; - - public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_DS_INPUT_CONTROL_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENTS = 3; - - public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_COUNT = 1; - - public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_DS_INPUT_DOMAIN_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; - - public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_DS_INPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; - - public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_DS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D12_DS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_DS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_DS_OUTPUT_REGISTER_COUNT = 32; - - public const double D3D12_FLOAT16_FUSED_TOLERANCE_IN_ULP = 0.6; - - public const float D3D12_FLOAT32_MAX = 3.4028235E+38f; - - public const float D3D12_FLOAT32_TO_INTEGER_TOLERANCE_IN_ULP = 0.6f; - - public const float D3D12_FLOAT_TO_SRGB_EXPONENT_DENOMINATOR = 2.4f; - - public const float D3D12_FLOAT_TO_SRGB_EXPONENT_NUMERATOR = 1f; - - public const float D3D12_FLOAT_TO_SRGB_OFFSET = 0.055f; - - public const float D3D12_FLOAT_TO_SRGB_SCALE_1 = 12.92f; - - public const float D3D12_FLOAT_TO_SRGB_SCALE_2 = 1.055f; - - public const float D3D12_FLOAT_TO_SRGB_THRESHOLD = 0.0031308f; - - public const float D3D12_FTOI_INSTRUCTION_MAX_INPUT = 2.1474836E+09f; - - public const float D3D12_FTOI_INSTRUCTION_MIN_INPUT = -2.1474836E+09f; - - public const float D3D12_FTOU_INSTRUCTION_MAX_INPUT = 4.2949673E+09f; - - public const float D3D12_FTOU_INSTRUCTION_MIN_INPUT = 0f; - - public const uint D3D12_GS_INPUT_INSTANCE_ID_READS_PER_INST = 2; - - public const uint D3D12_GS_INPUT_INSTANCE_ID_READ_PORTS = 1; - - public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_GS_INPUT_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COMPONENTS = 1; - - public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_COUNT = 1; - - public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_GS_INPUT_PRIM_CONST_REGISTER_READ_PORTS = 1; - - public const uint D3D12_GS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_GS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_GS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D12_GS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_GS_INPUT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_GS_INPUT_REGISTER_VERTICES = 32; - - public const uint D3D12_GS_MAX_INSTANCE_COUNT = 32; - - public const uint D3D12_GS_MAX_OUTPUT_VERTEX_COUNT_ACROSS_INSTANCES = 1024; - - public const uint D3D12_GS_OUTPUT_ELEMENTS = 32; - - public const uint D3D12_GS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_GS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_GS_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D12_HS_CONTROL_POINT_PHASE_INPUT_REGISTER_COUNT = 32; - - public const uint D3D12_HS_CONTROL_POINT_PHASE_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D12_HS_CONTROL_POINT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_HS_CONTROL_POINT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_CONTROL_POINT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_CONTROL_POINT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_FORK_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; - - public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_INPUT_FORK_INSTANCE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_COUNT = 1; - - public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_INPUT_JOIN_INSTANCE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_COUNT = 1; - - public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_INPUT_PRIMITIVE_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_JOIN_PHASE_INSTANCE_COUNT_UPPER_BOUND = 4294967295; - - public const float D3D12_HS_MAXTESSFACTOR_LOWER_BOUND = 1f; - - public const float D3D12_HS_MAXTESSFACTOR_UPPER_BOUND = 64f; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINTS_MAX_TOTAL_SCALARS = 3968; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENTS = 1; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_COUNT = 1; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_OUTPUT_CONTROL_POINT_ID_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_COUNT = 32; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_HS_OUTPUT_PATCH_CONSTANT_REGISTER_SCALAR_COMPONENTS = 128; - - public const uint D3D12_IA_DEFAULT_INDEX_BUFFER_OFFSET_IN_BYTES = 0; - - public const uint D3D12_IA_DEFAULT_PRIMITIVE_TOPOLOGY = 0; - - public const uint D3D12_IA_DEFAULT_VERTEX_BUFFER_OFFSET_IN_BYTES = 0; - - public const uint D3D12_IA_INDEX_INPUT_RESOURCE_SLOT_COUNT = 1; - - public const uint D3D12_IA_INSTANCE_ID_BIT_COUNT = 32; - - public const uint D3D12_IA_INTEGER_ARITHMETIC_BIT_COUNT = 32; - - public const uint D3D12_IA_PATCH_MAX_CONTROL_POINT_COUNT = 32; - - public const uint D3D12_IA_PRIMITIVE_ID_BIT_COUNT = 32; - - public const uint D3D12_IA_VERTEX_ID_BIT_COUNT = 32; - - public const uint D3D12_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT = 32; - - public const uint D3D12_IA_VERTEX_INPUT_STRUCTURE_ELEMENTS_COMPONENTS = 128; - - public const uint D3D12_IA_VERTEX_INPUT_STRUCTURE_ELEMENT_COUNT = 32; - - public const uint D3D12_INTEGER_DIVIDE_BY_ZERO_QUOTIENT = 4294967295; - - public const uint D3D12_INTEGER_DIVIDE_BY_ZERO_REMAINDER = 4294967295; - - public const uint D3D12_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL = 4294967295; - - public const uint D3D12_KEEP_UNORDERED_ACCESS_VIEWS = 4294967295; - - public const float D3D12_LINEAR_GAMMA = 1f; - - public const uint D3D12_MAJOR_VERSION = 12; - - public const float D3D12_MAX_BORDER_COLOR_COMPONENT = 1f; - - public const float D3D12_MAX_DEPTH = 1f; - - public const uint D3D12_MAX_LIVE_STATIC_SAMPLERS = 2032; - - public const uint D3D12_MAX_MAXANISOTROPY = 16; - - public const uint D3D12_MAX_MULTISAMPLE_SAMPLE_COUNT = 32; - - public const float D3D12_MAX_POSITION_VALUE = 3.4028236E+34f; - - public const uint D3D12_MAX_ROOT_COST = 64; - - public const uint D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_1 = 1000000; - - public const uint D3D12_MAX_SHADER_VISIBLE_DESCRIPTOR_HEAP_SIZE_TIER_2 = 1000000; - - public const uint D3D12_MAX_SHADER_VISIBLE_SAMPLER_HEAP_SIZE = 2048; - - public const uint D3D12_MAX_TEXTURE_DIMENSION_2_TO_EXP = 17; - - public const uint D3D12_MAX_VIEW_INSTANCE_COUNT = 4; - - public const uint D3D12_MINOR_VERSION = 0; - - public const float D3D12_MIN_BORDER_COLOR_COMPONENT = 0f; - - public const float D3D12_MIN_DEPTH = 0f; - - public const uint D3D12_MIN_MAXANISOTROPY = 0; - - public const float D3D12_MIP_LOD_BIAS_MAX = 15.99f; - - public const float D3D12_MIP_LOD_BIAS_MIN = -16f; - - public const uint D3D12_MIP_LOD_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D12_MIP_LOD_RANGE_BIT_COUNT = 8; - - public const float D3D12_MULTISAMPLE_ANTIALIAS_LINE_WIDTH = 1.4f; - - public const uint D3D12_NONSAMPLE_FETCH_OUT_OF_RANGE_ACCESS_RESULT = 0; - - public const uint D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_END = 4294967295; - - public const uint D3D12_OS_RESERVED_REGISTER_SPACE_VALUES_START = 4294967288; - - public const uint D3D12_PACKED_TILE = 4294967295; - - public const uint D3D12_PIXEL_ADDRESS_RANGE_BIT_COUNT = 15; - - public const uint D3D12_PRE_SCISSOR_PIXEL_ADDRESS_RANGE_BIT_COUNT = 16; - - public const uint D3D12_PS_CS_UAV_REGISTER_COMPONENTS = 1; - - public const uint D3D12_PS_CS_UAV_REGISTER_COUNT = 8; - - public const uint D3D12_PS_CS_UAV_REGISTER_READS_PER_INST = 1; - - public const uint D3D12_PS_CS_UAV_REGISTER_READ_PORTS = 1; - - public const uint D3D12_PS_FRONTFACING_DEFAULT_VALUE = 4294967295; - - public const uint D3D12_PS_FRONTFACING_FALSE_VALUE = 0; - - public const uint D3D12_PS_FRONTFACING_TRUE_VALUE = 4294967295; - - public const uint D3D12_PS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_PS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_PS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D12_PS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_PS_INPUT_REGISTER_READ_PORTS = 1; - - public const float D3D12_PS_LEGACY_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0f; - - public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COMPONENTS = 1; - - public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_PS_OUTPUT_DEPTH_REGISTER_COUNT = 1; - - public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COMPONENTS = 1; - - public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_PS_OUTPUT_MASK_REGISTER_COUNT = 1; - - public const uint D3D12_PS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_PS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_PS_OUTPUT_REGISTER_COUNT = 8; - - public const float D3D12_PS_PIXEL_CENTER_FRACTIONAL_COMPONENT = 0.5f; - - public const uint D3D12_RAW_UAV_SRV_BYTE_ALIGNMENT = 16; - - public const uint D3D12_RAYTRACING_AABB_BYTE_ALIGNMENT = 8; - - public const uint D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BYTE_ALIGNMENT = 256; - - public const uint D3D12_RAYTRACING_INSTANCE_DESCS_BYTE_ALIGNMENT = 16; - - public const uint D3D12_RAYTRACING_MAX_ATTRIBUTE_SIZE_IN_BYTES = 32; - - public const uint D3D12_RAYTRACING_MAX_DECLARABLE_TRACE_RECURSION_DEPTH = 31; - - public const uint D3D12_RAYTRACING_MAX_GEOMETRIES_PER_BOTTOM_LEVEL_ACCELERATION_STRUCTURE = 16777216; - - public const uint D3D12_RAYTRACING_MAX_INSTANCES_PER_TOP_LEVEL_ACCELERATION_STRUCTURE = 16777216; - - public const uint D3D12_RAYTRACING_MAX_PRIMITIVES_PER_BOTTOM_LEVEL_ACCELERATION_STRUCTURE = 536870912; - - public const uint D3D12_RAYTRACING_MAX_RAY_GENERATION_SHADER_THREADS = 1073741824; - - public const uint D3D12_RAYTRACING_MAX_SHADER_RECORD_STRIDE = 4096; - - public const uint D3D12_RAYTRACING_SHADER_RECORD_BYTE_ALIGNMENT = 32; - - public const uint D3D12_RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT = 64; - - public const uint D3D12_RAYTRACING_TRANSFORM3X4_BYTE_ALIGNMENT = 16; - - public const uint D3D12_REQ_BLEND_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D12_REQ_BUFFER_RESOURCE_TEXEL_COUNT_2_TO_EXP = 27; - - public const uint D3D12_REQ_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; - - public const uint D3D12_REQ_DEPTH_STENCIL_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D12_REQ_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 32; - - public const uint D3D12_REQ_DRAW_VERTEX_COUNT_2_TO_EXP = 32; - - public const uint D3D12_REQ_FILTERING_HW_ADDRESSABLE_RESOURCE_DIMENSION = 16384; - - public const uint D3D12_REQ_GS_INVOCATION_32BIT_OUTPUT_COMPONENT_LIMIT = 1024; - - public const uint D3D12_REQ_IMMEDIATE_CONSTANT_BUFFER_ELEMENT_COUNT = 4096; - - public const uint D3D12_REQ_MAXANISOTROPY = 16; - - public const uint D3D12_REQ_MIP_LEVELS = 15; - - public const uint D3D12_REQ_MULTI_ELEMENT_STRUCTURE_SIZE_IN_BYTES = 2048; - - public const uint D3D12_REQ_RASTERIZER_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D12_REQ_RENDER_TO_BUFFER_WINDOW_WIDTH = 16384; - - public const uint D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_A_TERM = 128; - - public const float D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_B_TERM = 0.25f; - - public const uint D3D12_REQ_RESOURCE_SIZE_IN_MEGABYTES_EXPRESSION_C_TERM = 2048; - - public const uint D3D12_REQ_RESOURCE_VIEW_COUNT_PER_DEVICE_2_TO_EXP = 20; - - public const uint D3D12_REQ_SAMPLER_OBJECT_COUNT_PER_DEVICE = 4096; - - public const uint D3D12_REQ_SUBRESOURCES = 30720; - - public const uint D3D12_REQ_TEXTURE1D_ARRAY_AXIS_DIMENSION = 2048; - - public const uint D3D12_REQ_TEXTURE1D_U_DIMENSION = 16384; - - public const uint D3D12_REQ_TEXTURE2D_ARRAY_AXIS_DIMENSION = 2048; - - public const uint D3D12_REQ_TEXTURE2D_U_OR_V_DIMENSION = 16384; - - public const uint D3D12_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 2048; - - public const uint D3D12_REQ_TEXTURECUBE_DIMENSION = 16384; - - public const uint D3D12_RESINFO_INSTRUCTION_MISSING_COMPONENT_RETVAL = 0; - - public const uint D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES = 4294967295; - - public const uint D3D12_RS_SET_SHADING_RATE_COMBINER_COUNT = 2; - - public const uint D3D12_SDK_VERSION = 5; - - public const uint D3D12_SHADER_IDENTIFIER_SIZE_IN_BYTES = 32; - - public const uint D3D12_SHADER_MAJOR_VERSION = 5; - - public const uint D3D12_SHADER_MAX_INSTANCES = 65535; - - public const uint D3D12_SHADER_MAX_INTERFACES = 253; - - public const uint D3D12_SHADER_MAX_INTERFACE_CALL_SITES = 4096; - - public const uint D3D12_SHADER_MAX_TYPES = 65535; - - public const uint D3D12_SHADER_MINOR_VERSION = 1; - - public const uint D3D12_SHIFT_INSTRUCTION_PAD_VALUE = 0; - - public const uint D3D12_SHIFT_INSTRUCTION_SHIFT_VALUE_BIT_COUNT = 5; - - public const uint D3D12_SIMULTANEOUS_RENDER_TARGET_COUNT = 8; - - public const uint D3D12_SMALL_MSAA_RESOURCE_PLACEMENT_ALIGNMENT = 65536; - - public const uint D3D12_SMALL_RESOURCE_PLACEMENT_ALIGNMENT = 4096; - - public const uint D3D12_SO_BUFFER_MAX_STRIDE_IN_BYTES = 2048; - - public const uint D3D12_SO_BUFFER_MAX_WRITE_WINDOW_IN_BYTES = 512; - - public const uint D3D12_SO_BUFFER_SLOT_COUNT = 4; - - public const uint D3D12_SO_DDI_REGISTER_INDEX_DENOTING_GAP = 4294967295; - - public const uint D3D12_SO_NO_RASTERIZED_STREAM = 4294967295; - - public const uint D3D12_SO_OUTPUT_COMPONENT_COUNT = 128; - - public const uint D3D12_SO_STREAM_COUNT = 4; - - public const uint D3D12_SPEC_DATE_DAY = 14; - - public const uint D3D12_SPEC_DATE_MONTH = 11; - - public const uint D3D12_SPEC_DATE_YEAR = 2014; - - public const double D3D12_SPEC_VERSION = 1.16; - - public const float D3D12_SRGB_GAMMA = 2.2f; - - public const float D3D12_SRGB_TO_FLOAT_DENOMINATOR_1 = 12.92f; - - public const float D3D12_SRGB_TO_FLOAT_DENOMINATOR_2 = 1.055f; - - public const float D3D12_SRGB_TO_FLOAT_EXPONENT = 2.4f; - - public const float D3D12_SRGB_TO_FLOAT_OFFSET = 0.055f; - - public const float D3D12_SRGB_TO_FLOAT_THRESHOLD = 0.04045f; - - public const float D3D12_SRGB_TO_FLOAT_TOLERANCE_IN_ULP = 0.5f; - - public const uint D3D12_STANDARD_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_STANDARD_COMPONENT_BIT_COUNT_DOUBLED = 64; - - public const uint D3D12_STANDARD_MAXIMUM_ELEMENT_ALIGNMENT_BYTE_MULTIPLE = 4; - - public const uint D3D12_STANDARD_PIXEL_COMPONENT_COUNT = 128; - - public const uint D3D12_STANDARD_PIXEL_ELEMENT_COUNT = 32; - - public const uint D3D12_STANDARD_VECTOR_SIZE = 4; - - public const uint D3D12_STANDARD_VERTEX_ELEMENT_COUNT = 32; - - public const uint D3D12_STANDARD_VERTEX_TOTAL_COMPONENT_COUNT = 64; - - public const uint D3D12_SUBPIXEL_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D12_SUBTEXEL_FRACTIONAL_BIT_COUNT = 8; - - public const uint D3D12_SYSTEM_RESERVED_REGISTER_SPACE_VALUES_END = 4294967295; - - public const uint D3D12_SYSTEM_RESERVED_REGISTER_SPACE_VALUES_START = 4294967280; - - public const uint D3D12_TESSELLATOR_MAX_EVEN_TESSELLATION_FACTOR = 64; - - public const uint D3D12_TESSELLATOR_MAX_ISOLINE_DENSITY_TESSELLATION_FACTOR = 64; - - public const uint D3D12_TESSELLATOR_MAX_ODD_TESSELLATION_FACTOR = 63; - - public const uint D3D12_TESSELLATOR_MAX_TESSELLATION_FACTOR = 64; - - public const uint D3D12_TESSELLATOR_MIN_EVEN_TESSELLATION_FACTOR = 2; - - public const uint D3D12_TESSELLATOR_MIN_ISOLINE_DENSITY_TESSELLATION_FACTOR = 1; - - public const uint D3D12_TESSELLATOR_MIN_ODD_TESSELLATION_FACTOR = 1; - - public const uint D3D12_TEXEL_ADDRESS_RANGE_BIT_COUNT = 16; - - public const uint D3D12_TEXTURE_DATA_PITCH_ALIGNMENT = 256; - - public const uint D3D12_TEXTURE_DATA_PLACEMENT_ALIGNMENT = 512; - - public const uint D3D12_TILED_RESOURCE_TILE_SIZE_IN_BYTES = 65536; - - public const uint D3D12_TRACKED_WORKLOAD_MAX_INSTANCES = 32; - - public const uint D3D12_UAV_COUNTER_PLACEMENT_ALIGNMENT = 4096; - - public const uint D3D12_UAV_SLOT_COUNT = 64; - - public const uint D3D12_UNBOUND_MEMORY_ACCESS_RESULT = 0; - - public const uint D3D12_VIDEO_DECODE_MAX_ARGUMENTS = 10; - - public const uint D3D12_VIDEO_DECODE_MAX_HISTOGRAM_COMPONENTS = 4; - - public const uint D3D12_VIDEO_DECODE_MIN_BITSTREAM_OFFSET_ALIGNMENT = 256; - - public const uint D3D12_VIDEO_DECODE_MIN_HISTOGRAM_OFFSET_ALIGNMENT = 256; - - public const uint D3D12_VIDEO_DECODE_STATUS_MACROBLOCKS_AFFECTED_UNKNOWN = 4294967295; - - public const uint D3D12_VIDEO_PROCESS_MAX_FILTERS = 32; - - public const uint D3D12_VIDEO_PROCESS_STEREO_VIEWS = 2; - - public const uint D3D12_VIEWPORT_AND_SCISSORRECT_MAX_INDEX = 15; - - public const uint D3D12_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE = 16; - - public const uint D3D12_VIEWPORT_BOUNDS_MAX = 32767; - - public const int D3D12_VIEWPORT_BOUNDS_MIN = -32768; - - public const uint D3D12_VS_INPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_VS_INPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_VS_INPUT_REGISTER_COUNT = 32; - - public const uint D3D12_VS_INPUT_REGISTER_READS_PER_INST = 2; - - public const uint D3D12_VS_INPUT_REGISTER_READ_PORTS = 1; - - public const uint D3D12_VS_OUTPUT_REGISTER_COMPONENTS = 4; - - public const uint D3D12_VS_OUTPUT_REGISTER_COMPONENT_BIT_COUNT = 32; - - public const uint D3D12_VS_OUTPUT_REGISTER_COUNT = 32; - - public const uint D3D12_WHQL_CONTEXT_COUNT_FOR_RESOURCE_LIMIT = 10; - - public const uint D3D12_WHQL_DRAWINDEXED_INDEX_COUNT_2_TO_EXP = 25; - - public const uint D3D12_WHQL_DRAW_VERTEX_COUNT_2_TO_EXP = 25; - - public const uint D3D12_SHADER_COMPONENT_MAPPING_MASK = 7; - - public const uint D3D12_SHADER_COMPONENT_MAPPING_SHIFT = 3; - - public const uint D3D12_FILTER_REDUCTION_TYPE_MASK = 3; - - public const uint D3D12_FILTER_REDUCTION_TYPE_SHIFT = 7; - - public const uint D3D12_FILTER_TYPE_MASK = 3; - - public const uint D3D12_MIN_FILTER_SHIFT = 4; - - public const uint D3D12_MAG_FILTER_SHIFT = 2; - - public const uint D3D12_MIP_FILTER_SHIFT = 0; - - public const uint D3D12_ANISOTROPIC_FILTERING_BIT = 64; - - public const uint LUID_DEFINED = 1; - - public static ref readonly Guid D3D12_PROTECTED_RESOURCES_SESSION_HARDWARE_PROTECTED - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4E, 0x08, 0xB0, 0x62, - 0x0E, 0xC7, - 0xAA, 0x4D, - 0xA1, - 0x09, - 0x30, - 0xFF, - 0x8D, - 0x5A, - 0x04, - 0x82 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D3D12Debug - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEB, 0x2A, 0x35, 0xF2, - 0x84, 0xDD, - 0xFE, 0x49, - 0xB9, - 0x7B, - 0xA9, - 0xDC, - 0xFD, - 0xCC, - 0x1B, - 0x4F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D3D12Tools - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB1, 0x16, 0x82, 0xE3, - 0x8C, 0x3C, - 0x33, 0x48, - 0xAA, - 0x09, - 0x0A, - 0x06, - 0xB6, - 0x5D, - 0x96, - 0xC8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D3D12DeviceRemovedExtendedData - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC4, 0xBB, 0x75, 0x4A, - 0xF4, 0x9F, - 0xD8, 0x4A, - 0x9F, - 0x18, - 0xAB, - 0xAE, - 0x84, - 0xDC, - 0x5F, - 0xF2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D3D12SDKConfiguration - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCA, 0x6A, 0xDA, 0x7C, - 0x3E, 0xA0, - 0xC8, 0x49, - 0x94, - 0x58, - 0x03, - 0x34, - 0xD2, - 0x0E, - 0x07, - 0xCE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint D3D12_SHADING_RATE_X_AXIS_SHIFT = 2; - - public const uint D3D12_SHADING_RATE_VALID_MASK = 3; - - public static ref readonly Guid WKPDID_D3DAutoDebugObjectNameW - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x36, 0x2E, 0x90, 0xD4, - 0x7A, 0x75, - 0x42, 0x49, - 0x95, - 0x94, - 0xB6, - 0x76, - 0x9A, - 0xFA, - 0x43, - 0xCD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid DXGI_DEBUG_D3D12 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8C, 0xA9, 0x59, 0xCF, - 0x50, 0xA9, - 0x26, 0x43, - 0x91, - 0xEF, - 0x9B, - 0xBA, - 0xA1, - 0x7B, - 0xFD, - 0x95 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint D3D12_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; - - public const uint D3D_SHADER_REQUIRES_STENCIL_REF = 512; - - public const uint D3D_SHADER_REQUIRES_INNER_COVERAGE = 1024; - - public const uint D3D_SHADER_REQUIRES_TYPED_UAV_LOAD_ADDITIONAL_FORMATS = 2048; - - public const uint D3D_SHADER_REQUIRES_ROVS = 4096; - - public const uint D3D_SHADER_REQUIRES_VIEWPORT_AND_RT_ARRAY_INDEX_FROM_ANY_SHADER_FEEDING_RASTERIZER = 8192; - - public const uint D3D_SHADER_REQUIRES_WAVE_OPS = 16384; - - public const uint D3D_SHADER_REQUIRES_INT64_OPS = 32768; - - public const uint D3D_SHADER_REQUIRES_VIEW_ID = 65536; - - public const uint D3D_SHADER_REQUIRES_BARYCENTRICS = 131072; - - public const uint D3D_SHADER_REQUIRES_NATIVE_16BIT_OPS = 262144; - - public const uint D3D_SHADER_REQUIRES_SHADING_RATE = 524288; - - public const uint D3D_SHADER_REQUIRES_RAYTRACING_TIER_1_1 = 1048576; - - public const uint D3D_SHADER_REQUIRES_SAMPLER_FEEDBACK = 2097152; - - public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_TYPED_RESOURCE = 4194304; - - public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_GROUP_SHARED = 8388608; - - public const uint D3D_SHADER_REQUIRES_DERIVATIVES_IN_MESH_AND_AMPLIFICATION_SHADERS = 16777216; - - public const uint D3D_SHADER_REQUIRES_RESOURCE_DESCRIPTOR_HEAP_INDEXING = 33554432; - - public const uint D3D_SHADER_REQUIRES_SAMPLER_DESCRIPTOR_HEAP_INDEXING = 67108864; - - public const uint D3D_SHADER_REQUIRES_WAVE_MMA = 134217728; - - public const uint D3D_SHADER_REQUIRES_ATOMIC_INT64_ON_DESCRIPTOR_HEAP_RESOURCE = 268435456; - - public static ref readonly Guid D3D12ExperimentalShaderModels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3E, 0x57, 0xF5, 0x76, - 0x3A, 0xF1, - 0xF5, 0x40, - 0xB2, - 0x97, - 0x81, - 0xCE, - 0x9E, - 0x18, - 0x93, - 0x3F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D12TiledResourceTier4 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5F, 0x72, 0xC4, 0xC9, - 0x1A, 0xA8, - 0x56, 0x4F, - 0x8C, - 0x5B, - 0xC5, - 0x10, - 0x39, - 0xD6, - 0x94, - 0xFB - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D12MetaCommand - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7E, 0xC9, 0x34, 0xC7, - 0x77, 0x80, - 0xC8, 0x48, - 0x9F, - 0xDC, - 0xD9, - 0xD1, - 0xDD, - 0x31, - 0xDD, - 0x77 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - -} - -#region Enums -/// -/// D3D12_COMMAND_LIST_TYPE -public enum CommandListType : int -{ - /// - /// D3D12_COMMAND_LIST_TYPE_DIRECT - Direct = 0, - /// - /// D3D12_COMMAND_LIST_TYPE_BUNDLE - Bundle = 1, - /// - /// D3D12_COMMAND_LIST_TYPE_COMPUTE - Compute = 2, - /// - /// D3D12_COMMAND_LIST_TYPE_COPY - Copy = 3, - /// - /// D3D12_COMMAND_LIST_TYPE_VIDEO_DECODE - VideoDecode = 4, - /// - /// D3D12_COMMAND_LIST_TYPE_VIDEO_PROCESS - VideoProcess = 5, - /// - /// D3D12_COMMAND_LIST_TYPE_VIDEO_ENCODE - VideoEncode = 6, -} - -/// -/// D3D12_COMMAND_QUEUE_FLAGS -[Flags] -public enum CommandQueueFlags : uint -{ - /// - /// D3D12_COMMAND_QUEUE_FLAG_NONE - None = 0, - /// - /// D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT - DisableGpuTimeout = 1, -} - -/// -/// D3D12_COMMAND_QUEUE_PRIORITY -public enum CommandQueuePriority : int -{ - /// - /// D3D12_COMMAND_QUEUE_PRIORITY_NORMAL - Normal = 0, - /// - /// D3D12_COMMAND_QUEUE_PRIORITY_HIGH - High = 100, - /// - /// D3D12_COMMAND_QUEUE_PRIORITY_GLOBAL_REALTIME - GlobalRealtime = 10000, -} - -/// -/// D3D12_PRIMITIVE_TOPOLOGY_TYPE -public enum PrimitiveTopologyType : int -{ - /// - /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINED - Undefined = 0, - /// - /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT - Point = 1, - /// - /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE - Line = 2, - /// - /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE - Triangle = 3, - /// - /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH - Patch = 4, -} - -/// -/// D3D12_INPUT_CLASSIFICATION -public enum InputClassification : int -{ - /// - /// D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA - PerVertexData = 0, - /// - /// D3D12_INPUT_CLASSIFICATION_PER_INSTANCE_DATA - PerInstanceData = 1, -} - -/// -/// D3D12_FILL_MODE -public enum FillMode : int -{ - /// - /// D3D12_FILL_MODE_WIREFRAME - Wireframe = 2, - /// - /// D3D12_FILL_MODE_SOLID - Solid = 3, -} - -/// -/// D3D12_CULL_MODE -public enum CullMode : int -{ - /// - /// D3D12_CULL_MODE_NONE - None = 1, - /// - /// D3D12_CULL_MODE_FRONT - Front = 2, - /// - /// D3D12_CULL_MODE_BACK - Back = 3, -} - -/// -/// D3D12_COMPARISON_FUNC -public enum ComparisonFunction : int -{ - /// - /// D3D12_COMPARISON_FUNC_NEVER - Never = 1, - /// - /// D3D12_COMPARISON_FUNC_LESS - Less = 2, - /// - /// D3D12_COMPARISON_FUNC_EQUAL - Equal = 3, - /// - /// D3D12_COMPARISON_FUNC_LESS_EQUAL - LessEqual = 4, - /// - /// D3D12_COMPARISON_FUNC_GREATER - Greater = 5, - /// - /// D3D12_COMPARISON_FUNC_NOT_EQUAL - NotEqual = 6, - /// - /// D3D12_COMPARISON_FUNC_GREATER_EQUAL - GreaterEqual = 7, - /// - /// D3D12_COMPARISON_FUNC_ALWAYS - Always = 8, -} - -/// -/// D3D12_DEPTH_WRITE_MASK -public enum DepthWriteMask : int -{ - /// - /// D3D12_DEPTH_WRITE_MASK_ZERO - Zero = 0, - /// - /// D3D12_DEPTH_WRITE_MASK_ALL - All = 1, -} - -/// -/// D3D12_STENCIL_OP -public enum StencilOperation : int -{ - /// - /// D3D12_STENCIL_OP_KEEP - Keep = 1, - /// - /// D3D12_STENCIL_OP_ZERO - Zero = 2, - /// - /// D3D12_STENCIL_OP_REPLACE - Replace = 3, - /// - /// D3D12_STENCIL_OP_INCR_SAT - IncrSat = 4, - /// - /// D3D12_STENCIL_OP_DECR_SAT - DecrSat = 5, - /// - /// D3D12_STENCIL_OP_INVERT - Invert = 6, - /// - /// D3D12_STENCIL_OP_INCR - Incr = 7, - /// - /// D3D12_STENCIL_OP_DECR - Decr = 8, -} - -/// -/// D3D12_BLEND -public enum Blend : int -{ - /// - /// D3D12_BLEND_ZERO - Zero = 1, - /// - /// D3D12_BLEND_ONE - One = 2, - /// - /// D3D12_BLEND_SRC_COLOR - SrcColor = 3, - /// - /// D3D12_BLEND_INV_SRC_COLOR - InvSrcColor = 4, - /// - /// D3D12_BLEND_SRC_ALPHA - SrcAlpha = 5, - /// - /// D3D12_BLEND_INV_SRC_ALPHA - InvSrcAlpha = 6, - /// - /// D3D12_BLEND_DEST_ALPHA - DestAlpha = 7, - /// - /// D3D12_BLEND_INV_DEST_ALPHA - InvDestAlpha = 8, - /// - /// D3D12_BLEND_DEST_COLOR - DestColor = 9, - /// - /// D3D12_BLEND_INV_DEST_COLOR - InvDestColor = 10, - /// - /// D3D12_BLEND_SRC_ALPHA_SAT - SrcAlphaSat = 11, - /// - /// D3D12_BLEND_BLEND_FACTOR - BlendFactor = 14, - /// - /// D3D12_BLEND_INV_BLEND_FACTOR - InvBlendFactor = 15, - /// - /// D3D12_BLEND_SRC1_COLOR - Src1Color = 16, - /// - /// D3D12_BLEND_INV_SRC1_COLOR - InvSrc1Color = 17, - /// - /// D3D12_BLEND_SRC1_ALPHA - Src1Alpha = 18, - /// - /// D3D12_BLEND_INV_SRC1_ALPHA - InvSrc1Alpha = 19, -} - -/// -/// D3D12_BLEND_OP -public enum BlendOperation : int -{ - /// - /// D3D12_BLEND_OP_ADD - Add = 1, - /// - /// D3D12_BLEND_OP_SUBTRACT - Subtract = 2, - /// - /// D3D12_BLEND_OP_REV_SUBTRACT - RevSubtract = 3, - /// - /// D3D12_BLEND_OP_MIN - Min = 4, - /// - /// D3D12_BLEND_OP_MAX - Max = 5, -} - -/// -/// D3D12_COLOR_WRITE_ENABLE -[Flags] -public enum ColorWriteEnable : byte -{ - None = 0, - /// - /// D3D12_COLOR_WRITE_ENABLE_RED - Red = 1, - /// - /// D3D12_COLOR_WRITE_ENABLE_GREEN - Green = 2, - /// - /// D3D12_COLOR_WRITE_ENABLE_BLUE - Blue = 4, - /// - /// D3D12_COLOR_WRITE_ENABLE_ALPHA - Alpha = 8, - /// - /// D3D12_COLOR_WRITE_ENABLE_ALL - All = 15, -} - -/// -/// D3D12_LOGIC_OP -public enum LogicOperation : int -{ - /// - /// D3D12_LOGIC_OP_CLEAR - Clear = 0, - /// - /// D3D12_LOGIC_OP_SET - Set = 1, - /// - /// D3D12_LOGIC_OP_COPY - Copy = 2, - /// - /// D3D12_LOGIC_OP_COPY_INVERTED - CopyInverted = 3, - /// - /// D3D12_LOGIC_OP_NOOP - Noop = 4, - /// - /// D3D12_LOGIC_OP_INVERT - Invert = 5, - /// - /// D3D12_LOGIC_OP_AND - And = 6, - /// - /// D3D12_LOGIC_OP_NAND - Nand = 7, - /// - /// D3D12_LOGIC_OP_OR - Or = 8, - /// - /// D3D12_LOGIC_OP_NOR - Nor = 9, - /// - /// D3D12_LOGIC_OP_XOR - Xor = 10, - /// - /// D3D12_LOGIC_OP_EQUIV - Equiv = 11, - /// - /// D3D12_LOGIC_OP_AND_REVERSE - AndReverse = 12, - /// - /// D3D12_LOGIC_OP_AND_INVERTED - AndInverted = 13, - /// - /// D3D12_LOGIC_OP_OR_REVERSE - OrReverse = 14, - /// - /// D3D12_LOGIC_OP_OR_INVERTED - OrInverted = 15, -} - -/// -/// D3D12_CONSERVATIVE_RASTERIZATION_MODE -public enum ConservativeRasterizationMode : int -{ - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_MODE_OFF - Off = 0, - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_MODE_ON - On = 1, -} - -/// -/// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE -public enum IndexBufferStripCutValue : int -{ - /// - /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED - Disabled = 0, - /// - /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFF - I16Bits = 1, - /// - /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF - I32Bits = 2, -} - -/// -/// D3D12_PIPELINE_STATE_FLAGS -[Flags] -public enum PipelineStateFlags : uint -{ - /// - /// D3D12_PIPELINE_STATE_FLAG_NONE - None = 0, - /// - /// D3D12_PIPELINE_STATE_FLAG_TOOL_DEBUG - ToolDebug = 1, -} - -/// -/// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE -public enum PipelineStateSubObjectType : int -{ - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE - RootSignature = 0, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VS - VS = 1, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PS - PS = 2, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DS - DS = 3, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_HS - HS = 4, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_GS - GS = 5, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS - CS = 6, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_STREAM_OUTPUT - StreamOutput = 7, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND - Blend = 8, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK - SampleMask = 9, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER - Rasterizer = 10, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL - DepthStencil = 11, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT - InputLayout = 12, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE - IBStripCutValue = 13, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY - PrimitiveTopology = 14, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS - RenderTargetFormats = 15, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT - DepthStencilFormat = 16, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC - SampleDesc = 17, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_NODE_MASK - NodeMask = 18, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO - CachedPso = 19, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS - Flags = 20, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1 - DepthStencil1 = 21, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VIEW_INSTANCING - ViewInstancing = 22, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_AS - AS = 24, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MS - MS = 25, - /// - /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MAX_VALID - MaxValid = 26, -} - -/// -/// D3D12_FEATURE -public enum Feature : int -{ - /// - /// D3D12_FEATURE_D3D12_OPTIONS - Options = 0, - /// - /// D3D12_FEATURE_ARCHITECTURE - Architecture = 1, - /// - /// D3D12_FEATURE_FEATURE_LEVELS - FeatureLevels = 2, - /// - /// D3D12_FEATURE_FORMAT_SUPPORT - FormatSupport = 3, - /// - /// D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS - MultisampleQualityLevels = 4, - /// - /// D3D12_FEATURE_FORMAT_INFO - FormatInfo = 5, - /// - /// D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT - GpuVirtualAddressSupport = 6, - /// - /// D3D12_FEATURE_SHADER_MODEL - ShaderModel = 7, - /// - /// D3D12_FEATURE_D3D12_OPTIONS1 - Options1 = 8, - /// - /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_SUPPORT - ProtectedResourceSessionSupport = 10, - /// - /// D3D12_FEATURE_ROOT_SIGNATURE - RootSignature = 12, - /// - /// D3D12_FEATURE_ARCHITECTURE1 - Architecture1 = 16, - /// - /// D3D12_FEATURE_D3D12_OPTIONS2 - Options2 = 18, - /// - /// D3D12_FEATURE_SHADER_CACHE - ShaderCache = 19, - /// - /// D3D12_FEATURE_COMMAND_QUEUE_PRIORITY - CommandQueuePriority = 20, - /// - /// D3D12_FEATURE_D3D12_OPTIONS3 - Options3 = 21, - /// - /// D3D12_FEATURE_EXISTING_HEAPS - ExistingHeaps = 22, - /// - /// D3D12_FEATURE_D3D12_OPTIONS4 - Options4 = 23, - /// - /// D3D12_FEATURE_SERIALIZATION - Serialization = 24, - /// - /// D3D12_FEATURE_CROSS_NODE - CrossNode = 25, - /// - /// D3D12_FEATURE_D3D12_OPTIONS5 - Options5 = 27, - /// - /// D3D12_FEATURE_DISPLAYABLE - Displayable = 28, - /// - /// D3D12_FEATURE_D3D12_OPTIONS6 - Options6 = 30, - /// - /// D3D12_FEATURE_QUERY_META_COMMAND - QueryMetaCommand = 31, - /// - /// D3D12_FEATURE_D3D12_OPTIONS7 - Options7 = 32, - /// - /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPE_COUNT - ProtectedResourceSessionTypeCount = 33, - /// - /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPES - ProtectedResourceSessionTypes = 34, - /// - /// D3D12_FEATURE_D3D12_OPTIONS8 - Options8 = 36, - /// - /// D3D12_FEATURE_D3D12_OPTIONS9 - Options9 = 37, - /// - /// D3D12_FEATURE_D3D12_OPTIONS10 - Options10 = 39, - /// - /// D3D12_FEATURE_D3D12_OPTIONS11 - Options11 = 40, -} - -/// -/// D3D12_SHADER_MIN_PRECISION_SUPPORT -[Flags] -public enum ShaderMinPrecisionSupport : uint -{ - /// - /// D3D12_SHADER_MIN_PRECISION_SUPPORT_NONE - None = 0, - /// - /// D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT - P10Bit = 1, - /// - /// D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT - P16Bit = 2, -} - -/// -/// D3D12_TILED_RESOURCES_TIER -public enum TiledResourcesTier : int -{ - /// - /// D3D12_TILED_RESOURCES_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_TILED_RESOURCES_TIER_1 - Tier1 = 1, - /// - /// D3D12_TILED_RESOURCES_TIER_2 - Tier2 = 2, - /// - /// D3D12_TILED_RESOURCES_TIER_3 - Tier3 = 3, - /// - /// D3D12_TILED_RESOURCES_TIER_4 - Tier4 = 4, -} - -/// -/// D3D12_RESOURCE_BINDING_TIER -public enum ResourceBindingTier : int -{ - /// - /// D3D12_RESOURCE_BINDING_TIER_1 - Tier1 = 1, - /// - /// D3D12_RESOURCE_BINDING_TIER_2 - Tier2 = 2, - /// - /// D3D12_RESOURCE_BINDING_TIER_3 - Tier3 = 3, -} - -/// -/// D3D12_CONSERVATIVE_RASTERIZATION_TIER -public enum ConservativeRasterizationTier : int -{ - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_1 - Tier1 = 1, - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_2 - Tier2 = 2, - /// - /// D3D12_CONSERVATIVE_RASTERIZATION_TIER_3 - Tier3 = 3, -} - -/// -/// D3D12_FORMAT_SUPPORT1 -[Flags] -public enum FormatSupport1 : uint -{ - /// - /// D3D12_FORMAT_SUPPORT1_NONE - None = 0, - /// - /// D3D12_FORMAT_SUPPORT1_BUFFER - Buffer = 1, - /// - /// D3D12_FORMAT_SUPPORT1_IA_VERTEX_BUFFER - IAVertexBuffer = 2, - /// - /// D3D12_FORMAT_SUPPORT1_IA_INDEX_BUFFER - IAIndexBuffer = 4, - /// - /// D3D12_FORMAT_SUPPORT1_SO_BUFFER - SOBuffer = 8, - /// - /// D3D12_FORMAT_SUPPORT1_TEXTURE1D - Texture1D = 16, - /// - /// D3D12_FORMAT_SUPPORT1_TEXTURE2D - Texture2D = 32, - /// - /// D3D12_FORMAT_SUPPORT1_TEXTURE3D - Texture3D = 64, - /// - /// D3D12_FORMAT_SUPPORT1_TEXTURECUBE - TextureCube = 128, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_LOAD - ShaderLoad = 256, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE - ShaderSample = 512, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_COMPARISON - ShaderSampleComparison = 1024, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_MONO_TEXT - ShaderSampleMonoText = 2048, - /// - /// D3D12_FORMAT_SUPPORT1_MIP - Mip = 4096, - /// - /// D3D12_FORMAT_SUPPORT1_RENDER_TARGET - RenderTarget = 16384, - /// - /// D3D12_FORMAT_SUPPORT1_BLENDABLE - Blendable = 32768, - /// - /// D3D12_FORMAT_SUPPORT1_DEPTH_STENCIL - DepthStencil = 65536, - /// - /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RESOLVE - MultisampleResolve = 262144, - /// - /// D3D12_FORMAT_SUPPORT1_DISPLAY - Display = 524288, - /// - /// D3D12_FORMAT_SUPPORT1_CAST_WITHIN_BIT_LAYOUT - CastWithinBitLayout = 1048576, - /// - /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RENDERTARGET - MultisampleRendertarget = 2097152, - /// - /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_LOAD - MultisampleLoad = 4194304, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_GATHER - ShaderGather = 8388608, - /// - /// D3D12_FORMAT_SUPPORT1_BACK_BUFFER_CAST - BackBufferCast = 16777216, - /// - /// D3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW - TypedUnorderedAccessView = 33554432, - /// - /// D3D12_FORMAT_SUPPORT1_SHADER_GATHER_COMPARISON - ShaderGatherComparison = 67108864, - /// - /// D3D12_FORMAT_SUPPORT1_DECODER_OUTPUT - DecoderOutput = 134217728, - /// - /// D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_OUTPUT - VideoProcessorOutput = 268435456, - /// - /// D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT - VideoProcessorInput = 536870912, - /// - /// D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER - VideoEncoder = 1073741824, -} - -/// -/// D3D12_FORMAT_SUPPORT2 -[Flags] -public enum FormatSupport2 : uint -{ - /// - /// D3D12_FORMAT_SUPPORT2_NONE - None = 0, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD - UavAtomicAdd = 1, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS - UavAtomicBitwiseOps = 2, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE - UavAtomicCompareStoreOrCompareExchange = 4, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE - UavAtomicExchange = 8, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX - UavAtomicSignedMinOrMax = 16, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX - UavAtomicUnsignedMinOrMax = 32, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD - UavTypedLoad = 64, - /// - /// D3D12_FORMAT_SUPPORT2_UAV_TYPED_STORE - UavTypedStore = 128, - /// - /// D3D12_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP - OutputMergerLogicOp = 256, - /// - /// D3D12_FORMAT_SUPPORT2_TILED - Tiled = 512, - /// - /// D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY - MultiplaneOverlay = 16384, - /// - /// D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK - SamplerFeedback = 32768, -} - -/// -/// D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS -[Flags] -public enum MultisampleQualityLevelFlags : uint -{ - /// - /// D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE - None = 0, - /// - /// D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE - TiledResource = 1, -} - -/// -/// D3D12_CROSS_NODE_SHARING_TIER -public enum CrossNodeSharingTier : int -{ - /// - /// D3D12_CROSS_NODE_SHARING_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_CROSS_NODE_SHARING_TIER_1_EMULATED - Tier1Emulated = 1, - /// - /// D3D12_CROSS_NODE_SHARING_TIER_1 - Tier1 = 2, - /// - /// D3D12_CROSS_NODE_SHARING_TIER_2 - Tier2 = 3, - /// - /// D3D12_CROSS_NODE_SHARING_TIER_3 - Tier3 = 4, -} - -/// -/// D3D12_RESOURCE_HEAP_TIER -public enum ResourceHeapTier : int -{ - /// - /// D3D12_RESOURCE_HEAP_TIER_1 - Tier1 = 1, - /// - /// D3D12_RESOURCE_HEAP_TIER_2 - Tier2 = 2, -} - -/// -/// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER -public enum ProgrammableSamplePositionsTier : int -{ - /// - /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_1 - Tier1 = 1, - /// - /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_2 - Tier2 = 2, -} - -/// -/// D3D12_VIEW_INSTANCING_TIER -public enum ViewInstancingTier : int -{ - /// - /// D3D12_VIEW_INSTANCING_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_VIEW_INSTANCING_TIER_1 - Tier1 = 1, - /// - /// D3D12_VIEW_INSTANCING_TIER_2 - Tier2 = 2, - /// - /// D3D12_VIEW_INSTANCING_TIER_3 - Tier3 = 3, -} - -/// -/// D3D_ROOT_SIGNATURE_VERSION -public enum RootSignatureVersion : int -{ - /// - /// D3D_ROOT_SIGNATURE_VERSION_1_0 - V1_0 = 1, - /// - /// D3D_ROOT_SIGNATURE_VERSION_1_1 - V1_1 = 2, -} - -/// -/// D3D_SHADER_MODEL -public enum ShaderModel : int -{ - /// - /// D3D_SHADER_MODEL_5_1 - SM_5_1 = 81, - /// - /// D3D_SHADER_MODEL_6_0 - SM_6_0 = 96, - /// - /// D3D_SHADER_MODEL_6_1 - SM_6_1 = 97, - /// - /// D3D_SHADER_MODEL_6_2 - SM_6_2 = 98, - /// - /// D3D_SHADER_MODEL_6_3 - SM_6_3 = 99, - /// - /// D3D_SHADER_MODEL_6_4 - SM_6_4 = 100, - /// - /// D3D_SHADER_MODEL_6_5 - SM_6_5 = 101, - /// - /// D3D_SHADER_MODEL_6_6 - SM_6_6 = 102, - /// - /// D3D_SHADER_MODEL_6_7 - SM_6_7 = 103, -} - -/// -/// D3D12_SHADER_CACHE_SUPPORT_FLAGS -[Flags] -public enum ShaderCacheSupportFlags : uint -{ - /// - /// D3D12_SHADER_CACHE_SUPPORT_NONE - None = 0, - /// - /// D3D12_SHADER_CACHE_SUPPORT_SINGLE_PSO - SinglePso = 1, - /// - /// D3D12_SHADER_CACHE_SUPPORT_LIBRARY - Library = 2, - /// - /// D3D12_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE - AutomaticInprocCache = 4, - /// - /// D3D12_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE - AutomaticDiskCache = 8, - /// - /// D3D12_SHADER_CACHE_SUPPORT_DRIVER_MANAGED_CACHE - DriverManagedCache = 16, - /// - /// D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR - ShaderControlClear = 32, - /// - /// D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE - ShaderSessionDelete = 64, -} - -/// -/// D3D12_COMMAND_LIST_SUPPORT_FLAGS -[Flags] -public enum CommandListSupportFlags : uint -{ - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_NONE - None = 0, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_DIRECT - Direct = 1, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_BUNDLE - Bundle = 2, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_COMPUTE - Compute = 4, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_COPY - Copy = 8, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_DECODE - VideoDecode = 16, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS - VideoProcess = 32, - /// - /// D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE - VideoEncode = 64, -} - -/// -/// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER -public enum SharedResourceCompatibilityTier : int -{ - /// - /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_0 - Tier0 = 0, - /// - /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_1 - Tier1 = 1, - /// - /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_2 - Tier2 = 2, -} - -/// -/// D3D12_HEAP_SERIALIZATION_TIER -public enum HeapSerializationTier : int -{ - /// - /// D3D12_HEAP_SERIALIZATION_TIER_0 - Tier0 = 0, - /// - /// D3D12_HEAP_SERIALIZATION_TIER_10 - Tier1_0 = 10, -} - -/// -/// D3D12_RENDER_PASS_TIER -public enum RenderPassTier : int -{ - /// - /// D3D12_RENDER_PASS_TIER_0 - Tier0 = 0, - /// - /// D3D12_RENDER_PASS_TIER_1 - Tier1 = 1, - /// - /// D3D12_RENDER_PASS_TIER_2 - Tier2 = 2, -} - -/// -/// D3D12_RAYTRACING_TIER -public enum RaytracingTier : int -{ - /// - /// D3D12_RAYTRACING_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_RAYTRACING_TIER_1_0 - Tier1_0 = 10, - /// - /// D3D12_RAYTRACING_TIER_1_1 - Tier1_1 = 11, -} - -/// -/// D3D12_VARIABLE_SHADING_RATE_TIER -public enum VariableShadingRateTier : int -{ - /// - /// D3D12_VARIABLE_SHADING_RATE_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_VARIABLE_SHADING_RATE_TIER_1 - Tier1 = 1, - /// - /// D3D12_VARIABLE_SHADING_RATE_TIER_2 - Tier2 = 2, -} - -/// -/// D3D12_MESH_SHADER_TIER -public enum MeshShaderTier : int -{ - /// - /// D3D12_MESH_SHADER_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_MESH_SHADER_TIER_1 - Tier1 = 10, -} - -/// -/// D3D12_SAMPLER_FEEDBACK_TIER -public enum SamplerFeedbackTier : int -{ - /// - /// D3D12_SAMPLER_FEEDBACK_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_SAMPLER_FEEDBACK_TIER_0_9 - Tier0_9 = 90, - /// - /// D3D12_SAMPLER_FEEDBACK_TIER_1_0 - Tier1_0 = 100, -} - -/// -/// D3D12_WAVE_MMA_TIER -public enum WaveMmaTier : int -{ - /// - /// D3D12_WAVE_MMA_TIER_NOT_SUPPORTED - NotSupported = 0, - /// - /// D3D12_WAVE_MMA_TIER_1_0 - Tier1_0 = 10, -} - -/// -/// D3D12_HEAP_TYPE -public enum HeapType : int -{ - /// - /// D3D12_HEAP_TYPE_DEFAULT - Default = 1, - /// - /// D3D12_HEAP_TYPE_UPLOAD - Upload = 2, - /// - /// D3D12_HEAP_TYPE_READBACK - Readback = 3, - /// - /// D3D12_HEAP_TYPE_CUSTOM - Custom = 4, -} - -/// -/// D3D12_CPU_PAGE_PROPERTY -public enum CpuPageProperty : int -{ - /// - /// D3D12_CPU_PAGE_PROPERTY_UNKNOWN - Unknown = 0, - /// - /// D3D12_CPU_PAGE_PROPERTY_NOT_AVAILABLE - NotAvailable = 1, - /// - /// D3D12_CPU_PAGE_PROPERTY_WRITE_COMBINE - WriteCombine = 2, - /// - /// D3D12_CPU_PAGE_PROPERTY_WRITE_BACK - WriteBack = 3, -} - -/// -/// D3D12_MEMORY_POOL -public enum MemoryPool : int -{ - /// - /// D3D12_MEMORY_POOL_UNKNOWN - Unknown = 0, - /// - /// D3D12_MEMORY_POOL_L0 - L0 = 1, - /// - /// D3D12_MEMORY_POOL_L1 - L1 = 2, -} - -/// -/// D3D12_HEAP_FLAGS -[Flags] -public enum HeapFlags : uint -{ - /// - /// D3D12_HEAP_FLAG_NONE - None = 0, - /// - /// D3D12_HEAP_FLAG_SHARED - Shared = 1, - /// - /// D3D12_HEAP_FLAG_DENY_BUFFERS - DenyBuffers = 4, - /// - /// D3D12_HEAP_FLAG_ALLOW_DISPLAY - AllowDisplay = 8, - /// - /// D3D12_HEAP_FLAG_SHARED_CROSS_ADAPTER - SharedCrossAdapter = 32, - /// - /// D3D12_HEAP_FLAG_DENY_RT_DS_TEXTURES - DenyRtDSTextures = 64, - /// - /// D3D12_HEAP_FLAG_DENY_NON_RT_DS_TEXTURES - DenyNonRtDSTextures = 128, - /// - /// D3D12_HEAP_FLAG_HARDWARE_PROTECTED - HardwareProtected = 256, - /// - /// D3D12_HEAP_FLAG_ALLOW_WRITE_WATCH - AllowWriteWatch = 512, - /// - /// D3D12_HEAP_FLAG_ALLOW_SHADER_ATOMICS - AllowShaderAtomics = 1024, - /// - /// D3D12_HEAP_FLAG_CREATE_NOT_RESIDENT - CreateNotResident = 2048, - /// - /// D3D12_HEAP_FLAG_CREATE_NOT_ZEROED - CreateNotZeroed = 4096, - /// - /// D3D12_HEAP_FLAG_ALLOW_ALL_BUFFERS_AND_TEXTURES - AllowAllBuffersAndTextures = 0, - /// - /// D3D12_HEAP_FLAG_ALLOW_ONLY_BUFFERS - AllowOnlyBuffers = 192, - /// - /// D3D12_HEAP_FLAG_ALLOW_ONLY_NON_RT_DS_TEXTURES - AllowOnlyNonRtDSTextures = 68, - /// - /// D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES - AllowOnlyRtDSTextures = 132, -} - -/// -/// D3D12_RESOURCE_DIMENSION -public enum ResourceDimension : int -{ - /// - /// D3D12_RESOURCE_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D12_RESOURCE_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D12_RESOURCE_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D12_RESOURCE_DIMENSION_TEXTURE2D - Texture2D = 3, - /// - /// D3D12_RESOURCE_DIMENSION_TEXTURE3D - Texture3D = 4, -} - -/// -/// D3D12_TEXTURE_LAYOUT -public enum TextureLayout : int -{ - /// - /// D3D12_TEXTURE_LAYOUT_UNKNOWN - Unknown = 0, - /// - /// D3D12_TEXTURE_LAYOUT_ROW_MAJOR - RowMajor = 1, - /// - /// D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE - L64KbUndefinedSwizzle = 2, - /// - /// D3D12_TEXTURE_LAYOUT_64KB_STANDARD_SWIZZLE - L64KbStandardSwizzle = 3, -} - -/// -/// D3D12_RESOURCE_FLAGS -[Flags] -public enum ResourceFlags : uint -{ - /// - /// D3D12_RESOURCE_FLAG_NONE - None = 0, - /// - /// D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET - AllowRenderTarget = 1, - /// - /// D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL - AllowDepthStencil = 2, - /// - /// D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS - AllowUnorderedAccess = 4, - /// - /// D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE - DenyShaderResource = 8, - /// - /// D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER - AllowCrossAdapter = 16, - /// - /// D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS - AllowSimultaneousAccess = 32, - /// - /// D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY - VideoDecodeReferenceOnly = 64, - /// - /// D3D12_RESOURCE_FLAG_VIDEO_ENCODE_REFERENCE_ONLY - VideoEncodeReferenceOnly = 128, -} - -/// -/// D3D12_TILE_RANGE_FLAGS -[Flags] -public enum TileRangeFlags : int -{ - /// - /// D3D12_TILE_RANGE_FLAG_NONE - None = 0, - /// - /// D3D12_TILE_RANGE_FLAG_NULL - Null = 1, - /// - /// D3D12_TILE_RANGE_FLAG_SKIP - Skip = 2, - /// - /// D3D12_TILE_RANGE_FLAG_REUSE_SINGLE_TILE - ReuseSingleTile = 4, -} - -/// -/// D3D12_TILE_MAPPING_FLAGS -[Flags] -public enum TileMappingFlags : uint -{ - /// - /// D3D12_TILE_MAPPING_FLAG_NONE - None = 0, - /// - /// D3D12_TILE_MAPPING_FLAG_NO_HAZARD - NoHazard = 1, -} - -/// -/// D3D12_TILE_COPY_FLAGS -[Flags] -public enum TileCopyFlags : uint -{ - /// - /// D3D12_TILE_COPY_FLAG_NONE - None = 0, - /// - /// D3D12_TILE_COPY_FLAG_NO_HAZARD - NoHazard = 1, - /// - /// D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE - LinearBufferToSwizzledTiledResource = 2, - /// - /// D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER - SwizzledTiledResourceToLinearBuffer = 4, -} - -/// -/// D3D12_RESOURCE_STATES -[Flags] -public enum ResourceStates : uint -{ - None = 0, - /// - /// D3D12_RESOURCE_STATE_COMMON - Common = 0, - /// - /// D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER - VertexAndConstantBuffer = 1, - /// - /// D3D12_RESOURCE_STATE_INDEX_BUFFER - IndexBuffer = 2, - /// - /// D3D12_RESOURCE_STATE_RENDER_TARGET - RenderTarget = 4, - /// - /// D3D12_RESOURCE_STATE_UNORDERED_ACCESS - UnorderedAccess = 8, - /// - /// D3D12_RESOURCE_STATE_DEPTH_WRITE - DepthWrite = 16, - /// - /// D3D12_RESOURCE_STATE_DEPTH_READ - DepthRead = 32, - /// - /// D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE - NonPixelShaderResource = 64, - /// - /// D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE - PixelShaderResource = 128, - /// - /// D3D12_RESOURCE_STATE_STREAM_OUT - StreamOut = 256, - /// - /// D3D12_RESOURCE_STATE_INDIRECT_ARGUMENT - IndirectArgument = 512, - /// - /// D3D12_RESOURCE_STATE_COPY_DEST - CopyDest = 1024, - /// - /// D3D12_RESOURCE_STATE_COPY_SOURCE - CopySource = 2048, - /// - /// D3D12_RESOURCE_STATE_RESOLVE_DEST - ResolveDest = 4096, - /// - /// D3D12_RESOURCE_STATE_RESOLVE_SOURCE - ResolveSource = 8192, - /// - /// D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE - RaytracingAccelerationStructure = 4194304, - /// - /// D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE - ShadingRateSource = 16777216, - /// - /// D3D12_RESOURCE_STATE_GENERIC_READ - GenericRead = 2755, - /// - /// D3D12_RESOURCE_STATE_ALL_SHADER_RESOURCE - AllShaderResource = 192, - /// - /// D3D12_RESOURCE_STATE_PRESENT - Present = 0, - /// - /// D3D12_RESOURCE_STATE_PREDICATION - Predication = 512, - /// - /// D3D12_RESOURCE_STATE_VIDEO_DECODE_READ - VideoDecodeRead = 65536, - /// - /// D3D12_RESOURCE_STATE_VIDEO_DECODE_WRITE - VideoDecodeWrite = 131072, - /// - /// D3D12_RESOURCE_STATE_VIDEO_PROCESS_READ - VideoProcessRead = 262144, - /// - /// D3D12_RESOURCE_STATE_VIDEO_PROCESS_WRITE - VideoProcessWrite = 524288, - /// - /// D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ - VideoEncodeRead = 2097152, - /// - /// D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE - VideoEncodeWrite = 8388608, -} - -/// -/// D3D12_RESOURCE_BARRIER_TYPE -public enum ResourceBarrierType : int -{ - /// - /// D3D12_RESOURCE_BARRIER_TYPE_TRANSITION - Transition = 0, - /// - /// D3D12_RESOURCE_BARRIER_TYPE_ALIASING - Aliasing = 1, - /// - /// D3D12_RESOURCE_BARRIER_TYPE_UAV - Uav = 2, -} - -/// -/// D3D12_RESOURCE_BARRIER_FLAGS -[Flags] -public enum ResourceBarrierFlags : uint -{ - /// - /// D3D12_RESOURCE_BARRIER_FLAG_NONE - None = 0, - /// - /// D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY - BeginOnly = 1, - /// - /// D3D12_RESOURCE_BARRIER_FLAG_END_ONLY - EndOnly = 2, -} - -/// -/// D3D12_TEXTURE_COPY_TYPE -public enum TextureCopyType : int -{ - /// - /// D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX - SubresourceIndex = 0, - /// - /// D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT - PlacedFootprint = 1, -} - -/// -/// D3D12_RESOLVE_MODE -public enum ResolveMode : int -{ - /// - /// D3D12_RESOLVE_MODE_DECOMPRESS - Decompress = 0, - /// - /// D3D12_RESOLVE_MODE_MIN - Min = 1, - /// - /// D3D12_RESOLVE_MODE_MAX - Max = 2, - /// - /// D3D12_RESOLVE_MODE_AVERAGE - Average = 3, - /// - /// D3D12_RESOLVE_MODE_ENCODE_SAMPLER_FEEDBACK - EncodeSamplerFeedback = 4, - /// - /// D3D12_RESOLVE_MODE_DECODE_SAMPLER_FEEDBACK - DecodeSamplerFeedback = 5, -} - -/// -/// D3D12_VIEW_INSTANCING_FLAGS -[Flags] -public enum ViewInstancingFlags : uint -{ - /// - /// D3D12_VIEW_INSTANCING_FLAG_NONE - None = 0, - /// - /// D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING - EnableViewInstanceMasking = 1, -} - -/// -/// D3D12_SHADER_COMPONENT_MAPPING -public enum ShaderComponentMapping : int -{ - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_0 - FromMemoryComponent0 = 0, - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_1 - FromMemoryComponent1 = 1, - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_2 - FromMemoryComponent2 = 2, - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_3 - FromMemoryComponent3 = 3, - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_0 - ForceValue0 = 4, - /// - /// D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_1 - ForceValue1 = 5, -} - -/// -/// D3D12_BUFFER_SRV_FLAGS -[Flags] -public enum BufferSrvFlags : uint -{ - /// - /// D3D12_BUFFER_SRV_FLAG_NONE - None = 0, - /// - /// D3D12_BUFFER_SRV_FLAG_RAW - Raw = 1, -} - -/// -/// D3D12_SRV_DIMENSION -public enum SrvDimension : int -{ - /// - /// D3D12_SRV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D12_SRV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D12_SRV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D12_SRV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D12_SRV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D12_SRV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D12_SRV_DIMENSION_TEXTURE2DMS - Texture2DMs = 6, - /// - /// D3D12_SRV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 7, - /// - /// D3D12_SRV_DIMENSION_TEXTURE3D - Texture3D = 8, - /// - /// D3D12_SRV_DIMENSION_TEXTURECUBE - TextureCube = 9, - /// - /// D3D12_SRV_DIMENSION_TEXTURECUBEARRAY - TextureCubeArray = 10, - /// - /// D3D12_SRV_DIMENSION_RAYTRACING_ACCELERATION_STRUCTURE - RaytracingAccelerationStructure = 11, -} - -/// -/// D3D12_FILTER -public enum Filter : int -{ - /// - /// D3D12_FILTER_MIN_MAG_MIP_POINT - MinMagMipPoint = 0, - /// - /// D3D12_FILTER_MIN_MAG_POINT_MIP_LINEAR - MinMagPointMipLinear = 1, - /// - /// D3D12_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT - MinPointMagLinearMipPoint = 4, - /// - /// D3D12_FILTER_MIN_POINT_MAG_MIP_LINEAR - MinPointMagMipLinear = 5, - /// - /// D3D12_FILTER_MIN_LINEAR_MAG_MIP_POINT - MinLinearMagMipPoint = 16, - /// - /// D3D12_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MinLinearMagPointMipLinear = 17, - /// - /// D3D12_FILTER_MIN_MAG_LINEAR_MIP_POINT - MinMagLinearMipPoint = 20, - /// - /// D3D12_FILTER_MIN_MAG_MIP_LINEAR - MinMagMipLinear = 21, - /// - /// D3D12_FILTER_ANISOTROPIC - Anisotropic = 85, - /// - /// D3D12_FILTER_COMPARISON_MIN_MAG_MIP_POINT - ComparisonMinMagMipPoint = 128, - /// - /// D3D12_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR - ComparisonMinMagPointMipLinear = 129, - /// - /// D3D12_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT - ComparisonMinPointMagLinearMipPoint = 132, - /// - /// D3D12_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR - ComparisonMinPointMagMipLinear = 133, - /// - /// D3D12_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT - ComparisonMinLinearMagMipPoint = 144, - /// - /// D3D12_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR - ComparisonMinLinearMagPointMipLinear = 145, - /// - /// D3D12_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT - ComparisonMinMagLinearMipPoint = 148, - /// - /// D3D12_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR - ComparisonMinMagMipLinear = 149, - /// - /// D3D12_FILTER_COMPARISON_ANISOTROPIC - ComparisonAnisotropic = 213, - /// - /// D3D12_FILTER_MINIMUM_MIN_MAG_MIP_POINT - MinimumMinMagMipPoint = 256, - /// - /// D3D12_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR - MinimumMinMagPointMipLinear = 257, - /// - /// D3D12_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT - MinimumMinPointMagLinearMipPoint = 260, - /// - /// D3D12_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR - MinimumMinPointMagMipLinear = 261, - /// - /// D3D12_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT - MinimumMinLinearMagMipPoint = 272, - /// - /// D3D12_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MinimumMinLinearMagPointMipLinear = 273, - /// - /// D3D12_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT - MinimumMinMagLinearMipPoint = 276, - /// - /// D3D12_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR - MinimumMinMagMipLinear = 277, - /// - /// D3D12_FILTER_MINIMUM_ANISOTROPIC - MinimumAnisotropic = 341, - /// - /// D3D12_FILTER_MAXIMUM_MIN_MAG_MIP_POINT - MaximumMinMagMipPoint = 384, - /// - /// D3D12_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR - MaximumMinMagPointMipLinear = 385, - /// - /// D3D12_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT - MaximumMinPointMagLinearMipPoint = 388, - /// - /// D3D12_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR - MaximumMinPointMagMipLinear = 389, - /// - /// D3D12_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT - MaximumMinLinearMagMipPoint = 400, - /// - /// D3D12_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MaximumMinLinearMagPointMipLinear = 401, - /// - /// D3D12_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT - MaximumMinMagLinearMipPoint = 404, - /// - /// D3D12_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR - MaximumMinMagMipLinear = 405, - /// - /// D3D12_FILTER_MAXIMUM_ANISOTROPIC - MaximumAnisotropic = 469, -} - -/// -/// D3D12_FILTER_TYPE -public enum FilterType : int -{ - /// - /// D3D12_FILTER_TYPE_POINT - Point = 0, - /// - /// D3D12_FILTER_TYPE_LINEAR - Linear = 1, -} - -/// -/// D3D12_FILTER_REDUCTION_TYPE -public enum FilterReductionType : int -{ - /// - /// D3D12_FILTER_REDUCTION_TYPE_STANDARD - Standard = 0, - /// - /// D3D12_FILTER_REDUCTION_TYPE_COMPARISON - Comparison = 1, - /// - /// D3D12_FILTER_REDUCTION_TYPE_MINIMUM - Minimum = 2, - /// - /// D3D12_FILTER_REDUCTION_TYPE_MAXIMUM - Maximum = 3, -} - -/// -/// D3D12_TEXTURE_ADDRESS_MODE -public enum TextureAddressMode : int -{ - /// - /// D3D12_TEXTURE_ADDRESS_MODE_WRAP - Wrap = 1, - /// - /// D3D12_TEXTURE_ADDRESS_MODE_MIRROR - Mirror = 2, - /// - /// D3D12_TEXTURE_ADDRESS_MODE_CLAMP - Clamp = 3, - /// - /// D3D12_TEXTURE_ADDRESS_MODE_BORDER - Border = 4, - /// - /// D3D12_TEXTURE_ADDRESS_MODE_MIRROR_ONCE - MirrorOnce = 5, -} - -/// -/// D3D12_BUFFER_UAV_FLAGS -[Flags] -public enum BufferUavFlags : uint -{ - /// - /// D3D12_BUFFER_UAV_FLAG_NONE - None = 0, - /// - /// D3D12_BUFFER_UAV_FLAG_RAW - Raw = 1, -} - -/// -/// D3D12_UAV_DIMENSION -public enum UavDimension : int -{ - /// - /// D3D12_UAV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D12_UAV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D12_UAV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D12_UAV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D12_UAV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D12_UAV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D12_UAV_DIMENSION_TEXTURE3D - Texture3D = 8, -} - -/// -/// D3D12_RTV_DIMENSION -public enum RtvDimension : int -{ - /// - /// D3D12_RTV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D12_RTV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D12_RTV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D12_RTV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D12_RTV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D12_RTV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D12_RTV_DIMENSION_TEXTURE2DMS - Texture2DMs = 6, - /// - /// D3D12_RTV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 7, - /// - /// D3D12_RTV_DIMENSION_TEXTURE3D - Texture3D = 8, -} - -/// -/// D3D12_DSV_FLAGS -[Flags] -public enum DsvFlags : uint -{ - /// - /// D3D12_DSV_FLAG_NONE - None = 0, - /// - /// D3D12_DSV_FLAG_READ_ONLY_DEPTH - ReadOnlyDepth = 1, - /// - /// D3D12_DSV_FLAG_READ_ONLY_STENCIL - ReadOnlyStencil = 2, -} - -/// -/// D3D12_DSV_DIMENSION -public enum DsvDimension : int -{ - /// - /// D3D12_DSV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D12_DSV_DIMENSION_TEXTURE1D - Texture1D = 1, - /// - /// D3D12_DSV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 2, - /// - /// D3D12_DSV_DIMENSION_TEXTURE2D - Texture2D = 3, - /// - /// D3D12_DSV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 4, - /// - /// D3D12_DSV_DIMENSION_TEXTURE2DMS - Texture2DMs = 5, - /// - /// D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 6, -} - -/// -/// D3D12_CLEAR_FLAGS -[Flags] -public enum ClearFlags : uint -{ - None = 0, - /// - /// D3D12_CLEAR_FLAG_DEPTH - Depth = 1, - /// - /// D3D12_CLEAR_FLAG_STENCIL - Stencil = 2, -} - -/// -/// D3D12_FENCE_FLAGS -[Flags] -public enum FenceFlags : uint -{ - /// - /// D3D12_FENCE_FLAG_NONE - None = 0, - /// - /// D3D12_FENCE_FLAG_SHARED - Shared = 1, - /// - /// D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER - SharedCrossAdapter = 2, - /// - /// D3D12_FENCE_FLAG_NON_MONITORED - NonMonitored = 4, -} - -/// -/// D3D12_DESCRIPTOR_HEAP_TYPE -public enum DescriptorHeapType : int -{ - /// - /// D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV - CbvSrvUav = 0, - /// - /// D3D12_DESCRIPTOR_HEAP_TYPE_SAMPLER - Sampler = 1, - /// - /// D3D12_DESCRIPTOR_HEAP_TYPE_RTV - Rtv = 2, - /// - /// D3D12_DESCRIPTOR_HEAP_TYPE_DSV - Dsv = 3, - /// - /// D3D12_DESCRIPTOR_HEAP_TYPE_NUM_TYPES - NumTypes = 4, -} - -/// -/// D3D12_DESCRIPTOR_HEAP_FLAGS -[Flags] -public enum DescriptorHeapFlags : uint -{ - /// - /// D3D12_DESCRIPTOR_HEAP_FLAG_NONE - None = 0, - /// - /// D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE - ShaderVisible = 1, -} - -/// -/// D3D12_DESCRIPTOR_RANGE_TYPE -public enum DescriptorRangeType : int -{ - /// - /// D3D12_DESCRIPTOR_RANGE_TYPE_SRV - Srv = 0, - /// - /// D3D12_DESCRIPTOR_RANGE_TYPE_UAV - Uav = 1, - /// - /// D3D12_DESCRIPTOR_RANGE_TYPE_CBV - Cbv = 2, - /// - /// D3D12_DESCRIPTOR_RANGE_TYPE_SAMPLER - Sampler = 3, -} - -/// -/// D3D12_SHADER_VISIBILITY -public enum ShaderVisibility : int -{ - /// - /// D3D12_SHADER_VISIBILITY_ALL - All = 0, - /// - /// D3D12_SHADER_VISIBILITY_VERTEX - Vertex = 1, - /// - /// D3D12_SHADER_VISIBILITY_HULL - Hull = 2, - /// - /// D3D12_SHADER_VISIBILITY_DOMAIN - Domain = 3, - /// - /// D3D12_SHADER_VISIBILITY_GEOMETRY - Geometry = 4, - /// - /// D3D12_SHADER_VISIBILITY_PIXEL - Pixel = 5, - /// - /// D3D12_SHADER_VISIBILITY_AMPLIFICATION - Amplification = 6, - /// - /// D3D12_SHADER_VISIBILITY_MESH - Mesh = 7, -} - -/// -/// D3D12_ROOT_PARAMETER_TYPE -public enum RootParameterType : int -{ - /// - /// D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE - DescriptorTable = 0, - /// - /// D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS - T32BitConstants = 1, - /// - /// D3D12_ROOT_PARAMETER_TYPE_CBV - Cbv = 2, - /// - /// D3D12_ROOT_PARAMETER_TYPE_SRV - Srv = 3, - /// - /// D3D12_ROOT_PARAMETER_TYPE_UAV - Uav = 4, -} - -/// -/// D3D12_ROOT_SIGNATURE_FLAGS -[Flags] -public enum RootSignatureFlags : uint -{ - /// - /// D3D12_ROOT_SIGNATURE_FLAG_NONE - None = 0, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT - AllowInputAssemblerInputLayout = 1, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS - DenyVertexShaderRootAccess = 2, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_HULL_SHADER_ROOT_ACCESS - DenyHullShaderRootAccess = 4, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS - DenyDomainShaderRootAccess = 8, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS - DenyGeometryShaderRootAccess = 16, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_PIXEL_SHADER_ROOT_ACCESS - DenyPixelShaderRootAccess = 32, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_ALLOW_STREAM_OUTPUT - AllowStreamOutput = 64, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_LOCAL_ROOT_SIGNATURE - LocalRootSignature = 128, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_AMPLIFICATION_SHADER_ROOT_ACCESS - DenyAmplificationShaderRootAccess = 256, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_DENY_MESH_SHADER_ROOT_ACCESS - DenyMeshShaderRootAccess = 512, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED - CbvSrvUavHeapDirectlyIndexed = 1024, - /// - /// D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED - SamplerHeapDirectlyIndexed = 2048, -} - -/// -/// D3D12_STATIC_BORDER_COLOR -public enum StaticBorderColor : int -{ - /// - /// D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK - TransparentBlack = 0, - /// - /// D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK - OpaqueBlack = 1, - /// - /// D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE - OpaqueWhite = 2, -} - -/// -/// D3D12_DESCRIPTOR_RANGE_FLAGS -[Flags] -public enum DescriptorRangeFlags : uint -{ - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_NONE - None = 0, - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_VOLATILE - DescriptorsVolatile = 1, - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_VOLATILE - DataVolatile = 2, - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE - DataStaticWhileSetAtExecute = 4, - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC - DataStatic = 8, - /// - /// D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS - DescriptorsStaticKeepingBufferBoundsChecks = 65536, -} - -/// -/// D3D12_ROOT_DESCRIPTOR_FLAGS -[Flags] -public enum RootDescriptorFlags : uint -{ - /// - /// D3D12_ROOT_DESCRIPTOR_FLAG_NONE - None = 0, - /// - /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_VOLATILE - DataVolatile = 2, - /// - /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE - DataStaticWhileSetAtExecute = 4, - /// - /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC - DataStatic = 8, -} - -/// -/// D3D12_QUERY_HEAP_TYPE -public enum QueryHeapType : int -{ - /// - /// D3D12_QUERY_HEAP_TYPE_OCCLUSION - Occlusion = 0, - /// - /// D3D12_QUERY_HEAP_TYPE_TIMESTAMP - Timestamp = 1, - /// - /// D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS - PipelineStatistics = 2, - /// - /// D3D12_QUERY_HEAP_TYPE_SO_STATISTICS - SOStatistics = 3, - /// - /// D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS - VideoDecodeStatistics = 4, - /// - /// D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP - CopyQueueTimestamp = 5, - /// - /// D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 - PipelineStatistics1 = 7, -} - -/// -/// D3D12_QUERY_TYPE -public enum QueryType : int -{ - /// - /// D3D12_QUERY_TYPE_OCCLUSION - Occlusion = 0, - /// - /// D3D12_QUERY_TYPE_BINARY_OCCLUSION - BinaryOcclusion = 1, - /// - /// D3D12_QUERY_TYPE_TIMESTAMP - Timestamp = 2, - /// - /// D3D12_QUERY_TYPE_PIPELINE_STATISTICS - PipelineStatistics = 3, - /// - /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM0 - SOStatisticsStream0 = 4, - /// - /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM1 - SOStatisticsStream1 = 5, - /// - /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM2 - SOStatisticsStream2 = 6, - /// - /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM3 - SOStatisticsStream3 = 7, - /// - /// D3D12_QUERY_TYPE_VIDEO_DECODE_STATISTICS - VideoDecodeStatistics = 8, - /// - /// D3D12_QUERY_TYPE_PIPELINE_STATISTICS1 - PipelineStatistics1 = 10, -} - -/// -/// D3D12_PREDICATION_OP -public enum PredicationOperation : int -{ - /// - /// D3D12_PREDICATION_OP_EQUAL_ZERO - EqualZero = 0, - /// - /// D3D12_PREDICATION_OP_NOT_EQUAL_ZERO - NotEqualZero = 1, -} - -/// -/// D3D12_INDIRECT_ARGUMENT_TYPE -public enum IndirectArgumentType : int -{ - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_DRAW - Draw = 0, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_DRAW_INDEXED - DrawIndexed = 1, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH - Dispatch = 2, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_VERTEX_BUFFER_VIEW - VertexBufferView = 3, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_INDEX_BUFFER_VIEW - IndexBufferView = 4, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT - Constant = 5, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT_BUFFER_VIEW - ConstantBufferView = 6, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_SHADER_RESOURCE_VIEW - ShaderResourceView = 7, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW - UnorderedAccessView = 8, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_RAYS - DispatchRays = 9, - /// - /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH - DispatchMesh = 10, -} - -/// -/// D3D12_WRITEBUFFERIMMEDIATE_MODE -public enum WriteBufferImmediateMode : int -{ - /// - /// D3D12_WRITEBUFFERIMMEDIATE_MODE_DEFAULT - Default = 0, - /// - /// D3D12_WRITEBUFFERIMMEDIATE_MODE_MARKER_IN - MarkerIn = 1, - /// - /// D3D12_WRITEBUFFERIMMEDIATE_MODE_MARKER_OUT - MarkerOut = 2, -} - -/// -/// D3D12_MULTIPLE_FENCE_WAIT_FLAGS -[Flags] -public enum MultipleFenceWaitFlags : uint -{ - /// - /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_NONE - None = 0, - /// - /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_ANY - Any = 1, - /// - /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL - All = 0, -} - -/// -/// D3D12_RESIDENCY_PRIORITY -public enum ResidencyPriority : int -{ - /// - /// D3D12_RESIDENCY_PRIORITY_MINIMUM - Minimum = 671088640, - /// - /// D3D12_RESIDENCY_PRIORITY_LOW - Low = 1342177280, - /// - /// D3D12_RESIDENCY_PRIORITY_NORMAL - Normal = 2013265920, - /// - /// D3D12_RESIDENCY_PRIORITY_HIGH - High = -1610547200, - /// - /// D3D12_RESIDENCY_PRIORITY_MAXIMUM - Maximum = -939524096, -} - -/// -/// D3D12_RESIDENCY_FLAGS -[Flags] -public enum ResidencyFlags : uint -{ - /// - /// D3D12_RESIDENCY_FLAG_NONE - None = 0, - /// - /// D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET - DenyOverBudget = 1, -} - -/// -/// D3D12_COMMAND_LIST_FLAGS -[Flags] -public enum CommandListFlags : uint -{ - /// - /// D3D12_COMMAND_LIST_FLAG_NONE - None = 0, -} - -/// -/// D3D12_COMMAND_POOL_FLAGS -[Flags] -public enum CommandPoolFlags : uint -{ - /// - /// D3D12_COMMAND_POOL_FLAG_NONE - None = 0, -} - -/// -/// D3D12_COMMAND_RECORDER_FLAGS -[Flags] -public enum CommandRecorderFlags : uint -{ - /// - /// D3D12_COMMAND_RECORDER_FLAG_NONE - None = 0, -} - -/// -/// D3D12_PROTECTED_SESSION_STATUS -public enum ProtectedSessionStatus : int -{ - /// - /// D3D12_PROTECTED_SESSION_STATUS_OK - Ok = 0, - /// - /// D3D12_PROTECTED_SESSION_STATUS_INVALID - Invalid = 1, -} - -/// -/// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS -[Flags] -public enum ProtectedResourceSessionSupportFlags : uint -{ - /// - /// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_NONE - None = 0, - /// - /// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED - Supported = 1, -} - -/// -/// D3D12_PROTECTED_RESOURCE_SESSION_FLAGS -[Flags] -public enum ProtectedResourceSessionFlags : uint -{ - /// - /// D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE - None = 0, -} - -/// -/// D3D12_LIFETIME_STATE -public enum LifetimeState : int -{ - /// - /// D3D12_LIFETIME_STATE_IN_USE - InUse = 0, - /// - /// D3D12_LIFETIME_STATE_NOT_IN_USE - NotInUse = 1, -} - -/// -/// D3D12_META_COMMAND_PARAMETER_TYPE -public enum MetaCommandParameterType : int -{ - /// - /// D3D12_META_COMMAND_PARAMETER_TYPE_FLOAT - Float = 0, - /// - /// D3D12_META_COMMAND_PARAMETER_TYPE_UINT64 - UInt64 = 1, - /// - /// D3D12_META_COMMAND_PARAMETER_TYPE_GPU_VIRTUAL_ADDRESS - GpuVirtualAddress = 2, - /// - /// D3D12_META_COMMAND_PARAMETER_TYPE_CPU_DESCRIPTOR_HANDLE_HEAP_TYPE_CBV_SRV_UAV - CpuDescriptorHandleHeapTypeCbvSrvUav = 3, - /// - /// D3D12_META_COMMAND_PARAMETER_TYPE_GPU_DESCRIPTOR_HANDLE_HEAP_TYPE_CBV_SRV_UAV - GpuDescriptorHandleHeapTypeCbvSrvUav = 4, -} - -/// -/// D3D12_META_COMMAND_PARAMETER_FLAGS -[Flags] -public enum MetaCommandParameterFlags : uint -{ - None = 0, - /// - /// D3D12_META_COMMAND_PARAMETER_FLAG_INPUT - Input = 1, - /// - /// D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT - Output = 2, -} - -/// -/// D3D12_META_COMMAND_PARAMETER_STAGE -public enum MetaCommandParameterStage : int -{ - /// - /// D3D12_META_COMMAND_PARAMETER_STAGE_CREATION - Creation = 0, - /// - /// D3D12_META_COMMAND_PARAMETER_STAGE_INITIALIZATION - Initialization = 1, - /// - /// D3D12_META_COMMAND_PARAMETER_STAGE_EXECUTION - Execution = 2, -} - -/// -/// D3D12_GRAPHICS_STATES -[Flags] -public enum GraphicsStates : uint -{ - /// - /// D3D12_GRAPHICS_STATE_NONE - None = 0, - /// - /// D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERS - IAVertexBuffers = 1, - /// - /// D3D12_GRAPHICS_STATE_IA_INDEX_BUFFER - IAIndexBuffer = 2, - /// - /// D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGY - IAPrimitiveTopology = 4, - /// - /// D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAP - DescriptorHeap = 8, - /// - /// D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURE - GraphicsRootSignature = 16, - /// - /// D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURE - ComputeRootSignature = 32, - /// - /// D3D12_GRAPHICS_STATE_RS_VIEWPORTS - RSViewports = 64, - /// - /// D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTS - RSScissorRects = 128, - /// - /// D3D12_GRAPHICS_STATE_PREDICATION - Predication = 256, - /// - /// D3D12_GRAPHICS_STATE_OM_RENDER_TARGETS - OMRenderTargets = 512, - /// - /// D3D12_GRAPHICS_STATE_OM_STENCIL_REF - OMStencilRef = 1024, - /// - /// D3D12_GRAPHICS_STATE_OM_BLEND_FACTOR - OMBlendFactor = 2048, - /// - /// D3D12_GRAPHICS_STATE_PIPELINE_STATE - PipelineState = 4096, - /// - /// D3D12_GRAPHICS_STATE_SO_TARGETS - SOTargets = 8192, - /// - /// D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDS - OMDepthBounds = 16384, - /// - /// D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS - SamplePositions = 32768, - /// - /// D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK - ViewInstanceMask = 65536, -} - -/// -/// D3D12_STATE_SUBOBJECT_TYPE -public enum StateSubObjectType : int -{ - /// - /// D3D12_STATE_SUBOBJECT_TYPE_STATE_OBJECT_CONFIG - StateObjectConfig = 0, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_GLOBAL_ROOT_SIGNATURE - GlobalRootSignature = 1, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_LOCAL_ROOT_SIGNATURE - LocalRootSignature = 2, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_NODE_MASK - NodeMask = 3, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_DXIL_LIBRARY - DxilLibrary = 5, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_EXISTING_COLLECTION - ExistingCollection = 6, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_SUBOBJECT_TO_EXPORTS_ASSOCIATION - SubObjectToExportsAssociation = 7, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION - DxilSubObjectToExportsAssociation = 8, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_SHADER_CONFIG - RaytracingShaderConfig = 9, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG - RaytracingPipelineConfig = 10, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_HIT_GROUP - HitGroup = 11, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG1 - RaytracingPipelineConfig1 = 12, - /// - /// D3D12_STATE_SUBOBJECT_TYPE_MAX_VALID - MaxValid = 13, -} - -/// -/// D3D12_STATE_OBJECT_FLAGS -[Flags] -public enum StateObjectFlags : uint -{ - /// - /// D3D12_STATE_OBJECT_FLAG_NONE - None = 0, - /// - /// D3D12_STATE_OBJECT_FLAG_ALLOW_LOCAL_DEPENDENCIES_ON_EXTERNAL_DEFINITIONS - AllowLocalDependenciesOnExternalDefinitions = 1, - /// - /// D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS - AllowExternalDependenciesOnLocalDefinitions = 2, - /// - /// D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS - AllowStateObjectAdditions = 4, -} - -/// -/// D3D12_EXPORT_FLAGS -[Flags] -public enum ExportFlags : uint -{ - /// - /// D3D12_EXPORT_FLAG_NONE - None = 0, -} - -/// -/// D3D12_HIT_GROUP_TYPE -public enum HitGroupType : int -{ - /// - /// D3D12_HIT_GROUP_TYPE_TRIANGLES - Triangles = 0, - /// - /// D3D12_HIT_GROUP_TYPE_PROCEDURAL_PRIMITIVE - ProceduralPrimitive = 1, -} - -/// -/// D3D12_RAYTRACING_PIPELINE_FLAGS -[Flags] -public enum RaytracingPipelineFlags : uint -{ - /// - /// D3D12_RAYTRACING_PIPELINE_FLAG_NONE - None = 0, - /// - /// D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES - SkipTriangles = 256, - /// - /// D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES - SkipProceduralPrimitives = 512, -} - -/// -/// D3D12_STATE_OBJECT_TYPE -public enum StateObjectType : int -{ - /// - /// D3D12_STATE_OBJECT_TYPE_COLLECTION - Collection = 0, - /// - /// D3D12_STATE_OBJECT_TYPE_RAYTRACING_PIPELINE - RaytracingPipeline = 3, -} - -/// -/// D3D12_RAYTRACING_GEOMETRY_FLAGS -[Flags] -public enum RaytracingGeometryFlags : uint -{ - /// - /// D3D12_RAYTRACING_GEOMETRY_FLAG_NONE - None = 0, - /// - /// D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE - Opaque = 1, - /// - /// D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION - NoDuplicateAnyhitInvocation = 2, -} - -/// -/// D3D12_RAYTRACING_GEOMETRY_TYPE -public enum RaytracingGeometryType : int -{ - /// - /// D3D12_RAYTRACING_GEOMETRY_TYPE_TRIANGLES - Triangles = 0, - /// - /// D3D12_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBS - ProceduralPrimitiveAabbs = 1, -} - -/// -/// D3D12_RAYTRACING_INSTANCE_FLAGS -[Flags] -public enum RaytracingInstanceFlags : uint -{ - /// - /// D3D12_RAYTRACING_INSTANCE_FLAG_NONE - None = 0, - /// - /// D3D12_RAYTRACING_INSTANCE_FLAG_TRIANGLE_CULL_DISABLE - TriangleCullDisable = 1, - /// - /// D3D12_RAYTRACING_INSTANCE_FLAG_TRIANGLE_FRONT_COUNTERCLOCKWISE - TriangleFrontCounterclockwise = 2, - /// - /// D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE - ForceOpaque = 4, - /// - /// D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE - ForceNonOpaque = 8, -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS -[Flags] -public enum RaytracingAccelerationStructureBuildFlags : uint -{ - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_NONE - None = 0, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_ALLOW_UPDATE - AllowUpdate = 1, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_ALLOW_COMPACTION - AllowCompaction = 2, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PREFER_FAST_TRACE - PreferFastTrace = 4, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PREFER_FAST_BUILD - PreferFastBuild = 8, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY - MinimizeMemory = 16, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE - PerformUpdate = 32, -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE -public enum RaytracingAccelerationStructureCopyMode : int -{ - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_CLONE - Clone = 0, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_COMPACT - Compact = 1, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_VISUALIZATION_DECODE_FOR_TOOLS - VisualizationDecodeForTools = 2, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_SERIALIZE - Serialize = 3, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_DESERIALIZE - Deserialize = 4, -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE -public enum RaytracingAccelerationStructureType : int -{ - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL - TopLevel = 0, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL - BottomLevel = 1, -} - -/// -/// D3D12_ELEMENTS_LAYOUT -public enum ElementsLayout : int -{ - /// - /// D3D12_ELEMENTS_LAYOUT_ARRAY - Array = 0, - /// - /// D3D12_ELEMENTS_LAYOUT_ARRAY_OF_POINTERS - ArrayOfPointers = 1, -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE -public enum RaytracingAccelerationStructurePostbuildInfoType : int -{ - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE - CompactedSize = 0, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION - ToolsVisualization = 1, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION - Serialization = 2, - /// - /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE - CurrentSize = 3, -} - -/// -/// D3D12_SERIALIZED_DATA_TYPE -public enum SerializedDataType : int -{ - /// - /// D3D12_SERIALIZED_DATA_RAYTRACING_ACCELERATION_STRUCTURE - RaytracingAccelerationStructure = 0, -} - -/// -/// D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS -public enum DriverMatchingIdentifierStatus : int -{ - /// - /// D3D12_DRIVER_MATCHING_IDENTIFIER_COMPATIBLE_WITH_DEVICE - CompatibleWithDevice = 0, - /// - /// D3D12_DRIVER_MATCHING_IDENTIFIER_UNSUPPORTED_TYPE - UnsupportedType = 1, - /// - /// D3D12_DRIVER_MATCHING_IDENTIFIER_UNRECOGNIZED - Unrecognized = 2, - /// - /// D3D12_DRIVER_MATCHING_IDENTIFIER_INCOMPATIBLE_VERSION - IncompatibleVersion = 3, - /// - /// D3D12_DRIVER_MATCHING_IDENTIFIER_INCOMPATIBLE_TYPE - IncompatibleType = 4, -} - -/// -/// D3D12_RAY_FLAGS -[Flags] -public enum RayFlags : uint -{ - /// - /// D3D12_RAY_FLAG_NONE - None = 0, - /// - /// D3D12_RAY_FLAG_FORCE_OPAQUE - ForceOpaque = 1, - /// - /// D3D12_RAY_FLAG_FORCE_NON_OPAQUE - ForceNonOpaque = 2, - /// - /// D3D12_RAY_FLAG_ACCEPT_FIRST_HIT_AND_END_SEARCH - AcceptFirstHitAndEndSearch = 4, - /// - /// D3D12_RAY_FLAG_SKIP_CLOSEST_HIT_SHADER - SkipClosestHitShader = 8, - /// - /// D3D12_RAY_FLAG_CULL_BACK_FACING_TRIANGLES - CullBackFacingTriangles = 16, - /// - /// D3D12_RAY_FLAG_CULL_FRONT_FACING_TRIANGLES - CullFrontFacingTriangles = 32, - /// - /// D3D12_RAY_FLAG_CULL_OPAQUE - CullOpaque = 64, - /// - /// D3D12_RAY_FLAG_CULL_NON_OPAQUE - CullNonOpaque = 128, - /// - /// D3D12_RAY_FLAG_SKIP_TRIANGLES - SkipTriangles = 256, - /// - /// D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES - SkipProceduralPrimitives = 512, -} - -/// -/// D3D12_HIT_KIND -public enum HitKind : int -{ - /// - /// D3D12_HIT_KIND_TRIANGLE_FRONT_FACE - TriangleFrontFace = 254, - /// - /// D3D12_HIT_KIND_TRIANGLE_BACK_FACE - TriangleBackFace = 255, -} - -/// -/// D3D12_AUTO_BREADCRUMB_OP -public enum AutoBreadcrumbOperation : int -{ - /// - /// D3D12_AUTO_BREADCRUMB_OP_SETMARKER - SetMarker = 0, - /// - /// D3D12_AUTO_BREADCRUMB_OP_BEGINEVENT - BeginEvent = 1, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ENDEVENT - EndEvent = 2, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DRAWINSTANCED - DrawInstanced = 3, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DRAWINDEXEDINSTANCED - DrawIndexedInstanced = 4, - /// - /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEINDIRECT - ExecuteIndirect = 5, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DISPATCH - Dispatch = 6, - /// - /// D3D12_AUTO_BREADCRUMB_OP_COPYBUFFERREGION - CopyBufferRegion = 7, - /// - /// D3D12_AUTO_BREADCRUMB_OP_COPYTEXTUREREGION - CopyTextureRegion = 8, - /// - /// D3D12_AUTO_BREADCRUMB_OP_COPYRESOURCE - CopyResource = 9, - /// - /// D3D12_AUTO_BREADCRUMB_OP_COPYTILES - CopyTiles = 10, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCE - ResolveSubresource = 11, - /// - /// D3D12_AUTO_BREADCRUMB_OP_CLEARRENDERTARGETVIEW - ClearRenderTargetView = 12, - /// - /// D3D12_AUTO_BREADCRUMB_OP_CLEARUNORDEREDACCESSVIEW - ClearUnorderedAccessView = 13, - /// - /// D3D12_AUTO_BREADCRUMB_OP_CLEARDEPTHSTENCILVIEW - ClearDepthStencilView = 14, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOURCEBARRIER - ResourceBarrier = 15, - /// - /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEBUNDLE - ExecuteBundle = 16, - /// - /// D3D12_AUTO_BREADCRUMB_OP_PRESENT - Present = 17, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEQUERYDATA - ResolveQueryData = 18, - /// - /// D3D12_AUTO_BREADCRUMB_OP_BEGINSUBMISSION - BeginSubmission = 19, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ENDSUBMISSION - EndSubmission = 20, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME - DecodeFrame = 21, - /// - /// D3D12_AUTO_BREADCRUMB_OP_PROCESSFRAMES - ProcessFrames = 22, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT - AtomicCopyBufferUInt = 23, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ATOMICCOPYBUFFERUINT64 - AtomicCopyBufferUInt64 = 24, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOLVESUBRESOURCEREGION - ResolveSubresourceRegion = 25, - /// - /// D3D12_AUTO_BREADCRUMB_OP_WRITEBUFFERIMMEDIATE - WriteBufferImmediate = 26, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME1 - DecodeFrame1 = 27, - /// - /// D3D12_AUTO_BREADCRUMB_OP_SETPROTECTEDRESOURCESESSION - SetProtectedResourceSession = 28, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DECODEFRAME2 - DecodeFrame2 = 29, - /// - /// D3D12_AUTO_BREADCRUMB_OP_PROCESSFRAMES1 - ProcessFrames1 = 30, - /// - /// D3D12_AUTO_BREADCRUMB_OP_BUILDRAYTRACINGACCELERATIONSTRUCTURE - BuildRaytracingAccelerationStructure = 31, - /// - /// D3D12_AUTO_BREADCRUMB_OP_EMITRAYTRACINGACCELERATIONSTRUCTUREPOSTBUILDINFO - EmitRaytracingAccelerationStructurePostBuildInfo = 32, - /// - /// D3D12_AUTO_BREADCRUMB_OP_COPYRAYTRACINGACCELERATIONSTRUCTURE - CopyRaytracingAccelerationStructure = 33, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DISPATCHRAYS - DispatchRays = 34, - /// - /// D3D12_AUTO_BREADCRUMB_OP_INITIALIZEMETACOMMAND - InitializeMetaCommand = 35, - /// - /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEMETACOMMAND - ExecuteMetaCommand = 36, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ESTIMATEMOTION - EstimateMotion = 37, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEMOTIONVECTORHEAP - ResolveMotionVectorHeap = 38, - /// - /// D3D12_AUTO_BREADCRUMB_OP_SETPIPELINESTATE1 - SetPipelineState1 = 39, - /// - /// D3D12_AUTO_BREADCRUMB_OP_INITIALIZEEXTENSIONCOMMAND - InitializeExtensionCommand = 40, - /// - /// D3D12_AUTO_BREADCRUMB_OP_EXECUTEEXTENSIONCOMMAND - ExecuteExtensionCommand = 41, - /// - /// D3D12_AUTO_BREADCRUMB_OP_DISPATCHMESH - DispatchMesh = 42, - /// - /// D3D12_AUTO_BREADCRUMB_OP_ENCODEFRAME - EncodeFrame = 43, - /// - /// D3D12_AUTO_BREADCRUMB_OP_RESOLVEENCODEROUTPUTMETADATA - ResolveEncoderOutputMetadata = 44, -} - -/// -/// D3D12_DRED_VERSION -public enum DredVersion : int -{ - /// - /// D3D12_DRED_VERSION_1_0 - V1_0 = 1, - /// - /// D3D12_DRED_VERSION_1_1 - V1_1 = 2, - /// - /// D3D12_DRED_VERSION_1_2 - V1_2 = 3, - /// - /// D3D12_DRED_VERSION_1_3 - V1_3 = 4, -} - -/// -/// D3D12_DRED_FLAGS -[Flags] -public enum DredFlags : uint -{ - /// - /// D3D12_DRED_FLAG_NONE - None = 0, - /// - /// D3D12_DRED_FLAG_FORCE_ENABLE - ForceEnable = 1, - /// - /// D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS - DisableAutobreadcrumbs = 2, -} - -/// -/// D3D12_DRED_ENABLEMENT -public enum DredEnablement : int -{ - /// - /// D3D12_DRED_ENABLEMENT_SYSTEM_CONTROLLED - SystemControlled = 0, - /// - /// D3D12_DRED_ENABLEMENT_FORCED_OFF - ForcedOff = 1, - /// - /// D3D12_DRED_ENABLEMENT_FORCED_ON - ForcedOn = 2, -} - -/// -/// D3D12_DRED_ALLOCATION_TYPE -public enum DredAllocationType : int -{ - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_QUEUE - CommandQueue = 19, - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_ALLOCATOR - CommandAllocator = 20, - /// - /// D3D12_DRED_ALLOCATION_TYPE_PIPELINE_STATE - PipelineState = 21, - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_LIST - CommandList = 22, - /// - /// D3D12_DRED_ALLOCATION_TYPE_FENCE - Fence = 23, - /// - /// D3D12_DRED_ALLOCATION_TYPE_DESCRIPTOR_HEAP - DescriptorHeap = 24, - /// - /// D3D12_DRED_ALLOCATION_TYPE_HEAP - Heap = 25, - /// - /// D3D12_DRED_ALLOCATION_TYPE_QUERY_HEAP - QueryHeap = 27, - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_SIGNATURE - CommandSignature = 28, - /// - /// D3D12_DRED_ALLOCATION_TYPE_PIPELINE_LIBRARY - PipelineLibrary = 29, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_DECODER - VideoDecoder = 30, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_PROCESSOR - VideoProcessor = 32, - /// - /// D3D12_DRED_ALLOCATION_TYPE_RESOURCE - Resource = 34, - /// - /// D3D12_DRED_ALLOCATION_TYPE_PASS - Pass = 35, - /// - /// D3D12_DRED_ALLOCATION_TYPE_CRYPTOSESSION - CryptoSession = 36, - /// - /// D3D12_DRED_ALLOCATION_TYPE_CRYPTOSESSIONPOLICY - CryptoSessionPolicy = 37, - /// - /// D3D12_DRED_ALLOCATION_TYPE_PROTECTEDRESOURCESESSION - ProtectedResourceSession = 38, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_DECODER_HEAP - VideoDecoderHeap = 39, - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_POOL - CommandPool = 40, - /// - /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_RECORDER - CommandRecorder = 41, - /// - /// D3D12_DRED_ALLOCATION_TYPE_STATE_OBJECT - StateObject = 42, - /// - /// D3D12_DRED_ALLOCATION_TYPE_METACOMMAND - MetaCommand = 43, - /// - /// D3D12_DRED_ALLOCATION_TYPE_SCHEDULINGGROUP - SchedulingGroup = 44, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_MOTION_ESTIMATOR - VideoMotionEstimator = 45, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_MOTION_VECTOR_HEAP - VideoMotionVectorHeap = 46, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_EXTENSION_COMMAND - VideoExtensionCommand = 47, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_ENCODER - VideoEncoder = 48, - /// - /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_ENCODER_HEAP - VideoEncoderHeap = 49, - /// - /// D3D12_DRED_ALLOCATION_TYPE_INVALID - Invalid = -1, -} - -/// -/// D3D12_DRED_PAGE_FAULT_FLAGS -[Flags] -public enum DredPageFaultFlags : uint -{ - /// - /// D3D12_DRED_PAGE_FAULT_FLAGS_NONE - None = 0, -} - -/// -/// D3D12_DRED_DEVICE_STATE -public enum DredDeviceState : int -{ - /// - /// D3D12_DRED_DEVICE_STATE_UNKNOWN - Unknown = 0, - /// - /// D3D12_DRED_DEVICE_STATE_HUNG - Hung = 3, - /// - /// D3D12_DRED_DEVICE_STATE_FAULT - Fault = 6, - /// - /// D3D12_DRED_DEVICE_STATE_PAGEFAULT - Pagefault = 7, -} - -/// -/// D3D12_BACKGROUND_PROCESSING_MODE -public enum BackgroundProcessingMode : int -{ - /// - /// D3D12_BACKGROUND_PROCESSING_MODE_ALLOWED - Allowed = 0, - /// - /// D3D12_BACKGROUND_PROCESSING_MODE_ALLOW_INTRUSIVE_MEASUREMENTS - AllowIntrusiveMeasurements = 1, - /// - /// D3D12_BACKGROUND_PROCESSING_MODE_DISABLE_BACKGROUND_WORK - DisableBackgroundWork = 2, - /// - /// D3D12_BACKGROUND_PROCESSING_MODE_DISABLE_PROFILING_BY_SYSTEM - DisableProfilingBySystem = 3, -} - -/// -/// D3D12_MEASUREMENTS_ACTION -public enum MeasurementsAction : int -{ - /// - /// D3D12_MEASUREMENTS_ACTION_KEEP_ALL - KeepAll = 0, - /// - /// D3D12_MEASUREMENTS_ACTION_COMMIT_RESULTS - CommitResults = 1, - /// - /// D3D12_MEASUREMENTS_ACTION_COMMIT_RESULTS_HIGH_PRIORITY - CommitResultsHighPriority = 2, - /// - /// D3D12_MEASUREMENTS_ACTION_DISCARD_PREVIOUS - DiscardPrevious = 3, -} - -/// -/// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE -public enum RenderPassBeginningAccessType : int -{ - /// - /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_DISCARD - Discard = 0, - /// - /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_PRESERVE - Preserve = 1, - /// - /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_CLEAR - Clear = 2, - /// - /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_NO_ACCESS - NoAccess = 3, -} - -/// -/// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE -public enum RenderPassEndingAccessType : int -{ - /// - /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_DISCARD - Discard = 0, - /// - /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_PRESERVE - Preserve = 1, - /// - /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_RESOLVE - Resolve = 2, - /// - /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_NO_ACCESS - NoAccess = 3, -} - -/// -/// D3D12_RENDER_PASS_FLAGS -[Flags] -public enum RenderPassFlags : uint -{ - /// - /// D3D12_RENDER_PASS_FLAG_NONE - None = 0, - /// - /// D3D12_RENDER_PASS_FLAG_ALLOW_UAV_WRITES - AllowUavWrites = 1, - /// - /// D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS - SuspendingPass = 2, - /// - /// D3D12_RENDER_PASS_FLAG_RESUMING_PASS - ResumingPass = 4, -} - -/// -/// D3D12_SHADER_CACHE_MODE -public enum ShaderCacheMode : int -{ - /// - /// D3D12_SHADER_CACHE_MODE_MEMORY - Memory = 0, - /// - /// D3D12_SHADER_CACHE_MODE_DISK - Disk = 1, -} - -/// -/// D3D12_SHADER_CACHE_FLAGS -[Flags] -public enum ShaderCacheFlags : uint -{ - /// - /// D3D12_SHADER_CACHE_FLAG_NONE - None = 0, - /// - /// D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED - DriverVersioned = 1, - /// - /// D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR - UseWorkingDir = 2, -} - -/// -/// D3D12_SHADER_CACHE_KIND_FLAGS -[Flags] -public enum ShaderCacheKindFlags : uint -{ - None = 0, - /// - /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CACHE_FOR_DRIVER - ImplicitD3DCacheForDriver = 1, - /// - /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS - ImplicitD3DConversions = 2, - /// - /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED - ImplicitDriverManaged = 4, - /// - /// D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED - ApplicationManaged = 8, -} - -/// -/// D3D12_SHADER_CACHE_CONTROL_FLAGS -[Flags] -public enum ShaderCacheControlFlags : uint -{ - None = 0, - /// - /// D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLE - Disable = 1, - /// - /// D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE - Enable = 2, - /// - /// D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR - Clear = 4, -} - -/// -/// D3D12_GPU_BASED_VALIDATION_FLAGS -[Flags] -public enum GpuBasedValidationFlags : int -{ - /// - /// D3D12_GPU_BASED_VALIDATION_FLAGS_NONE - None = 0, - /// - /// D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING - DisableStateTracking = 1, -} - -/// -/// D3D12_RLDO_FLAGS -[Flags] -public enum ReportLiveDeviceObjectFlags : int -{ - /// - /// D3D12_RLDO_NONE - None = 0, - /// - /// D3D12_RLDO_SUMMARY - Summary = 1, - /// - /// D3D12_RLDO_DETAIL - Detail = 2, - /// - /// D3D12_RLDO_IGNORE_INTERNAL - IgnoreInternal = 4, -} - -/// -/// D3D12_DEBUG_DEVICE_PARAMETER_TYPE -public enum DebugDeviceParameterType : int -{ - /// - /// D3D12_DEBUG_DEVICE_PARAMETER_FEATURE_FLAGS - FeatureFlags = 0, - /// - /// D3D12_DEBUG_DEVICE_PARAMETER_GPU_BASED_VALIDATION_SETTINGS - GpuBasedValidationSettings = 1, - /// - /// D3D12_DEBUG_DEVICE_PARAMETER_GPU_SLOWDOWN_PERFORMANCE_FACTOR - GpuSlowdownPerformanceFactor = 2, -} - -/// -/// D3D12_DEBUG_FEATURE -public enum DebugFeature : int -{ - /// - /// D3D12_DEBUG_FEATURE_NONE - None = 0, - /// - /// D3D12_DEBUG_FEATURE_ALLOW_BEHAVIOR_CHANGING_DEBUG_AIDS - AllowBehaviorChangingDebugAids = 1, - /// - /// D3D12_DEBUG_FEATURE_CONSERVATIVE_RESOURCE_STATE_TRACKING - ConservativeResourceStateTracking = 2, - /// - /// D3D12_DEBUG_FEATURE_DISABLE_VIRTUALIZED_BUNDLES_VALIDATION - DisableVirtualizedBundlesValidation = 4, - /// - /// D3D12_DEBUG_FEATURE_EMULATE_WINDOWS7 - EmulateWindows7 = 8, -} - -/// -/// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE -public enum GpuBasedValidationShaderPatchMode : int -{ - /// - /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_NONE - None = 0, - /// - /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_STATE_TRACKING_ONLY - StateTrackingOnly = 1, - /// - /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_UNGUARDED_VALIDATION - UnguardedValidation = 2, - /// - /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_GUARDED_VALIDATION - GuardedValidation = 3, - /// - /// NUM_D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODES - Count = 4, -} - -/// -/// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAGS -[Flags] -public enum GpuBasedValidationPipelineStateCreateFlags : int -{ - /// - /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_NONE - None = 0, - /// - /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_TRACKING_ONLY_SHADERS - FrontLoadCreateTrackingOnlyShaders = 1, - /// - /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_UNGUARDED_VALIDATION_SHADERS - FrontLoadCreateUnguardedValidationShaders = 2, - /// - /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_GUARDED_VALIDATION_SHADERS - FrontLoadCreateGuardedValidationShaders = 4, - /// - /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAGS_VALID_MASK - ValidMask = 7, -} - -/// -/// D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE -public enum DebugCommandListParameterType : int -{ - /// - /// D3D12_DEBUG_COMMAND_LIST_PARAMETER_GPU_BASED_VALIDATION_SETTINGS - GpuBasedValidationSettings = 0, -} - -/// -/// D3D12_MESSAGE_CATEGORY -public enum MessageCategory : int -{ - /// - /// D3D12_MESSAGE_CATEGORY_APPLICATION_DEFINED - ApplicationDefined = 0, - /// - /// D3D12_MESSAGE_CATEGORY_MISCELLANEOUS - Miscellaneous = 1, - /// - /// D3D12_MESSAGE_CATEGORY_INITIALIZATION - Initialization = 2, - /// - /// D3D12_MESSAGE_CATEGORY_CLEANUP - Cleanup = 3, - /// - /// D3D12_MESSAGE_CATEGORY_COMPILATION - Compilation = 4, - /// - /// D3D12_MESSAGE_CATEGORY_STATE_CREATION - StateCreation = 5, - /// - /// D3D12_MESSAGE_CATEGORY_STATE_SETTING - StateSetting = 6, - /// - /// D3D12_MESSAGE_CATEGORY_STATE_GETTING - StateGetting = 7, - /// - /// D3D12_MESSAGE_CATEGORY_RESOURCE_MANIPULATION - ResourceManipulation = 8, - /// - /// D3D12_MESSAGE_CATEGORY_EXECUTION - Execution = 9, - /// - /// D3D12_MESSAGE_CATEGORY_SHADER - Shader = 10, -} - -/// -/// D3D12_MESSAGE_SEVERITY -public enum MessageSeverity : int -{ - /// - /// D3D12_MESSAGE_SEVERITY_CORRUPTION - Corruption = 0, - /// - /// D3D12_MESSAGE_SEVERITY_ERROR - Error = 1, - /// - /// D3D12_MESSAGE_SEVERITY_WARNING - Warning = 2, - /// - /// D3D12_MESSAGE_SEVERITY_INFO - Info = 3, - /// - /// D3D12_MESSAGE_SEVERITY_MESSAGE - Message = 4, -} - -/// -/// D3D12_MESSAGE_ID -public enum MessageId : int -{ - /// - /// D3D12_MESSAGE_ID_UNKNOWN - Unknown = 0, - /// - /// D3D12_MESSAGE_ID_STRING_FROM_APPLICATION - StringFromApplication = 1, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_THIS - CorruptedThis = 2, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER1 - CorruptedParameter1 = 3, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER2 - CorruptedParameter2 = 4, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER3 - CorruptedParameter3 = 5, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER4 - CorruptedParameter4 = 6, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER5 - CorruptedParameter5 = 7, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER6 - CorruptedParameter6 = 8, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER7 - CorruptedParameter7 = 9, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER8 - CorruptedParameter8 = 10, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER9 - CorruptedParameter9 = 11, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER10 - CorruptedParameter10 = 12, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER11 - CorruptedParameter11 = 13, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER12 - CorruptedParameter12 = 14, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER13 - CorruptedParameter13 = 15, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER14 - CorruptedParameter14 = 16, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER15 - CorruptedParameter15 = 17, - /// - /// D3D12_MESSAGE_ID_CORRUPTED_MULTITHREADING - CorruptedMultithreading = 18, - /// - /// D3D12_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY - MessageReportingOutOfMemory = 19, - /// - /// D3D12_MESSAGE_ID_GETPRIVATEDATA_MOREDATA - GetPrivateDataMoreData = 20, - /// - /// D3D12_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA - SetPrivateDataInvalidFreeData = 21, - /// - /// D3D12_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS - SetPrivateDataChangingParams = 24, - /// - /// D3D12_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY - SetPrivateDataOutOfMemory = 25, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT - CreateShaderResourceViewUnrecognizedFormat = 26, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC - CreateShaderResourceViewInvalidDesc = 27, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT - CreateShaderResourceViewInvalidFormat = 28, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANESLICE - CreateShaderResourceViewInvalidVideoPlaneSlice = 29, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDPLANESLICE - CreateShaderResourceViewInvalidPlaneSlice = 30, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS - CreateShaderResourceViewInvalidDimensions = 31, - /// - /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE - CreateShaderResourceViewInvalidResource = 32, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT - CreateRenderTargetViewUnrecognizedFormat = 35, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT - CreateRenderTargetViewUnsupportedFormat = 36, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC - CreateRenderTargetViewInvalidDesc = 37, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT - CreateRenderTargetViewInvalidFormat = 38, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDVIDEOPLANESLICE - CreateRenderTargetViewInvalidVideoPlaneSlice = 39, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDPLANESLICE - CreateRenderTargetViewInvalidPlaneSlice = 40, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS - CreateRenderTargetViewInvalidDimensions = 41, - /// - /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE - CreateRenderTargetViewInvalidResource = 42, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT - CreateDepthStencilViewUnrecognizedFormat = 45, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC - CreateDepthStencilViewInvalidDesc = 46, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT - CreateDepthStencilViewInvalidFormat = 47, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS - CreateDepthStencilViewInvalidDimensions = 48, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE - CreateDepthStencilViewInvalidResource = 49, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY - CreateInputLayoutOutOfMemory = 52, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS - CreateInputLayoutTooManyElements = 53, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT - CreateInputLayoutInvalidFormat = 54, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT - CreateInputLayoutIncompatibleFormat = 55, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT - CreateInputLayoutInvalidSlot = 56, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS - CreateInputLayoutInvalidInputSlotClass = 57, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH - CreateInputLayoutStepRateSlotClassMismatch = 58, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE - CreateInputLayoutInvalidSlotClassChange = 59, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE - CreateInputLayoutInvalidStepRateChange = 60, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT - CreateInputLayoutInvalidAlignment = 61, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC - CreateInputLayoutDuplicateSemantic = 62, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE - CreateInputLayoutUnparseableInputSignature = 63, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC - CreateInputLayoutNullSemantic = 64, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT - CreateInputLayoutMissingElement = 65, - /// - /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY - CreateVertexShaderOutOfMemory = 66, - /// - /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE - CreateVertexShaderInvalidShaderBytecode = 67, - /// - /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE - CreateVertexShaderInvalidShaderType = 68, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY - CreateGeometryShaderOutOfMemory = 69, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE - CreateGeometryShaderInvalidShaderBytecode = 70, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE - CreateGeometryShaderInvalidShaderType = 71, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY - CreateGeometryShaderWithStreamOutputOutOfMemory = 72, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE - CreateGeometryShaderWithStreamOutputInvalidShaderBytecode = 73, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE - CreateGeometryShaderWithStreamOutputInvalidShaderType = 74, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES - CreateGeometryShaderWithStreamOutputInvalidNumEntries = 75, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED - CreateGeometryShaderWithStreamOutputOutputStreamStrideUnused = 76, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED - CreateGeometryShaderWithStreamOutputOutputSlot0Expected = 79, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT - CreateGeometryShaderWithStreamOutputInvalidOutputSlot = 80, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT - CreateGeometryShaderWithStreamOutputOnlyoneelementperslot = 81, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT - CreateGeometryShaderWithStreamOutputInvalidComponentCount = 82, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT - CreateGeometryShaderWithStreamOutputInvalidStartComponentAndComponentCount = 83, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION - CreateGeometryShaderWithStreamOutputInvalidGapDefinition = 84, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT - CreateGeometryShaderWithStreamOutputRepeatedOutput = 85, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE - CreateGeometryShaderWithStreamOutputInvalidOutputStreamStride = 86, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC - CreateGeometryShaderWithStreamOutputMissingsemantic = 87, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH - CreateGeometryShaderWithStreamOutputMaskmismatch = 88, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS - CreateGeometryShaderWithStreamOutputCanthaveonlygaps = 89, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX - CreateGeometryShaderWithStreamOutputDecltoocomplex = 90, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE - CreateGeometryShaderWithStreamOutputMissingOutputSignature = 91, - /// - /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY - CreatePixelShaderOutOfMemory = 92, - /// - /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE - CreatePixelShaderInvalidShaderBytecode = 93, - /// - /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE - CreatePixelShaderInvalidShaderType = 94, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE - CreateRasterizerStateInvalidFillMode = 95, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE - CreateRasterizerStateInvalidCullMode = 96, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP - CreateRasterizerStateInvalidDepthBiasClamp = 97, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS - CreateRasterizerStateInvalidSlopeScaledDepthBias = 98, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK - CreateDepthStencilStateInvalidDepthWriteMask = 100, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC - CreateDepthStencilStateInvalidDepthFunc = 101, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP - CreateDepthStencilStateInvalidFrontFaceStencilFailOp = 102, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP - CreateDepthStencilStateInvalidFrontFaceStencilZFailOp = 103, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP - CreateDepthStencilStateInvalidFrontFaceStencilPassOp = 104, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC - CreateDepthStencilStateInvalidFrontFaceStencilFunc = 105, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP - CreateDepthStencilStateInvalidBackFaceStencilFailOp = 106, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP - CreateDepthStencilStateInvalidBackFaceStencilZFailOp = 107, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP - CreateDepthStencilStateInvalidBackFaceStencilPassOp = 108, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC - CreateDepthStencilStateInvalidBackFaceStencilFunc = 109, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND - CreateBlendStateInvalidSrcBlend = 111, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND - CreateBlendStateInvalidDestBlend = 112, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP - CreateBlendStateInvalidBlendOp = 113, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA - CreateBlendStateInvalidSrcBlendAlpha = 114, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA - CreateBlendStateInvalidDestBlendAlpha = 115, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA - CreateBlendStateInvalidBlendOpAlpha = 116, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK - CreateBlendStateInvalidRenderTargetWriteMask = 117, - /// - /// D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID - ClearDepthStencilViewInvalid = 135, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_NOT_SET - CommandListDrawRootSignatureNotSet = 200, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_MISMATCH - CommandListDrawRootSignatureMismatch = 201, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET - CommandListDrawVertexBufferNotSet = 202, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL - CommandListDrawVertexBufferStrideTooSmall = 209, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_TOO_SMALL - CommandListDrawVertexBufferTooSmall = 210, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_NOT_SET - CommandListDrawIndexBufferNotSet = 211, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_FORMAT_INVALID - CommandListDrawIndexBufferFormatInvalid = 212, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_TOO_SMALL - CommandListDrawIndexBufferTooSmall = 213, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INVALID_PRIMITIVETOPOLOGY - CommandListDrawInvalidPrimitivetopology = 219, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_STRIDE_UNALIGNED - CommandListDrawVertexStrideUnaligned = 221, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_OFFSET_UNALIGNED - CommandListDrawIndexOffsetUnaligned = 222, - /// - /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT - DeviceRemovalProcessAtFault = 232, - /// - /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT - DeviceRemovalProcessPossiblyAtFault = 233, - /// - /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT - DeviceRemovalProcessNotAtFault = 234, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC - CreateInputLayoutTrailingDigitInSemantic = 239, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC - CreateGeometryShaderWithStreamOutputTrailingDigitInSemantic = 240, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH - CreateInputLayoutTypeMismatch = 245, - /// - /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT - CreateInputLayoutEmptyLayout = 253, - /// - /// D3D12_MESSAGE_ID_LIVE_OBJECT_SUMMARY - LiveObjectSummary = 255, - /// - /// D3D12_MESSAGE_ID_LIVE_DEVICE - LiveDevice = 274, - /// - /// D3D12_MESSAGE_ID_LIVE_SWAPCHAIN - LiveSwapchain = 275, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS - CreateDepthStencilViewInvalidFlags = 276, - /// - /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE - CreateVertexShaderInvalidClassLinkage = 277, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE - CreateGeometryShaderInvalidClassLinkage = 278, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER - CreateGeometryShaderWithStreamOutputInvalidStreamToRasterizer = 280, - /// - /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE - CreatePixelShaderInvalidClassLinkage = 283, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM - CreateGeometryShaderWithStreamOutputInvalidStream = 284, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES - CreateGeometryShaderWithStreamOutputUnexpectedEntries = 285, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES - CreateGeometryShaderWithStreamOutputUnexpectedStrides = 286, - /// - /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES - CreateGeometryShaderWithStreamOutputInvalidNumStrides = 287, - /// - /// D3D12_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY - CreateHullShaderOutOfMemory = 289, - /// - /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE - CreateHullShaderInvalidShaderBytecode = 290, - /// - /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE - CreateHullShaderInvalidShaderType = 291, - /// - /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE - CreateHullShaderInvalidClassLinkage = 292, - /// - /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY - CreateDomainShaderOutOfMemory = 294, - /// - /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE - CreateDomainShaderInvalidShaderBytecode = 295, - /// - /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE - CreateDomainShaderInvalidShaderType = 296, - /// - /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE - CreateDomainShaderInvalidClassLinkage = 297, - /// - /// D3D12_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED - ResourceUnmapNotMapped = 310, - /// - /// D3D12_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE - DeviceCheckfeaturesupportMismatchedDataSize = 318, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY - CreateComputeShaderOutOfMemory = 321, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE - CreateComputeShaderInvalidShaderBytecode = 322, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE - CreateComputeShaderInvalidClassLinkage = 323, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateVertexShaderDoubleFloatOpsNotSupported = 331, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateHullShaderDoubleFloatOpsNotSupported = 332, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateDomainShaderDoubleFloatOpsNotSupported = 333, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateGeometryShaderDoubleFloatOpsNotSupported = 334, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputDoubleFloatOpsNotSupported = 335, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreatePixelShaderDoubleFloatOpsNotSupported = 336, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED - DeviceCreateComputeShaderDoubleFloatOpsNotSupported = 337, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE - CreateUnorderedAccessViewInvalidResource = 340, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC - CreateUnorderedAccessViewInvalidDesc = 341, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT - CreateUnorderedAccessViewInvalidFormat = 342, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANESLICE - CreateUnorderedAccessViewInvalidVideoPlaneSlice = 343, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDPLANESLICE - CreateUnorderedAccessViewInvalidPlaneSlice = 344, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS - CreateUnorderedAccessViewInvalidDimensions = 345, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT - CreateUnorderedAccessViewUnrecognizedFormat = 346, - /// - /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS - CreateUnorderedAccessViewInvalidFlags = 354, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT - CreateRasterizerStateInvalidforcedsamplecount = 401, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS - CreateBlendStateInvalidlogicops = 403, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateVertexShaderDoubleExtensionsNotSupported = 410, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateHullShaderDoubleExtensionsNotSupported = 412, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateDomainShaderDoubleExtensionsNotSupported = 414, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderDoubleExtensionsNotSupported = 416, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputDoubleExtensionsNotSupported = 418, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreatePixelShaderDoubleExtensionsNotSupported = 420, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED - DeviceCreateComputeShaderDoubleExtensionsNotSupported = 422, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED - DeviceCreateVertexShaderUAVsNotSupported = 425, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED - DeviceCreateHullShaderUAVsNotSupported = 426, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED - DeviceCreateDomainShaderUAVsNotSupported = 427, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED - DeviceCreateGeometryShaderUAVsNotSupported = 428, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED - DeviceCreateGeometryShaderWithStreamOutputUAVsNotSupported = 429, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED - DeviceCreatePixelShaderUAVsNotSupported = 430, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED - DeviceCreateComputeShaderUAVsNotSupported = 431, - /// - /// D3D12_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT - DeviceClearViewInvalidsourcerect = 447, - /// - /// D3D12_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT - DeviceClearViewEmptyRect = 448, - /// - /// D3D12_MESSAGE_ID_UPDATETILEMAPPINGS_INVALID_PARAMETER - UpdateTileMappingsInvalidParameter = 493, - /// - /// D3D12_MESSAGE_ID_COPYTILEMAPPINGS_INVALID_PARAMETER - CopyTileMappingsInvalidParameter = 494, - /// - /// D3D12_MESSAGE_ID_CREATEDEVICE_INVALIDARGS - CreateDeviceInvalidArgs = 506, - /// - /// D3D12_MESSAGE_ID_CREATEDEVICE_WARNING - CreateDeviceWarning = 507, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_TYPE - ResourceBarrierInvalidType = 519, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_NULL_POINTER - ResourceBarrierNullPointer = 520, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_SUBRESOURCE - ResourceBarrierInvalidSubresource = 521, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_RESERVED_BITS - ResourceBarrierReservedBits = 522, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISSING_BIND_FLAGS - ResourceBarrierMissingBindFlags = 523, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_MISC_FLAGS - ResourceBarrierMismatchingMiscFlags = 524, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MATCHING_STATES - ResourceBarrierMatchingStates = 525, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMBINATION - ResourceBarrierInvalidCombination = 526, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH - ResourceBarrierBeforeAfterMismatch = 527, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_RESOURCE - ResourceBarrierInvalidResource = 528, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_SAMPLE_COUNT - ResourceBarrierSampleCount = 529, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAGS - ResourceBarrierInvalidFlags = 530, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMBINED_FLAGS - ResourceBarrierInvalidCombinedFlags = 531, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAGS_FOR_FORMAT - ResourceBarrierInvalidFlagsForFormat = 532, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_SPLIT_BARRIER - ResourceBarrierInvalidSplitBarrier = 533, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_UNMATCHED_END - ResourceBarrierUnmatchedEnd = 534, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_UNMATCHED_BEGIN - ResourceBarrierUnmatchedBegin = 535, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAG - ResourceBarrierInvalidFlag = 536, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMMAND_LIST_TYPE - ResourceBarrierInvalidCommandListType = 537, - /// - /// D3D12_MESSAGE_ID_INVALID_SUBRESOURCE_STATE - InvalidSubresourceState = 538, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_CONTENTION - CommandAllocatorContention = 540, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_RESET - CommandAllocatorReset = 541, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_RESET_BUNDLE - CommandAllocatorResetBundle = 542, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_CANNOT_RESET - CommandAllocatorCannotReset = 543, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_OPEN - CommandListOpen = 544, - /// - /// D3D12_MESSAGE_ID_INVALID_BUNDLE_API - InvalidBundleApi = 546, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_CLOSED - CommandListClosed = 547, - /// - /// D3D12_MESSAGE_ID_WRONG_COMMAND_ALLOCATOR_TYPE - WrongCommandAllocatorType = 549, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_SYNC - CommandAllocatorSync = 552, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_SYNC - CommandListSync = 553, - /// - /// D3D12_MESSAGE_ID_SET_DESCRIPTOR_HEAP_INVALID - SetDescriptorHeapInvalid = 554, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDQUEUE - CreateCommandQueue = 557, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDALLOCATOR - CreateCommandAllocator = 558, - /// - /// D3D12_MESSAGE_ID_CREATE_PIPELINESTATE - CreatePipelineState = 559, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDLIST12 - CreateCommandList12 = 560, - /// - /// D3D12_MESSAGE_ID_CREATE_RESOURCE - CreateResource = 562, - /// - /// D3D12_MESSAGE_ID_CREATE_DESCRIPTORHEAP - CreateDescriptorHeap = 563, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOTSIGNATURE - CreateRootSignature = 564, - /// - /// D3D12_MESSAGE_ID_CREATE_LIBRARY - CreateLibrary = 565, - /// - /// D3D12_MESSAGE_ID_CREATE_HEAP - CreateHeap = 566, - /// - /// D3D12_MESSAGE_ID_CREATE_MONITOREDFENCE - CreateMonitoredFence = 567, - /// - /// D3D12_MESSAGE_ID_CREATE_QUERYHEAP - CreateQueryHeap = 568, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDSIGNATURE - CreateCommandSignature = 569, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDQUEUE - LiveCommandQueue = 570, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDALLOCATOR - LiveCommandAllocator = 571, - /// - /// D3D12_MESSAGE_ID_LIVE_PIPELINESTATE - LivePipelineState = 572, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDLIST12 - LiveCommandList12 = 573, - /// - /// D3D12_MESSAGE_ID_LIVE_RESOURCE - LiveResource = 575, - /// - /// D3D12_MESSAGE_ID_LIVE_DESCRIPTORHEAP - LiveDescriptorHeap = 576, - /// - /// D3D12_MESSAGE_ID_LIVE_ROOTSIGNATURE - LiveRootSignature = 577, - /// - /// D3D12_MESSAGE_ID_LIVE_LIBRARY - LiveLibrary = 578, - /// - /// D3D12_MESSAGE_ID_LIVE_HEAP - LiveHeap = 579, - /// - /// D3D12_MESSAGE_ID_LIVE_MONITOREDFENCE - LiveMonitoredFence = 580, - /// - /// D3D12_MESSAGE_ID_LIVE_QUERYHEAP - LiveQueryHeap = 581, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDSIGNATURE - LiveCommandSignature = 582, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDQUEUE - DestroyCommandQueue = 583, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDALLOCATOR - DestroyCommandAllocator = 584, - /// - /// D3D12_MESSAGE_ID_DESTROY_PIPELINESTATE - DestroyPipelineState = 585, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDLIST12 - DestroyCommandList12 = 586, - /// - /// D3D12_MESSAGE_ID_DESTROY_RESOURCE - DestroyResource = 588, - /// - /// D3D12_MESSAGE_ID_DESTROY_DESCRIPTORHEAP - DestroyDescriptorHeap = 589, - /// - /// D3D12_MESSAGE_ID_DESTROY_ROOTSIGNATURE - DestroyRootSignature = 590, - /// - /// D3D12_MESSAGE_ID_DESTROY_LIBRARY - DestroyLibrary = 591, - /// - /// D3D12_MESSAGE_ID_DESTROY_HEAP - DestroyHeap = 592, - /// - /// D3D12_MESSAGE_ID_DESTROY_MONITOREDFENCE - DestroyMonitoredFence = 593, - /// - /// D3D12_MESSAGE_ID_DESTROY_QUERYHEAP - DestroyQueryHeap = 594, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDSIGNATURE - DestroyCommandSignature = 595, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDIMENSIONS - CreateResourceInvalidDimensions = 597, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDMISCFLAGS - CreateResourceInvalidMiscFlags = 599, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDARG_RETURN - CreateResourceInvalidArgReturn = 602, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_OUTOFMEMORY_RETURN - CreateResourceOutOfMemoryReturn = 603, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDESC - CreateResourceInvalidDesc = 604, - /// - /// D3D12_MESSAGE_ID_POSSIBLY_INVALID_SUBRESOURCE_STATE - PossiblyInvalidSubresourceState = 607, - /// - /// D3D12_MESSAGE_ID_INVALID_USE_OF_NON_RESIDENT_RESOURCE - InvalidUseOfNonResidentResource = 608, - /// - /// D3D12_MESSAGE_ID_POSSIBLE_INVALID_USE_OF_NON_RESIDENT_RESOURCE - PossibleInvalidUseOfNonResidentResource = 609, - /// - /// D3D12_MESSAGE_ID_BUNDLE_PIPELINE_STATE_MISMATCH - BundlePipelineStateMismatch = 610, - /// - /// D3D12_MESSAGE_ID_PRIMITIVE_TOPOLOGY_MISMATCH_PIPELINE_STATE - PrimitiveTopologyMismatchPipelineState = 611, - /// - /// D3D12_MESSAGE_ID_RENDER_TARGET_FORMAT_MISMATCH_PIPELINE_STATE - RenderTargetFormatMismatchPipelineState = 613, - /// - /// D3D12_MESSAGE_ID_RENDER_TARGET_SAMPLE_DESC_MISMATCH_PIPELINE_STATE - RenderTargetSampleDescMismatchPipelineState = 614, - /// - /// D3D12_MESSAGE_ID_DEPTH_STENCIL_FORMAT_MISMATCH_PIPELINE_STATE - DepthStencilFormatMismatchPipelineState = 615, - /// - /// D3D12_MESSAGE_ID_DEPTH_STENCIL_SAMPLE_DESC_MISMATCH_PIPELINE_STATE - DepthStencilSampleDescMismatchPipelineState = 616, - /// - /// D3D12_MESSAGE_ID_CREATESHADER_INVALIDBYTECODE - CreateShaderInvalidBytecode = 622, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_NULLDESC - CreateHeapNullDesc = 623, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDSIZE - CreateHeapInvalidSize = 624, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDHEAPTYPE - CreateHeapUnrecognizedHeapType = 625, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDCPUPAGEPROPERTIES - CreateHeapUnrecognizedCPUPageProperties = 626, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDMEMORYPOOL - CreateHeapUnrecognizedMemoryPool = 627, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDPROPERTIES - CreateHeapInvalidProperties = 628, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDALIGNMENT - CreateHeapInvalidAlignment = 629, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDMISCFLAGS - CreateHeapUnrecognizedMiscFlags = 630, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDMISCFLAGS - CreateHeapInvalidMiscFlags = 631, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDARG_RETURN - CreateHeapInvalidArgReturn = 632, - /// - /// D3D12_MESSAGE_ID_CREATEHEAP_OUTOFMEMORY_RETURN - CreateHeapOutOfMemoryReturn = 633, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLHEAPPROPERTIES - CreateResourceAndHeapNullHeapProperties = 634, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDHEAPTYPE - CreateResourceAndHeapUnrecognizedHeapType = 635, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDCPUPAGEPROPERTIES - CreateResourceAndHeapUnrecognizedCPUPageProperties = 636, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDMEMORYPOOL - CreateResourceAndHeapUnrecognizedMemoryPool = 637, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDHEAPPROPERTIES - CreateResourceAndHeapInvalidHeapProperties = 638, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDHEAPMISCFLAGS - CreateResourceAndHeapUnrecognizedHeapMiscFlags = 639, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDHEAPMISCFLAGS - CreateResourceAndHeapInvalidHeapMiscFlags = 640, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDARG_RETURN - CreateResourceAndHeapInvalidArgReturn = 641, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_OUTOFMEMORY_RETURN - CreateResourceAndHeapOutOfMemoryReturn = 642, - /// - /// D3D12_MESSAGE_ID_GETCUSTOMHEAPPROPERTIES_UNRECOGNIZEDHEAPTYPE - GetCustomHeapPropertiesUnrecognizedHeapType = 643, - /// - /// D3D12_MESSAGE_ID_GETCUSTOMHEAPPROPERTIES_INVALIDHEAPTYPE - GetCustomHeapPropertiesInvalidHeapType = 644, - /// - /// D3D12_MESSAGE_ID_CREATE_DESCRIPTOR_HEAP_INVALID_DESC - CreateDescriptorHeapInvalidDesc = 645, - /// - /// D3D12_MESSAGE_ID_INVALID_DESCRIPTOR_HANDLE - InvalidDescriptorHandle = 646, - /// - /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE - CreateRasterizerStateInvalidConservativeRasterMode = 647, - /// - /// D3D12_MESSAGE_ID_CREATE_CONSTANT_BUFFER_VIEW_INVALID_RESOURCE - CreateConstantBufferViewInvalidResource = 649, - /// - /// D3D12_MESSAGE_ID_CREATE_CONSTANT_BUFFER_VIEW_INVALID_DESC - CreateConstantBufferViewInvalidDesc = 650, - /// - /// D3D12_MESSAGE_ID_CREATE_UNORDEREDACCESS_VIEW_INVALID_COUNTER_USAGE - CreateUnorderedAccessViewInvalidCounterUsage = 652, - /// - /// D3D12_MESSAGE_ID_COPY_DESCRIPTORS_INVALID_RANGES - CopyDescriptorsInvalidRanges = 653, - /// - /// D3D12_MESSAGE_ID_COPY_DESCRIPTORS_WRITE_ONLY_DESCRIPTOR - CopyDescriptorsWriteOnlyDescriptor = 654, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RTV_FORMAT_NOT_UNKNOWN - CreateGraphicsPipelineStateRtvFormatNotUnknown = 655, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_RENDER_TARGET_COUNT - CreateGraphicsPipelineStateInvalidRenderTargetCount = 656, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VERTEX_SHADER_NOT_SET - CreateGraphicsPipelineStateVertexShaderNotSet = 657, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INPUTLAYOUT_NOT_SET - CreateGraphicsPipelineStateInputLayoutNotSet = 658, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_HS_DS_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateShaderLinkageHSDSSignatureMismatch = 659, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_REGISTERINDEX - CreateGraphicsPipelineStateShaderLinkageRegisterIndex = 660, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_COMPONENTTYPE - CreateGraphicsPipelineStateShaderLinkageComponentType = 661, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_REGISTERMASK - CreateGraphicsPipelineStateShaderLinkageRegisterMask = 662, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_SYSTEMVALUE - CreateGraphicsPipelineStateShaderLinkageSystemValue = 663, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS - CreateGraphicsPipelineStateShaderLinkageNeverWrittenAlwaysReads = 664, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_MINPRECISION - CreateGraphicsPipelineStateShaderLinkageMinPrecision = 665, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND - CreateGraphicsPipelineStateShaderLinkageSemanticNameNotFound = 666, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_XOR_DS_MISMATCH - CreateGraphicsPipelineStateHSXorDSMismatch = 667, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH - CreateGraphicsPipelineStateHullShaderInputTopologyMismatch = 668, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_DS_CONTROL_POINT_COUNT_MISMATCH - CreateGraphicsPipelineStateHSDSControlPointCountMismatch = 669, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_DS_TESSELLATOR_DOMAIN_MISMATCH - CreateGraphicsPipelineStateHSDSTessellatorDomainMismatch = 670, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN - CreateGraphicsPipelineStateInvalidUseOfCenterMultisamplePattern = 671, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_USE_OF_FORCED_SAMPLE_COUNT - CreateGraphicsPipelineStateInvalidUseOfForcedSampleCount = 672, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_PRIMITIVETOPOLOGY - CreateGraphicsPipelineStateInvalidPrimitivetopology = 673, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_SYSTEMVALUE - CreateGraphicsPipelineStateInvalidSystemValue = 674, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 - CreateGraphicsPipelineStateOMDualSourceBlendingCanOnlyHaveRenderTarget0 = 675, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING - CreateGraphicsPipelineStateOMRenderTargetDoesNotSupportBlending = 676, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_TYPE_MISMATCH - CreateGraphicsPipelineStatePSOutputTypeMismatch = 677, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS - CreateGraphicsPipelineStateOMRenderTargetDoesNotSupportLogicOps = 678, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RENDERTARGETVIEW_NOT_SET - CreateGraphicsPipelineStateRenderTargetViewNotSet = 679, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_DEPTHSTENCILVIEW_NOT_SET - CreateGraphicsPipelineStateDepthStencilViewNotSet = 680, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_GS_INPUT_PRIMITIVE_MISMATCH - CreateGraphicsPipelineStateGSInputPrimitiveMismatch = 681, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_POSITION_NOT_PRESENT - CreateGraphicsPipelineStatePositionNotPresent = 682, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MISSING_ROOT_SIGNATURE_FLAGS - CreateGraphicsPipelineStateMissingRootSignatureFlags = 683, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_INDEX_BUFFER_PROPERTIES - CreateGraphicsPipelineStateInvalidIndexBufferProperties = 684, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_SAMPLE_DESC - CreateGraphicsPipelineStateInvalidSampleDesc = 685, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateHSRootSignatureMismatch = 686, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_DS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateDSRootSignatureMismatch = 687, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateVSRootSignatureMismatch = 688, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_GS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateGSRootSignatureMismatch = 689, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStatePSRootSignatureMismatch = 690, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MISSING_ROOT_SIGNATURE - CreateGraphicsPipelineStateMissingRootSignature = 691, - /// - /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_OPEN_BUNDLE - ExecuteBundleOpenBundle = 692, - /// - /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_DESCRIPTOR_HEAP_MISMATCH - ExecuteBundleDescriptorHeapMismatch = 693, - /// - /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_TYPE - ExecuteBundleType = 694, - /// - /// D3D12_MESSAGE_ID_DRAW_EMPTY_SCISSOR_RECTANGLE - DrawEmptyScissorRectangle = 695, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_BLOB_NOT_FOUND - CreateRootSignatureBlobNotFound = 696, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_DESERIALIZE_FAILED - CreateRootSignatureDeserializeFailed = 697, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_INVALID_CONFIGURATION - CreateRootSignatureInvalidConfiguration = 698, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_NOT_SUPPORTED_ON_DEVICE - CreateRootSignatureNotSupportedOnDevice = 699, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLRESOURCEPROPERTIES - CreateResourceAndHeapNullresourceproperties = 700, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLHEAP - CreateResourceAndHeapNullheap = 701, - /// - /// D3D12_MESSAGE_ID_GETRESOURCEALLOCATIONINFO_INVALIDRDESCS - GetResourceAllocationInfoInvalidrdescs = 702, - /// - /// D3D12_MESSAGE_ID_MAKERESIDENT_NULLOBJECTARRAY - MakeResidentNullObjectArray = 703, - /// - /// D3D12_MESSAGE_ID_EVICT_NULLOBJECTARRAY - EvictNullObjectArray = 705, - /// - /// D3D12_MESSAGE_ID_SET_DESCRIPTOR_TABLE_INVALID - SetDescriptorTableInvalid = 708, - /// - /// D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_INVALID - SetRootConstantInvalid = 709, - /// - /// D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_BUFFER_VIEW_INVALID - SetRootConstantBufferViewInvalid = 710, - /// - /// D3D12_MESSAGE_ID_SET_ROOT_SHADER_RESOURCE_VIEW_INVALID - SetRootShaderResourceViewInvalid = 711, - /// - /// D3D12_MESSAGE_ID_SET_ROOT_UNORDERED_ACCESS_VIEW_INVALID - SetRootUnorderedAccessViewInvalid = 712, - /// - /// D3D12_MESSAGE_ID_SET_VERTEX_BUFFERS_INVALID_DESC - SetVertexBuffersInvalidDesc = 713, - /// - /// D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID_DESC - SetIndexBufferInvalidDesc = 715, - /// - /// D3D12_MESSAGE_ID_SET_STREAM_OUTPUT_BUFFERS_INVALID_DESC - SetStreamOutputBuffersInvalidDesc = 717, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDDIMENSIONALITY - CreateResourceUnrecognizeddimensionality = 718, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDLAYOUT - CreateResourceUnrecognizedlayout = 719, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDIMENSIONALITY - CreateResourceInvalidDimensionality = 720, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDALIGNMENT - CreateResourceInvalidAlignment = 721, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDMIPLEVELS - CreateResourceInvalidMipLevels = 722, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDSAMPLEDESC - CreateResourceInvalidSampleDesc = 723, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDLAYOUT - CreateResourceInvalidlayout = 724, - /// - /// D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID - SetIndexBufferInvalid = 725, - /// - /// D3D12_MESSAGE_ID_SET_VERTEX_BUFFERS_INVALID - SetVertexBuffersInvalid = 726, - /// - /// D3D12_MESSAGE_ID_SET_STREAM_OUTPUT_BUFFERS_INVALID - SetStreamOutputBuffersInvalid = 727, - /// - /// D3D12_MESSAGE_ID_SET_RENDER_TARGETS_INVALID - SetRenderTargetsInvalid = 728, - /// - /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_INVALID_PARAMETERS - CreateQueryHeapInvalidParameters = 729, - /// - /// D3D12_MESSAGE_ID_BEGIN_END_QUERY_INVALID_PARAMETERS - BeginEndQueryInvalidParameters = 731, - /// - /// D3D12_MESSAGE_ID_CLOSE_COMMAND_LIST_OPEN_QUERY - CloseCommandListOpenQuery = 732, - /// - /// D3D12_MESSAGE_ID_RESOLVE_QUERY_DATA_INVALID_PARAMETERS - ResolveQueryDataInvalidParameters = 733, - /// - /// D3D12_MESSAGE_ID_SET_PREDICATION_INVALID_PARAMETERS - SetPredicationInvalidParameters = 734, - /// - /// D3D12_MESSAGE_ID_TIMESTAMPS_NOT_SUPPORTED - TimestampsNotSupported = 735, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDFORMAT - CreateResourceUnrecognizedFormat = 737, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDFORMAT - CreateResourceInvalidFormat = 738, - /// - /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDSUBRESOURCERANGE - GetCopyableFootprintsInvalidSubresourceRange = 739, - /// - /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDBASEOFFSET - GetCopyableFootprintsInvalidBaseOffset = 740, - /// - /// D3D12_MESSAGE_ID_GETCOPYABLELAYOUT_INVALIDSUBRESOURCERANGE - GetCopyableLayoutInvalidSubresourceRange = 739, - /// - /// D3D12_MESSAGE_ID_GETCOPYABLELAYOUT_INVALIDBASEOFFSET - GetCopyableLayoutInvalidBaseOffset = 740, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_HEAP - ResourceBarrierInvalidHeap = 741, - /// - /// D3D12_MESSAGE_ID_CREATE_SAMPLER_INVALID - CreateSamplerInvalid = 742, - /// - /// D3D12_MESSAGE_ID_CREATECOMMANDSIGNATURE_INVALID - CreateCommandSignatureInvalid = 743, - /// - /// D3D12_MESSAGE_ID_EXECUTE_INDIRECT_INVALID_PARAMETERS - ExecuteIndirectInvalidParameters = 744, - /// - /// D3D12_MESSAGE_ID_GETGPUVIRTUALADDRESS_INVALID_RESOURCE_DIMENSION - GetGPUVirtualAddressInvalidResourceDimension = 745, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDCLEARVALUE - CreateResourceInvalidClearValue = 815, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDCLEARVALUEFORMAT - CreateResourceUnrecognizedClearValueFormat = 816, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDCLEARVALUEFORMAT - CreateResourceInvalidClearValueFormat = 817, - /// - /// D3D12_MESSAGE_ID_CREATERESOURCE_CLEARVALUEDENORMFLUSH - CreateResourceClearValueDenormFlush = 818, - /// - /// D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE - ClearRenderTargetViewMismatchingClearValue = 820, - /// - /// D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE - ClearDepthStencilViewMismatchingClearValue = 821, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDHEAP - MapInvalidHeap = 822, - /// - /// D3D12_MESSAGE_ID_UNMAP_INVALIDHEAP - UnmapInvalidHeap = 823, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDRESOURCE - MapInvalidResource = 824, - /// - /// D3D12_MESSAGE_ID_UNMAP_INVALIDRESOURCE - UnmapInvalidResource = 825, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDSUBRESOURCE - MapInvalidSubresource = 826, - /// - /// D3D12_MESSAGE_ID_UNMAP_INVALIDSUBRESOURCE - UnmapInvalidSubresource = 827, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDRANGE - MapInvalidRange = 828, - /// - /// D3D12_MESSAGE_ID_UNMAP_INVALIDRANGE - UnmapInvalidRange = 829, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDDATAPOINTER - MapInvaliddatapointer = 832, - /// - /// D3D12_MESSAGE_ID_MAP_INVALIDARG_RETURN - MapInvalidArgReturn = 833, - /// - /// D3D12_MESSAGE_ID_MAP_OUTOFMEMORY_RETURN - MapOutOfMemoryReturn = 834, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_BUNDLENOTSUPPORTED - ExecuteCommandListsBundleNotSupported = 835, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_COMMANDLISTMISMATCH - ExecuteCommandListsCommandListMismatch = 836, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_OPENCOMMANDLIST - ExecuteCommandListsOpenCommandList = 837, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_FAILEDCOMMANDLIST - ExecuteCommandListsFailedCommandList = 838, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_NULLDST - CopyBufferRegionNullDst = 839, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDDSTRESOURCEDIMENSION - CopyBufferRegionInvalidDstResourceDimension = 840, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_DSTRANGEOUTOFBOUNDS - CopyBufferRegionDstRangeOutOfBounds = 841, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_NULLSRC - CopyBufferRegionNullSrc = 842, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDSRCRESOURCEDIMENSION - CopyBufferRegionInvalidSrcResourceDimension = 843, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_SRCRANGEOUTOFBOUNDS - CopyBufferRegionSrcRangeOutOfBounds = 844, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDCOPYFLAGS - CopyBufferRegionInvalidCopyFlags = 845, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_NULLDST - CopyTextureRegionNullDst = 846, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDDSTTYPE - CopyTextureRegionUnrecognizedDstType = 847, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTRESOURCEDIMENSION - CopyTextureRegionInvalidDstResourceDimension = 848, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTRESOURCE - CopyTextureRegionInvalidDstResource = 849, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTSUBRESOURCE - CopyTextureRegionInvalidDstSubresource = 850, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTOFFSET - CopyTextureRegionInvalidDstOffset = 851, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDDSTFORMAT - CopyTextureRegionUnrecognizeddstformat = 852, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTFORMAT - CopyTextureRegionInvalidDstFormat = 853, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTDIMENSIONS - CopyTextureRegionInvaliddstdimensions = 854, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTROWPITCH - CopyTextureRegionInvaliddstrowpitch = 855, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTPLACEMENT - CopyTextureRegionInvaliddstplacement = 856, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTDSPLACEDFOOTPRINTFORMAT - CopyTextureRegionInvaliddstdsplacedfootprintformat = 857, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_DSTREGIONOUTOFBOUNDS - CopyTextureRegionDstregionoutofbounds = 858, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_NULLSRC - CopyTextureRegionNullSrc = 859, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDSRCTYPE - CopyTextureRegionUnrecognizedsrctype = 860, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCRESOURCEDIMENSION - CopyTextureRegionInvalidSrcResourceDimension = 861, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCRESOURCE - CopyTextureRegionInvalidsrcresource = 862, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCSUBRESOURCE - CopyTextureRegionInvalidsrcsubresource = 863, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCOFFSET - CopyTextureRegionInvalidsrcoffset = 864, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDSRCFORMAT - CopyTextureRegionUnrecognizedsrcformat = 865, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCFORMAT - CopyTextureRegionInvalidsrcformat = 866, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCDIMENSIONS - CopyTextureRegionInvalidsrcdimensions = 867, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCROWPITCH - CopyTextureRegionInvalidsrcrowpitch = 868, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCPLACEMENT - CopyTextureRegionInvalidsrcplacement = 869, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCDSPLACEDFOOTPRINTFORMAT - CopyTextureRegionInvalidsrcdsplacedfootprintformat = 870, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_SRCREGIONOUTOFBOUNDS - CopyTextureRegionSrcregionoutofbounds = 871, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTCOORDINATES - CopyTextureRegionInvaliddstcoordinates = 872, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCBOX - CopyTextureRegionInvalidsrcbox = 873, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_FORMATMISMATCH - CopyTextureRegionFormatMismatch = 874, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_EMPTYBOX - CopyTextureRegionEmptyBox = 875, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDCOPYFLAGS - CopyTextureRegionInvalidCopyFlags = 876, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_SUBRESOURCE_INDEX - ResolveSubresourceInvalidSubresourceIndex = 877, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_FORMAT - ResolveSubresourceInvalidFormat = 878, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_RESOURCE_MISMATCH - ResolveSubresourceResourceMismatch = 879, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_SAMPLE_COUNT - ResolveSubresourceInvalidSampleCount = 880, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_INVALID_SHADER - CreateComputePipelineStateInvalidShader = 881, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_CS_ROOT_SIGNATURE_MISMATCH - CreateComputePipelineStateCSRootSignatureMismatch = 882, - /// - /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_MISSING_ROOT_SIGNATURE - CreateComputePipelineStateMissingRootSignature = 883, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALIDCACHEDBLOB - CreatePipelineStateInvalidCachedBlob = 884, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBADAPTERMISMATCH - CreatePipelineStateCachedblobadaptermismatch = 885, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBDRIVERVERSIONMISMATCH - CreatePipelineStateCachedBlobDriverVersionMismatch = 886, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBDESCMISMATCH - CreatePipelineStateCachedBlobDescMismatch = 887, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBIGNORED - CreatePipelineStateCachedBlobIgnored = 888, - /// - /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDHEAP - WriteToSubresourceInvalidHeap = 889, - /// - /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDRESOURCE - WriteToSubresourceInvalidResource = 890, - /// - /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDBOX - WriteToSubresourceInvalidBox = 891, - /// - /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDSUBRESOURCE - WriteToSubresourceInvalidSubresource = 892, - /// - /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_EMPTYBOX - WriteToSubresourceEmptyBox = 893, - /// - /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDHEAP - ReadFromSubresourceInvalidHeap = 894, - /// - /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDRESOURCE - ReadFromSubresourceInvalidResource = 895, - /// - /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDBOX - ReadFromSubresourceInvalidBox = 896, - /// - /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDSUBRESOURCE - ReadFromSubresourceInvalidSubresource = 897, - /// - /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_EMPTYBOX - ReadFromSubresourceEmptyBox = 898, - /// - /// D3D12_MESSAGE_ID_TOO_MANY_NODES_SPECIFIED - TooManyNodesSpecified = 899, - /// - /// D3D12_MESSAGE_ID_INVALID_NODE_INDEX - InvalidNodeIndex = 900, - /// - /// D3D12_MESSAGE_ID_GETHEAPPROPERTIES_INVALIDRESOURCE - GetheappropertiesInvalidResource = 901, - /// - /// D3D12_MESSAGE_ID_NODE_MASK_MISMATCH - NodeMaskMismatch = 902, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_OUTOFMEMORY - CommandListOutOfMemory = 903, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_MULTIPLE_SWAPCHAIN_BUFFER_REFERENCES - CommandListMultipleSwapchainBufferReferences = 904, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_TOO_MANY_SWAPCHAIN_REFERENCES - CommandListTooManySwapchainReferences = 905, - /// - /// D3D12_MESSAGE_ID_COMMAND_QUEUE_TOO_MANY_SWAPCHAIN_REFERENCES - CommandQueueTooManySwapchainReferences = 906, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_WRONGSWAPCHAINBUFFERREFERENCE - ExecuteCommandListsWrongSwapchainBufferReference = 907, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_SETRENDERTARGETS_INVALIDNUMRENDERTARGETS - CommandListSetRenderTargetsInvalidNumRenderTargets = 908, - /// - /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_TYPE - CreateQueueInvalidType = 909, - /// - /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_FLAGS - CreateQueueInvalidFlags = 910, - /// - /// D3D12_MESSAGE_ID_CREATESHAREDRESOURCE_INVALIDFLAGS - CreateSharedResourceInvalidFlags = 911, - /// - /// D3D12_MESSAGE_ID_CREATESHAREDRESOURCE_INVALIDFORMAT - CreateSharedResourceInvalidFormat = 912, - /// - /// D3D12_MESSAGE_ID_CREATESHAREDHEAP_INVALIDFLAGS - CreatesharedheapInvalidFlags = 913, - /// - /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_UNRECOGNIZEDPROPERTIES - ReflectsharedpropertiesUnrecognizedproperties = 914, - /// - /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDSIZE - ReflectsharedpropertiesInvalidSize = 915, - /// - /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDOBJECT - ReflectsharedpropertiesInvalidobject = 916, - /// - /// D3D12_MESSAGE_ID_KEYEDMUTEX_INVALIDOBJECT - KeyedMutexInvalidobject = 917, - /// - /// D3D12_MESSAGE_ID_KEYEDMUTEX_INVALIDKEY - KeyedMutexInvalidkey = 918, - /// - /// D3D12_MESSAGE_ID_KEYEDMUTEX_WRONGSTATE - KeyedMutexWrongstate = 919, - /// - /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_PRIORITY - CreateQueueInvalidPriority = 920, - /// - /// D3D12_MESSAGE_ID_OBJECT_DELETED_WHILE_STILL_IN_USE - ObjectDeletedWhileStillInUse = 921, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALID_FLAGS - CreatePipelineStateInvalidFlags = 922, - /// - /// D3D12_MESSAGE_ID_HEAP_ADDRESS_RANGE_HAS_NO_RESOURCE - HeapAddressRangeHasNoResource = 923, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_RENDER_TARGET_DELETED - CommandListDrawRenderTargetDeleted = 924, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_ALL_RENDER_TARGETS_HAVE_UNKNOWN_FORMAT - CreateGraphicsPipelineStateAllRenderTargetsHaveUnknownFormat = 925, - /// - /// D3D12_MESSAGE_ID_HEAP_ADDRESS_RANGE_INTERSECTS_MULTIPLE_BUFFERS - HeapAddressRangeIntersectsMultipleBuffers = 926, - /// - /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_GPU_WRITTEN_READBACK_RESOURCE_MAPPED - ExecuteCommandListsGpuWrittenReadbackResourceMapped = 927, - /// - /// D3D12_MESSAGE_ID_UNMAP_RANGE_NOT_EMPTY - UnmapRangeNotEmpty = 929, - /// - /// D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE - MapInvalidNullrange = 930, - /// - /// D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE - UnmapInvalidNullrange = 931, - /// - /// D3D12_MESSAGE_ID_NO_GRAPHICS_API_SUPPORT - NoGraphicsApiSupport = 932, - /// - /// D3D12_MESSAGE_ID_NO_COMPUTE_API_SUPPORT - NoComputeApiSupport = 933, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_RESOURCE_FLAGS_NOT_SUPPORTED - ResolveSubresourceResourceFlagsNotSupported = 934, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_ROOT_ARGUMENT_UNINITIALIZED - GpuBasedValidationRootArgumentUninitialized = 935, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_HEAP_INDEX_OUT_OF_BOUNDS - GpuBasedValidationDescriptorHeapIndexOutOfBounds = 936, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TABLE_REGISTER_INDEX_OUT_OF_BOUNDS - GpuBasedValidationDescriptorTableRegisterIndexOutOfBounds = 937, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_UNINITIALIZED - GpuBasedValidationDescriptorUninitialized = 938, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TYPE_MISMATCH - GpuBasedValidationDescriptorTypeMismatch = 939, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_SRV_RESOURCE_DIMENSION_MISMATCH - GpuBasedValidationSrvResourceDimensionMismatch = 940, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UAV_RESOURCE_DIMENSION_MISMATCH - GpuBasedValidationUavResourceDimensionMismatch = 941, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_INCOMPATIBLE_RESOURCE_STATE - GpuBasedValidationIncompatibleResourceState = 942, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_NULLDST - CopyResourceNullDst = 943, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_INVALIDDSTRESOURCE - CopyResourceInvalidDstResource = 944, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_NULLSRC - CopyResourceNullSrc = 945, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_INVALIDSRCRESOURCE - CopyResourceInvalidsrcresource = 946, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_NULLDST - ResolveSubresourceNullDst = 947, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALIDDSTRESOURCE - ResolveSubresourceInvalidDstResource = 948, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_NULLSRC - ResolveSubresourceNullSrc = 949, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALIDSRCRESOURCE - ResolveSubresourceInvalidsrcresource = 950, - /// - /// D3D12_MESSAGE_ID_PIPELINE_STATE_TYPE_MISMATCH - PipelineStateTypeMismatch = 951, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DISPATCH_ROOT_SIGNATURE_NOT_SET - CommandListDispatchRootSignatureNotSet = 952, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DISPATCH_ROOT_SIGNATURE_MISMATCH - CommandListDispatchRootSignatureMismatch = 953, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_ZERO_BARRIERS - ResourceBarrierZeroBarriers = 954, - /// - /// D3D12_MESSAGE_ID_BEGIN_END_EVENT_MISMATCH - BeginEndEventMismatch = 955, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_POSSIBLE_BEFORE_AFTER_MISMATCH - ResourceBarrierPossibleBeforeAfterMismatch = 956, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_BEGIN_END - ResourceBarrierMismatchingBeginEnd = 957, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_INVALID_RESOURCE - GpuBasedValidationInvalidResource = 958, - /// - /// D3D12_MESSAGE_ID_USE_OF_ZERO_REFCOUNT_OBJECT - UseOfZeroRefcountObject = 959, - /// - /// D3D12_MESSAGE_ID_OBJECT_EVICTED_WHILE_STILL_IN_USE - ObjectEvictedWhileStillInUse = 960, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_ROOT_DESCRIPTOR_ACCESS_OUT_OF_BOUNDS - GpuBasedValidationRootDescriptorAccessOutOfBounds = 961, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_INVALIDLIBRARYBLOB - CreatepipelinelibraryInvalidlibraryblob = 962, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_DRIVERVERSIONMISMATCH - CreatepipelinelibraryDriverversionmismatch = 963, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_ADAPTERVERSIONMISMATCH - CreatepipelinelibraryAdapterversionmismatch = 964, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_UNSUPPORTED - CreatepipelinelibraryUnsupported = 965, - /// - /// D3D12_MESSAGE_ID_CREATE_PIPELINELIBRARY - CreatePipelinelibrary = 966, - /// - /// D3D12_MESSAGE_ID_LIVE_PIPELINELIBRARY - LivePipelinelibrary = 967, - /// - /// D3D12_MESSAGE_ID_DESTROY_PIPELINELIBRARY - DestroyPipelinelibrary = 968, - /// - /// D3D12_MESSAGE_ID_STOREPIPELINE_NONAME - StorepipelineNoname = 969, - /// - /// D3D12_MESSAGE_ID_STOREPIPELINE_DUPLICATENAME - StorepipelineDuplicatename = 970, - /// - /// D3D12_MESSAGE_ID_LOADPIPELINE_NAMENOTFOUND - LoadpipelineNamenotfound = 971, - /// - /// D3D12_MESSAGE_ID_LOADPIPELINE_INVALIDDESC - LoadpipelineInvalidDesc = 972, - /// - /// D3D12_MESSAGE_ID_PIPELINELIBRARY_SERIALIZE_NOTENOUGHMEMORY - PipelinelibrarySerializeNotenoughmemory = 973, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_RT_OUTPUT_MISMATCH - CreateGraphicsPipelineStatePSOutputRtOutputMismatch = 974, - /// - /// D3D12_MESSAGE_ID_SETEVENTONMULTIPLEFENCECOMPLETION_INVALIDFLAGS - SeteventonmultiplefencecompletionInvalidFlags = 975, - /// - /// D3D12_MESSAGE_ID_CREATE_QUEUE_VIDEO_NOT_SUPPORTED - CreateQueueVideoNotSupported = 976, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_ALLOCATOR_VIDEO_NOT_SUPPORTED - CreateCommandAllocatorVideoNotSupported = 977, - /// - /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_VIDEO_DECODE_STATISTICS_NOT_SUPPORTED - CreateQueryHeapVideoDecodeStatisticsNotSupported = 978, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEODECODECOMMANDLIST - CreateVideodecodecommandlist = 979, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEODECODER - CreateVideoDecoder = 980, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEODECODESTREAM - CreateVideodecodestream = 981, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEODECODECOMMANDLIST - LiveVideodecodecommandlist = 982, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEODECODER - LiveVideoDecoder = 983, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEODECODESTREAM - LiveVideodecodestream = 984, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODECOMMANDLIST - DestroyVideodecodecommandlist = 985, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODER - DestroyVideoDecoder = 986, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODESTREAM - DestroyVideodecodestream = 987, - /// - /// D3D12_MESSAGE_ID_DECODE_FRAME_INVALID_PARAMETERS - DecodeFrameInvalidParameters = 988, - /// - /// D3D12_MESSAGE_ID_DEPRECATED_API - DeprecatedApi = 989, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_COMMAND_LIST_TYPE - ResourceBarrierMismatchingCommandListType = 990, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET - CommandListDescriptorTableNotSet = 991, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_CONSTANT_BUFFER_VIEW_NOT_SET - CommandListRootConstantBufferViewNotSet = 992, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_SHADER_RESOURCE_VIEW_NOT_SET - CommandListRootShaderResourceViewNotSet = 993, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_UNORDERED_ACCESS_VIEW_NOT_SET - CommandListRootUnorderedAccessViewNotSet = 994, - /// - /// D3D12_MESSAGE_ID_DISCARD_INVALID_SUBRESOURCE_RANGE - DiscardInvalidSubresourceRange = 995, - /// - /// D3D12_MESSAGE_ID_DISCARD_ONE_SUBRESOURCE_FOR_MIPS_WITH_RECTS - DiscardOneSubresourceForMipsWithRects = 996, - /// - /// D3D12_MESSAGE_ID_DISCARD_NO_RECTS_FOR_NON_TEXTURE2D - DiscardNoRectsForNonTexture2D = 997, - /// - /// D3D12_MESSAGE_ID_COPY_ON_SAME_SUBRESOURCE - CopyOnSameSubresource = 998, - /// - /// D3D12_MESSAGE_ID_SETRESIDENCYPRIORITY_INVALID_PAGEABLE - SetresidencypriorityInvalidPageable = 999, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UNSUPPORTED - GpuBasedValidationUnsupported = 1000, - /// - /// D3D12_MESSAGE_ID_STATIC_DESCRIPTOR_INVALID_DESCRIPTOR_CHANGE - StaticDescriptorInvalidDescriptorChange = 1001, - /// - /// D3D12_MESSAGE_ID_DATA_STATIC_DESCRIPTOR_INVALID_DATA_CHANGE - DataStaticDescriptorInvalidDataChange = 1002, - /// - /// D3D12_MESSAGE_ID_DATA_STATIC_WHILE_SET_AT_EXECUTE_DESCRIPTOR_INVALID_DATA_CHANGE - DataStaticWhileSetAtExecuteDescriptorInvalidDataChange = 1003, - /// - /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_STATIC_DESCRIPTOR_DATA_STATIC_NOT_SET - ExecuteBundleStaticDescriptorDataStaticNotSet = 1004, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_RESOURCE_ACCESS_OUT_OF_BOUNDS - GpuBasedValidationResourceAccessOutOfBounds = 1005, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_SAMPLER_MODE_MISMATCH - GpuBasedValidationSamplerModeMismatch = 1006, - /// - /// D3D12_MESSAGE_ID_CREATE_FENCE_INVALID_FLAGS - CreateFenceInvalidFlags = 1007, - /// - /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_DUPLICATE_SUBRESOURCE_TRANSITIONS - ResourceBarrierDuplicateSubresourceTransitions = 1008, - /// - /// D3D12_MESSAGE_ID_SETRESIDENCYPRIORITY_INVALID_PRIORITY - SetresidencypriorityInvalidPriority = 1009, - /// - /// D3D12_MESSAGE_ID_CREATE_DESCRIPTOR_HEAP_LARGE_NUM_DESCRIPTORS - CreateDescriptorHeapLargeNumDescriptors = 1013, - /// - /// D3D12_MESSAGE_ID_BEGIN_EVENT - BeginEvent = 1014, - /// - /// D3D12_MESSAGE_ID_END_EVENT - EndEvent = 1015, - /// - /// D3D12_MESSAGE_ID_CREATEDEVICE_DEBUG_LAYER_STARTUP_OPTIONS - CreateDeviceDebugLayerStartupOptions = 1016, - /// - /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_DEPTHBOUNDSTEST_UNSUPPORTED - CreateDepthStencilStateDepthboundstestUnsupported = 1017, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_DUPLICATE_SUBOBJECT - CreatePipelineStateDuplicateSubObject = 1018, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_UNKNOWN_SUBOBJECT - CreatePipelineStateUnknownSubObject = 1019, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_ZERO_SIZE_STREAM - CreatePipelineStateZeroSizeStream = 1020, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALID_STREAM - CreatePipelineStateInvalidStream = 1021, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CANNOT_DEDUCE_TYPE - CreatePipelineStateCannotDeduceType = 1022, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH - CommandListStaticDescriptorResourceDimensionMismatch = 1023, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_QUEUE_INSUFFICIENT_PRIVILEGE_FOR_GLOBAL_REALTIME - CreateCommandQueueInsufficientPrivilegeForGlobalRealtime = 1024, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_QUEUE_INSUFFICIENT_HARDWARE_SUPPORT_FOR_GLOBAL_REALTIME - CreateCommandQueueInsufficientHardwareSupportForGlobalRealtime = 1025, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_ARCHITECTURE - AtomiccopybufferInvalidArchitecture = 1026, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DST - AtomiccopybufferNullDst = 1027, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DST_RESOURCE_DIMENSION - AtomiccopybufferInvalidDstResourceDimension = 1028, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DST_RANGE_OUT_OF_BOUNDS - AtomiccopybufferDstRangeOutOfBounds = 1029, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_SRC - AtomiccopybufferNullSrc = 1030, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_SRC_RESOURCE_DIMENSION - AtomiccopybufferInvalidSrcResourceDimension = 1031, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_SRC_RANGE_OUT_OF_BOUNDS - AtomiccopybufferSrcRangeOutOfBounds = 1032, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_OFFSET_ALIGNMENT - AtomiccopybufferInvalidOffsetAlignment = 1033, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DEPENDENT_RESOURCES - AtomiccopybufferNullDependentResources = 1034, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DEPENDENT_SUBRESOURCE_RANGES - AtomiccopybufferNullDependentSubresourceRanges = 1035, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DEPENDENT_RESOURCE - AtomiccopybufferInvalidDependentResource = 1036, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DEPENDENT_SUBRESOURCE_RANGE - AtomiccopybufferInvalidDependentSubresourceRange = 1037, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DEPENDENT_SUBRESOURCE_OUT_OF_BOUNDS - AtomiccopybufferDependentSubresourceOutOfBounds = 1038, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DEPENDENT_RANGE_OUT_OF_BOUNDS - AtomiccopybufferDependentRangeOutOfBounds = 1039, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_ZERO_DEPENDENCIES - AtomiccopybufferZeroDependencies = 1040, - /// - /// D3D12_MESSAGE_ID_DEVICE_CREATE_SHARED_HANDLE_INVALIDARG - DeviceCreateSharedHandleInvalidArg = 1041, - /// - /// D3D12_MESSAGE_ID_DESCRIPTOR_HANDLE_WITH_INVALID_RESOURCE - DescriptorHandleWithInvalidResource = 1042, - /// - /// D3D12_MESSAGE_ID_SETDEPTHBOUNDS_INVALIDARGS - SetdepthboundsInvalidArgs = 1043, - /// - /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_RESOURCE_STATE_IMPRECISE - GpuBasedValidationResourceStateImprecise = 1044, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_PIPELINE_STATE_NOT_SET - CommandListPipelineStateNotSet = 1045, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_MODEL_MISMATCH - CreateGraphicsPipelineStateShaderModelMismatch = 1046, - /// - /// D3D12_MESSAGE_ID_OBJECT_ACCESSED_WHILE_STILL_IN_USE - ObjectAccessedWhileStillInUse = 1047, - /// - /// D3D12_MESSAGE_ID_PROGRAMMABLE_MSAA_UNSUPPORTED - ProgrammableMsaaUnsupported = 1048, - /// - /// D3D12_MESSAGE_ID_SETSAMPLEPOSITIONS_INVALIDARGS - SetsamplepositionsInvalidArgs = 1049, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCEREGION_INVALID_RECT - ResolveSubresourceRegionInvalidRect = 1050, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEODECODECOMMANDQUEUE - CreateVideodecodecommandqueue = 1051, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSCOMMANDLIST - CreateVideoprocesscommandlist = 1052, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSCOMMANDQUEUE - CreateVideoprocesscommandqueue = 1053, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEODECODECOMMANDQUEUE - LiveVideodecodecommandqueue = 1054, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSCOMMANDLIST - LiveVideoprocesscommandlist = 1055, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSCOMMANDQUEUE - LiveVideoprocesscommandqueue = 1056, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODECOMMANDQUEUE - DestroyVideodecodecommandqueue = 1057, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSCOMMANDLIST - DestroyVideoprocesscommandlist = 1058, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSCOMMANDQUEUE - DestroyVideoprocesscommandqueue = 1059, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSOR - CreateVideoProcessor = 1060, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSSTREAM - CreateVideoprocessstream = 1061, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSOR - LiveVideoProcessor = 1062, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSSTREAM - LiveVideoprocessstream = 1063, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSOR - DestroyVideoProcessor = 1064, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSSTREAM - DestroyVideoprocessstream = 1065, - /// - /// D3D12_MESSAGE_ID_PROCESS_FRAME_INVALID_PARAMETERS - ProcessFrameInvalidParameters = 1066, - /// - /// D3D12_MESSAGE_ID_COPY_INVALIDLAYOUT - CopyInvalidlayout = 1067, - /// - /// D3D12_MESSAGE_ID_CREATE_CRYPTO_SESSION - CreateCryptoSession = 1068, - /// - /// D3D12_MESSAGE_ID_CREATE_CRYPTO_SESSION_POLICY - CreateCryptoSessionPolicy = 1069, - /// - /// D3D12_MESSAGE_ID_CREATE_PROTECTED_RESOURCE_SESSION - CreateProtectedResourceSession = 1070, - /// - /// D3D12_MESSAGE_ID_LIVE_CRYPTO_SESSION - LiveCryptoSession = 1071, - /// - /// D3D12_MESSAGE_ID_LIVE_CRYPTO_SESSION_POLICY - LiveCryptoSessionPolicy = 1072, - /// - /// D3D12_MESSAGE_ID_LIVE_PROTECTED_RESOURCE_SESSION - LiveProtectedResourceSession = 1073, - /// - /// D3D12_MESSAGE_ID_DESTROY_CRYPTO_SESSION - DestroyCryptoSession = 1074, - /// - /// D3D12_MESSAGE_ID_DESTROY_CRYPTO_SESSION_POLICY - DestroyCryptoSessionPolicy = 1075, - /// - /// D3D12_MESSAGE_ID_DESTROY_PROTECTED_RESOURCE_SESSION - DestroyProtectedResourceSession = 1076, - /// - /// D3D12_MESSAGE_ID_PROTECTED_RESOURCE_SESSION_UNSUPPORTED - ProtectedResourceSessionUnsupported = 1077, - /// - /// D3D12_MESSAGE_ID_FENCE_INVALIDOPERATION - FenceInvalidoperation = 1078, - /// - /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_COPY_QUEUE_TIMESTAMPS_NOT_SUPPORTED - CreateQueryHeapCopyQueueTimestampsNotSupported = 1079, - /// - /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_DEFERRED - SamplepositionsMismatchDeferred = 1080, - /// - /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_RECORDTIME_ASSUMEDFROMFIRSTUSE - SamplepositionsMismatchRecordtimeAssumedfromfirstuse = 1081, - /// - /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_RECORDTIME_ASSUMEDFROMCLEAR - SamplepositionsMismatchRecordtimeAssumedfromclear = 1082, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEODECODERHEAP - CreateVideodecoderheap = 1083, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEODECODERHEAP - LiveVideodecoderheap = 1084, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODERHEAP - DestroyVideodecoderheap = 1085, - /// - /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDARG_RETURN - OpenexistingheapInvalidArgReturn = 1086, - /// - /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_OUTOFMEMORY_RETURN - OpenexistingheapOutOfMemoryReturn = 1087, - /// - /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDADDRESS - OpenexistingheapInvalidaddress = 1088, - /// - /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDHANDLE - OpenexistingheapInvalidhandle = 1089, - /// - /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_DEST - WriteBufferImmediateInvalidDest = 1090, - /// - /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_MODE - WriteBufferImmediateInvalidMode = 1091, - /// - /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_ALIGNMENT - WriteBufferImmediateInvalidAlignment = 1092, - /// - /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_NOT_SUPPORTED - WriteBufferImmediateNotSupported = 1093, - /// - /// D3D12_MESSAGE_ID_SETVIEWINSTANCEMASK_INVALIDARGS - SetviewinstancemaskInvalidArgs = 1094, - /// - /// D3D12_MESSAGE_ID_VIEW_INSTANCING_UNSUPPORTED - ViewInstancingUnsupported = 1095, - /// - /// D3D12_MESSAGE_ID_VIEW_INSTANCING_INVALIDARGS - ViewInstancingInvalidArgs = 1096, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_MISMATCH_DECODE_REFERENCE_ONLY_FLAG - CopyTextureRegionMismatchDecodeReferenceOnlyFlag = 1097, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_MISMATCH_DECODE_REFERENCE_ONLY_FLAG - CopyResourceMismatchDecodeReferenceOnlyFlag = 1098, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODE_HEAP_CAPS_FAILURE - CreateVideoDecodeHeapCapsFailure = 1099, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODE_HEAP_CAPS_UNSUPPORTED - CreateVideoDecodeHeapCapsUnsupported = 1100, - /// - /// D3D12_MESSAGE_ID_VIDEO_DECODE_SUPPORT_INVALID_INPUT - VideoDecodeSupportInvalidInput = 1101, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODER_UNSUPPORTED - CreateVideoDecoderUnsupported = 1102, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_METADATA_ERROR - CreateGraphicsPipelineStateMetadataError = 1103, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VIEW_INSTANCING_VERTEX_SIZE_EXCEEDED - CreateGraphicsPipelineStateViewInstancingVertexSizeExceeded = 1104, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RUNTIME_INTERNAL_ERROR - CreateGraphicsPipelineStateRuntimeInternalError = 1105, - /// - /// D3D12_MESSAGE_ID_NO_VIDEO_API_SUPPORT - NoVideoApiSupport = 1106, - /// - /// D3D12_MESSAGE_ID_VIDEO_PROCESS_SUPPORT_INVALID_INPUT - VideoProcessSupportInvalidInput = 1107, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_PROCESSOR_CAPS_FAILURE - CreateVideoProcessorCapsFailure = 1108, - /// - /// D3D12_MESSAGE_ID_VIDEO_PROCESS_SUPPORT_UNSUPPORTED_FORMAT - VideoProcessSupportUnsupportedFormat = 1109, - /// - /// D3D12_MESSAGE_ID_VIDEO_DECODE_FRAME_INVALID_ARGUMENT - VideoDecodeFrameInvalidArgument = 1110, - /// - /// D3D12_MESSAGE_ID_ENQUEUE_MAKE_RESIDENT_INVALID_FLAGS - EnqueueMakeResidentInvalidFlags = 1111, - /// - /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_UNSUPPORTED - OpenexistingheapUnsupported = 1112, - /// - /// D3D12_MESSAGE_ID_VIDEO_PROCESS_FRAMES_INVALID_ARGUMENT - VideoProcessFramesInvalidArgument = 1113, - /// - /// D3D12_MESSAGE_ID_VIDEO_DECODE_SUPPORT_UNSUPPORTED - VideoDecodeSupportUnsupported = 1114, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDRECORDER - CreateCommandrecorder = 1115, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDRECORDER - LiveCommandrecorder = 1116, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDRECORDER - DestroyCommandrecorder = 1117, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_VIDEO_NOT_SUPPORTED - CreateCommandRecorderVideoNotSupported = 1118, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_INVALID_SUPPORT_FLAGS - CreateCommandRecorderInvalidSupportFlags = 1119, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_INVALID_FLAGS - CreateCommandRecorderInvalidFlags = 1120, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_MORE_RECORDERS_THAN_LOGICAL_PROCESSORS - CreateCommandRecorderMoreRecordersThanLogicalProcessors = 1121, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMANDPOOL - CreateCommandpool = 1122, - /// - /// D3D12_MESSAGE_ID_LIVE_COMMANDPOOL - LiveCommandpool = 1123, - /// - /// D3D12_MESSAGE_ID_DESTROY_COMMANDPOOL - DestroyCommandpool = 1124, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_POOL_INVALID_FLAGS - CreateCommandPoolInvalidFlags = 1125, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_VIDEO_NOT_SUPPORTED - CreateCommandListVideoNotSupported = 1126, - /// - /// D3D12_MESSAGE_ID_COMMAND_RECORDER_SUPPORT_FLAGS_MISMATCH - CommandRecorderSupportFlagsMismatch = 1127, - /// - /// D3D12_MESSAGE_ID_COMMAND_RECORDER_CONTENTION - CommandRecorderContention = 1128, - /// - /// D3D12_MESSAGE_ID_COMMAND_RECORDER_USAGE_WITH_CREATECOMMANDLIST_COMMAND_LIST - CommandRecorderUsageWithCreatecommandlistCommandList = 1129, - /// - /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_USAGE_WITH_CREATECOMMANDLIST1_COMMAND_LIST - CommandAllocatorUsageWithCreatecommandlist1CommandList = 1130, - /// - /// D3D12_MESSAGE_ID_CANNOT_EXECUTE_EMPTY_COMMAND_LIST - CannotExecuteEmptyCommandList = 1131, - /// - /// D3D12_MESSAGE_ID_CANNOT_RESET_COMMAND_POOL_WITH_OPEN_COMMAND_LISTS - CannotResetCommandPoolWithOpenCommandLists = 1132, - /// - /// D3D12_MESSAGE_ID_CANNOT_USE_COMMAND_RECORDER_WITHOUT_CURRENT_TARGET - CannotUseCommandRecorderWithoutCurrentTarget = 1133, - /// - /// D3D12_MESSAGE_ID_CANNOT_CHANGE_COMMAND_RECORDER_TARGET_WHILE_RECORDING - CannotChangeCommandRecorderTargetWhileRecording = 1134, - /// - /// D3D12_MESSAGE_ID_COMMAND_POOL_SYNC - CommandPoolSync = 1135, - /// - /// D3D12_MESSAGE_ID_EVICT_UNDERFLOW - EvictUnderflow = 1136, - /// - /// D3D12_MESSAGE_ID_CREATE_META_COMMAND - CreateMetaCommand = 1137, - /// - /// D3D12_MESSAGE_ID_LIVE_META_COMMAND - LiveMetaCommand = 1138, - /// - /// D3D12_MESSAGE_ID_DESTROY_META_COMMAND - DestroyMetaCommand = 1139, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALID_DST_RESOURCE - CopyBufferRegionInvalidDstResource = 1140, - /// - /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALID_SRC_RESOURCE - CopyBufferRegionInvalidSrcResource = 1141, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DST_RESOURCE - AtomiccopybufferInvalidDstResource = 1142, - /// - /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_SRC_RESOURCE - AtomiccopybufferInvalidSrcResource = 1143, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_NULL_BUFFER - CreateplacedresourceonbufferNullBuffer = 1144, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_NULL_RESOURCE_DESC - CreateplacedresourceonbufferNullResourceDesc = 1145, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_UNSUPPORTED - CreateplacedresourceonbufferUnsupported = 1146, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_DIMENSION - CreateplacedresourceonbufferInvalidBufferDimension = 1147, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_FLAGS - CreateplacedresourceonbufferInvalidBufferFlags = 1148, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_OFFSET - CreateplacedresourceonbufferInvalidBufferOffset = 1149, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_RESOURCE_DIMENSION - CreateplacedresourceonbufferInvalidResourceDimension = 1150, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_RESOURCE_FLAGS - CreateplacedresourceonbufferInvalidResourceFlags = 1151, - /// - /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_OUTOFMEMORY_RETURN - CreateplacedresourceonbufferOutOfMemoryReturn = 1152, - /// - /// D3D12_MESSAGE_ID_CANNOT_CREATE_GRAPHICS_AND_VIDEO_COMMAND_RECORDER - CannotCreateGraphicsAndVideoCommandRecorder = 1153, - /// - /// D3D12_MESSAGE_ID_UPDATETILEMAPPINGS_POSSIBLY_MISMATCHING_PROPERTIES - UpdateTileMappingsPossiblyMismatchingProperties = 1154, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_INVALID_COMMAND_LIST_TYPE - CreateCommandListInvalidCommandListType = 1155, - /// - /// D3D12_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_INCOMPATIBLE_WITH_STRUCTURED_BUFFERS - ClearUnorderedAccessViewIncompatibleWithStructuredBuffers = 1156, - /// - /// D3D12_MESSAGE_ID_COMPUTE_ONLY_DEVICE_OPERATION_UNSUPPORTED - ComputeOnlyDeviceOperationUnsupported = 1157, - /// - /// D3D12_MESSAGE_ID_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INVALID - BuildRaytracingAccelerationStructureInvalid = 1158, - /// - /// D3D12_MESSAGE_ID_EMIT_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_INVALID - EmitRaytracingAccelerationStructurePostbuildInfoInvalid = 1159, - /// - /// D3D12_MESSAGE_ID_COPY_RAYTRACING_ACCELERATION_STRUCTURE_INVALID - CopyRaytracingAccelerationStructureInvalid = 1160, - /// - /// D3D12_MESSAGE_ID_DISPATCH_RAYS_INVALID - DispatchRaysInvalid = 1161, - /// - /// D3D12_MESSAGE_ID_GET_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO_INVALID - GetRaytracingAccelerationStructurePrebuildInfoInvalid = 1162, - /// - /// D3D12_MESSAGE_ID_CREATE_LIFETIMETRACKER - CreateLifetimetracker = 1163, - /// - /// D3D12_MESSAGE_ID_LIVE_LIFETIMETRACKER - LiveLifetimetracker = 1164, - /// - /// D3D12_MESSAGE_ID_DESTROY_LIFETIMETRACKER - DestroyLifetimetracker = 1165, - /// - /// D3D12_MESSAGE_ID_DESTROYOWNEDOBJECT_OBJECTNOTOWNED - DestroyownedobjectObjectnotowned = 1166, - /// - /// D3D12_MESSAGE_ID_CREATE_TRACKEDWORKLOAD - CreateTrackedworkload = 1167, - /// - /// D3D12_MESSAGE_ID_LIVE_TRACKEDWORKLOAD - LiveTrackedworkload = 1168, - /// - /// D3D12_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD - DestroyTrackedworkload = 1169, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_ERROR - RenderPassError = 1170, - /// - /// D3D12_MESSAGE_ID_META_COMMAND_ID_INVALID - MetaCommandIdInvalid = 1171, - /// - /// D3D12_MESSAGE_ID_META_COMMAND_UNSUPPORTED_PARAMS - MetaCommandUnsupportedParams = 1172, - /// - /// D3D12_MESSAGE_ID_META_COMMAND_FAILED_ENUMERATION - MetaCommandFailedEnumeration = 1173, - /// - /// D3D12_MESSAGE_ID_META_COMMAND_PARAMETER_SIZE_MISMATCH - MetaCommandParameterSizeMismatch = 1174, - /// - /// D3D12_MESSAGE_ID_UNINITIALIZED_META_COMMAND - UninitializedMetaCommand = 1175, - /// - /// D3D12_MESSAGE_ID_META_COMMAND_INVALID_GPU_VIRTUAL_ADDRESS - MetaCommandInvalidGpuVirtualAddress = 1176, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODECOMMANDLIST - CreateVideoencodecommandlist = 1177, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODECOMMANDLIST - LiveVideoencodecommandlist = 1178, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODECOMMANDLIST - DestroyVideoencodecommandlist = 1179, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODECOMMANDQUEUE - CreateVideoencodecommandqueue = 1180, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODECOMMANDQUEUE - LiveVideoencodecommandqueue = 1181, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODECOMMANDQUEUE - DestroyVideoencodecommandqueue = 1182, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOMOTIONESTIMATOR - CreateVideomotionestimator = 1183, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOMOTIONESTIMATOR - LiveVideomotionestimator = 1184, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOMOTIONESTIMATOR - DestroyVideomotionestimator = 1185, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOMOTIONVECTORHEAP - CreateVideomotionvectorheap = 1186, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOMOTIONVECTORHEAP - LiveVideomotionvectorheap = 1187, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOMOTIONVECTORHEAP - DestroyVideomotionvectorheap = 1188, - /// - /// D3D12_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS - MultipleTrackedWorkloads = 1189, - /// - /// D3D12_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS - MultipleTrackedWorkloadPairs = 1190, - /// - /// D3D12_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR - OutOfOrderTrackedWorkloadPair = 1191, - /// - /// D3D12_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD - CannotAddTrackedWorkload = 1192, - /// - /// D3D12_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR - IncompleteTrackedWorkloadPair = 1193, - /// - /// D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_ERROR - CreateStateObjectError = 1194, - /// - /// D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_ERROR - GetShaderIdentifierError = 1195, - /// - /// D3D12_MESSAGE_ID_GET_SHADER_STACK_SIZE_ERROR - GetShaderStackSizeError = 1196, - /// - /// D3D12_MESSAGE_ID_GET_PIPELINE_STACK_SIZE_ERROR - GetPipelineStackSizeError = 1197, - /// - /// D3D12_MESSAGE_ID_SET_PIPELINE_STACK_SIZE_ERROR - SetPipelineStackSizeError = 1198, - /// - /// D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_SIZE_INVALID - GetShaderIdentifierSizeInvalid = 1199, - /// - /// D3D12_MESSAGE_ID_CHECK_DRIVER_MATCHING_IDENTIFIER_INVALID - CheckDriverMatchingIdentifierInvalid = 1200, - /// - /// D3D12_MESSAGE_ID_CHECK_DRIVER_MATCHING_IDENTIFIER_DRIVER_REPORTED_ISSUE - CheckDriverMatchingIdentifierDriverReportedIssue = 1201, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_INVALID_RESOURCE_BARRIER - RenderPassInvalidResourceBarrier = 1202, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_DISALLOWED_API_CALLED - RenderPassDisallowedApiCalled = 1203, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_NEST_RENDER_PASSES - RenderPassCannotNestRenderPasses = 1204, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_END_WITHOUT_BEGIN - RenderPassCannotEndWithoutBegin = 1205, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_CLOSE_COMMAND_LIST - RenderPassCannotCloseCommandList = 1206, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_GPU_WORK_WHILE_SUSPENDED - RenderPassGpuWorkWhileSuspended = 1207, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_SUSPEND_RESUME - RenderPassMismatchingSuspendResume = 1208, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_NO_PRIOR_SUSPEND_WITHIN_EXECUTECOMMANDLISTS - RenderPassNoPriorSuspendWithinExecuteCommandLists = 1209, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_NO_SUBSEQUENT_RESUME_WITHIN_EXECUTECOMMANDLISTS - RenderPassNoSubsequentResumeWithinExecuteCommandLists = 1210, - /// - /// D3D12_MESSAGE_ID_TRACKED_WORKLOAD_COMMAND_QUEUE_MISMATCH - TrackedWorkloadCommandQueueMismatch = 1211, - /// - /// D3D12_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED - TrackedWorkloadNotSupported = 1212, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_NO_ACCESS - RenderPassMismatchingNoAccess = 1213, - /// - /// D3D12_MESSAGE_ID_RENDER_PASS_UNSUPPORTED_RESOLVE - RenderPassUnsupportedResolve = 1214, - /// - /// D3D12_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_INVALID_RESOURCE_PTR - ClearUnorderedAccessViewInvalidResourcePtr = 1215, - /// - /// D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_SIGNAL - Windows7FenceOutoforderSignal = 1216, - /// - /// D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_WAIT - Windows7FenceOutoforderWait = 1217, - /// - /// D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_ESTIMATOR_INVALID_ARGUMENT - VideoCreateMotionEstimatorInvalidArgument = 1218, - /// - /// D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT - VideoCreateMotionVectorHeapInvalidArgument = 1219, - /// - /// D3D12_MESSAGE_ID_ESTIMATE_MOTION_INVALID_ARGUMENT - EstimateMotionInvalidArgument = 1220, - /// - /// D3D12_MESSAGE_ID_RESOLVE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT - ResolveMotionVectorHeapInvalidArgument = 1221, - /// - /// D3D12_MESSAGE_ID_GETGPUVIRTUALADDRESS_INVALID_HEAP_TYPE - GetGPUVirtualAddressInvalidHeapType = 1222, - /// - /// D3D12_MESSAGE_ID_SET_BACKGROUND_PROCESSING_MODE_INVALID_ARGUMENT - SetBackgroundProcessingModeInvalidArgument = 1223, - /// - /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_INVALID_COMMAND_LIST_TYPE_FOR_FEATURE_LEVEL - CreateCommandListInvalidCommandListTypeForFeatureLevel = 1224, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOEXTENSIONCOMMAND - CreateVideoextensioncommand = 1225, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOEXTENSIONCOMMAND - LiveVideoextensioncommand = 1226, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOEXTENSIONCOMMAND - DestroyVideoextensioncommand = 1227, - /// - /// D3D12_MESSAGE_ID_INVALID_VIDEO_EXTENSION_COMMAND_ID - InvalidVideoExtensionCommandId = 1228, - /// - /// D3D12_MESSAGE_ID_VIDEO_EXTENSION_COMMAND_INVALID_ARGUMENT - VideoExtensionCommandInvalidArgument = 1229, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_NOT_UNIQUE_IN_DXIL_LIBRARY - CreateRootSignatureNotUniqueInDxilLibrary = 1230, - /// - /// D3D12_MESSAGE_ID_VARIABLE_SHADING_RATE_NOT_ALLOWED_WITH_TIR - VariableShadingRateNotAllowedWithTir = 1231, - /// - /// D3D12_MESSAGE_ID_GEOMETRY_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE - GeometryShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1232, - /// - /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_SHADING_RATE - RssetshadingRateInvalidShadingRate = 1233, - /// - /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_SHADING_RATE_NOT_PERMITTED_BY_CAP - RssetshadingRateShadingRateNotPermittedByCap = 1234, - /// - /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_COMBINER - RssetshadingRateInvalidCombiner = 1235, - /// - /// D3D12_MESSAGE_ID_RSSETSHADINGRATEIMAGE_REQUIRES_TIER_2 - RssetshadingrateimageRequiresTier2 = 1236, - /// - /// D3D12_MESSAGE_ID_RSSETSHADINGRATE_REQUIRES_TIER_1 - RssetshadingrateRequiresTier1 = 1237, - /// - /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_FORMAT - ShadingRateImageIncorrectFormat = 1238, - /// - /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_ARRAY_SIZE - ShadingRateImageIncorrectArraySize = 1239, - /// - /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_MIP_LEVEL - ShadingRateImageIncorrectMipLevel = 1240, - /// - /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_COUNT - ShadingRateImageIncorrectSampleCount = 1241, - /// - /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_QUALITY - ShadingRateImageIncorrectSampleQuality = 1242, - /// - /// D3D12_MESSAGE_ID_NON_RETAIL_SHADER_MODEL_WONT_VALIDATE - NonRetailShaderModelWontValidate = 1243, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_AS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateAsRootSignatureMismatch = 1244, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_ROOT_SIGNATURE_MISMATCH - CreateGraphicsPipelineStateMSRootSignatureMismatch = 1245, - /// - /// D3D12_MESSAGE_ID_ADD_TO_STATE_OBJECT_ERROR - AddToStateObjectError = 1246, - /// - /// D3D12_MESSAGE_ID_CREATE_PROTECTED_RESOURCE_SESSION_INVALID_ARGUMENT - CreateProtectedResourceSessionInvalidArgument = 1247, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_PSO_DESC_MISMATCH - CreateGraphicsPipelineStateMSPsoDescMismatch = 1248, - /// - /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_MS_INCOMPLETE_TYPE - CreatePipelineStateMSIncompleteType = 1249, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_AS_NOT_MS_MISMATCH - CreateGraphicsPipelineStateAsNotMSMismatch = 1250, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_NOT_PS_MISMATCH - CreateGraphicsPipelineStateMSNotPSMismatch = 1251, - /// - /// D3D12_MESSAGE_ID_NONZERO_SAMPLER_FEEDBACK_MIP_REGION_WITH_INCOMPATIBLE_FORMAT - NonzeroSamplerFeedbackMipRegionWithIncompatibleFormat = 1252, - /// - /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INPUTLAYOUT_SHADER_MISMATCH - CreateGraphicsPipelineStateInputLayoutShaderMismatch = 1253, - /// - /// D3D12_MESSAGE_ID_EMPTY_DISPATCH - EmptyDispatch = 1254, - /// - /// D3D12_MESSAGE_ID_RESOURCE_FORMAT_REQUIRES_SAMPLER_FEEDBACK_CAPABILITY - ResourceFormatRequiresSamplerFeedbackCapability = 1255, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_MIP_REGION - SamplerFeedbackMapInvalidMipRegion = 1256, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_DIMENSION - SamplerFeedbackMapInvalidDimension = 1257, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_SAMPLE_COUNT - SamplerFeedbackMapInvalidSampleCount = 1258, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_SAMPLE_QUALITY - SamplerFeedbackMapInvalidSampleQuality = 1259, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_LAYOUT - SamplerFeedbackMapInvalidLayout = 1260, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_REQUIRES_UNORDERED_ACCESS_FLAG - SamplerFeedbackMapRequiresUnorderedAccessFlag = 1261, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_NULL_ARGUMENTS - SamplerFeedbackCreateUavNullArguments = 1262, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_UAV_REQUIRES_SAMPLER_FEEDBACK_CAPABILITY - SamplerFeedbackUavRequiresSamplerFeedbackCapability = 1263, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_REQUIRES_FEEDBACK_MAP_FORMAT - SamplerFeedbackCreateUavRequiresFeedbackMapFormat = 1264, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_INVALIDSHADERBYTECODE - CreatemeshshaderInvalidShaderBytecode = 1265, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_OUTOFMEMORY - CreatemeshshaderOutOfMemory = 1266, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE - CreatemeshshaderwithstreamoutputInvalidShaderType = 1267, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_TRANSCODE_INVALID_FORMAT - ResolveSubresourceSamplerFeedbackTranscodeInvalidFormat = 1268, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_INVALID_MIP_LEVEL_COUNT - ResolveSubresourceSamplerFeedbackInvalidMipLevelCount = 1269, - /// - /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_TRANSCODE_ARRAY_SIZE_MISMATCH - ResolveSubresourceSamplerFeedbackTranscodeArraySizeMismatch = 1270, - /// - /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_MISMATCHING_TARGETED_RESOURCE - SamplerFeedbackCreateUavMismatchingTargetedResource = 1271, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_OUTPUTEXCEEDSMAXSIZE - CreatemeshshaderOutputexceedsmaxsize = 1272, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_GROUPSHAREDEXCEEDSMAXSIZE - CreatemeshshaderGroupsharedexceedsmaxsize = 1273, - /// - /// D3D12_MESSAGE_ID_VERTEX_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE - VertexShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1274, - /// - /// D3D12_MESSAGE_ID_MESH_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE - MeshShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1275, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_MISMATCHEDASMSPAYLOADSIZE - CreatemeshshaderMismatchedasmspayloadsize = 1276, - /// - /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_UNBOUNDED_STATIC_DESCRIPTORS - CreateRootSignatureUnboundedStaticDescriptors = 1277, - /// - /// D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_INVALIDSHADERBYTECODE - CreateamplificationshaderInvalidShaderBytecode = 1278, - /// - /// D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_OUTOFMEMORY - CreateamplificationshaderOutOfMemory = 1279, - /// - /// D3D12_MESSAGE_ID_CREATE_SHADERCACHESESSION - CreateShadercachesession = 1280, - /// - /// D3D12_MESSAGE_ID_LIVE_SHADERCACHESESSION - LiveShadercachesession = 1281, - /// - /// D3D12_MESSAGE_ID_DESTROY_SHADERCACHESESSION - DestroyShadercachesession = 1282, - /// - /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_INVALIDARGS - CreateshadercachesessionInvalidArgs = 1283, - /// - /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_DISABLED - CreateshadercachesessionDisabled = 1284, - /// - /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_ALREADYOPEN - CreateshadercachesessionAlreadyopen = 1285, - /// - /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_DEVELOPERMODE - ShadercachecontrolDevelopermode = 1286, - /// - /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_INVALIDFLAGS - ShadercachecontrolInvalidFlags = 1287, - /// - /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_STATEALREADYSET - ShadercachecontrolStatealreadyset = 1288, - /// - /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_IGNOREDFLAG - ShadercachecontrolIgnoredflag = 1289, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_ALREADYPRESENT - ShadercachesessionStorevalueAlreadypresent = 1290, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_HASHCOLLISION - ShadercachesessionStorevalueHashcollision = 1291, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_CACHEFULL - ShadercachesessionStorevalueCachefull = 1292, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_FINDVALUE_NOTFOUND - ShadercachesessionFindvalueNotfound = 1293, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_CORRUPT - ShadercachesessionCorrupt = 1294, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_DISABLED - ShadercachesessionDisabled = 1295, - /// - /// D3D12_MESSAGE_ID_OVERSIZED_DISPATCH - OversizedDispatch = 1296, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODER - CreateVideoencoder = 1297, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODER - LiveVideoencoder = 1298, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODER - DestroyVideoencoder = 1299, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODERHEAP - CreateVideoencoderheap = 1300, - /// - /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODERHEAP - LiveVideoencoderheap = 1301, - /// - /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODERHEAP - DestroyVideoencoderheap = 1302, - /// - /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_MISMATCH_ENCODE_REFERENCE_ONLY_FLAG - CopyTextureRegionMismatchEncodeReferenceOnlyFlag = 1303, - /// - /// D3D12_MESSAGE_ID_COPYRESOURCE_MISMATCH_ENCODE_REFERENCE_ONLY_FLAG - CopyResourceMismatchEncodeReferenceOnlyFlag = 1304, - /// - /// D3D12_MESSAGE_ID_ENCODE_FRAME_INVALID_PARAMETERS - EncodeFrameInvalidParameters = 1305, - /// - /// D3D12_MESSAGE_ID_ENCODE_FRAME_UNSUPPORTED_PARAMETERS - EncodeFrameUnsupportedParameters = 1306, - /// - /// D3D12_MESSAGE_ID_RESOLVE_ENCODER_OUTPUT_METADATA_INVALID_PARAMETERS - ResolveEncoderOutputMetadataInvalidParameters = 1307, - /// - /// D3D12_MESSAGE_ID_RESOLVE_ENCODER_OUTPUT_METADATA_UNSUPPORTED_PARAMETERS - ResolveEncoderOutputMetadataUnsupportedParameters = 1308, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_INVALID_PARAMETERS - CreateVideoEncoderInvalidParameters = 1309, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_UNSUPPORTED_PARAMETERS - CreateVideoEncoderUnsupportedParameters = 1310, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_HEAP_INVALID_PARAMETERS - CreateVideoEncoderHeapInvalidParameters = 1311, - /// - /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_HEAP_UNSUPPORTED_PARAMETERS - CreateVideoEncoderHeapUnsupportedParameters = 1312, - /// - /// D3D12_MESSAGE_ID_CREATECOMMANDLIST_NULL_COMMANDALLOCATOR - CreatecommandlistNullCommandAllocator = 1313, - /// - /// D3D12_MESSAGE_ID_CLEAR_UNORDERED_ACCESS_VIEW_INVALID_DESCRIPTOR_HANDLE - ClearUnorderedAccessViewInvalidDescriptorHandle = 1314, - /// - /// D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SHADER_VISIBLE - DescriptorHeapNotShaderVisible = 1315, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_BLENDOP_WARNING - CreateBlendStateBlendopWarning = 1316, - /// - /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_BLENDOPALPHA_WARNING - CreateBlendStateBlendopalphaWarning = 1317, - /// - /// D3D12_MESSAGE_ID_WRITE_COMBINE_PERFORMANCE_WARNING - WriteCombinePerformanceWarning = 1318, - /// - /// D3D12_MESSAGE_ID_RESOLVE_QUERY_INVALID_QUERY_STATE - ResolveQueryInvalidQueryState = 1319, - /// - /// D3D12_MESSAGE_ID_SETPRIVATEDATA_NO_ACCESS - SetPrivateDataNoAccess = 1320, - /// - /// D3D12_MESSAGE_ID_COMMAND_LIST_STATIC_DESCRIPTOR_SAMPLER_MODE_MISMATCH - CommandListStaticDescriptorSamplerModeMismatch = 1321, - /// - /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_UNSUPPORTED_BUFFER_WIDTH - GetCopyableFootprintsUnsupportedBufferWidth = 1322, - /// - /// D3D12_MESSAGE_ID_CREATEMESHSHADER_TOPOLOGY_MISMATCH - CreatemeshshaderTopologyMismatch = 1323, - /// - /// D3D12_MESSAGE_ID_VRS_SUM_COMBINER_REQUIRES_CAPABILITY - VrsSumCombinerRequiresCapability = 1324, - /// - /// D3D12_MESSAGE_ID_SETTING_SHADING_RATE_FROM_MS_REQUIRES_CAPABILITY - SettingShadingRateFromMSRequiresCapability = 1325, - /// - /// D3D12_MESSAGE_ID_SHADERCACHESESSION_SHADERCACHEDELETE_NOTSUPPORTED - ShadercachesessionShadercachedeleteNotSupported = 1326, - /// - /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_SHADERCACHECLEAR_NOTSUPPORTED - ShadercachecontrolShadercacheclearNotSupported = 1327, -} - -/// -/// D3D12_MESSAGE_CALLBACK_FLAGS -[Flags] -public enum MessageCallbackFlags : int -{ - /// - /// D3D12_MESSAGE_CALLBACK_FLAG_NONE - None = 0, - /// - /// D3D12_MESSAGE_CALLBACK_IGNORE_FILTERS - IgnoreFilters = 1, -} - -/// -/// D3D12_AXIS_SHADING_RATE -public enum AxisShadingRate : int -{ - /// - /// D3D12_AXIS_SHADING_RATE_1X - Rate1x = 0, - /// - /// D3D12_AXIS_SHADING_RATE_2X - Rate2x = 1, - /// - /// D3D12_AXIS_SHADING_RATE_4X - Rate4x = 2, -} - -/// -/// D3D12_SHADING_RATE -public enum ShadingRate : int -{ - /// - /// D3D12_SHADING_RATE_1X1 - Rate1x1 = 0, - /// - /// D3D12_SHADING_RATE_1X2 - Rate1x2 = 1, - /// - /// D3D12_SHADING_RATE_2X1 - Rate2x1 = 4, - /// - /// D3D12_SHADING_RATE_2X2 - Rate2x2 = 5, - /// - /// D3D12_SHADING_RATE_2X4 - Rate2x4 = 6, - /// - /// D3D12_SHADING_RATE_4X2 - Rate4x2 = 9, - /// - /// D3D12_SHADING_RATE_4X4 - Rate4x4 = 10, -} - -/// -/// D3D12_SHADING_RATE_COMBINER -public enum ShadingRateCombiner : int -{ - /// - /// D3D12_SHADING_RATE_COMBINER_PASSTHROUGH - Passthrough = 0, - /// - /// D3D12_SHADING_RATE_COMBINER_OVERRIDE - Override = 1, - /// - /// D3D12_SHADING_RATE_COMBINER_MIN - Min = 2, - /// - /// D3D12_SHADING_RATE_COMBINER_MAX - Max = 3, - /// - /// D3D12_SHADING_RATE_COMBINER_SUM - Sum = 4, -} - -/// -/// D3D12_SHADER_VERSION_TYPE -public enum ShaderVersionType : int -{ - /// - /// D3D12_SHVER_PIXEL_SHADER - PixelShader = 0, - /// - /// D3D12_SHVER_VERTEX_SHADER - VertexShader = 1, - /// - /// D3D12_SHVER_GEOMETRY_SHADER - GeometryShader = 2, - /// - /// D3D12_SHVER_HULL_SHADER - HullShader = 3, - /// - /// D3D12_SHVER_DOMAIN_SHADER - DomainShader = 4, - /// - /// D3D12_SHVER_COMPUTE_SHADER - ComputeShader = 5, - /// - /// D3D12_SHVER_RESERVED0 - Reserved0 = 65520, -} -#endregion Enums - -#region Structs - -/// -/// D3D12_COMMAND_QUEUE_DESC -public partial struct CommandQueueDescription -{ - /// - public CommandListType Type; - - /// - public int Priority; - - /// - public CommandQueueFlags Flags; - - /// - public uint NodeMask; -} - -/// -/// D3D12_INPUT_ELEMENT_DESC -public partial struct InputElementDescription -{ - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public uint InputSlot; - - /// - public uint AlignedByteOffset; - - /// - public InputClassification InputSlotClass; - - /// - public uint InstanceDataStepRate; -} - -/// -/// D3D12_SO_DECLARATION_ENTRY -public partial struct SODeclarationEntry -{ - /// - public uint Stream; - - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public byte StartComponent; - - /// - public byte ComponentCount; - - /// - public byte OutputSlot; -} - -/// -/// D3D12_BOX -public partial struct Box -{ - /// - public uint left; - - /// - public uint top; - - /// - public uint front; - - /// - public uint right; - - /// - public uint bottom; - - /// - public uint back; -} - -/// -/// D3D12_DEPTH_STENCILOP_DESC -public partial struct DepthStencilOperationDescription -{ - /// - public StencilOperation StencilFailOp; - - /// - public StencilOperation StencilDepthFailOp; - - /// - public StencilOperation StencilPassOp; - - /// - public ComparisonFunction StencilFunc; -} - -/// -/// D3D12_DEPTH_STENCIL_DESC -public partial struct DepthStencilDescription -{ - /// - public Bool32 DepthEnable; - - /// - public DepthWriteMask DepthWriteMask; - - /// - public ComparisonFunction DepthFunc; - - /// - public Bool32 StencilEnable; - - /// - public byte StencilReadMask; - - /// - public byte StencilWriteMask; - - /// - public DepthStencilOperationDescription FrontFace; - - /// - public DepthStencilOperationDescription BackFace; -} - -/// -/// D3D12_DEPTH_STENCIL_DESC1 -public partial struct DepthStencilDescription1 -{ - /// - public Bool32 DepthEnable; - - /// - public DepthWriteMask DepthWriteMask; - - /// - public ComparisonFunction DepthFunc; - - /// - public Bool32 StencilEnable; - - /// - public byte StencilReadMask; - - /// - public byte StencilWriteMask; - - /// - public DepthStencilOperationDescription FrontFace; - - /// - public DepthStencilOperationDescription BackFace; - - /// - public Bool32 DepthBoundsTestEnable; -} - -/// -/// D3D12_RENDER_TARGET_BLEND_DESC -public partial struct RenderTargetBlendDescription -{ - /// - public Bool32 BlendEnable; - - /// - public Bool32 LogicOpEnable; - - /// - public Blend SrcBlend; - - /// - public Blend DestBlend; - - /// - public BlendOperation BlendOp; - - /// - public Blend SrcBlendAlpha; - - /// - public Blend DestBlendAlpha; - - /// - public BlendOperation BlendOpAlpha; - - /// - public LogicOperation LogicOp; - - /// - public ColorWriteEnable RenderTargetWriteMask; -} - -/// -/// D3D12_BLEND_DESC -public partial struct BlendDescription -{ - /// - public Bool32 AlphaToCoverageEnable; - - /// - public Bool32 IndependentBlendEnable; - - /// - public RenderTarget__FixedBuffer RenderTarget; - - public unsafe struct RenderTarget__FixedBuffer - { - public RenderTargetBlendDescription e0; - public RenderTargetBlendDescription e1; - public RenderTargetBlendDescription e2; - public RenderTargetBlendDescription e3; - public RenderTargetBlendDescription e4; - public RenderTargetBlendDescription e5; - public RenderTargetBlendDescription e6; - public RenderTargetBlendDescription e7; - - [UnscopedRef] - public ref RenderTargetBlendDescription this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 8); - } - } -} - -/// -/// D3D12_RASTERIZER_DESC -public partial struct RasterizerDescription -{ - /// - public FillMode FillMode; - - /// - public CullMode CullMode; - - /// - public Bool32 FrontCounterClockwise; - - /// - public int DepthBias; - - /// - public float DepthBiasClamp; - - /// - public float SlopeScaledDepthBias; - - /// - public Bool32 DepthClipEnable; - - /// - public Bool32 MultisampleEnable; - - /// - public Bool32 AntialiasedLineEnable; - - /// - public uint ForcedSampleCount; - - /// - public ConservativeRasterizationMode ConservativeRaster; -} - -/// -/// D3D12_SHADER_BYTECODE -public partial struct ShaderBytecode -{ - /// - public unsafe void* pShaderBytecode; - - /// - public nuint BytecodeLength; -} - -/// -/// D3D12_STREAM_OUTPUT_DESC -public partial struct StreamOutputDescription -{ - /// - public unsafe SODeclarationEntry* pSODeclaration; - - /// - public uint NumEntries; - - /// - public unsafe uint* pBufferStrides; - - /// - public uint NumStrides; - - /// - public uint RasterizedStream; -} - -/// -/// D3D12_INPUT_LAYOUT_DESC -public partial struct InputLayoutDescription -{ - /// - public unsafe InputElementDescription* pInputElementDescs; - - /// - public uint NumElements; -} - -/// -/// D3D12_CACHED_PIPELINE_STATE -public partial struct CachedPipelineState -{ - /// - public unsafe void* pCachedBlob; - - /// - public nuint CachedBlobSizeInBytes; -} - -/// -/// D3D12_GRAPHICS_PIPELINE_STATE_DESC -public partial struct GraphicsPipelineStateDescription -{ - /// - public unsafe ID3D12RootSignature* pRootSignature; - - /// - public ShaderBytecode VS; - - /// - public ShaderBytecode PS; - - /// - public ShaderBytecode DS; - - /// - public ShaderBytecode HS; - - /// - public ShaderBytecode GS; - - /// - public StreamOutputDescription StreamOutput; - - /// - public BlendDescription BlendState; - - /// - public uint SampleMask; - - /// - public RasterizerDescription RasterizerState; - - /// - public DepthStencilDescription DepthStencilState; - - /// - public InputLayoutDescription InputLayout; - - /// - public IndexBufferStripCutValue IBStripCutValue; - - /// - public PrimitiveTopologyType PrimitiveTopologyType; - - /// - public uint NumRenderTargets; - - /// - public RTVFormats__FixedBuffer RTVFormats; - - public unsafe struct RTVFormats__FixedBuffer - { - public Graphics.Dxgi.Common.Format e0; - public Graphics.Dxgi.Common.Format e1; - public Graphics.Dxgi.Common.Format e2; - public Graphics.Dxgi.Common.Format e3; - public Graphics.Dxgi.Common.Format e4; - public Graphics.Dxgi.Common.Format e5; - public Graphics.Dxgi.Common.Format e6; - public Graphics.Dxgi.Common.Format e7; - - [UnscopedRef] - public ref Graphics.Dxgi.Common.Format this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 8); - } - } - - /// - public Graphics.Dxgi.Common.Format DSVFormat; - - /// - public Graphics.Dxgi.Common.SampleDescription SampleDesc; - - /// - public uint NodeMask; - - /// - public CachedPipelineState CachedPSO; - - /// - public PipelineStateFlags Flags; -} - -/// -/// D3D12_COMPUTE_PIPELINE_STATE_DESC -public partial struct ComputePipelineStateDescription -{ - /// - public unsafe ID3D12RootSignature* pRootSignature; - - /// - public ShaderBytecode CS; - - /// - public uint NodeMask; - - /// - public CachedPipelineState CachedPSO; - - /// - public PipelineStateFlags Flags; -} - -/// -/// D3D12_RT_FORMAT_ARRAY -public partial struct RtFormatArray -{ - /// - public RTFormats__FixedBuffer RTFormats; - - public unsafe struct RTFormats__FixedBuffer - { - public Graphics.Dxgi.Common.Format e0; - public Graphics.Dxgi.Common.Format e1; - public Graphics.Dxgi.Common.Format e2; - public Graphics.Dxgi.Common.Format e3; - public Graphics.Dxgi.Common.Format e4; - public Graphics.Dxgi.Common.Format e5; - public Graphics.Dxgi.Common.Format e6; - public Graphics.Dxgi.Common.Format e7; - - [UnscopedRef] - public ref Graphics.Dxgi.Common.Format this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 8); - } - } - - /// - public uint NumRenderTargets; -} - -/// -/// D3D12_PIPELINE_STATE_STREAM_DESC -public partial struct PipelineStateStreamDescription -{ - /// - public nuint SizeInBytes; - - /// - public unsafe void* pPipelineStateSubobjectStream; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS -public partial struct FeatureDataD3D12Options -{ - /// - public Bool32 DoublePrecisionFloatShaderOps; - - /// - public Bool32 OutputMergerLogicOp; - - /// - public ShaderMinPrecisionSupport MinPrecisionSupport; - - /// - public TiledResourcesTier TiledResourcesTier; - - /// - public ResourceBindingTier ResourceBindingTier; - - /// - public Bool32 PSSpecifiedStencilRefSupported; - - /// - public Bool32 TypedUAVLoadAdditionalFormats; - - /// - public Bool32 ROVsSupported; - - /// - public ConservativeRasterizationTier ConservativeRasterizationTier; - - /// - public uint MaxGPUVirtualAddressBitsPerResource; - - /// - public Bool32 StandardSwizzle64KBSupported; - - /// - public CrossNodeSharingTier CrossNodeSharingTier; - - /// - public Bool32 CrossAdapterRowMajorTextureSupported; - - /// - public Bool32 VPAndRTArrayIndexFromAnyShaderFeedingRasterizerSupportedWithoutGSEmulation; - - /// - public ResourceHeapTier ResourceHeapTier; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS1 -public partial struct FeatureDataD3D12Options1 -{ - /// - public Bool32 WaveOps; - - /// - public uint WaveLaneCountMin; - - /// - public uint WaveLaneCountMax; - - /// - public uint TotalLaneCount; - - /// - public Bool32 ExpandedComputeResourceStates; - - /// - public Bool32 Int64ShaderOps; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS2 -public partial struct FeatureDataD3D12Options2 -{ - /// - public Bool32 DepthBoundsTestSupported; - - /// - public ProgrammableSamplePositionsTier ProgrammableSamplePositionsTier; -} - -/// -/// D3D12_FEATURE_DATA_ROOT_SIGNATURE -public partial struct FeatureDataRootSignature -{ - /// - public RootSignatureVersion HighestVersion; -} - -/// -/// D3D12_FEATURE_DATA_ARCHITECTURE -public partial struct FeatureDataArchitecture -{ - /// - public uint NodeIndex; - - /// - public Bool32 TileBasedRenderer; - - /// - public Bool32 UMA; - - /// - public Bool32 CacheCoherentUMA; -} - -/// -/// D3D12_FEATURE_DATA_ARCHITECTURE1 -public partial struct FeatureDataArchitecture1 -{ - /// - public uint NodeIndex; - - /// - public Bool32 TileBasedRenderer; - - /// - public Bool32 UMA; - - /// - public Bool32 CacheCoherentUMA; - - /// - public Bool32 IsolatedMMU; -} - -/// -/// D3D12_FEATURE_DATA_FEATURE_LEVELS -public partial struct FeatureDataFeatureLevels -{ - /// - public uint NumFeatureLevels; - - /// - public unsafe Graphics.Direct3D.FeatureLevel* pFeatureLevelsRequested; - - /// - public Graphics.Direct3D.FeatureLevel MaxSupportedFeatureLevel; -} - -/// -/// D3D12_FEATURE_DATA_SHADER_MODEL -public partial struct FeatureDataShaderModel -{ - /// - public ShaderModel HighestShaderModel; -} - -/// -/// D3D12_FEATURE_DATA_FORMAT_SUPPORT -public partial struct FeatureDataFormatSupport -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public FormatSupport1 Support1; - - /// - public FormatSupport2 Support2; -} - -/// -/// D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS -public partial struct FeatureDataMultisampleQualityLevels -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public uint SampleCount; - - /// - public MultisampleQualityLevelFlags Flags; - - /// - public uint NumQualityLevels; -} - -/// -/// D3D12_FEATURE_DATA_FORMAT_INFO -public partial struct FeatureDataFormatInfo -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public byte PlaneCount; -} - -/// -/// D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT -public partial struct FeatureDataGpuVirtualAddressSupport -{ - /// - public uint MaxGPUVirtualAddressBitsPerResource; - - /// - public uint MaxGPUVirtualAddressBitsPerProcess; -} - -/// -/// D3D12_FEATURE_DATA_SHADER_CACHE -public partial struct FeatureDataShaderCache -{ - /// - public ShaderCacheSupportFlags SupportFlags; -} - -/// -/// D3D12_FEATURE_DATA_COMMAND_QUEUE_PRIORITY -public partial struct FeatureDataCommandQueuePriority -{ - /// - public CommandListType CommandListType; - - /// - public uint Priority; - - /// - public Bool32 PriorityForTypeIsSupported; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS3 -public partial struct FeatureDataD3D12Options3 -{ - /// - public Bool32 CopyQueueTimestampQueriesSupported; - - /// - public Bool32 CastingFullyTypedFormatSupported; - - /// - public CommandListSupportFlags WriteBufferImmediateSupportFlags; - - /// - public ViewInstancingTier ViewInstancingTier; - - /// - public Bool32 BarycentricsSupported; -} - -/// -/// D3D12_FEATURE_DATA_EXISTING_HEAPS -public partial struct FeatureDataExistingHeaps -{ - /// - public Bool32 Supported; -} - -/// -/// D3D12_FEATURE_DATA_DISPLAYABLE -public partial struct FeatureDataDisplayable -{ - /// - public Bool32 DisplayableTexture; - - /// - public SharedResourceCompatibilityTier SharedResourceCompatibilityTier; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS4 -public partial struct FeatureDataD3D12Options4 -{ - /// - public Bool32 MSAA64KBAlignedTextureSupported; - - /// - public SharedResourceCompatibilityTier SharedResourceCompatibilityTier; - - /// - public Bool32 Native16BitShaderOpsSupported; -} - -/// -/// D3D12_FEATURE_DATA_SERIALIZATION -public partial struct FeatureDataSerialization -{ - /// - public uint NodeIndex; - - /// - public HeapSerializationTier HeapSerializationTier; -} - -/// -/// D3D12_FEATURE_DATA_CROSS_NODE -public partial struct FeatureDataCrossNode -{ - /// - public CrossNodeSharingTier SharingTier; - - /// - public Bool32 AtomicShaderInstructions; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS5 -public partial struct FeatureDataD3D12Options5 -{ - /// - public Bool32 SRVOnlyTiledResourceTier3; - - /// - public RenderPassTier RenderPassesTier; - - /// - public RaytracingTier RaytracingTier; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS6 -public partial struct FeatureDataD3D12Options6 -{ - /// - public Bool32 AdditionalShadingRatesSupported; - - /// - public Bool32 PerPrimitiveShadingRateSupportedWithViewportIndexing; - - /// - public VariableShadingRateTier VariableShadingRateTier; - - /// - public uint ShadingRateImageTileSize; - - /// - public Bool32 BackgroundProcessingSupported; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS7 -public partial struct FeatureDataD3D12Options7 -{ - /// - public MeshShaderTier MeshShaderTier; - - /// - public SamplerFeedbackTier SamplerFeedbackTier; -} - -/// -/// D3D12_FEATURE_DATA_QUERY_META_COMMAND -public partial struct FeatureDataQueryMetaCommand -{ - /// - public Guid CommandId; - - /// - public uint NodeMask; - - /// - public unsafe void* pQueryInputData; - - /// - public nuint QueryInputDataSizeInBytes; - - /// - public unsafe void* pQueryOutputData; - - /// - public nuint QueryOutputDataSizeInBytes; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS8 -public partial struct FeatureDataD3D12Options8 -{ - /// - public Bool32 UnalignedBlockTexturesSupported; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS9 -public partial struct FeatureDataD3D12Options9 -{ - /// - public Bool32 MeshShaderPipelineStatsSupported; - - /// - public Bool32 MeshShaderSupportsFullRangeRenderTargetArrayIndex; - - /// - public Bool32 AtomicInt64OnTypedResourceSupported; - - /// - public Bool32 AtomicInt64OnGroupSharedSupported; - - /// - public Bool32 DerivativesInMeshAndAmplificationShadersSupported; - - /// - public WaveMmaTier WaveMMATier; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS10 -public partial struct FeatureDataD3D12Options10 -{ - /// - public Bool32 VariableRateShadingSumCombinerSupported; - - /// - public Bool32 MeshShaderPerPrimitiveShadingRateSupported; -} - -/// -/// D3D12_FEATURE_DATA_D3D12_OPTIONS11 -public partial struct FeatureDataD3D12Options11 -{ - /// - public Bool32 AtomicInt64OnDescriptorHeapResourceSupported; -} - -/// -/// D3D12_RESOURCE_ALLOCATION_INFO -public partial struct ResourceAllocationInfo -{ - /// - public ulong SizeInBytes; - - /// - public ulong Alignment; -} - -/// -/// D3D12_RESOURCE_ALLOCATION_INFO1 -public partial struct ResourceAllocationInfo1 -{ - /// - public ulong Offset; - - /// - public ulong Alignment; - - /// - public ulong SizeInBytes; -} - -/// -/// D3D12_HEAP_PROPERTIES -public partial struct HeapProperties -{ - /// - public HeapType Type; - - /// - public CpuPageProperty CPUPageProperty; - - /// - public MemoryPool MemoryPoolPreference; - - /// - public uint CreationNodeMask; - - /// - public uint VisibleNodeMask; -} - -/// -/// D3D12_HEAP_DESC -public partial struct HeapDescription -{ - /// - public ulong SizeInBytes; - - /// - public HeapProperties Properties; - - /// - public ulong Alignment; - - /// - public HeapFlags Flags; -} - -/// -/// D3D12_MIP_REGION -public partial struct MipRegion -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; -} - -/// -/// D3D12_RESOURCE_DESC -public partial struct ResourceDescription -{ - /// - public ResourceDimension Dimension; - - /// - public ulong Alignment; - - /// - public ulong Width; - - /// - public uint Height; - - /// - public ushort DepthOrArraySize; - - /// - public ushort MipLevels; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Dxgi.Common.SampleDescription SampleDesc; - - /// - public TextureLayout Layout; - - /// - public ResourceFlags Flags; -} - -/// -/// D3D12_RESOURCE_DESC1 -public partial struct ResourceDescription1 -{ - /// - public ResourceDimension Dimension; - - /// - public ulong Alignment; - - /// - public ulong Width; - - /// - public uint Height; - - /// - public ushort DepthOrArraySize; - - /// - public ushort MipLevels; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public Graphics.Dxgi.Common.SampleDescription SampleDesc; - - /// - public TextureLayout Layout; - - /// - public ResourceFlags Flags; - - /// - public MipRegion SamplerFeedbackMipRegion; -} - -/// -/// D3D12_DEPTH_STENCIL_VALUE -public partial struct DepthStencilValue -{ - /// - public float Depth; - - /// - public byte Stencil; -} - -/// -/// D3D12_CLEAR_VALUE -public partial struct ClearValue -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public unsafe Span Color - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return MemoryMarshal.CreateSpan(ref Anonymous.Color[0], 4); - } - } - - [UnscopedRef] - public ref DepthStencilValue DepthStencil - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.DepthStencil; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public unsafe fixed float Color[4]; - - /// - [FieldOffset(0)] - public DepthStencilValue DepthStencil; - } -} - -/// -/// D3D12_RANGE -public partial struct Range -{ - /// - public nuint Begin; - - /// - public nuint End; -} - -/// -/// D3D12_RANGE_UINT64 -public partial struct RangeUInt64 -{ - /// - public ulong Begin; - - /// - public ulong End; -} - -/// -/// D3D12_SUBRESOURCE_RANGE_UINT64 -public partial struct SubresourceRangeUInt64 -{ - /// - public uint Subresource; - - /// - public RangeUInt64 Range; -} - -/// -/// D3D12_SUBRESOURCE_INFO -public partial struct SubresourceInfo -{ - /// - public ulong Offset; - - /// - public uint RowPitch; - - /// - public uint DepthPitch; -} - -/// -/// D3D12_TILED_RESOURCE_COORDINATE -public partial struct TiledResourceCoordinate -{ - /// - public uint X; - - /// - public uint Y; - - /// - public uint Z; - - /// - public uint Subresource; -} - -/// -/// D3D12_TILE_REGION_SIZE -public partial struct TileRegionSize -{ - /// - public uint NumTiles; - - /// - public Bool32 UseBox; - - /// - public uint Width; - - /// - public ushort Height; - - /// - public ushort Depth; -} - -/// -/// D3D12_SUBRESOURCE_TILING -public partial struct SubresourceTiling -{ - /// - public uint WidthInTiles; - - /// - public ushort HeightInTiles; - - /// - public ushort DepthInTiles; - - /// - public uint StartTileIndexInOverallResource; -} - -/// -/// D3D12_TILE_SHAPE -public partial struct TileShape -{ - /// - public uint WidthInTexels; - - /// - public uint HeightInTexels; - - /// - public uint DepthInTexels; -} - -/// -/// D3D12_PACKED_MIP_INFO -public partial struct PackedMipInfo -{ - /// - public byte NumStandardMips; - - /// - public byte NumPackedMips; - - /// - public uint NumTilesForPackedMips; - - /// - public uint StartTileIndexInOverallResource; -} - -/// -/// D3D12_RESOURCE_TRANSITION_BARRIER -public partial struct ResourceTransitionBarrier -{ - /// - public unsafe ID3D12Resource* pResource; - - /// - public uint Subresource; - - /// - public ResourceStates StateBefore; - - /// - public ResourceStates StateAfter; -} - -/// -/// D3D12_RESOURCE_ALIASING_BARRIER -public partial struct ResourceAliasingBarrier -{ - /// - public unsafe ID3D12Resource* pResourceBefore; - - /// - public unsafe ID3D12Resource* pResourceAfter; -} - -/// -/// D3D12_RESOURCE_UAV_BARRIER -public partial struct ResourceUavBarrier -{ - /// - public unsafe ID3D12Resource* pResource; -} - -/// -/// D3D12_RESOURCE_BARRIER -public partial struct ResourceBarrier -{ - /// - public ResourceBarrierType Type; - - /// - public ResourceBarrierFlags Flags; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref ResourceTransitionBarrier Transition - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Transition; - } - } - - [UnscopedRef] - public ref ResourceAliasingBarrier Aliasing - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Aliasing; - } - } - - [UnscopedRef] - public ref ResourceUavBarrier UAV - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.UAV; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public ResourceTransitionBarrier Transition; - - /// - [FieldOffset(0)] - public ResourceAliasingBarrier Aliasing; - - /// - [FieldOffset(0)] - public ResourceUavBarrier UAV; - } -} - -/// -/// D3D12_SUBRESOURCE_FOOTPRINT -public partial struct SubresourceFootprint -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; - - /// - public uint RowPitch; -} - -/// -/// D3D12_PLACED_SUBRESOURCE_FOOTPRINT -public partial struct PlacedSubresourceFootprint -{ - /// - public ulong Offset; - - /// - public SubresourceFootprint Footprint; -} - -/// -/// D3D12_TEXTURE_COPY_LOCATION -public partial struct TextureCopyLocation -{ - /// - public unsafe ID3D12Resource* pResource; - - /// - public TextureCopyType Type; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref PlacedSubresourceFootprint PlacedFootprint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.PlacedFootprint; - } - } - - [UnscopedRef] - public ref uint SubresourceIndex - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.SubresourceIndex; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public PlacedSubresourceFootprint PlacedFootprint; - - /// - [FieldOffset(0)] - public uint SubresourceIndex; - } -} - -/// -/// D3D12_SAMPLE_POSITION -public partial struct SamplePosition -{ - /// - public sbyte X; - - /// - public sbyte Y; -} - -/// -/// D3D12_VIEW_INSTANCE_LOCATION -public partial struct ViewInstanceLocation -{ - /// - public uint ViewportArrayIndex; - - /// - public uint RenderTargetArrayIndex; -} - -/// -/// D3D12_VIEW_INSTANCING_DESC -public partial struct ViewInstancingDescription -{ - /// - public uint ViewInstanceCount; - - /// - public unsafe ViewInstanceLocation* pViewInstanceLocations; - - /// - public ViewInstancingFlags Flags; -} - -/// -/// D3D12_BUFFER_SRV -public partial struct BufferSrv -{ - /// - public ulong FirstElement; - - /// - public uint NumElements; - - /// - public uint StructureByteStride; - - /// - public BufferSrvFlags Flags; -} - -/// -/// D3D12_TEX1D_SRV -public partial struct Texture1DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEX1D_ARRAY_SRV -public partial struct Texture1DArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEX2D_SRV -public partial struct Texture2DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint PlaneSlice; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEX2D_ARRAY_SRV -public partial struct Texture2DArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEX3D_SRV -public partial struct Texture3DSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEXCUBE_SRV -public partial struct TexureCubeSrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEXCUBE_ARRAY_SRV -public partial struct TexureCubeArraySrv -{ - /// - public uint MostDetailedMip; - - /// - public uint MipLevels; - - /// - public uint First2DArrayFace; - - /// - public uint NumCubes; - - /// - public float ResourceMinLODClamp; -} - -/// -/// D3D12_TEX2DMS_SRV -public partial struct Texture2DMsSrv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D12_TEX2DMS_ARRAY_SRV -public partial struct Texture2DMsArraySrv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV -public partial struct RaytracingAccelerationStructureSrv -{ - /// - public ulong Location; -} - -/// -/// D3D12_SHADER_RESOURCE_VIEW_DESC -public partial struct ShaderResourceViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public SrvDimension ViewDimension; - - /// - public uint Shader4ComponentMapping; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferSrv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DSrv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArraySrv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DSrv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArraySrv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsSrv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArraySrv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DSrv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [UnscopedRef] - public ref TexureCubeSrv TextureCube - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCube; - } - } - - [UnscopedRef] - public ref TexureCubeArraySrv TextureCubeArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.TextureCubeArray; - } - } - - [UnscopedRef] - public ref RaytracingAccelerationStructureSrv RaytracingAccelerationStructure - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.RaytracingAccelerationStructure; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferSrv Buffer; - - /// - [FieldOffset(0)] - public Texture1DSrv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArraySrv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DSrv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArraySrv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsSrv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArraySrv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DSrv Texture3D; - - /// - [FieldOffset(0)] - public TexureCubeSrv TextureCube; - - /// - [FieldOffset(0)] - public TexureCubeArraySrv TextureCubeArray; - - /// - [FieldOffset(0)] - public RaytracingAccelerationStructureSrv RaytracingAccelerationStructure; - } -} - -/// -/// D3D12_CONSTANT_BUFFER_VIEW_DESC -public partial struct ConstantBufferViewDescription -{ - /// - public ulong BufferLocation; - - /// - public uint SizeInBytes; -} - -/// -/// D3D12_SAMPLER_DESC -public partial struct SamplerDescription -{ - /// - public Filter Filter; - - /// - public TextureAddressMode AddressU; - - /// - public TextureAddressMode AddressV; - - /// - public TextureAddressMode AddressW; - - /// - public float MipLODBias; - - /// - public uint MaxAnisotropy; - - /// - public ComparisonFunction ComparisonFunc; - - /// - public unsafe fixed float BorderColor[4]; - - /// - public float MinLOD; - - /// - public float MaxLOD; -} - -/// -/// D3D12_BUFFER_UAV -public partial struct BufferUav -{ - /// - public ulong FirstElement; - - /// - public uint NumElements; - - /// - public uint StructureByteStride; - - /// - public ulong CounterOffsetInBytes; - - /// - public BufferUavFlags Flags; -} - -/// -/// D3D12_TEX1D_UAV -public partial struct Texture1DUav -{ - /// - public uint MipSlice; -} - -/// -/// D3D12_TEX1D_ARRAY_UAV -public partial struct Texture1DArrayUav -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_TEX2D_UAV -public partial struct Texture2DUav -{ - /// - public uint MipSlice; - - /// - public uint PlaneSlice; -} - -/// -/// D3D12_TEX2D_ARRAY_UAV -public partial struct Texture2DArrayUav -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; -} - -/// -/// D3D12_TEX3D_UAV -public partial struct Texture3DUav -{ - /// - public uint MipSlice; - - /// - public uint FirstWSlice; - - /// - public uint WSize; -} - -/// -/// D3D12_UNORDERED_ACCESS_VIEW_DESC -public partial struct UnorderedAccessViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public UavDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferUav Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DUav Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayUav Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DUav Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayUav Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture3DUav Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferUav Buffer; - - /// - [FieldOffset(0)] - public Texture1DUav Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayUav Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DUav Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayUav Texture2DArray; - - /// - [FieldOffset(0)] - public Texture3DUav Texture3D; - } -} - -/// -/// D3D12_BUFFER_RTV -public partial struct BufferRtv -{ - /// - public ulong FirstElement; - - /// - public uint NumElements; -} - -/// -/// D3D12_TEX1D_RTV -public partial struct Texture1DRtv -{ - /// - public uint MipSlice; -} - -/// -/// D3D12_TEX1D_ARRAY_RTV -public partial struct Texture1DArrayRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_TEX2D_RTV -public partial struct Texture2DRtv -{ - /// - public uint MipSlice; - - /// - public uint PlaneSlice; -} - -/// -/// D3D12_TEX2DMS_RTV -public partial struct Texture2DMsRtv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D12_TEX2D_ARRAY_RTV -public partial struct Texture2DArrayRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; - - /// - public uint PlaneSlice; -} - -/// -/// D3D12_TEX2DMS_ARRAY_RTV -public partial struct Texture2DMsArrayRtv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_TEX3D_RTV -public partial struct Texture3DRtv -{ - /// - public uint MipSlice; - - /// - public uint FirstWSlice; - - /// - public uint WSize; -} - -/// -/// D3D12_RENDER_TARGET_VIEW_DESC -public partial struct RenderTargetViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public RtvDimension ViewDimension; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref BufferRtv Buffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Buffer; - } - } - - [UnscopedRef] - public ref Texture1DRtv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayRtv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DRtv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayRtv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsRtv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArrayRtv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [UnscopedRef] - public ref Texture3DRtv Texture3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture3D; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public BufferRtv Buffer; - - /// - [FieldOffset(0)] - public Texture1DRtv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayRtv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DRtv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayRtv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsRtv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArrayRtv Texture2DMSArray; - - /// - [FieldOffset(0)] - public Texture3DRtv Texture3D; - } -} - -/// -/// D3D12_TEX1D_DSV -public partial struct Texture1DDsv -{ - /// - public uint MipSlice; -} - -/// -/// D3D12_TEX1D_ARRAY_DSV -public partial struct Texture1DArrayDsv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_TEX2D_DSV -public partial struct Texture2DDsv -{ - /// - public uint MipSlice; -} - -/// -/// D3D12_TEX2D_ARRAY_DSV -public partial struct Texture2DArrayDsv -{ - /// - public uint MipSlice; - - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_TEX2DMS_DSV -public partial struct Texture2DMsDsv -{ - /// - public uint UnusedField_NothingToDefine; -} - -/// -/// D3D12_TEX2DMS_ARRAY_DSV -public partial struct Texture2DMsArrayDsv -{ - /// - public uint FirstArraySlice; - - /// - public uint ArraySize; -} - -/// -/// D3D12_DEPTH_STENCIL_VIEW_DESC -public partial struct DepthStencilViewDescription -{ - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public DsvDimension ViewDimension; - - /// - public DsvFlags Flags; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref Texture1DDsv Texture1D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1D; - } - } - - [UnscopedRef] - public ref Texture1DArrayDsv Texture1DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture1DArray; - } - } - - [UnscopedRef] - public ref Texture2DDsv Texture2D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2D; - } - } - - [UnscopedRef] - public ref Texture2DArrayDsv Texture2DArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DArray; - } - } - - [UnscopedRef] - public ref Texture2DMsDsv Texture2DMS - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMS; - } - } - - [UnscopedRef] - public ref Texture2DMsArrayDsv Texture2DMSArray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Texture2DMSArray; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public Texture1DDsv Texture1D; - - /// - [FieldOffset(0)] - public Texture1DArrayDsv Texture1DArray; - - /// - [FieldOffset(0)] - public Texture2DDsv Texture2D; - - /// - [FieldOffset(0)] - public Texture2DArrayDsv Texture2DArray; - - /// - [FieldOffset(0)] - public Texture2DMsDsv Texture2DMS; - - /// - [FieldOffset(0)] - public Texture2DMsArrayDsv Texture2DMSArray; - } -} - -/// -/// D3D12_DESCRIPTOR_HEAP_DESC -public partial struct DescriptorHeapDescription -{ - /// - public DescriptorHeapType Type; - - /// - public uint NumDescriptors; - - /// - public DescriptorHeapFlags Flags; - - /// - public uint NodeMask; -} - -/// -/// D3D12_DESCRIPTOR_RANGE -public partial struct DescriptorRange -{ - /// - public DescriptorRangeType RangeType; - - /// - public uint NumDescriptors; - - /// - public uint BaseShaderRegister; - - /// - public uint RegisterSpace; - - /// - public uint OffsetInDescriptorsFromTableStart; -} - -/// -/// D3D12_ROOT_DESCRIPTOR_TABLE -public partial struct RootDescriptorTable -{ - /// - public uint NumDescriptorRanges; - - /// - public unsafe DescriptorRange* pDescriptorRanges; -} - -/// -/// D3D12_ROOT_CONSTANTS -public partial struct RootConstants -{ - /// - public uint ShaderRegister; - - /// - public uint RegisterSpace; - - /// - public uint Num32BitValues; -} - -/// -/// D3D12_ROOT_DESCRIPTOR -public partial struct RootDescriptor -{ - /// - public uint ShaderRegister; - - /// - public uint RegisterSpace; -} - -/// -/// D3D12_ROOT_PARAMETER -public partial struct RootParameter -{ - /// - public RootParameterType ParameterType; - - /// - public _Anonymous_e__Union Anonymous; - - /// - public ShaderVisibility ShaderVisibility; - - [UnscopedRef] - public ref RootDescriptorTable DescriptorTable - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.DescriptorTable; - } - } - - [UnscopedRef] - public ref RootConstants Constants - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Constants; - } - } - - [UnscopedRef] - public ref RootDescriptor Descriptor - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Descriptor; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RootDescriptorTable DescriptorTable; - - /// - [FieldOffset(0)] - public RootConstants Constants; - - /// - [FieldOffset(0)] - public RootDescriptor Descriptor; - } -} - -/// -/// D3D12_STATIC_SAMPLER_DESC -public partial struct StaticSamplerDescription -{ - /// - public Filter Filter; - - /// - public TextureAddressMode AddressU; - - /// - public TextureAddressMode AddressV; - - /// - public TextureAddressMode AddressW; - - /// - public float MipLODBias; - - /// - public uint MaxAnisotropy; - - /// - public ComparisonFunction ComparisonFunc; - - /// - public StaticBorderColor BorderColor; - - /// - public float MinLOD; - - /// - public float MaxLOD; - - /// - public uint ShaderRegister; - - /// - public uint RegisterSpace; - - /// - public ShaderVisibility ShaderVisibility; -} - -/// -/// D3D12_ROOT_SIGNATURE_DESC -public partial struct RootSignatureDescription -{ - /// - public uint NumParameters; - - /// - public unsafe RootParameter* pParameters; - - /// - public uint NumStaticSamplers; - - /// - public unsafe StaticSamplerDescription* pStaticSamplers; - - /// - public RootSignatureFlags Flags; -} - -/// -/// D3D12_DESCRIPTOR_RANGE1 -public partial struct DescriptorRange1 -{ - /// - public DescriptorRangeType RangeType; - - /// - public uint NumDescriptors; - - /// - public uint BaseShaderRegister; - - /// - public uint RegisterSpace; - - /// - public DescriptorRangeFlags Flags; - - /// - public uint OffsetInDescriptorsFromTableStart; -} - -/// -/// D3D12_ROOT_DESCRIPTOR_TABLE1 -public partial struct RootDescriptorTable1 -{ - /// - public uint NumDescriptorRanges; - - /// - public unsafe DescriptorRange1* pDescriptorRanges; -} - -/// -/// D3D12_ROOT_DESCRIPTOR1 -public partial struct RootDescriptor1 -{ - /// - public uint ShaderRegister; - - /// - public uint RegisterSpace; - - /// - public RootDescriptorFlags Flags; -} - -/// -/// D3D12_ROOT_PARAMETER1 -public partial struct RootParameter1 -{ - /// - public RootParameterType ParameterType; - - /// - public _Anonymous_e__Union Anonymous; - - /// - public ShaderVisibility ShaderVisibility; - - [UnscopedRef] - public ref RootDescriptorTable1 DescriptorTable - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.DescriptorTable; - } - } - - [UnscopedRef] - public ref RootConstants Constants - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Constants; - } - } - - [UnscopedRef] - public ref RootDescriptor1 Descriptor - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Descriptor; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RootDescriptorTable1 DescriptorTable; - - /// - [FieldOffset(0)] - public RootConstants Constants; - - /// - [FieldOffset(0)] - public RootDescriptor1 Descriptor; - } -} - -/// -/// D3D12_ROOT_SIGNATURE_DESC1 -public partial struct RootSignatureDescription1 -{ - /// - public uint NumParameters; - - /// - public unsafe RootParameter1* pParameters; - - /// - public uint NumStaticSamplers; - - /// - public unsafe StaticSamplerDescription* pStaticSamplers; - - /// - public RootSignatureFlags Flags; -} - -/// -/// D3D12_VERSIONED_ROOT_SIGNATURE_DESC -public partial struct VersionedRootSignatureDescription -{ - /// - public RootSignatureVersion Version; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref RootSignatureDescription Desc_1_0 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Desc_1_0; - } - } - - [UnscopedRef] - public ref RootSignatureDescription1 Desc_1_1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Desc_1_1; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RootSignatureDescription Desc_1_0; - - /// - [FieldOffset(0)] - public RootSignatureDescription1 Desc_1_1; - } -} - -/// -/// D3D12_CPU_DESCRIPTOR_HANDLE -public partial struct CpuDescriptorHandle -{ - /// - public nuint ptr; -} - -/// -/// D3D12_GPU_DESCRIPTOR_HANDLE -public partial struct GpuDescriptorHandle -{ - /// - public ulong ptr; -} - -/// -/// D3D12_DISCARD_REGION -public partial struct DiscardRegion -{ - /// - public uint NumRects; - - /// - public unsafe RawRect* pRects; - - /// - public uint FirstSubresource; - - /// - public uint NumSubresources; -} - -/// -/// D3D12_QUERY_HEAP_DESC -public partial struct QueryHeapDescription -{ - /// - public QueryHeapType Type; - - /// - public uint Count; - - /// - public uint NodeMask; -} - -/// -/// D3D12_QUERY_DATA_PIPELINE_STATISTICS -public partial struct QueryDataPipelineStatistics -{ - /// - public ulong IAVertices; - - /// - public ulong IAPrimitives; - - /// - public ulong VSInvocations; - - /// - public ulong GSInvocations; - - /// - public ulong GSPrimitives; - - /// - public ulong CInvocations; - - /// - public ulong CPrimitives; - - /// - public ulong PSInvocations; - - /// - public ulong HSInvocations; - - /// - public ulong DSInvocations; - - /// - public ulong CSInvocations; -} - -/// -/// D3D12_QUERY_DATA_PIPELINE_STATISTICS1 -public partial struct QueryDataPipelineStatistics1 -{ - /// - public ulong IAVertices; - - /// - public ulong IAPrimitives; - - /// - public ulong VSInvocations; - - /// - public ulong GSInvocations; - - /// - public ulong GSPrimitives; - - /// - public ulong CInvocations; - - /// - public ulong CPrimitives; - - /// - public ulong PSInvocations; - - /// - public ulong HSInvocations; - - /// - public ulong DSInvocations; - - /// - public ulong CSInvocations; - - /// - public ulong ASInvocations; - - /// - public ulong MSInvocations; - - /// - public ulong MSPrimitives; -} - -/// -/// D3D12_QUERY_DATA_SO_STATISTICS -public partial struct QueryDataSOStatistics -{ - /// - public ulong NumPrimitivesWritten; - - /// - public ulong PrimitivesStorageNeeded; -} - -/// -/// D3D12_STREAM_OUTPUT_BUFFER_VIEW -public partial struct StreamOutputBufferView -{ - /// - public ulong BufferLocation; - - /// - public ulong SizeInBytes; - - /// - public ulong BufferFilledSizeLocation; -} - -/// -/// D3D12_DRAW_ARGUMENTS -public partial struct DrawArguments -{ - /// - public uint VertexCountPerInstance; - - /// - public uint InstanceCount; - - /// - public uint StartVertexLocation; - - /// - public uint StartInstanceLocation; -} - -/// -/// D3D12_DRAW_INDEXED_ARGUMENTS -public partial struct DrawIndexedArguments -{ - /// - public uint IndexCountPerInstance; - - /// - public uint InstanceCount; - - /// - public uint StartIndexLocation; - - /// - public int BaseVertexLocation; - - /// - public uint StartInstanceLocation; -} - -/// -/// D3D12_DISPATCH_ARGUMENTS -public partial struct DispatchArguments -{ - /// - public uint ThreadGroupCountX; - - /// - public uint ThreadGroupCountY; - - /// - public uint ThreadGroupCountZ; -} - -/// -/// D3D12_VERTEX_BUFFER_VIEW -public partial struct VertexBufferView -{ - /// - public ulong BufferLocation; - - /// - public uint SizeInBytes; - - /// - public uint StrideInBytes; -} - -/// -/// D3D12_INDEX_BUFFER_VIEW -public partial struct IndexBufferView -{ - /// - public ulong BufferLocation; - - /// - public uint SizeInBytes; - - /// - public Graphics.Dxgi.Common.Format Format; -} - -/// -/// D3D12_INDIRECT_ARGUMENT_DESC -public partial struct IndirectArgumentDescription -{ - /// - public IndirectArgumentType Type; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref _Anonymous_e__Union._VertexBuffer_e__Struct VertexBuffer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.VertexBuffer; - } - } - - [UnscopedRef] - public ref _Anonymous_e__Union._Constant_e__Struct Constant - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Constant; - } - } - - [UnscopedRef] - public ref _Anonymous_e__Union._ConstantBufferView_e__Struct ConstantBufferView - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.ConstantBufferView; - } - } - - [UnscopedRef] - public ref _Anonymous_e__Union._ShaderResourceView_e__Struct ShaderResourceView - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.ShaderResourceView; - } - } - - [UnscopedRef] - public ref _Anonymous_e__Union._UnorderedAccessView_e__Struct UnorderedAccessView - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.UnorderedAccessView; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public _Anonymous_e__Union._VertexBuffer_e__Struct VertexBuffer; - - /// - [FieldOffset(0)] - public _Anonymous_e__Union._Constant_e__Struct Constant; - - /// - [FieldOffset(0)] - public _Anonymous_e__Union._ConstantBufferView_e__Struct ConstantBufferView; - - /// - [FieldOffset(0)] - public _Anonymous_e__Union._ShaderResourceView_e__Struct ShaderResourceView; - - /// - [FieldOffset(0)] - public _Anonymous_e__Union._UnorderedAccessView_e__Struct UnorderedAccessView; - - public partial struct _ShaderResourceView_e__Struct - { - /// - public uint RootParameterIndex; - } - public partial struct _Constant_e__Struct - { - /// - public uint RootParameterIndex; - - /// - public uint DestOffsetIn32BitValues; - - /// - public uint Num32BitValuesToSet; - } - public partial struct _UnorderedAccessView_e__Struct - { - /// - public uint RootParameterIndex; - } - public partial struct _VertexBuffer_e__Struct - { - /// - public uint Slot; - } - public partial struct _ConstantBufferView_e__Struct - { - /// - public uint RootParameterIndex; - } - } -} - -/// -/// D3D12_COMMAND_SIGNATURE_DESC -public partial struct CommandSignatureDescription -{ - /// - public uint ByteStride; - - /// - public uint NumArgumentDescs; - - /// - public unsafe IndirectArgumentDescription* pArgumentDescs; - - /// - public uint NodeMask; -} - -/// -/// D3D12_WRITEBUFFERIMMEDIATE_PARAMETER -public partial struct WriteBufferImmediateParameter -{ - /// - public ulong Dest; - - /// - public uint Value; -} - -/// -/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT -public partial struct FeatureDataProtectedResourceSessionSupport -{ - /// - public uint NodeIndex; - - /// - public ProtectedResourceSessionSupportFlags Support; -} - -/// -/// D3D12_PROTECTED_RESOURCE_SESSION_DESC -public partial struct ProtectedResourceSessionDescription -{ - /// - public uint NodeMask; - - /// - public ProtectedResourceSessionFlags Flags; -} - -/// -/// D3D12_META_COMMAND_PARAMETER_DESC -public partial struct MetaCommandParameterDescription -{ - /// - public unsafe ushort* Name; - - /// - public MetaCommandParameterType Type; - - /// - public MetaCommandParameterFlags Flags; - - /// - public ResourceStates RequiredResourceState; - - /// - public uint StructureOffset; -} - -/// -/// D3D12_META_COMMAND_DESC -public partial struct MetaCommandDescription -{ - /// - public Guid Id; - - /// - public unsafe ushort* Name; - - /// - public GraphicsStates InitializationDirtyState; - - /// - public GraphicsStates ExecutionDirtyState; -} - -/// -/// D3D12_STATE_SUBOBJECT -public partial struct StateSubObject -{ - /// - public StateSubObjectType Type; - - /// - public unsafe void* pDesc; -} - -/// -/// D3D12_STATE_OBJECT_CONFIG -public partial struct StateObjectConfig -{ - /// - public StateObjectFlags Flags; -} - -/// -/// D3D12_GLOBAL_ROOT_SIGNATURE -public partial struct GlobalRootSignature -{ - /// - public unsafe ID3D12RootSignature* pGlobalRootSignature; -} - -/// -/// D3D12_LOCAL_ROOT_SIGNATURE -public partial struct LocalRootSignature -{ - /// - public unsafe ID3D12RootSignature* pLocalRootSignature; -} - -/// -/// D3D12_NODE_MASK -public partial struct NodeMask -{ - /// - public uint Mask; -} - -/// -/// D3D12_EXPORT_DESC -public partial struct ExportDescription -{ - /// - public unsafe ushort* Name; - - /// - public unsafe ushort* ExportToRename; - - /// - public ExportFlags Flags; -} - -/// -/// D3D12_DXIL_LIBRARY_DESC -public partial struct DxilLibraryDescription -{ - /// - public ShaderBytecode DXILLibrary; - - /// - public uint NumExports; - - /// - public unsafe ExportDescription* pExports; -} - -/// -/// D3D12_EXISTING_COLLECTION_DESC -public partial struct ExistingCollectionDescription -{ - /// - public unsafe ID3D12StateObject* pExistingCollection; - - /// - public uint NumExports; - - /// - public unsafe ExportDescription* pExports; -} - -/// -/// D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION -public partial struct SubObjectToExportsAssociation -{ - /// - public unsafe StateSubObject* pSubobjectToAssociate; - - /// - public uint NumExports; - - /// - public unsafe ushort** pExports; -} - -/// -/// D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION -public partial struct DxilSubObjectToExportsAssociation -{ - /// - public unsafe ushort* SubobjectToAssociate; - - /// - public uint NumExports; - - /// - public unsafe ushort** pExports; -} - -/// -/// D3D12_HIT_GROUP_DESC -public partial struct HitGroupDescription -{ - /// - public unsafe ushort* HitGroupExport; - - /// - public HitGroupType Type; - - /// - public unsafe ushort* AnyHitShaderImport; - - /// - public unsafe ushort* ClosestHitShaderImport; - - /// - public unsafe ushort* IntersectionShaderImport; -} - -/// -/// D3D12_RAYTRACING_SHADER_CONFIG -public partial struct RaytracingShaderConfig -{ - /// - public uint MaxPayloadSizeInBytes; - - /// - public uint MaxAttributeSizeInBytes; -} - -/// -/// D3D12_RAYTRACING_PIPELINE_CONFIG -public partial struct RaytracingPipelineConfig -{ - /// - public uint MaxTraceRecursionDepth; -} - -/// -/// D3D12_RAYTRACING_PIPELINE_CONFIG1 -public partial struct RaytracingPipelineConfig1 -{ - /// - public uint MaxTraceRecursionDepth; - - /// - public RaytracingPipelineFlags Flags; -} - -/// -/// D3D12_STATE_OBJECT_DESC -public partial struct StateObjectDescription -{ - /// - public StateObjectType Type; - - /// - public uint NumSubobjects; - - /// - public unsafe StateSubObject* pSubobjects; -} - -/// -/// D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE -public partial struct GpuVirtualAddressAndStride -{ - /// - public ulong StartAddress; - - /// - public ulong StrideInBytes; -} - -/// -/// D3D12_GPU_VIRTUAL_ADDRESS_RANGE -public partial struct GpuVirtualAddressRange -{ - /// - public ulong StartAddress; - - /// - public ulong SizeInBytes; -} - -/// -/// D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE -public partial struct GpuVirtualAddressRangeAndStride -{ - /// - public ulong StartAddress; - - /// - public ulong SizeInBytes; - - /// - public ulong StrideInBytes; -} - -/// -/// D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC -public partial struct RaytracingGeometryTrianglesDescription -{ - /// - public ulong Transform3x4; - - /// - public Graphics.Dxgi.Common.Format IndexFormat; - - /// - public Graphics.Dxgi.Common.Format VertexFormat; - - /// - public uint IndexCount; - - /// - public uint VertexCount; - - /// - public ulong IndexBuffer; - - /// - public GpuVirtualAddressAndStride VertexBuffer; -} - -/// -/// D3D12_RAYTRACING_AABB -public partial struct RaytracingAabb -{ - /// - public float MinX; - - /// - public float MinY; - - /// - public float MinZ; - - /// - public float MaxX; - - /// - public float MaxY; - - /// - public float MaxZ; -} - -/// -/// D3D12_RAYTRACING_GEOMETRY_AABBS_DESC -public partial struct RaytracingGeometryAabbsDescription -{ - /// - public ulong AABBCount; - - /// - public GpuVirtualAddressAndStride AABBs; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC -public partial struct RaytracingAccelerationStructurePostbuildInfoDescription -{ - /// - public ulong DestBuffer; - - /// - public RaytracingAccelerationStructurePostbuildInfoType InfoType; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC -public partial struct RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription -{ - /// - public ulong CompactedSizeInBytes; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC -public partial struct RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription -{ - /// - public ulong DecodedSizeInBytes; -} - -/// -/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_TOOLS_VISUALIZATION_HEADER -public partial struct BuildRaytracingAccelerationStructureToolsVisualizationHeader -{ - /// - public RaytracingAccelerationStructureType Type; - - /// - public uint NumDescs; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC -public partial struct RaytracingAccelerationStructurePostbuildInfoSerializationDescription -{ - /// - public ulong SerializedSizeInBytes; - - /// - public ulong NumBottomLevelAccelerationStructurePointers; -} - -/// -/// D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER -public partial struct SerializedDataDriverMatchingIdentifier -{ - /// - public Guid DriverOpaqueGUID; - - /// - public unsafe fixed byte DriverOpaqueVersioningData[16]; -} - -/// -/// D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER -public partial struct SerializedRaytracingAccelerationStructureHeader -{ - /// - public SerializedDataDriverMatchingIdentifier DriverMatchingIdentifier; - - /// - public ulong SerializedSizeInBytesIncludingHeader; - - /// - public ulong DeserializedSizeInBytes; - - /// - public ulong NumBottomLevelAccelerationStructurePointersAfterHeader; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC -public partial struct RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription -{ - /// - public ulong CurrentSizeInBytes; -} - -/// -/// D3D12_RAYTRACING_INSTANCE_DESC -public partial struct RaytracingInstanceDescription -{ - /// - public unsafe fixed float Transform[12]; - - /// - public uint _bitfield1; - - /// - public uint _bitfield2; - - /// - public ulong AccelerationStructure; -} - -/// -/// D3D12_RAYTRACING_GEOMETRY_DESC -public partial struct RaytracingGeometryDescription -{ - /// - public RaytracingGeometryType Type; - - /// - public RaytracingGeometryFlags Flags; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref RaytracingGeometryTrianglesDescription Triangles - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Triangles; - } - } - - [UnscopedRef] - public ref RaytracingGeometryAabbsDescription AABBs - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.AABBs; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RaytracingGeometryTrianglesDescription Triangles; - - /// - [FieldOffset(0)] - public RaytracingGeometryAabbsDescription AABBs; - } -} - -/// -/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS -public partial struct BuildRaytracingAccelerationStructureInputs -{ - /// - public RaytracingAccelerationStructureType Type; - - /// - public RaytracingAccelerationStructureBuildFlags Flags; - - /// - public uint NumDescs; - - /// - public ElementsLayout DescsLayout; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref ulong InstanceDescs - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.InstanceDescs; - } - } - - [UnscopedRef] - public unsafe ref RaytracingGeometryDescription* pGeometryDescs - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.pGeometryDescs; - } - } - - [UnscopedRef] - public unsafe ref RaytracingGeometryDescription** ppGeometryDescs - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.ppGeometryDescs; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public ulong InstanceDescs; - - /// - [FieldOffset(0)] - public unsafe RaytracingGeometryDescription* pGeometryDescs; - - /// - [FieldOffset(0)] - public unsafe RaytracingGeometryDescription** ppGeometryDescs; - } -} - -/// -/// D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC -public partial struct BuildRaytracingAccelerationStructureDescription -{ - /// - public ulong DestAccelerationStructureData; - - /// - public BuildRaytracingAccelerationStructureInputs Inputs; - - /// - public ulong SourceAccelerationStructureData; - - /// - public ulong ScratchAccelerationStructureData; -} - -/// -/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO -public partial struct RaytracingAccelerationStructurePrebuildInfo -{ - /// - public ulong ResultDataMaxSizeInBytes; - - /// - public ulong ScratchDataSizeInBytes; - - /// - public ulong UpdateScratchDataSizeInBytes; -} - -/// -/// D3D12_AUTO_BREADCRUMB_NODE -public partial struct AutoBreadcrumbNode -{ - /// - public unsafe byte* pCommandListDebugNameA; - - /// - public unsafe ushort* pCommandListDebugNameW; - - /// - public unsafe byte* pCommandQueueDebugNameA; - - /// - public unsafe ushort* pCommandQueueDebugNameW; - - /// - public unsafe ID3D12GraphicsCommandList* pCommandList; - - /// - public unsafe ID3D12CommandQueue* pCommandQueue; - - /// - public uint BreadcrumbCount; - - /// - public unsafe uint* pLastBreadcrumbValue; - - /// - public unsafe AutoBreadcrumbOperation* pCommandHistory; - - /// - public unsafe AutoBreadcrumbNode* pNext; -} - -/// -/// D3D12_DRED_BREADCRUMB_CONTEXT -public partial struct DredBreadcrumbContext -{ - /// - public uint BreadcrumbIndex; - - /// - public unsafe ushort* pContextString; -} - -/// -/// D3D12_AUTO_BREADCRUMB_NODE1 -public partial struct AutoBreadcrumbNode1 -{ - /// - public unsafe byte* pCommandListDebugNameA; - - /// - public unsafe ushort* pCommandListDebugNameW; - - /// - public unsafe byte* pCommandQueueDebugNameA; - - /// - public unsafe ushort* pCommandQueueDebugNameW; - - /// - public unsafe ID3D12GraphicsCommandList* pCommandList; - - /// - public unsafe ID3D12CommandQueue* pCommandQueue; - - /// - public uint BreadcrumbCount; - - /// - public unsafe uint* pLastBreadcrumbValue; - - /// - public unsafe AutoBreadcrumbOperation* pCommandHistory; - - /// - public unsafe AutoBreadcrumbNode1* pNext; - - /// - public uint BreadcrumbContextsCount; - - /// - public unsafe DredBreadcrumbContext* pBreadcrumbContexts; -} - -/// -/// D3D12_DEVICE_REMOVED_EXTENDED_DATA -public partial struct DeviceRemovedExtendedData -{ - /// - public DredFlags Flags; - - /// - public unsafe AutoBreadcrumbNode* pHeadAutoBreadcrumbNode; -} - -/// -/// D3D12_DRED_ALLOCATION_NODE -public partial struct DredAllocationNode -{ - /// - public unsafe byte* ObjectNameA; - - /// - public unsafe ushort* ObjectNameW; - - /// - public DredAllocationType AllocationType; - - /// - public unsafe DredAllocationNode* pNext; -} - -/// -/// D3D12_DRED_ALLOCATION_NODE1 -public partial struct DredAllocationNode1 -{ - /// - public unsafe byte* ObjectNameA; - - /// - public unsafe ushort* ObjectNameW; - - /// - public DredAllocationType AllocationType; - - /// - public unsafe DredAllocationNode1* pNext; - - /// - public unsafe IUnknown* pObject; -} - -/// -/// D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT -public partial struct DredAutoBreadcrumbsOutput -{ - /// - public unsafe AutoBreadcrumbNode* pHeadAutoBreadcrumbNode; -} - -/// -/// D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1 -public partial struct DredAutoBreadcrumbsOutput1 -{ - /// - public unsafe AutoBreadcrumbNode1* pHeadAutoBreadcrumbNode; -} - -/// -/// D3D12_DRED_PAGE_FAULT_OUTPUT -public partial struct DredPageFaultOutput -{ - /// - public ulong PageFaultVA; - - /// - public unsafe DredAllocationNode* pHeadExistingAllocationNode; - - /// - public unsafe DredAllocationNode* pHeadRecentFreedAllocationNode; -} - -/// -/// D3D12_DRED_PAGE_FAULT_OUTPUT1 -public partial struct DredPageFaultOutput1 -{ - /// - public ulong PageFaultVA; - - /// - public unsafe DredAllocationNode1* pHeadExistingAllocationNode; - - /// - public unsafe DredAllocationNode1* pHeadRecentFreedAllocationNode; -} - -/// -/// D3D12_DRED_PAGE_FAULT_OUTPUT2 -public partial struct DredPageFaultOutput2 -{ - /// - public ulong PageFaultVA; - - /// - public unsafe DredAllocationNode1* pHeadExistingAllocationNode; - - /// - public unsafe DredAllocationNode1* pHeadRecentFreedAllocationNode; - - /// - public DredPageFaultFlags PageFaultFlags; -} - -/// -/// D3D12_DEVICE_REMOVED_EXTENDED_DATA1 -public partial struct DeviceRemovedExtendedData1 -{ - /// - public HResult DeviceRemovedReason; - - /// - public DredAutoBreadcrumbsOutput AutoBreadcrumbsOutput; - - /// - public DredPageFaultOutput PageFaultOutput; -} - -/// -/// D3D12_DEVICE_REMOVED_EXTENDED_DATA2 -public partial struct DeviceRemovedExtendedData2 -{ - /// - public HResult DeviceRemovedReason; - - /// - public DredAutoBreadcrumbsOutput1 AutoBreadcrumbsOutput; - - /// - public DredPageFaultOutput1 PageFaultOutput; -} - -/// -/// D3D12_DEVICE_REMOVED_EXTENDED_DATA3 -public partial struct DeviceRemovedExtendedData3 -{ - /// - public HResult DeviceRemovedReason; - - /// - public DredAutoBreadcrumbsOutput1 AutoBreadcrumbsOutput; - - /// - public DredPageFaultOutput2 PageFaultOutput; - - /// - public DredDeviceState DeviceState; -} - -/// -/// D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA -public partial struct VersionedDeviceRemovedExtendedData -{ - /// - public DredVersion Version; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref DeviceRemovedExtendedData Dred_1_0 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Dred_1_0; - } - } - - [UnscopedRef] - public ref DeviceRemovedExtendedData1 Dred_1_1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Dred_1_1; - } - } - - [UnscopedRef] - public ref DeviceRemovedExtendedData2 Dred_1_2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Dred_1_2; - } - } - - [UnscopedRef] - public ref DeviceRemovedExtendedData3 Dred_1_3 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Dred_1_3; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public DeviceRemovedExtendedData Dred_1_0; - - /// - [FieldOffset(0)] - public DeviceRemovedExtendedData1 Dred_1_1; - - /// - [FieldOffset(0)] - public DeviceRemovedExtendedData2 Dred_1_2; - - /// - [FieldOffset(0)] - public DeviceRemovedExtendedData3 Dred_1_3; - } -} - -/// -/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_TYPE_COUNT -public partial struct FeatureDataProtectedResourceSessionTypeCount -{ - /// - public uint NodeIndex; - - /// - public uint Count; -} - -/// -/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_TYPES -public partial struct FeatureDataProtectedResourceSessionTypes -{ - /// - public uint NodeIndex; - - /// - public uint Count; - - /// - public unsafe Guid* pTypes; -} - -/// -/// D3D12_PROTECTED_RESOURCE_SESSION_DESC1 -public partial struct ProtectedResourceSessionDescription1 -{ - /// - public uint NodeMask; - - /// - public ProtectedResourceSessionFlags Flags; - - /// - public Guid ProtectionType; -} - -/// -/// D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS -public partial struct RenderPassBeginningAccessClearParameters -{ - /// - public ClearValue ClearValue; -} - -/// -/// D3D12_RENDER_PASS_BEGINNING_ACCESS -public partial struct RenderPassBeginningAccess -{ - /// - public RenderPassBeginningAccessType Type; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref RenderPassBeginningAccessClearParameters Clear - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Clear; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RenderPassBeginningAccessClearParameters Clear; - } -} - -/// -/// D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS -public partial struct RenderPassEndingAccessResolveSubresourceParameters -{ - /// - public uint SrcSubresource; - - /// - public uint DstSubresource; - - /// - public uint DstX; - - /// - public uint DstY; - - /// - public RawRect SrcRect; -} - -/// -/// D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS -public partial struct RenderPassEndingAccessResolveParameters -{ - /// - public unsafe ID3D12Resource* pSrcResource; - - /// - public unsafe ID3D12Resource* pDstResource; - - /// - public uint SubresourceCount; - - /// - public unsafe RenderPassEndingAccessResolveSubresourceParameters* pSubresourceParameters; - - /// - public Graphics.Dxgi.Common.Format Format; - - /// - public ResolveMode ResolveMode; - - /// - public Bool32 PreserveResolveSource; -} - -/// -/// D3D12_RENDER_PASS_ENDING_ACCESS -public partial struct RenderPassEndingAccess -{ - /// - public RenderPassEndingAccessType Type; - - /// - public _Anonymous_e__Union Anonymous; - - [UnscopedRef] - public ref RenderPassEndingAccessResolveParameters Resolve - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref Anonymous.Resolve; - } - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct _Anonymous_e__Union - { - /// - [FieldOffset(0)] - public RenderPassEndingAccessResolveParameters Resolve; - } -} - -/// -/// D3D12_RENDER_PASS_RENDER_TARGET_DESC -public partial struct RenderPassRenderTargetDescription -{ - /// - public CpuDescriptorHandle cpuDescriptor; - - /// - public RenderPassBeginningAccess BeginningAccess; - - /// - public RenderPassEndingAccess EndingAccess; -} - -/// -/// D3D12_RENDER_PASS_DEPTH_STENCIL_DESC -public partial struct RenderPassDepthStencilDescription -{ - /// - public CpuDescriptorHandle cpuDescriptor; - - /// - public RenderPassBeginningAccess DepthBeginningAccess; - - /// - public RenderPassBeginningAccess StencilBeginningAccess; - - /// - public RenderPassEndingAccess DepthEndingAccess; - - /// - public RenderPassEndingAccess StencilEndingAccess; -} - -/// -/// D3D12_DISPATCH_RAYS_DESC -public partial struct DispatchRaysDescription -{ - /// - public GpuVirtualAddressRange RayGenerationShaderRecord; - - /// - public GpuVirtualAddressRangeAndStride MissShaderTable; - - /// - public GpuVirtualAddressRangeAndStride HitGroupTable; - - /// - public GpuVirtualAddressRangeAndStride CallableShaderTable; - - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; -} - -/// -/// D3D12_SHADER_CACHE_SESSION_DESC -public partial struct ShaderCacheSessionDescription -{ - /// - public Guid Identifier; - - /// - public ShaderCacheMode Mode; - - /// - public ShaderCacheFlags Flags; - - /// - public uint MaximumInMemoryCacheSizeBytes; - - /// - public uint MaximumInMemoryCacheEntries; - - /// - public uint MaximumValueFileSizeBytes; - - /// - public ulong Version; -} - -/// -/// D3D12_SUBRESOURCE_DATA -public partial struct SubresourceData -{ - /// - public unsafe void* pData; - - /// - public nint RowPitch; - - /// - public nint SlicePitch; -} - -/// -/// D3D12_MEMCPY_DEST -public partial struct MemcpyDest -{ - /// - public unsafe void* pData; - - /// - public nuint RowPitch; - - /// - public nuint SlicePitch; -} - -/// -/// D3D12_DEBUG_DEVICE_GPU_BASED_VALIDATION_SETTINGS -public partial struct DebugDeviceGpuBasedValidationSettings -{ - /// - public uint MaxMessagesPerCommandList; - - /// - public GpuBasedValidationShaderPatchMode DefaultShaderPatchMode; - - /// - public GpuBasedValidationPipelineStateCreateFlags PipelineStateCreateFlags; -} - -/// -/// D3D12_DEBUG_DEVICE_GPU_SLOWDOWN_PERFORMANCE_FACTOR -public partial struct DebugDeviceGpuSlowdownPerformanceFactor -{ - /// - public float SlowdownFactor; -} - -/// -/// D3D12_DEBUG_COMMAND_LIST_GPU_BASED_VALIDATION_SETTINGS -public partial struct DebugCommandListGpuBasedValidationSettings -{ - /// - public GpuBasedValidationShaderPatchMode ShaderPatchMode; -} - -/// -/// D3D12_MESSAGE -public partial struct Message -{ - /// - public MessageCategory Category; - - /// - public MessageSeverity Severity; - - /// - public MessageId ID; - - /// - public unsafe byte* pDescription; - - /// - public nuint DescriptionByteLength; -} - -/// -/// D3D12_INFO_QUEUE_FILTER_DESC -public partial struct InfoQueueFilterDescription -{ - /// - public uint NumCategories; - - /// - public unsafe MessageCategory* pCategoryList; - - /// - public uint NumSeverities; - - /// - public unsafe MessageSeverity* pSeverityList; - - /// - public uint NumIDs; - - /// - public unsafe MessageId* pIDList; -} - -/// -/// D3D12_INFO_QUEUE_FILTER -public partial struct InfoQueueFilter -{ - /// - public InfoQueueFilterDescription AllowList; - - /// - public InfoQueueFilterDescription DenyList; -} - -/// -/// D3D12_DISPATCH_MESH_ARGUMENTS -public partial struct DispatchMeshArguments -{ - /// - public uint ThreadGroupCountX; - - /// - public uint ThreadGroupCountY; - - /// - public uint ThreadGroupCountZ; -} - -/// -/// D3D12_SIGNATURE_PARAMETER_DESC -public partial struct SignatureParameterDescription -{ - /// - public unsafe sbyte* SemanticName; - - /// - public uint SemanticIndex; - - /// - public uint Register; - - /// - public Graphics.Direct3D.Name SystemValueType; - - /// - public Graphics.Direct3D.RegisterComponentType ComponentType; - - /// - public byte Mask; - - /// - public byte ReadWriteMask; - - /// - public uint Stream; - - /// - public Graphics.Direct3D.MinPrecision MinPrecision; -} - -/// -/// D3D12_SHADER_BUFFER_DESC -public partial struct ShaderBufferDescription -{ - /// - public unsafe sbyte* Name; - - /// - public Graphics.Direct3D.CBufferType Type; - - /// - public uint Variables; - - /// - public uint Size; - - /// - public uint uFlags; -} - -/// -/// D3D12_SHADER_VARIABLE_DESC -public partial struct ShaderVariableDescription -{ - /// - public unsafe sbyte* Name; - - /// - public uint StartOffset; - - /// - public uint Size; - - /// - public uint uFlags; - - /// - public unsafe void* DefaultValue; - - /// - public uint StartTexture; - - /// - public uint TextureSize; - - /// - public uint StartSampler; - - /// - public uint SamplerSize; -} - -/// -/// D3D12_SHADER_TYPE_DESC -public partial struct ShaderTypeDescription -{ - /// - public Graphics.Direct3D.ShaderVariableClass Class; - - /// - public Graphics.Direct3D.ShaderVariableType Type; - - /// - public uint Rows; - - /// - public uint Columns; - - /// - public uint Elements; - - /// - public uint Members; - - /// - public uint Offset; - - /// - public unsafe sbyte* Name; -} - -/// -/// D3D12_SHADER_DESC -public partial struct ShaderDescription -{ - /// - public uint Version; - - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint ConstantBuffers; - - /// - public uint BoundResources; - - /// - public uint InputParameters; - - /// - public uint OutputParameters; - - /// - public uint InstructionCount; - - /// - public uint TempRegisterCount; - - /// - public uint TempArrayCount; - - /// - public uint DefCount; - - /// - public uint DclCount; - - /// - public uint TextureNormalInstructions; - - /// - public uint TextureLoadInstructions; - - /// - public uint TextureCompInstructions; - - /// - public uint TextureBiasInstructions; - - /// - public uint TextureGradientInstructions; - - /// - public uint FloatInstructionCount; - - /// - public uint IntInstructionCount; - - /// - public uint UintInstructionCount; - - /// - public uint StaticFlowControlCount; - - /// - public uint DynamicFlowControlCount; - - /// - public uint MacroInstructionCount; - - /// - public uint ArrayInstructionCount; - - /// - public uint CutInstructionCount; - - /// - public uint EmitInstructionCount; - - /// - public Graphics.Direct3D.PrimitiveTopology GSOutputTopology; - - /// - public uint GSMaxOutputVertexCount; - - /// - public Graphics.Direct3D.Primitive InputPrimitive; - - /// - public uint PatchConstantParameters; - - /// - public uint cGSInstanceCount; - - /// - public uint cControlPoints; - - /// - public Graphics.Direct3D.TessellatorOutputPrimitive HSOutputPrimitive; - - /// - public Graphics.Direct3D.TessellatorPartitioning HSPartitioning; - - /// - public Graphics.Direct3D.TessellatorDomain TessellatorDomain; - - /// - public uint cBarrierInstructions; - - /// - public uint cInterlockedInstructions; - - /// - public uint cTextureStoreInstructions; -} - -/// -/// D3D12_SHADER_INPUT_BIND_DESC -public partial struct ShaderInputBindDescription -{ - /// - public unsafe sbyte* Name; - - /// - public Graphics.Direct3D.ShaderInputType Type; - - /// - public uint BindPoint; - - /// - public uint BindCount; - - /// - public uint uFlags; - - /// - public Graphics.Direct3D.ResourceReturnType ReturnType; - - /// - public Graphics.Direct3D.SrvDimension Dimension; - - /// - public uint NumSamples; - - /// - public uint Space; - - /// - public uint uID; -} - -/// -/// D3D12_LIBRARY_DESC -public partial struct LibraryDescription -{ - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint FunctionCount; -} - -/// -/// D3D12_FUNCTION_DESC -public partial struct FunctionDescription -{ - /// - public uint Version; - - /// - public unsafe sbyte* Creator; - - /// - public uint Flags; - - /// - public uint ConstantBuffers; - - /// - public uint BoundResources; - - /// - public uint InstructionCount; - - /// - public uint TempRegisterCount; - - /// - public uint TempArrayCount; - - /// - public uint DefCount; - - /// - public uint DclCount; - - /// - public uint TextureNormalInstructions; - - /// - public uint TextureLoadInstructions; - - /// - public uint TextureCompInstructions; - - /// - public uint TextureBiasInstructions; - - /// - public uint TextureGradientInstructions; - - /// - public uint FloatInstructionCount; - - /// - public uint IntInstructionCount; - - /// - public uint UintInstructionCount; - - /// - public uint StaticFlowControlCount; - - /// - public uint DynamicFlowControlCount; - - /// - public uint MacroInstructionCount; - - /// - public uint ArrayInstructionCount; - - /// - public uint MovInstructionCount; - - /// - public uint MovcInstructionCount; - - /// - public uint ConversionInstructionCount; - - /// - public uint BitwiseInstructionCount; - - /// - public Graphics.Direct3D.FeatureLevel MinFeatureLevel; - - /// - public ulong RequiredFeatureFlags; - - /// - public unsafe sbyte* Name; - - /// - public int FunctionParameterCount; - - /// - public Bool32 HasReturn; - - /// - public Bool32 Has10Level9VertexShader; - - /// - public Bool32 Has10Level9PixelShader; -} - -/// -/// D3D12_PARAMETER_DESC -public partial struct ParameterDescription -{ - /// - public unsafe sbyte* Name; - - /// - public unsafe sbyte* SemanticName; - - /// - public Graphics.Direct3D.ShaderVariableType Type; - - /// - public Graphics.Direct3D.ShaderVariableClass Class; - - /// - public uint Rows; - - /// - public uint Columns; - - /// - public Graphics.Direct3D.InterpolationMode InterpolationMode; - - /// - public Graphics.Direct3D.ParameterFlags Flags; - - /// - public uint FirstInRegister; - - /// - public uint FirstInComponent; - - /// - public uint FirstOutRegister; - - /// - public uint FirstOutComponent; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12SerializeRootSignature(RootSignatureDescription* pRootSignature, RootSignatureVersion Version, Graphics.Direct3D.ID3DBlob** ppBlob, Graphics.Direct3D.ID3DBlob** ppErrorBlob); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12CreateRootSignatureDeserializer(void* pSrcData, nuint SrcDataSizeInBytes, Guid* pRootSignatureDeserializerInterface, void** ppRootSignatureDeserializer); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12SerializeVersionedRootSignature(VersionedRootSignatureDescription* pRootSignature, Graphics.Direct3D.ID3DBlob** ppBlob, Graphics.Direct3D.ID3DBlob** ppErrorBlob); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12CreateVersionedRootSignatureDeserializer(void* pSrcData, nuint SrcDataSizeInBytes, Guid* pRootSignatureDeserializerInterface, void** ppRootSignatureDeserializer); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12CreateDevice(IUnknown* pAdapter, Graphics.Direct3D.FeatureLevel MinimumFeatureLevel, Guid* riid, void** ppDevice); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12GetDebugInterface(Guid* riid, void** ppvDebug); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12EnableExperimentalFeatures(uint NumFeatures, Guid* pIIDs, void* pConfigurationStructs, uint* pConfigurationStructSizes); - - [DllImport("d3d12.dll", ExactSpelling = true)] - public static extern HResult D3D12GetInterface(Guid* rclsid, Guid* riid, void** ppvDebug); -} -#endregion Functions diff --git a/src/Vortice.Win32.Direct3D12/Generated/DiscardRegion.cs b/src/Vortice.Win32.Direct3D12/Generated/DiscardRegion.cs new file mode 100644 index 0000000..9e31976 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DiscardRegion.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DISCARD_REGION +public partial struct DiscardRegion +{ + /// + public uint NumRects; + + /// + public unsafe RawRect* pRects; + + /// + public uint FirstSubresource; + + /// + public uint NumSubresources; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DispatchArguments.cs b/src/Vortice.Win32.Direct3D12/Generated/DispatchArguments.cs new file mode 100644 index 0000000..4c11df8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DispatchArguments.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DISPATCH_ARGUMENTS +public partial struct DispatchArguments +{ + /// + public uint ThreadGroupCountX; + + /// + public uint ThreadGroupCountY; + + /// + public uint ThreadGroupCountZ; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DispatchMeshArguments.cs b/src/Vortice.Win32.Direct3D12/Generated/DispatchMeshArguments.cs new file mode 100644 index 0000000..08a3cf2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DispatchMeshArguments.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DISPATCH_MESH_ARGUMENTS +public partial struct DispatchMeshArguments +{ + /// + public uint ThreadGroupCountX; + + /// + public uint ThreadGroupCountY; + + /// + public uint ThreadGroupCountZ; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DispatchRaysDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DispatchRaysDescription.cs new file mode 100644 index 0000000..3b777b7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DispatchRaysDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DISPATCH_RAYS_DESC +public partial struct DispatchRaysDescription +{ + /// + public GpuVirtualAddressRange RayGenerationShaderRecord; + + /// + public GpuVirtualAddressRangeAndStride MissShaderTable; + + /// + public GpuVirtualAddressRangeAndStride HitGroupTable; + + /// + public GpuVirtualAddressRangeAndStride CallableShaderTable; + + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DrawArguments.cs b/src/Vortice.Win32.Direct3D12/Generated/DrawArguments.cs new file mode 100644 index 0000000..4dbdc53 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DrawArguments.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRAW_ARGUMENTS +public partial struct DrawArguments +{ + /// + public uint VertexCountPerInstance; + + /// + public uint InstanceCount; + + /// + public uint StartVertexLocation; + + /// + public uint StartInstanceLocation; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DrawIndexedArguments.cs b/src/Vortice.Win32.Direct3D12/Generated/DrawIndexedArguments.cs new file mode 100644 index 0000000..f83f67b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DrawIndexedArguments.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRAW_INDEXED_ARGUMENTS +public partial struct DrawIndexedArguments +{ + /// + public uint IndexCountPerInstance; + + /// + public uint InstanceCount; + + /// + public uint StartIndexLocation; + + /// + public int BaseVertexLocation; + + /// + public uint StartInstanceLocation; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode.cs b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode.cs new file mode 100644 index 0000000..2622d62 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_ALLOCATION_NODE +public partial struct DredAllocationNode +{ + /// + public unsafe byte* ObjectNameA; + + /// + public unsafe ushort* ObjectNameW; + + /// + public DredAllocationType AllocationType; + + /// + public unsafe DredAllocationNode* pNext; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode1.cs b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode1.cs new file mode 100644 index 0000000..32a4461 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationNode1.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_ALLOCATION_NODE1 +public partial struct DredAllocationNode1 +{ + /// + public unsafe byte* ObjectNameA; + + /// + public unsafe ushort* ObjectNameW; + + /// + public DredAllocationType AllocationType; + + /// + public unsafe DredAllocationNode1* pNext; + + /// + public unsafe IUnknown* pObject; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredAllocationType.cs b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationType.cs new file mode 100644 index 0000000..55948fd --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredAllocationType.cs @@ -0,0 +1,103 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_ALLOCATION_TYPE +public enum DredAllocationType : int +{ + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_QUEUE + CommandQueue = 19, + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_ALLOCATOR + CommandAllocator = 20, + /// + /// D3D12_DRED_ALLOCATION_TYPE_PIPELINE_STATE + PipelineState = 21, + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_LIST + CommandList = 22, + /// + /// D3D12_DRED_ALLOCATION_TYPE_FENCE + Fence = 23, + /// + /// D3D12_DRED_ALLOCATION_TYPE_DESCRIPTOR_HEAP + DescriptorHeap = 24, + /// + /// D3D12_DRED_ALLOCATION_TYPE_HEAP + Heap = 25, + /// + /// D3D12_DRED_ALLOCATION_TYPE_QUERY_HEAP + QueryHeap = 27, + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_SIGNATURE + CommandSignature = 28, + /// + /// D3D12_DRED_ALLOCATION_TYPE_PIPELINE_LIBRARY + PipelineLibrary = 29, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_DECODER + VideoDecoder = 30, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_PROCESSOR + VideoProcessor = 32, + /// + /// D3D12_DRED_ALLOCATION_TYPE_RESOURCE + Resource = 34, + /// + /// D3D12_DRED_ALLOCATION_TYPE_PASS + Pass = 35, + /// + /// D3D12_DRED_ALLOCATION_TYPE_CRYPTOSESSION + CryptoSession = 36, + /// + /// D3D12_DRED_ALLOCATION_TYPE_CRYPTOSESSIONPOLICY + CryptoSessionPolicy = 37, + /// + /// D3D12_DRED_ALLOCATION_TYPE_PROTECTEDRESOURCESESSION + ProtectedResourceSession = 38, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_DECODER_HEAP + VideoDecoderHeap = 39, + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_POOL + CommandPool = 40, + /// + /// D3D12_DRED_ALLOCATION_TYPE_COMMAND_RECORDER + CommandRecorder = 41, + /// + /// D3D12_DRED_ALLOCATION_TYPE_STATE_OBJECT + StateObject = 42, + /// + /// D3D12_DRED_ALLOCATION_TYPE_METACOMMAND + MetaCommand = 43, + /// + /// D3D12_DRED_ALLOCATION_TYPE_SCHEDULINGGROUP + SchedulingGroup = 44, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_MOTION_ESTIMATOR + VideoMotionEstimator = 45, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_MOTION_VECTOR_HEAP + VideoMotionVectorHeap = 46, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_EXTENSION_COMMAND + VideoExtensionCommand = 47, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_ENCODER + VideoEncoder = 48, + /// + /// D3D12_DRED_ALLOCATION_TYPE_VIDEO_ENCODER_HEAP + VideoEncoderHeap = 49, + /// + /// D3D12_DRED_ALLOCATION_TYPE_INVALID + Invalid = -1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput.cs b/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput.cs new file mode 100644 index 0000000..0f78653 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT +public partial struct DredAutoBreadcrumbsOutput +{ + /// + public unsafe AutoBreadcrumbNode* pHeadAutoBreadcrumbNode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput1.cs b/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput1.cs new file mode 100644 index 0000000..9360576 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredAutoBreadcrumbsOutput1.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1 +public partial struct DredAutoBreadcrumbsOutput1 +{ + /// + public unsafe AutoBreadcrumbNode1* pHeadAutoBreadcrumbNode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredBreadcrumbContext.cs b/src/Vortice.Win32.Direct3D12/Generated/DredBreadcrumbContext.cs new file mode 100644 index 0000000..67b052b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredBreadcrumbContext.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_BREADCRUMB_CONTEXT +public partial struct DredBreadcrumbContext +{ + /// + public uint BreadcrumbIndex; + + /// + public unsafe ushort* pContextString; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredDeviceState.cs b/src/Vortice.Win32.Direct3D12/Generated/DredDeviceState.cs new file mode 100644 index 0000000..c6ce36d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredDeviceState.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_DEVICE_STATE +public enum DredDeviceState : int +{ + /// + /// D3D12_DRED_DEVICE_STATE_UNKNOWN + Unknown = 0, + /// + /// D3D12_DRED_DEVICE_STATE_HUNG + Hung = 3, + /// + /// D3D12_DRED_DEVICE_STATE_FAULT + Fault = 6, + /// + /// D3D12_DRED_DEVICE_STATE_PAGEFAULT + Pagefault = 7, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredEnablement.cs b/src/Vortice.Win32.Direct3D12/Generated/DredEnablement.cs new file mode 100644 index 0000000..1ac51a9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredEnablement.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_ENABLEMENT +public enum DredEnablement : int +{ + /// + /// D3D12_DRED_ENABLEMENT_SYSTEM_CONTROLLED + SystemControlled = 0, + /// + /// D3D12_DRED_ENABLEMENT_FORCED_OFF + ForcedOff = 1, + /// + /// D3D12_DRED_ENABLEMENT_FORCED_ON + ForcedOn = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/DredFlags.cs new file mode 100644 index 0000000..f988cfc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_FLAGS +[Flags] +public enum DredFlags : uint +{ + /// + /// D3D12_DRED_FLAG_NONE + None = 0, + /// + /// D3D12_DRED_FLAG_FORCE_ENABLE + ForceEnable = 1, + /// + /// D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS + DisableAutobreadcrumbs = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultFlags.cs new file mode 100644 index 0000000..595df16 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_PAGE_FAULT_FLAGS +[Flags] +public enum DredPageFaultFlags : uint +{ + /// + /// D3D12_DRED_PAGE_FAULT_FLAGS_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput.cs b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput.cs new file mode 100644 index 0000000..94012d7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_PAGE_FAULT_OUTPUT +public partial struct DredPageFaultOutput +{ + /// + public ulong PageFaultVA; + + /// + public unsafe DredAllocationNode* pHeadExistingAllocationNode; + + /// + public unsafe DredAllocationNode* pHeadRecentFreedAllocationNode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput1.cs b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput1.cs new file mode 100644 index 0000000..c5e9716 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_PAGE_FAULT_OUTPUT1 +public partial struct DredPageFaultOutput1 +{ + /// + public ulong PageFaultVA; + + /// + public unsafe DredAllocationNode1* pHeadExistingAllocationNode; + + /// + public unsafe DredAllocationNode1* pHeadRecentFreedAllocationNode; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput2.cs b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput2.cs new file mode 100644 index 0000000..b7e3873 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredPageFaultOutput2.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_PAGE_FAULT_OUTPUT2 +public partial struct DredPageFaultOutput2 +{ + /// + public ulong PageFaultVA; + + /// + public unsafe DredAllocationNode1* pHeadExistingAllocationNode; + + /// + public unsafe DredAllocationNode1* pHeadRecentFreedAllocationNode; + + /// + public DredPageFaultFlags PageFaultFlags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DredVersion.cs b/src/Vortice.Win32.Direct3D12/Generated/DredVersion.cs new file mode 100644 index 0000000..6c134ab --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DredVersion.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRED_VERSION +public enum DredVersion : int +{ + /// + /// D3D12_DRED_VERSION_1_0 + V1_0 = 1, + /// + /// D3D12_DRED_VERSION_1_1 + V1_1 = 2, + /// + /// D3D12_DRED_VERSION_1_2 + V1_2 = 3, + /// + /// D3D12_DRED_VERSION_1_3 + V1_3 = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DriverMatchingIdentifierStatus.cs b/src/Vortice.Win32.Direct3D12/Generated/DriverMatchingIdentifierStatus.cs new file mode 100644 index 0000000..1dcd704 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DriverMatchingIdentifierStatus.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS +public enum DriverMatchingIdentifierStatus : int +{ + /// + /// D3D12_DRIVER_MATCHING_IDENTIFIER_COMPATIBLE_WITH_DEVICE + CompatibleWithDevice = 0, + /// + /// D3D12_DRIVER_MATCHING_IDENTIFIER_UNSUPPORTED_TYPE + UnsupportedType = 1, + /// + /// D3D12_DRIVER_MATCHING_IDENTIFIER_UNRECOGNIZED + Unrecognized = 2, + /// + /// D3D12_DRIVER_MATCHING_IDENTIFIER_INCOMPATIBLE_VERSION + IncompatibleVersion = 3, + /// + /// D3D12_DRIVER_MATCHING_IDENTIFIER_INCOMPATIBLE_TYPE + IncompatibleType = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DsvDimension.cs b/src/Vortice.Win32.Direct3D12/Generated/DsvDimension.cs new file mode 100644 index 0000000..6b79e50 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DsvDimension.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DSV_DIMENSION +public enum DsvDimension : int +{ + /// + /// D3D12_DSV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D12_DSV_DIMENSION_TEXTURE1D + Texture1D = 1, + /// + /// D3D12_DSV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 2, + /// + /// D3D12_DSV_DIMENSION_TEXTURE2D + Texture2D = 3, + /// + /// D3D12_DSV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 4, + /// + /// D3D12_DSV_DIMENSION_TEXTURE2DMS + Texture2DMs = 5, + /// + /// D3D12_DSV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 6, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DsvFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/DsvFlags.cs new file mode 100644 index 0000000..201a2d4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DsvFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DSV_FLAGS +[Flags] +public enum DsvFlags : uint +{ + /// + /// D3D12_DSV_FLAG_NONE + None = 0, + /// + /// D3D12_DSV_FLAG_READ_ONLY_DEPTH + ReadOnlyDepth = 1, + /// + /// D3D12_DSV_FLAG_READ_ONLY_STENCIL + ReadOnlyStencil = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DxilLibraryDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/DxilLibraryDescription.cs new file mode 100644 index 0000000..7d6c81c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DxilLibraryDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DXIL_LIBRARY_DESC +public partial struct DxilLibraryDescription +{ + /// + public ShaderBytecode DXILLibrary; + + /// + public uint NumExports; + + /// + public unsafe ExportDescription* pExports; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/DxilSubObjectToExportsAssociation.cs b/src/Vortice.Win32.Direct3D12/Generated/DxilSubObjectToExportsAssociation.cs new file mode 100644 index 0000000..8406628 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/DxilSubObjectToExportsAssociation.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION +public partial struct DxilSubObjectToExportsAssociation +{ + /// + public unsafe ushort* SubobjectToAssociate; + + /// + public uint NumExports; + + /// + public unsafe ushort** pExports; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ElementsLayout.cs b/src/Vortice.Win32.Direct3D12/Generated/ElementsLayout.cs new file mode 100644 index 0000000..4f4eeb7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ElementsLayout.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ELEMENTS_LAYOUT +public enum ElementsLayout : int +{ + /// + /// D3D12_ELEMENTS_LAYOUT_ARRAY + Array = 0, + /// + /// D3D12_ELEMENTS_LAYOUT_ARRAY_OF_POINTERS + ArrayOfPointers = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ExistingCollectionDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ExistingCollectionDescription.cs new file mode 100644 index 0000000..de52566 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ExistingCollectionDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_EXISTING_COLLECTION_DESC +public partial struct ExistingCollectionDescription +{ + /// + public unsafe ID3D12StateObject* pExistingCollection; + + /// + public uint NumExports; + + /// + public unsafe ExportDescription* pExports; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ExportDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ExportDescription.cs new file mode 100644 index 0000000..46a4317 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ExportDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_EXPORT_DESC +public partial struct ExportDescription +{ + /// + public unsafe ushort* Name; + + /// + public unsafe ushort* ExportToRename; + + /// + public ExportFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ExportFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ExportFlags.cs new file mode 100644 index 0000000..4a0b284 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ExportFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_EXPORT_FLAGS +[Flags] +public enum ExportFlags : uint +{ + /// + /// D3D12_EXPORT_FLAG_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Feature.cs b/src/Vortice.Win32.Direct3D12/Generated/Feature.cs new file mode 100644 index 0000000..8e3f3e2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Feature.cs @@ -0,0 +1,109 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE +public enum Feature : int +{ + /// + /// D3D12_FEATURE_D3D12_OPTIONS + Options = 0, + /// + /// D3D12_FEATURE_ARCHITECTURE + Architecture = 1, + /// + /// D3D12_FEATURE_FEATURE_LEVELS + FeatureLevels = 2, + /// + /// D3D12_FEATURE_FORMAT_SUPPORT + FormatSupport = 3, + /// + /// D3D12_FEATURE_MULTISAMPLE_QUALITY_LEVELS + MultisampleQualityLevels = 4, + /// + /// D3D12_FEATURE_FORMAT_INFO + FormatInfo = 5, + /// + /// D3D12_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT + GpuVirtualAddressSupport = 6, + /// + /// D3D12_FEATURE_SHADER_MODEL + ShaderModel = 7, + /// + /// D3D12_FEATURE_D3D12_OPTIONS1 + Options1 = 8, + /// + /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_SUPPORT + ProtectedResourceSessionSupport = 10, + /// + /// D3D12_FEATURE_ROOT_SIGNATURE + RootSignature = 12, + /// + /// D3D12_FEATURE_ARCHITECTURE1 + Architecture1 = 16, + /// + /// D3D12_FEATURE_D3D12_OPTIONS2 + Options2 = 18, + /// + /// D3D12_FEATURE_SHADER_CACHE + ShaderCache = 19, + /// + /// D3D12_FEATURE_COMMAND_QUEUE_PRIORITY + CommandQueuePriority = 20, + /// + /// D3D12_FEATURE_D3D12_OPTIONS3 + Options3 = 21, + /// + /// D3D12_FEATURE_EXISTING_HEAPS + ExistingHeaps = 22, + /// + /// D3D12_FEATURE_D3D12_OPTIONS4 + Options4 = 23, + /// + /// D3D12_FEATURE_SERIALIZATION + Serialization = 24, + /// + /// D3D12_FEATURE_CROSS_NODE + CrossNode = 25, + /// + /// D3D12_FEATURE_D3D12_OPTIONS5 + Options5 = 27, + /// + /// D3D12_FEATURE_DISPLAYABLE + Displayable = 28, + /// + /// D3D12_FEATURE_D3D12_OPTIONS6 + Options6 = 30, + /// + /// D3D12_FEATURE_QUERY_META_COMMAND + QueryMetaCommand = 31, + /// + /// D3D12_FEATURE_D3D12_OPTIONS7 + Options7 = 32, + /// + /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPE_COUNT + ProtectedResourceSessionTypeCount = 33, + /// + /// D3D12_FEATURE_PROTECTED_RESOURCE_SESSION_TYPES + ProtectedResourceSessionTypes = 34, + /// + /// D3D12_FEATURE_D3D12_OPTIONS8 + Options8 = 36, + /// + /// D3D12_FEATURE_D3D12_OPTIONS9 + Options9 = 37, + /// + /// D3D12_FEATURE_D3D12_OPTIONS10 + Options10 = 39, + /// + /// D3D12_FEATURE_D3D12_OPTIONS11 + Options11 = 40, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture.cs new file mode 100644 index 0000000..3671a00 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_ARCHITECTURE +public partial struct FeatureDataArchitecture +{ + /// + public uint NodeIndex; + + /// + public Bool32 TileBasedRenderer; + + /// + public Bool32 UMA; + + /// + public Bool32 CacheCoherentUMA; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture1.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture1.cs new file mode 100644 index 0000000..c98fb82 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataArchitecture1.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_ARCHITECTURE1 +public partial struct FeatureDataArchitecture1 +{ + /// + public uint NodeIndex; + + /// + public Bool32 TileBasedRenderer; + + /// + public Bool32 UMA; + + /// + public Bool32 CacheCoherentUMA; + + /// + public Bool32 IsolatedMMU; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCommandQueuePriority.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCommandQueuePriority.cs new file mode 100644 index 0000000..54a05b1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCommandQueuePriority.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_COMMAND_QUEUE_PRIORITY +public partial struct FeatureDataCommandQueuePriority +{ + /// + public CommandListType CommandListType; + + /// + public uint Priority; + + /// + public Bool32 PriorityForTypeIsSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCrossNode.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCrossNode.cs new file mode 100644 index 0000000..2c92fab --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataCrossNode.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_CROSS_NODE +public partial struct FeatureDataCrossNode +{ + /// + public CrossNodeSharingTier SharingTier; + + /// + public Bool32 AtomicShaderInstructions; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options.cs new file mode 100644 index 0000000..a101d03 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options.cs @@ -0,0 +1,60 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS +public partial struct FeatureDataD3D12Options +{ + /// + public Bool32 DoublePrecisionFloatShaderOps; + + /// + public Bool32 OutputMergerLogicOp; + + /// + public ShaderMinPrecisionSupport MinPrecisionSupport; + + /// + public TiledResourcesTier TiledResourcesTier; + + /// + public ResourceBindingTier ResourceBindingTier; + + /// + public Bool32 PSSpecifiedStencilRefSupported; + + /// + public Bool32 TypedUAVLoadAdditionalFormats; + + /// + public Bool32 ROVsSupported; + + /// + public ConservativeRasterizationTier ConservativeRasterizationTier; + + /// + public uint MaxGPUVirtualAddressBitsPerResource; + + /// + public Bool32 StandardSwizzle64KBSupported; + + /// + public CrossNodeSharingTier CrossNodeSharingTier; + + /// + public Bool32 CrossAdapterRowMajorTextureSupported; + + /// + public Bool32 VPAndRTArrayIndexFromAnyShaderFeedingRasterizerSupportedWithoutGSEmulation; + + /// + public ResourceHeapTier ResourceHeapTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options1.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options1.cs new file mode 100644 index 0000000..08422dd --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options1.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS1 +public partial struct FeatureDataD3D12Options1 +{ + /// + public Bool32 WaveOps; + + /// + public uint WaveLaneCountMin; + + /// + public uint WaveLaneCountMax; + + /// + public uint TotalLaneCount; + + /// + public Bool32 ExpandedComputeResourceStates; + + /// + public Bool32 Int64ShaderOps; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options10.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options10.cs new file mode 100644 index 0000000..c4d869d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options10.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS10 +public partial struct FeatureDataD3D12Options10 +{ + /// + public Bool32 VariableRateShadingSumCombinerSupported; + + /// + public Bool32 MeshShaderPerPrimitiveShadingRateSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options11.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options11.cs new file mode 100644 index 0000000..fc8b7e3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options11.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS11 +public partial struct FeatureDataD3D12Options11 +{ + /// + public Bool32 AtomicInt64OnDescriptorHeapResourceSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options2.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options2.cs new file mode 100644 index 0000000..762fa21 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options2.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS2 +public partial struct FeatureDataD3D12Options2 +{ + /// + public Bool32 DepthBoundsTestSupported; + + /// + public ProgrammableSamplePositionsTier ProgrammableSamplePositionsTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options3.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options3.cs new file mode 100644 index 0000000..9771c16 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options3.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS3 +public partial struct FeatureDataD3D12Options3 +{ + /// + public Bool32 CopyQueueTimestampQueriesSupported; + + /// + public Bool32 CastingFullyTypedFormatSupported; + + /// + public CommandListSupportFlags WriteBufferImmediateSupportFlags; + + /// + public ViewInstancingTier ViewInstancingTier; + + /// + public Bool32 BarycentricsSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options4.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options4.cs new file mode 100644 index 0000000..2242478 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options4.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS4 +public partial struct FeatureDataD3D12Options4 +{ + /// + public Bool32 MSAA64KBAlignedTextureSupported; + + /// + public SharedResourceCompatibilityTier SharedResourceCompatibilityTier; + + /// + public Bool32 Native16BitShaderOpsSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options5.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options5.cs new file mode 100644 index 0000000..d33021f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options5.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS5 +public partial struct FeatureDataD3D12Options5 +{ + /// + public Bool32 SRVOnlyTiledResourceTier3; + + /// + public RenderPassTier RenderPassesTier; + + /// + public RaytracingTier RaytracingTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options6.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options6.cs new file mode 100644 index 0000000..38e0443 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options6.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS6 +public partial struct FeatureDataD3D12Options6 +{ + /// + public Bool32 AdditionalShadingRatesSupported; + + /// + public Bool32 PerPrimitiveShadingRateSupportedWithViewportIndexing; + + /// + public VariableShadingRateTier VariableShadingRateTier; + + /// + public uint ShadingRateImageTileSize; + + /// + public Bool32 BackgroundProcessingSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options7.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options7.cs new file mode 100644 index 0000000..bf2e5f9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options7.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS7 +public partial struct FeatureDataD3D12Options7 +{ + /// + public MeshShaderTier MeshShaderTier; + + /// + public SamplerFeedbackTier SamplerFeedbackTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options8.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options8.cs new file mode 100644 index 0000000..acdb40c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options8.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS8 +public partial struct FeatureDataD3D12Options8 +{ + /// + public Bool32 UnalignedBlockTexturesSupported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options9.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options9.cs new file mode 100644 index 0000000..00030e2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataD3D12Options9.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_D3D12_OPTIONS9 +public partial struct FeatureDataD3D12Options9 +{ + /// + public Bool32 MeshShaderPipelineStatsSupported; + + /// + public Bool32 MeshShaderSupportsFullRangeRenderTargetArrayIndex; + + /// + public Bool32 AtomicInt64OnTypedResourceSupported; + + /// + public Bool32 AtomicInt64OnGroupSharedSupported; + + /// + public Bool32 DerivativesInMeshAndAmplificationShadersSupported; + + /// + public WaveMmaTier WaveMMATier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataDisplayable.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataDisplayable.cs new file mode 100644 index 0000000..0268907 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataDisplayable.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_DISPLAYABLE +public partial struct FeatureDataDisplayable +{ + /// + public Bool32 DisplayableTexture; + + /// + public SharedResourceCompatibilityTier SharedResourceCompatibilityTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataExistingHeaps.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataExistingHeaps.cs new file mode 100644 index 0000000..6b79a0c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataExistingHeaps.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_EXISTING_HEAPS +public partial struct FeatureDataExistingHeaps +{ + /// + public Bool32 Supported; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFeatureLevels.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFeatureLevels.cs new file mode 100644 index 0000000..438af58 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFeatureLevels.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_FEATURE_LEVELS +public partial struct FeatureDataFeatureLevels +{ + /// + public uint NumFeatureLevels; + + /// + public unsafe Graphics.Direct3D.FeatureLevel* pFeatureLevelsRequested; + + /// + public Graphics.Direct3D.FeatureLevel MaxSupportedFeatureLevel; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatInfo.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatInfo.cs new file mode 100644 index 0000000..c94be30 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatInfo.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_FORMAT_INFO +public partial struct FeatureDataFormatInfo +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public byte PlaneCount; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatSupport.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatSupport.cs new file mode 100644 index 0000000..5d2c222 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataFormatSupport.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_FORMAT_SUPPORT +public partial struct FeatureDataFormatSupport +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public FormatSupport1 Support1; + + /// + public FormatSupport2 Support2; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataGpuVirtualAddressSupport.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataGpuVirtualAddressSupport.cs new file mode 100644 index 0000000..3fe9604 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataGpuVirtualAddressSupport.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_GPU_VIRTUAL_ADDRESS_SUPPORT +public partial struct FeatureDataGpuVirtualAddressSupport +{ + /// + public uint MaxGPUVirtualAddressBitsPerResource; + + /// + public uint MaxGPUVirtualAddressBitsPerProcess; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataMultisampleQualityLevels.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataMultisampleQualityLevels.cs new file mode 100644 index 0000000..9188299 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataMultisampleQualityLevels.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS +public partial struct FeatureDataMultisampleQualityLevels +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public uint SampleCount; + + /// + public MultisampleQualityLevelFlags Flags; + + /// + public uint NumQualityLevels; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionSupport.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionSupport.cs new file mode 100644 index 0000000..de06d80 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionSupport.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT +public partial struct FeatureDataProtectedResourceSessionSupport +{ + /// + public uint NodeIndex; + + /// + public ProtectedResourceSessionSupportFlags Support; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypeCount.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypeCount.cs new file mode 100644 index 0000000..bcdf0b7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypeCount.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_TYPE_COUNT +public partial struct FeatureDataProtectedResourceSessionTypeCount +{ + /// + public uint NodeIndex; + + /// + public uint Count; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypes.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypes.cs new file mode 100644 index 0000000..58c8403 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataProtectedResourceSessionTypes.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_TYPES +public partial struct FeatureDataProtectedResourceSessionTypes +{ + /// + public uint NodeIndex; + + /// + public uint Count; + + /// + public unsafe Guid* pTypes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataQueryMetaCommand.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataQueryMetaCommand.cs new file mode 100644 index 0000000..4e1ea6f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataQueryMetaCommand.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_QUERY_META_COMMAND +public partial struct FeatureDataQueryMetaCommand +{ + /// + public Guid CommandId; + + /// + public uint NodeMask; + + /// + public unsafe void* pQueryInputData; + + /// + public nuint QueryInputDataSizeInBytes; + + /// + public unsafe void* pQueryOutputData; + + /// + public nuint QueryOutputDataSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataRootSignature.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataRootSignature.cs new file mode 100644 index 0000000..c163aa0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataRootSignature.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_ROOT_SIGNATURE +public partial struct FeatureDataRootSignature +{ + /// + public RootSignatureVersion HighestVersion; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataSerialization.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataSerialization.cs new file mode 100644 index 0000000..02e93df --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataSerialization.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_SERIALIZATION +public partial struct FeatureDataSerialization +{ + /// + public uint NodeIndex; + + /// + public HeapSerializationTier HeapSerializationTier; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderCache.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderCache.cs new file mode 100644 index 0000000..68611fc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderCache.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_SHADER_CACHE +public partial struct FeatureDataShaderCache +{ + /// + public ShaderCacheSupportFlags SupportFlags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderModel.cs b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderModel.cs new file mode 100644 index 0000000..ef9fe17 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FeatureDataShaderModel.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FEATURE_DATA_SHADER_MODEL +public partial struct FeatureDataShaderModel +{ + /// + public ShaderModel HighestShaderModel; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FenceFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/FenceFlags.cs new file mode 100644 index 0000000..0927588 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FenceFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FENCE_FLAGS +[Flags] +public enum FenceFlags : uint +{ + /// + /// D3D12_FENCE_FLAG_NONE + None = 0, + /// + /// D3D12_FENCE_FLAG_SHARED + Shared = 1, + /// + /// D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER + SharedCrossAdapter = 2, + /// + /// D3D12_FENCE_FLAG_NON_MONITORED + NonMonitored = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FillMode.cs b/src/Vortice.Win32.Direct3D12/Generated/FillMode.cs new file mode 100644 index 0000000..aac02d0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FillMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FILL_MODE +public enum FillMode : int +{ + /// + /// D3D12_FILL_MODE_WIREFRAME + Wireframe = 2, + /// + /// D3D12_FILL_MODE_SOLID + Solid = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Filter.cs b/src/Vortice.Win32.Direct3D12/Generated/Filter.cs new file mode 100644 index 0000000..f79879b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Filter.cs @@ -0,0 +1,124 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FILTER +public enum Filter : int +{ + /// + /// D3D12_FILTER_MIN_MAG_MIP_POINT + MinMagMipPoint = 0, + /// + /// D3D12_FILTER_MIN_MAG_POINT_MIP_LINEAR + MinMagPointMipLinear = 1, + /// + /// D3D12_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT + MinPointMagLinearMipPoint = 4, + /// + /// D3D12_FILTER_MIN_POINT_MAG_MIP_LINEAR + MinPointMagMipLinear = 5, + /// + /// D3D12_FILTER_MIN_LINEAR_MAG_MIP_POINT + MinLinearMagMipPoint = 16, + /// + /// D3D12_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MinLinearMagPointMipLinear = 17, + /// + /// D3D12_FILTER_MIN_MAG_LINEAR_MIP_POINT + MinMagLinearMipPoint = 20, + /// + /// D3D12_FILTER_MIN_MAG_MIP_LINEAR + MinMagMipLinear = 21, + /// + /// D3D12_FILTER_ANISOTROPIC + Anisotropic = 85, + /// + /// D3D12_FILTER_COMPARISON_MIN_MAG_MIP_POINT + ComparisonMinMagMipPoint = 128, + /// + /// D3D12_FILTER_COMPARISON_MIN_MAG_POINT_MIP_LINEAR + ComparisonMinMagPointMipLinear = 129, + /// + /// D3D12_FILTER_COMPARISON_MIN_POINT_MAG_LINEAR_MIP_POINT + ComparisonMinPointMagLinearMipPoint = 132, + /// + /// D3D12_FILTER_COMPARISON_MIN_POINT_MAG_MIP_LINEAR + ComparisonMinPointMagMipLinear = 133, + /// + /// D3D12_FILTER_COMPARISON_MIN_LINEAR_MAG_MIP_POINT + ComparisonMinLinearMagMipPoint = 144, + /// + /// D3D12_FILTER_COMPARISON_MIN_LINEAR_MAG_POINT_MIP_LINEAR + ComparisonMinLinearMagPointMipLinear = 145, + /// + /// D3D12_FILTER_COMPARISON_MIN_MAG_LINEAR_MIP_POINT + ComparisonMinMagLinearMipPoint = 148, + /// + /// D3D12_FILTER_COMPARISON_MIN_MAG_MIP_LINEAR + ComparisonMinMagMipLinear = 149, + /// + /// D3D12_FILTER_COMPARISON_ANISOTROPIC + ComparisonAnisotropic = 213, + /// + /// D3D12_FILTER_MINIMUM_MIN_MAG_MIP_POINT + MinimumMinMagMipPoint = 256, + /// + /// D3D12_FILTER_MINIMUM_MIN_MAG_POINT_MIP_LINEAR + MinimumMinMagPointMipLinear = 257, + /// + /// D3D12_FILTER_MINIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT + MinimumMinPointMagLinearMipPoint = 260, + /// + /// D3D12_FILTER_MINIMUM_MIN_POINT_MAG_MIP_LINEAR + MinimumMinPointMagMipLinear = 261, + /// + /// D3D12_FILTER_MINIMUM_MIN_LINEAR_MAG_MIP_POINT + MinimumMinLinearMagMipPoint = 272, + /// + /// D3D12_FILTER_MINIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MinimumMinLinearMagPointMipLinear = 273, + /// + /// D3D12_FILTER_MINIMUM_MIN_MAG_LINEAR_MIP_POINT + MinimumMinMagLinearMipPoint = 276, + /// + /// D3D12_FILTER_MINIMUM_MIN_MAG_MIP_LINEAR + MinimumMinMagMipLinear = 277, + /// + /// D3D12_FILTER_MINIMUM_ANISOTROPIC + MinimumAnisotropic = 341, + /// + /// D3D12_FILTER_MAXIMUM_MIN_MAG_MIP_POINT + MaximumMinMagMipPoint = 384, + /// + /// D3D12_FILTER_MAXIMUM_MIN_MAG_POINT_MIP_LINEAR + MaximumMinMagPointMipLinear = 385, + /// + /// D3D12_FILTER_MAXIMUM_MIN_POINT_MAG_LINEAR_MIP_POINT + MaximumMinPointMagLinearMipPoint = 388, + /// + /// D3D12_FILTER_MAXIMUM_MIN_POINT_MAG_MIP_LINEAR + MaximumMinPointMagMipLinear = 389, + /// + /// D3D12_FILTER_MAXIMUM_MIN_LINEAR_MAG_MIP_POINT + MaximumMinLinearMagMipPoint = 400, + /// + /// D3D12_FILTER_MAXIMUM_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MaximumMinLinearMagPointMipLinear = 401, + /// + /// D3D12_FILTER_MAXIMUM_MIN_MAG_LINEAR_MIP_POINT + MaximumMinMagLinearMipPoint = 404, + /// + /// D3D12_FILTER_MAXIMUM_MIN_MAG_MIP_LINEAR + MaximumMinMagMipLinear = 405, + /// + /// D3D12_FILTER_MAXIMUM_ANISOTROPIC + MaximumAnisotropic = 469, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FilterReductionType.cs b/src/Vortice.Win32.Direct3D12/Generated/FilterReductionType.cs new file mode 100644 index 0000000..a39bca8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FilterReductionType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FILTER_REDUCTION_TYPE +public enum FilterReductionType : int +{ + /// + /// D3D12_FILTER_REDUCTION_TYPE_STANDARD + Standard = 0, + /// + /// D3D12_FILTER_REDUCTION_TYPE_COMPARISON + Comparison = 1, + /// + /// D3D12_FILTER_REDUCTION_TYPE_MINIMUM + Minimum = 2, + /// + /// D3D12_FILTER_REDUCTION_TYPE_MAXIMUM + Maximum = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FilterType.cs b/src/Vortice.Win32.Direct3D12/Generated/FilterType.cs new file mode 100644 index 0000000..a2ba6ce --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FilterType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FILTER_TYPE +public enum FilterType : int +{ + /// + /// D3D12_FILTER_TYPE_POINT + Point = 0, + /// + /// D3D12_FILTER_TYPE_LINEAR + Linear = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FormatSupport1.cs b/src/Vortice.Win32.Direct3D12/Generated/FormatSupport1.cs new file mode 100644 index 0000000..3411bb7 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FormatSupport1.cs @@ -0,0 +1,107 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FORMAT_SUPPORT1 +[Flags] +public enum FormatSupport1 : uint +{ + /// + /// D3D12_FORMAT_SUPPORT1_NONE + None = 0, + /// + /// D3D12_FORMAT_SUPPORT1_BUFFER + Buffer = 1, + /// + /// D3D12_FORMAT_SUPPORT1_IA_VERTEX_BUFFER + IAVertexBuffer = 2, + /// + /// D3D12_FORMAT_SUPPORT1_IA_INDEX_BUFFER + IAIndexBuffer = 4, + /// + /// D3D12_FORMAT_SUPPORT1_SO_BUFFER + SOBuffer = 8, + /// + /// D3D12_FORMAT_SUPPORT1_TEXTURE1D + Texture1D = 16, + /// + /// D3D12_FORMAT_SUPPORT1_TEXTURE2D + Texture2D = 32, + /// + /// D3D12_FORMAT_SUPPORT1_TEXTURE3D + Texture3D = 64, + /// + /// D3D12_FORMAT_SUPPORT1_TEXTURECUBE + TextureCube = 128, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_LOAD + ShaderLoad = 256, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE + ShaderSample = 512, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_COMPARISON + ShaderSampleComparison = 1024, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_SAMPLE_MONO_TEXT + ShaderSampleMonoText = 2048, + /// + /// D3D12_FORMAT_SUPPORT1_MIP + Mip = 4096, + /// + /// D3D12_FORMAT_SUPPORT1_RENDER_TARGET + RenderTarget = 16384, + /// + /// D3D12_FORMAT_SUPPORT1_BLENDABLE + Blendable = 32768, + /// + /// D3D12_FORMAT_SUPPORT1_DEPTH_STENCIL + DepthStencil = 65536, + /// + /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RESOLVE + MultisampleResolve = 262144, + /// + /// D3D12_FORMAT_SUPPORT1_DISPLAY + Display = 524288, + /// + /// D3D12_FORMAT_SUPPORT1_CAST_WITHIN_BIT_LAYOUT + CastWithinBitLayout = 1048576, + /// + /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_RENDERTARGET + MultisampleRendertarget = 2097152, + /// + /// D3D12_FORMAT_SUPPORT1_MULTISAMPLE_LOAD + MultisampleLoad = 4194304, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_GATHER + ShaderGather = 8388608, + /// + /// D3D12_FORMAT_SUPPORT1_BACK_BUFFER_CAST + BackBufferCast = 16777216, + /// + /// D3D12_FORMAT_SUPPORT1_TYPED_UNORDERED_ACCESS_VIEW + TypedUnorderedAccessView = 33554432, + /// + /// D3D12_FORMAT_SUPPORT1_SHADER_GATHER_COMPARISON + ShaderGatherComparison = 67108864, + /// + /// D3D12_FORMAT_SUPPORT1_DECODER_OUTPUT + DecoderOutput = 134217728, + /// + /// D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_OUTPUT + VideoProcessorOutput = 268435456, + /// + /// D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT + VideoProcessorInput = 536870912, + /// + /// D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER + VideoEncoder = 1073741824, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FormatSupport2.cs b/src/Vortice.Win32.Direct3D12/Generated/FormatSupport2.cs new file mode 100644 index 0000000..3d3c477 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FormatSupport2.cs @@ -0,0 +1,56 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FORMAT_SUPPORT2 +[Flags] +public enum FormatSupport2 : uint +{ + /// + /// D3D12_FORMAT_SUPPORT2_NONE + None = 0, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD + UavAtomicAdd = 1, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS + UavAtomicBitwiseOps = 2, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE + UavAtomicCompareStoreOrCompareExchange = 4, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE + UavAtomicExchange = 8, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX + UavAtomicSignedMinOrMax = 16, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX + UavAtomicUnsignedMinOrMax = 32, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_TYPED_LOAD + UavTypedLoad = 64, + /// + /// D3D12_FORMAT_SUPPORT2_UAV_TYPED_STORE + UavTypedStore = 128, + /// + /// D3D12_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP + OutputMergerLogicOp = 256, + /// + /// D3D12_FORMAT_SUPPORT2_TILED + Tiled = 512, + /// + /// D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY + MultiplaneOverlay = 16384, + /// + /// D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK + SamplerFeedback = 32768, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/FunctionDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/FunctionDescription.cs new file mode 100644 index 0000000..e4b4e59 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/FunctionDescription.cs @@ -0,0 +1,114 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_FUNCTION_DESC +public partial struct FunctionDescription +{ + /// + public uint Version; + + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint ConstantBuffers; + + /// + public uint BoundResources; + + /// + public uint InstructionCount; + + /// + public uint TempRegisterCount; + + /// + public uint TempArrayCount; + + /// + public uint DefCount; + + /// + public uint DclCount; + + /// + public uint TextureNormalInstructions; + + /// + public uint TextureLoadInstructions; + + /// + public uint TextureCompInstructions; + + /// + public uint TextureBiasInstructions; + + /// + public uint TextureGradientInstructions; + + /// + public uint FloatInstructionCount; + + /// + public uint IntInstructionCount; + + /// + public uint UintInstructionCount; + + /// + public uint StaticFlowControlCount; + + /// + public uint DynamicFlowControlCount; + + /// + public uint MacroInstructionCount; + + /// + public uint ArrayInstructionCount; + + /// + public uint MovInstructionCount; + + /// + public uint MovcInstructionCount; + + /// + public uint ConversionInstructionCount; + + /// + public uint BitwiseInstructionCount; + + /// + public Graphics.Direct3D.FeatureLevel MinFeatureLevel; + + /// + public ulong RequiredFeatureFlags; + + /// + public unsafe sbyte* Name; + + /// + public int FunctionParameterCount; + + /// + public Bool32 HasReturn; + + /// + public Bool32 Has10Level9VertexShader; + + /// + public Bool32 Has10Level9PixelShader; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GlobalRootSignature.cs b/src/Vortice.Win32.Direct3D12/Generated/GlobalRootSignature.cs new file mode 100644 index 0000000..395c6cd --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GlobalRootSignature.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GLOBAL_ROOT_SIGNATURE +public partial struct GlobalRootSignature +{ + /// + public unsafe ID3D12RootSignature* pGlobalRootSignature; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationFlags.cs new file mode 100644 index 0000000..7cd9d77 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_BASED_VALIDATION_FLAGS +[Flags] +public enum GpuBasedValidationFlags : int +{ + /// + /// D3D12_GPU_BASED_VALIDATION_FLAGS_NONE + None = 0, + /// + /// D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING + DisableStateTracking = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationPipelineStateCreateFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationPipelineStateCreateFlags.cs new file mode 100644 index 0000000..41a23fb --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationPipelineStateCreateFlags.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAGS +[Flags] +public enum GpuBasedValidationPipelineStateCreateFlags : int +{ + /// + /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_NONE + None = 0, + /// + /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_TRACKING_ONLY_SHADERS + FrontLoadCreateTrackingOnlyShaders = 1, + /// + /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_UNGUARDED_VALIDATION_SHADERS + FrontLoadCreateUnguardedValidationShaders = 2, + /// + /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAG_FRONT_LOAD_CREATE_GUARDED_VALIDATION_SHADERS + FrontLoadCreateGuardedValidationShaders = 4, + /// + /// D3D12_GPU_BASED_VALIDATION_PIPELINE_STATE_CREATE_FLAGS_VALID_MASK + ValidMask = 7, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationShaderPatchMode.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationShaderPatchMode.cs new file mode 100644 index 0000000..e56d854 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuBasedValidationShaderPatchMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE +public enum GpuBasedValidationShaderPatchMode : int +{ + /// + /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_NONE + None = 0, + /// + /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_STATE_TRACKING_ONLY + StateTrackingOnly = 1, + /// + /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_UNGUARDED_VALIDATION + UnguardedValidation = 2, + /// + /// D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE_GUARDED_VALIDATION + GuardedValidation = 3, + /// + /// NUM_D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODES + Count = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuDescriptorHandle.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuDescriptorHandle.cs new file mode 100644 index 0000000..42f3b4a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuDescriptorHandle.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_DESCRIPTOR_HANDLE +public partial struct GpuDescriptorHandle +{ + /// + public ulong ptr; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressAndStride.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressAndStride.cs new file mode 100644 index 0000000..bf0e873 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressAndStride.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE +public partial struct GpuVirtualAddressAndStride +{ + /// + public ulong StartAddress; + + /// + public ulong StrideInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRange.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRange.cs new file mode 100644 index 0000000..5b82049 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRange.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_VIRTUAL_ADDRESS_RANGE +public partial struct GpuVirtualAddressRange +{ + /// + public ulong StartAddress; + + /// + public ulong SizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRangeAndStride.cs b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRangeAndStride.cs new file mode 100644 index 0000000..22d0fef --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GpuVirtualAddressRangeAndStride.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GPU_VIRTUAL_ADDRESS_RANGE_AND_STRIDE +public partial struct GpuVirtualAddressRangeAndStride +{ + /// + public ulong StartAddress; + + /// + public ulong SizeInBytes; + + /// + public ulong StrideInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GraphicsPipelineStateDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/GraphicsPipelineStateDescription.cs new file mode 100644 index 0000000..b3e42e0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GraphicsPipelineStateDescription.cs @@ -0,0 +1,107 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GRAPHICS_PIPELINE_STATE_DESC +public partial struct GraphicsPipelineStateDescription +{ + /// + public unsafe ID3D12RootSignature* pRootSignature; + + /// + public ShaderBytecode VS; + + /// + public ShaderBytecode PS; + + /// + public ShaderBytecode DS; + + /// + public ShaderBytecode HS; + + /// + public ShaderBytecode GS; + + /// + public StreamOutputDescription StreamOutput; + + /// + public BlendDescription BlendState; + + /// + public uint SampleMask; + + /// + public RasterizerDescription RasterizerState; + + /// + public DepthStencilDescription DepthStencilState; + + /// + public InputLayoutDescription InputLayout; + + /// + public IndexBufferStripCutValue IBStripCutValue; + + /// + public PrimitiveTopologyType PrimitiveTopologyType; + + /// + public uint NumRenderTargets; + + /// + public RTVFormats__FixedBuffer RTVFormats; + + public unsafe struct RTVFormats__FixedBuffer + { + public Graphics.Dxgi.Common.Format e0; + public Graphics.Dxgi.Common.Format e1; + public Graphics.Dxgi.Common.Format e2; + public Graphics.Dxgi.Common.Format e3; + public Graphics.Dxgi.Common.Format e4; + public Graphics.Dxgi.Common.Format e5; + public Graphics.Dxgi.Common.Format e6; + public Graphics.Dxgi.Common.Format e7; + + [UnscopedRef] + public ref Graphics.Dxgi.Common.Format this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 8); + } + } + + /// + public Graphics.Dxgi.Common.Format DSVFormat; + + /// + public Graphics.Dxgi.Common.SampleDescription SampleDesc; + + /// + public uint NodeMask; + + /// + public CachedPipelineState CachedPSO; + + /// + public PipelineStateFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/GraphicsStates.cs b/src/Vortice.Win32.Direct3D12/Generated/GraphicsStates.cs new file mode 100644 index 0000000..0925ac6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/GraphicsStates.cs @@ -0,0 +1,71 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_GRAPHICS_STATES +[Flags] +public enum GraphicsStates : uint +{ + /// + /// D3D12_GRAPHICS_STATE_NONE + None = 0, + /// + /// D3D12_GRAPHICS_STATE_IA_VERTEX_BUFFERS + IAVertexBuffers = 1, + /// + /// D3D12_GRAPHICS_STATE_IA_INDEX_BUFFER + IAIndexBuffer = 2, + /// + /// D3D12_GRAPHICS_STATE_IA_PRIMITIVE_TOPOLOGY + IAPrimitiveTopology = 4, + /// + /// D3D12_GRAPHICS_STATE_DESCRIPTOR_HEAP + DescriptorHeap = 8, + /// + /// D3D12_GRAPHICS_STATE_GRAPHICS_ROOT_SIGNATURE + GraphicsRootSignature = 16, + /// + /// D3D12_GRAPHICS_STATE_COMPUTE_ROOT_SIGNATURE + ComputeRootSignature = 32, + /// + /// D3D12_GRAPHICS_STATE_RS_VIEWPORTS + RSViewports = 64, + /// + /// D3D12_GRAPHICS_STATE_RS_SCISSOR_RECTS + RSScissorRects = 128, + /// + /// D3D12_GRAPHICS_STATE_PREDICATION + Predication = 256, + /// + /// D3D12_GRAPHICS_STATE_OM_RENDER_TARGETS + OMRenderTargets = 512, + /// + /// D3D12_GRAPHICS_STATE_OM_STENCIL_REF + OMStencilRef = 1024, + /// + /// D3D12_GRAPHICS_STATE_OM_BLEND_FACTOR + OMBlendFactor = 2048, + /// + /// D3D12_GRAPHICS_STATE_PIPELINE_STATE + PipelineState = 4096, + /// + /// D3D12_GRAPHICS_STATE_SO_TARGETS + SOTargets = 8192, + /// + /// D3D12_GRAPHICS_STATE_OM_DEPTH_BOUNDS + OMDepthBounds = 16384, + /// + /// D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS + SamplePositions = 32768, + /// + /// D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK + ViewInstanceMask = 65536, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HeapDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/HeapDescription.cs new file mode 100644 index 0000000..bbbec59 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HeapDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HEAP_DESC +public partial struct HeapDescription +{ + /// + public ulong SizeInBytes; + + /// + public HeapProperties Properties; + + /// + public ulong Alignment; + + /// + public HeapFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HeapFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/HeapFlags.cs new file mode 100644 index 0000000..eb11161 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HeapFlags.cs @@ -0,0 +1,65 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HEAP_FLAGS +[Flags] +public enum HeapFlags : uint +{ + /// + /// D3D12_HEAP_FLAG_NONE + None = 0, + /// + /// D3D12_HEAP_FLAG_SHARED + Shared = 1, + /// + /// D3D12_HEAP_FLAG_DENY_BUFFERS + DenyBuffers = 4, + /// + /// D3D12_HEAP_FLAG_ALLOW_DISPLAY + AllowDisplay = 8, + /// + /// D3D12_HEAP_FLAG_SHARED_CROSS_ADAPTER + SharedCrossAdapter = 32, + /// + /// D3D12_HEAP_FLAG_DENY_RT_DS_TEXTURES + DenyRtDSTextures = 64, + /// + /// D3D12_HEAP_FLAG_DENY_NON_RT_DS_TEXTURES + DenyNonRtDSTextures = 128, + /// + /// D3D12_HEAP_FLAG_HARDWARE_PROTECTED + HardwareProtected = 256, + /// + /// D3D12_HEAP_FLAG_ALLOW_WRITE_WATCH + AllowWriteWatch = 512, + /// + /// D3D12_HEAP_FLAG_ALLOW_SHADER_ATOMICS + AllowShaderAtomics = 1024, + /// + /// D3D12_HEAP_FLAG_CREATE_NOT_RESIDENT + CreateNotResident = 2048, + /// + /// D3D12_HEAP_FLAG_CREATE_NOT_ZEROED + CreateNotZeroed = 4096, + /// + /// D3D12_HEAP_FLAG_ALLOW_ALL_BUFFERS_AND_TEXTURES + AllowAllBuffersAndTextures = 0, + /// + /// D3D12_HEAP_FLAG_ALLOW_ONLY_BUFFERS + AllowOnlyBuffers = 192, + /// + /// D3D12_HEAP_FLAG_ALLOW_ONLY_NON_RT_DS_TEXTURES + AllowOnlyNonRtDSTextures = 68, + /// + /// D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES + AllowOnlyRtDSTextures = 132, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HeapProperties.cs b/src/Vortice.Win32.Direct3D12/Generated/HeapProperties.cs new file mode 100644 index 0000000..42b807c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HeapProperties.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HEAP_PROPERTIES +public partial struct HeapProperties +{ + /// + public HeapType Type; + + /// + public CpuPageProperty CPUPageProperty; + + /// + public MemoryPool MemoryPoolPreference; + + /// + public uint CreationNodeMask; + + /// + public uint VisibleNodeMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HeapSerializationTier.cs b/src/Vortice.Win32.Direct3D12/Generated/HeapSerializationTier.cs new file mode 100644 index 0000000..1d3baa2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HeapSerializationTier.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HEAP_SERIALIZATION_TIER +public enum HeapSerializationTier : int +{ + /// + /// D3D12_HEAP_SERIALIZATION_TIER_0 + Tier0 = 0, + /// + /// D3D12_HEAP_SERIALIZATION_TIER_10 + Tier1_0 = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HeapType.cs b/src/Vortice.Win32.Direct3D12/Generated/HeapType.cs new file mode 100644 index 0000000..15005ca --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HeapType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HEAP_TYPE +public enum HeapType : int +{ + /// + /// D3D12_HEAP_TYPE_DEFAULT + Default = 1, + /// + /// D3D12_HEAP_TYPE_UPLOAD + Upload = 2, + /// + /// D3D12_HEAP_TYPE_READBACK + Readback = 3, + /// + /// D3D12_HEAP_TYPE_CUSTOM + Custom = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HitGroupDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/HitGroupDescription.cs new file mode 100644 index 0000000..ce9b458 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HitGroupDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HIT_GROUP_DESC +public partial struct HitGroupDescription +{ + /// + public unsafe ushort* HitGroupExport; + + /// + public HitGroupType Type; + + /// + public unsafe ushort* AnyHitShaderImport; + + /// + public unsafe ushort* ClosestHitShaderImport; + + /// + public unsafe ushort* IntersectionShaderImport; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HitGroupType.cs b/src/Vortice.Win32.Direct3D12/Generated/HitGroupType.cs new file mode 100644 index 0000000..e9fadce --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HitGroupType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HIT_GROUP_TYPE +public enum HitGroupType : int +{ + /// + /// D3D12_HIT_GROUP_TYPE_TRIANGLES + Triangles = 0, + /// + /// D3D12_HIT_GROUP_TYPE_PROCEDURAL_PRIMITIVE + ProceduralPrimitive = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/HitKind.cs b/src/Vortice.Win32.Direct3D12/Generated/HitKind.cs new file mode 100644 index 0000000..9c18efa --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/HitKind.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_HIT_KIND +public enum HitKind : int +{ + /// + /// D3D12_HIT_KIND_TRIANGLE_FRONT_FACE + TriangleFrontFace = 254, + /// + /// D3D12_HIT_KIND_TRIANGLE_BACK_FACE + TriangleBackFace = 255, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandAllocator.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandAllocator.cs index c202f5e..9cbaf1f 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandAllocator.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandAllocator.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("6102dee4-af59-4b09-b999-b44d73f09b24")] [NativeTypeName("struct ID3D12CommandAllocator : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandAllocator +public unsafe partial struct ID3D12CommandAllocator : INativeGuid { public static ref readonly Guid IID_ID3D12CommandAllocator { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12CommandAllocator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandAllocator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandAllocator)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandList.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandList.cs index 1833b7c..bc1fe4b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandList.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandList.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("7116d91c-e7e4-47ce-b8c6-ec8168f437e5")] [NativeTypeName("struct ID3D12CommandList : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12CommandList +public unsafe partial struct ID3D12CommandList : INativeGuid { public static ref readonly Guid IID_ID3D12CommandList { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12CommandList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandList)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandQueue.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandQueue.cs index 01e4eb4..d79485c 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandQueue.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandQueue.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("0ec870a6-5d7e-4c22-8cfc-5baae07616ed")] [NativeTypeName("struct ID3D12CommandQueue : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandQueue +public unsafe partial struct ID3D12CommandQueue : INativeGuid { public static ref readonly Guid IID_ID3D12CommandQueue { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12CommandQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandQueue)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandSignature.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandSignature.cs index d4b3775..f4dede5 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandSignature.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12CommandSignature.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c36a797c-ec80-4f0a-8985-a7b2475082d1")] [NativeTypeName("struct ID3D12CommandSignature : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12CommandSignature +public unsafe partial struct ID3D12CommandSignature : INativeGuid { public static ref readonly Guid IID_ID3D12CommandSignature { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12CommandSignature } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandSignature)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12CommandSignature)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug.cs index 7420622..4b3b633 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("344488b7-6846-474b-b989-f027448245e0")] [NativeTypeName("struct ID3D12Debug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug +public unsafe partial struct ID3D12Debug : INativeGuid { public static ref readonly Guid IID_ID3D12Debug { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug1.cs index 6746ab8..38f1c17 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("affaa4ca-63fe-4d8e-b8ad-159000af4304")] [NativeTypeName("struct ID3D12Debug1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug1 +public unsafe partial struct ID3D12Debug1 : INativeGuid { public static ref readonly Guid IID_ID3D12Debug1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug2.cs index c238617..7d1e5af 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("93a665c4-a3b2-4e5d-b692-a26ae14e3374")] [NativeTypeName("struct ID3D12Debug2 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Debug2 +public unsafe partial struct ID3D12Debug2 : INativeGuid { public static ref readonly Guid IID_ID3D12Debug2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug3.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug3.cs index fe3b340..bf6e24e 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug3.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("5cf4e58f-f671-4ff1-a542-3686e3d153d1")] [NativeTypeName("struct ID3D12Debug3 : ID3D12Debug")] [NativeInheritance("ID3D12Debug")] -public unsafe partial struct ID3D12Debug3 +public unsafe partial struct ID3D12Debug3 : INativeGuid { public static ref readonly Guid IID_ID3D12Debug3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug4.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug4.cs index 7a9b668..d09fa57 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug4.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug4.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("014b816e-9ec5-4a2f-a845-ffbe441ce13a")] [NativeTypeName("struct ID3D12Debug4 : ID3D12Debug3")] [NativeInheritance("ID3D12Debug3")] -public unsafe partial struct ID3D12Debug4 +public unsafe partial struct ID3D12Debug4 : INativeGuid { public static ref readonly Guid IID_ID3D12Debug4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug4)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug5.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug5.cs index 98be998..4d171bc 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug5.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Debug5.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("548d6b12-09fa-40e0-9069-5dcd589a52c9")] [NativeTypeName("struct ID3D12Debug5 : ID3D12Debug4")] [NativeInheritance("ID3D12Debug4")] -public unsafe partial struct ID3D12Debug5 +public unsafe partial struct ID3D12Debug5 : INativeGuid { public static ref readonly Guid IID_ID3D12Debug5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Debug5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Debug5)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList.cs index 00d4581..3f913f2 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("09e0bf36-54ac-484f-8847-4baeeab6053f")] [NativeTypeName("struct ID3D12DebugCommandList : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandList +public unsafe partial struct ID3D12DebugCommandList : INativeGuid { public static ref readonly Guid IID_ID3D12DebugCommandList { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugCommandList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList1.cs index 34511bf..88ebbb8 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("102ca951-311b-4b01-b11f-ecb83e061b37")] [NativeTypeName("struct ID3D12DebugCommandList1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandList1 +public unsafe partial struct ID3D12DebugCommandList1 : INativeGuid { public static ref readonly Guid IID_ID3D12DebugCommandList1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugCommandList1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList2.cs index 7872ffb..260dc3b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandList2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("aeb575cf-4e06-48be-ba3b-c450fc96652e")] [NativeTypeName("struct ID3D12DebugCommandList2 : ID3D12DebugCommandList")] [NativeInheritance("ID3D12DebugCommandList")] -public unsafe partial struct ID3D12DebugCommandList2 +public unsafe partial struct ID3D12DebugCommandList2 : INativeGuid { public static ref readonly Guid IID_ID3D12DebugCommandList2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugCommandList2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandList2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandQueue.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandQueue.cs index dbc4ccd..d3740a1 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandQueue.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugCommandQueue.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("09e0bf36-54ac-484f-8847-4baeeab6053a")] [NativeTypeName("struct ID3D12DebugCommandQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugCommandQueue +public unsafe partial struct ID3D12DebugCommandQueue : INativeGuid { public static ref readonly Guid IID_ID3D12DebugCommandQueue { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugCommandQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugCommandQueue)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice.cs index db16e5b..9abad66 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("3febd6dd-4973-4787-8194-e45f9e28923e")] [NativeTypeName("struct ID3D12DebugDevice : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugDevice +public unsafe partial struct ID3D12DebugDevice : INativeGuid { public static ref readonly Guid IID_ID3D12DebugDevice { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugDevice } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice1.cs index 12be98f..02803a0 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("a9b71770-d099-4a65-a698-3dee10020f88")] [NativeTypeName("struct ID3D12DebugDevice1 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DebugDevice1 +public unsafe partial struct ID3D12DebugDevice1 : INativeGuid { public static ref readonly Guid IID_ID3D12DebugDevice1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugDevice1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice2.cs index e121efd..932aec9 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DebugDevice2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("60eccbc1-378d-4df1-894c-f8ac5ce4d7dd")] [NativeTypeName("struct ID3D12DebugDevice2 : ID3D12DebugDevice")] [NativeInheritance("ID3D12DebugDevice")] -public unsafe partial struct ID3D12DebugDevice2 +public unsafe partial struct ID3D12DebugDevice2 : INativeGuid { public static ref readonly Guid IID_ID3D12DebugDevice2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DebugDevice2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DebugDevice2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DescriptorHeap.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DescriptorHeap.cs index 5c7a1ce..283393b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DescriptorHeap.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DescriptorHeap.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("8efb471d-616c-4f49-90f7-127bb763fa51")] [NativeTypeName("struct ID3D12DescriptorHeap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12DescriptorHeap +public unsafe partial struct ID3D12DescriptorHeap : INativeGuid { public static ref readonly Guid IID_ID3D12DescriptorHeap { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DescriptorHeap } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DescriptorHeap)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DescriptorHeap)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device.cs index 32f0644..88e815b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("189819f1-1db6-4b57-be54-1821339b85f7")] [NativeTypeName("struct ID3D12Device : ID3D12Object")] [NativeInheritance("ID3D12Object")] -public unsafe partial struct ID3D12Device +public unsafe partial struct ID3D12Device : INativeGuid { public static ref readonly Guid IID_ID3D12Device { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device1.cs index 332d0df..80f5d4c 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("77acce80-638e-4e65-8895-c1f23386863e")] [NativeTypeName("struct ID3D12Device1 : ID3D12Device")] [NativeInheritance("ID3D12Device")] -public unsafe partial struct ID3D12Device1 +public unsafe partial struct ID3D12Device1 : INativeGuid { public static ref readonly Guid IID_ID3D12Device1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device2.cs index 93e83d5..19badf6 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("30baa41e-b15b-475c-a0bb-1af5c5b64328")] [NativeTypeName("struct ID3D12Device2 : ID3D12Device1")] [NativeInheritance("ID3D12Device1")] -public unsafe partial struct ID3D12Device2 +public unsafe partial struct ID3D12Device2 : INativeGuid { public static ref readonly Guid IID_ID3D12Device2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device3.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device3.cs index 1123c02..75a58dd 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device3.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("81dadc15-2bad-4392-93c5-101345c4aa98")] [NativeTypeName("struct ID3D12Device3 : ID3D12Device2")] [NativeInheritance("ID3D12Device2")] -public unsafe partial struct ID3D12Device3 +public unsafe partial struct ID3D12Device3 : INativeGuid { public static ref readonly Guid IID_ID3D12Device3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device4.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device4.cs index b0c7217..34fe5eb 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device4.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device4.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("e865df17-a9ee-46f9-a463-3098315aa2e5")] [NativeTypeName("struct ID3D12Device4 : ID3D12Device3")] [NativeInheritance("ID3D12Device3")] -public unsafe partial struct ID3D12Device4 +public unsafe partial struct ID3D12Device4 : INativeGuid { public static ref readonly Guid IID_ID3D12Device4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device4)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device5.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device5.cs index 497a202..8ae30aa 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device5.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device5.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("8b4f173b-2fea-4b80-8f58-4307191ab95d")] [NativeTypeName("struct ID3D12Device5 : ID3D12Device4")] [NativeInheritance("ID3D12Device4")] -public unsafe partial struct ID3D12Device5 +public unsafe partial struct ID3D12Device5 : INativeGuid { public static ref readonly Guid IID_ID3D12Device5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device5)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device6.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device6.cs index 9c9305c..ba163f3 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device6.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device6.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c70b221b-40e4-4a17-89af-025a0727a6dc")] [NativeTypeName("struct ID3D12Device6 : ID3D12Device5")] [NativeInheritance("ID3D12Device5")] -public unsafe partial struct ID3D12Device6 +public unsafe partial struct ID3D12Device6 : INativeGuid { public static ref readonly Guid IID_ID3D12Device6 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device6)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device7.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device7.cs index d143ecf..868aabf 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device7.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device7.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("5c014b53-68a1-4b9b-8bd1-dd6046b9358b")] [NativeTypeName("struct ID3D12Device7 : ID3D12Device6")] [NativeInheritance("ID3D12Device6")] -public unsafe partial struct ID3D12Device7 +public unsafe partial struct ID3D12Device7 : INativeGuid { public static ref readonly Guid IID_ID3D12Device7 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device7 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device7)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device7)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device8.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device8.cs index 39b09b6..f08a774 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device8.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device8.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("9218e6bb-f944-4f7e-a75c-b1b2c7b701f3")] [NativeTypeName("struct ID3D12Device8 : ID3D12Device7")] [NativeInheritance("ID3D12Device7")] -public unsafe partial struct ID3D12Device8 +public unsafe partial struct ID3D12Device8 : INativeGuid { public static ref readonly Guid IID_ID3D12Device8 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device8 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device8)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device8)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device9.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device9.cs index 1927cf3..084585f 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device9.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Device9.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("4c80e962-f032-4f60-bc9e-ebc2cfa1d83c")] [NativeTypeName("struct ID3D12Device9 : ID3D12Device8")] [NativeInheritance("ID3D12Device8")] -public unsafe partial struct ID3D12Device9 +public unsafe partial struct ID3D12Device9 : INativeGuid { public static ref readonly Guid IID_ID3D12Device9 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Device9 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device9)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Device9)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceChild.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceChild.cs index 3a7a20f..16f704b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceChild.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceChild.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("905db94b-a00c-4140-9df5-2b64ca9ea357")] [NativeTypeName("struct ID3D12DeviceChild : ID3D12Object")] [NativeInheritance("ID3D12Object")] -public unsafe partial struct ID3D12DeviceChild +public unsafe partial struct ID3D12DeviceChild : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceChild { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceChild } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceChild)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceChild)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData.cs index 9b94715..4317716 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("98931d33-5ae8-4791-aa3c-1a73a2934e71")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData +public unsafe partial struct ID3D12DeviceRemovedExtendedData : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData1.cs index a93c4a4..d95c883 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("9727a022-cf1d-4dda-9eba-effa653fc506")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData1 : ID3D12DeviceRemovedExtendedData")] [NativeInheritance("ID3D12DeviceRemovedExtendedData")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData1 +public unsafe partial struct ID3D12DeviceRemovedExtendedData1 : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData2.cs index 6178f45..445936d 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedData2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("67fc5816-e4ca-4915-bf18-42541272da54")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedData2 : ID3D12DeviceRemovedExtendedData1")] [NativeInheritance("ID3D12DeviceRemovedExtendedData1")] -public unsafe partial struct ID3D12DeviceRemovedExtendedData2 +public unsafe partial struct ID3D12DeviceRemovedExtendedData2 : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedData2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedData2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedData2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings.cs index 73fff3d..24398e5 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("82bc481c-6b9b-4030-aedb-7ee3d1df1e63")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings +public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedDataSettings { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings1.cs index 879c33f..038e7d5 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12DeviceRemovedExtendedDataSettings1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("dbd5ae51-3317-4f0a-adf9-1d7cedcaae0b")] [NativeTypeName("struct ID3D12DeviceRemovedExtendedDataSettings1 : ID3D12DeviceRemovedExtendedDataSettings")] [NativeInheritance("ID3D12DeviceRemovedExtendedDataSettings")] -public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 +public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 : INativeGuid { public static ref readonly Guid IID_ID3D12DeviceRemovedExtendedDataSettings1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12DeviceRemovedExtendedDataSettings1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12DeviceRemovedExtendedDataSettings1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence.cs index 970710b..23c9985 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("0a753dcf-c4d8-4b91-adf6-be5a60d95a76")] [NativeTypeName("struct ID3D12Fence : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Fence +public unsafe partial struct ID3D12Fence : INativeGuid { public static ref readonly Guid IID_ID3D12Fence { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Fence } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence1.cs index 92eb8cf..22a464b 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Fence1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("433685fe-e22b-4ca0-a8db-b5b4f4dd0e4a")] [NativeTypeName("struct ID3D12Fence1 : ID3D12Fence")] [NativeInheritance("ID3D12Fence")] -public unsafe partial struct ID3D12Fence1 +public unsafe partial struct ID3D12Fence1 : INativeGuid { public static ref readonly Guid IID_ID3D12Fence1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Fence1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Fence1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionParameterReflection.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionParameterReflection.cs index d4995a5..7758ea1 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionParameterReflection.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionParameterReflection.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D12; /// /// ID3D12FunctionParameterReflection [Guid("ec25f42d-7006-4f2b-b33e-02cc3375733f")] -public unsafe partial struct ID3D12FunctionParameterReflection +public unsafe partial struct ID3D12FunctionParameterReflection : INativeGuid { public static ref readonly Guid IID_ID3D12FunctionParameterReflection { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D12FunctionParameterReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionParameterReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionParameterReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionReflection.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionReflection.cs index 18caec1..239b9ed 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionReflection.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12FunctionReflection.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D12; /// /// ID3D12FunctionReflection [Guid("1108795c-2772-4ba9-b2a8-d464dc7e2799")] -public unsafe partial struct ID3D12FunctionReflection +public unsafe partial struct ID3D12FunctionReflection : INativeGuid { public static ref readonly Guid IID_ID3D12FunctionReflection { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D12FunctionReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12FunctionReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList.cs index 8ef9312..294337f 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("5b160d0f-ac1b-4185-8ba8-b3ae42a5a455")] [NativeTypeName("struct ID3D12GraphicsCommandList : ID3D12CommandList")] [NativeInheritance("ID3D12CommandList")] -public unsafe partial struct ID3D12GraphicsCommandList +public unsafe partial struct ID3D12GraphicsCommandList : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList1.cs index afe3c7f..f9564ab 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("553103fb-1fe7-4557-bb38-946d7d0e7ca7")] [NativeTypeName("struct ID3D12GraphicsCommandList1 : ID3D12GraphicsCommandList")] [NativeInheritance("ID3D12GraphicsCommandList")] -public unsafe partial struct ID3D12GraphicsCommandList1 +public unsafe partial struct ID3D12GraphicsCommandList1 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList2.cs index 833c130..f6fbe4a 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("38c3e585-ff17-412c-9150-4fc6f9d72a28")] [NativeTypeName("struct ID3D12GraphicsCommandList2 : ID3D12GraphicsCommandList1")] [NativeInheritance("ID3D12GraphicsCommandList1")] -public unsafe partial struct ID3D12GraphicsCommandList2 +public unsafe partial struct ID3D12GraphicsCommandList2 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList3.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList3.cs index 8f5330f..ce9c5ca 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList3.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList3.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("6fda83a7-b84c-4e38-9ac8-c7bd22016b3d")] [NativeTypeName("struct ID3D12GraphicsCommandList3 : ID3D12GraphicsCommandList2")] [NativeInheritance("ID3D12GraphicsCommandList2")] -public unsafe partial struct ID3D12GraphicsCommandList3 +public unsafe partial struct ID3D12GraphicsCommandList3 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList3)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList4.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList4.cs index 4e7f6c7..0899773 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList4.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList4.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("8754318e-d3a9-4541-98cf-645b50dc4874")] [NativeTypeName("struct ID3D12GraphicsCommandList4 : ID3D12GraphicsCommandList3")] [NativeInheritance("ID3D12GraphicsCommandList3")] -public unsafe partial struct ID3D12GraphicsCommandList4 +public unsafe partial struct ID3D12GraphicsCommandList4 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList4)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList5.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList5.cs index a659c92..97f08d0 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList5.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList5.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("55050859-4024-474c-87f5-6472eaee44ea")] [NativeTypeName("struct ID3D12GraphicsCommandList5 : ID3D12GraphicsCommandList4")] [NativeInheritance("ID3D12GraphicsCommandList4")] -public unsafe partial struct ID3D12GraphicsCommandList5 +public unsafe partial struct ID3D12GraphicsCommandList5 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList5)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList6.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList6.cs index 1321f8d..231b21c 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList6.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12GraphicsCommandList6.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c3827890-e548-4cfa-96cf-5689a9370f80")] [NativeTypeName("struct ID3D12GraphicsCommandList6 : ID3D12GraphicsCommandList5")] [NativeInheritance("ID3D12GraphicsCommandList5")] -public unsafe partial struct ID3D12GraphicsCommandList6 +public unsafe partial struct ID3D12GraphicsCommandList6 : INativeGuid { public static ref readonly Guid IID_ID3D12GraphicsCommandList6 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12GraphicsCommandList6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12GraphicsCommandList6)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap.cs index 931a2c7..330c134 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("6b3b2502-6e51-45b3-90ee-9884265e8df3")] [NativeTypeName("struct ID3D12Heap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Heap +public unsafe partial struct ID3D12Heap : INativeGuid { public static ref readonly Guid IID_ID3D12Heap { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Heap } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap1.cs index 107af9b..c8029cc 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Heap1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("572f7389-2168-49e3-9693-d6df5871bf6d")] [NativeTypeName("struct ID3D12Heap1 : ID3D12Heap")] [NativeInheritance("ID3D12Heap")] -public unsafe partial struct ID3D12Heap1 +public unsafe partial struct ID3D12Heap1 : INativeGuid { public static ref readonly Guid IID_ID3D12Heap1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Heap1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Heap1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue.cs index fb07efa..ad0b179 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("0742a90b-c387-483f-b946-30a7e4e61458")] [NativeTypeName("struct ID3D12InfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12InfoQueue +public unsafe partial struct ID3D12InfoQueue : INativeGuid { public static ref readonly Guid IID_ID3D12InfoQueue { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12InfoQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue1.cs index e8b8940..d13ca92 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12InfoQueue1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("2852dd88-b484-4c0c-b6b1-67168500e600")] [NativeTypeName("struct ID3D12InfoQueue1 : ID3D12InfoQueue")] [NativeInheritance("ID3D12InfoQueue")] -public unsafe partial struct ID3D12InfoQueue1 +public unsafe partial struct ID3D12InfoQueue1 : INativeGuid { public static ref readonly Guid IID_ID3D12InfoQueue1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12InfoQueue1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LibraryReflection.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LibraryReflection.cs index af0a5d2..ba9d3fb 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LibraryReflection.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LibraryReflection.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("8e349d19-54db-4a56-9dc9-119d87bdb804")] [NativeTypeName("struct ID3D12LibraryReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12LibraryReflection +public unsafe partial struct ID3D12LibraryReflection : INativeGuid { public static ref readonly Guid IID_ID3D12LibraryReflection { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12LibraryReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LibraryReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LibraryReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeOwner.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeOwner.cs index 69572aa..41e49f6 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeOwner.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeOwner.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("e667af9f-cd56-4f46-83ce-032e595d70a8")] [NativeTypeName("struct ID3D12LifetimeOwner : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12LifetimeOwner +public unsafe partial struct ID3D12LifetimeOwner : INativeGuid { public static ref readonly Guid IID_ID3D12LifetimeOwner { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12LifetimeOwner } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeOwner)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeOwner)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeTracker.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeTracker.cs index e316d38..737f99c 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeTracker.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12LifetimeTracker.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("3fd03d36-4eb1-424a-a582-494ecb8ba813")] [NativeTypeName("struct ID3D12LifetimeTracker : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12LifetimeTracker +public unsafe partial struct ID3D12LifetimeTracker : INativeGuid { public static ref readonly Guid IID_ID3D12LifetimeTracker { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12LifetimeTracker } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeTracker)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12LifetimeTracker)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12MetaCommand.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12MetaCommand.cs index 3841f0c..11e7c41 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12MetaCommand.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12MetaCommand.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("dbb84c27-36ce-4fc9-b801-f048c46ac570")] [NativeTypeName("struct ID3D12MetaCommand : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12MetaCommand +public unsafe partial struct ID3D12MetaCommand : INativeGuid { public static ref readonly Guid IID_ID3D12MetaCommand { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12MetaCommand } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12MetaCommand)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12MetaCommand)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Object.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Object.cs index a2f33ac..aaf9261 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Object.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Object.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c4fec28f-7966-4e95-9f94-f431cb56c3b8")] [NativeTypeName("struct ID3D12Object : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Object +public unsafe partial struct ID3D12Object : INativeGuid { public static ref readonly Guid IID_ID3D12Object { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Object } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Object)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Object)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Pageable.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Pageable.cs index d872a93..e927b58 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Pageable.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Pageable.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("63ee58fb-1268-4835-86da-f008ce62f0d6")] [NativeTypeName("struct ID3D12Pageable : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12Pageable +public unsafe partial struct ID3D12Pageable : INativeGuid { public static ref readonly Guid IID_ID3D12Pageable { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Pageable } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Pageable)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Pageable)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary.cs index f3f210c..fdbcd82 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c64226a8-9201-46af-b4cc-53fb9ff7414f")] [NativeTypeName("struct ID3D12PipelineLibrary : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12PipelineLibrary +public unsafe partial struct ID3D12PipelineLibrary : INativeGuid { public static ref readonly Guid IID_ID3D12PipelineLibrary { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12PipelineLibrary } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary1.cs index 64cea89..32ac7e1 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineLibrary1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("80eabf42-2568-4e5e-bd82-c37f86961dc3")] [NativeTypeName("struct ID3D12PipelineLibrary1 : ID3D12PipelineLibrary")] [NativeInheritance("ID3D12PipelineLibrary")] -public unsafe partial struct ID3D12PipelineLibrary1 +public unsafe partial struct ID3D12PipelineLibrary1 : INativeGuid { public static ref readonly Guid IID_ID3D12PipelineLibrary1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12PipelineLibrary1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineLibrary1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineState.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineState.cs index 0e4d723..9933740 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineState.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12PipelineState.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("765a30f3-f624-4c6f-a828-ace948622445")] [NativeTypeName("struct ID3D12PipelineState : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12PipelineState +public unsafe partial struct ID3D12PipelineState : INativeGuid { public static ref readonly Guid IID_ID3D12PipelineState { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12PipelineState } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineState)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12PipelineState)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession.cs index 311bed7..2357b6a 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("6cd696f4-f289-40cc-8091-5a6c0a099c3d")] [NativeTypeName("struct ID3D12ProtectedResourceSession : ID3D12ProtectedSession")] [NativeInheritance("ID3D12ProtectedSession")] -public unsafe partial struct ID3D12ProtectedResourceSession +public unsafe partial struct ID3D12ProtectedResourceSession : INativeGuid { public static ref readonly Guid IID_ID3D12ProtectedResourceSession { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12ProtectedResourceSession } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession1.cs index 39c9855..139dc9a 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedResourceSession1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("d6f12dd6-76fb-406e-8961-4296eefc0409")] [NativeTypeName("struct ID3D12ProtectedResourceSession1 : ID3D12ProtectedResourceSession")] [NativeInheritance("ID3D12ProtectedResourceSession")] -public unsafe partial struct ID3D12ProtectedResourceSession1 +public unsafe partial struct ID3D12ProtectedResourceSession1 : INativeGuid { public static ref readonly Guid IID_ID3D12ProtectedResourceSession1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12ProtectedResourceSession1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedResourceSession1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedSession.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedSession.cs index 0c2c871..570bcd5 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedSession.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ProtectedSession.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("a1533d18-0ac1-4084-85b9-89a96116806b")] [NativeTypeName("struct ID3D12ProtectedSession : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12ProtectedSession +public unsafe partial struct ID3D12ProtectedSession : INativeGuid { public static ref readonly Guid IID_ID3D12ProtectedSession { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12ProtectedSession } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedSession)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ProtectedSession)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12QueryHeap.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12QueryHeap.cs index b8bd92f..ae321d9 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12QueryHeap.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12QueryHeap.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("0d9658ae-ed45-469e-a61d-970ec583cab4")] [NativeTypeName("struct ID3D12QueryHeap : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12QueryHeap +public unsafe partial struct ID3D12QueryHeap : INativeGuid { public static ref readonly Guid IID_ID3D12QueryHeap { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12QueryHeap } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12QueryHeap)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12QueryHeap)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource.cs index 9c40a2b..31cb2bd 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("696442be-a72e-4059-bc79-5b5c98040fad")] [NativeTypeName("struct ID3D12Resource : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12Resource +public unsafe partial struct ID3D12Resource : INativeGuid { public static ref readonly Guid IID_ID3D12Resource { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Resource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource1.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource1.cs index 79bda2f..5bde750 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource1.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource1.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("9d5e227a-4430-4161-88b3-3eca6bb16e19")] [NativeTypeName("struct ID3D12Resource1 : ID3D12Resource")] [NativeInheritance("ID3D12Resource")] -public unsafe partial struct ID3D12Resource1 +public unsafe partial struct ID3D12Resource1 : INativeGuid { public static ref readonly Guid IID_ID3D12Resource1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Resource1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource1)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource2.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource2.cs index cadbf51..5e35752 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource2.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Resource2.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("be36ec3b-ea85-4aeb-a45a-e9d76404a495")] [NativeTypeName("struct ID3D12Resource2 : ID3D12Resource1")] [NativeInheritance("ID3D12Resource1")] -public unsafe partial struct ID3D12Resource2 +public unsafe partial struct ID3D12Resource2 : INativeGuid { public static ref readonly Guid IID_ID3D12Resource2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Resource2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Resource2)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignature.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignature.cs index e77d671..34d13d9 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignature.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignature.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("c54a6b66-72df-4ee8-8be5-a946a1429214")] [NativeTypeName("struct ID3D12RootSignature : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12RootSignature +public unsafe partial struct ID3D12RootSignature : INativeGuid { public static ref readonly Guid IID_ID3D12RootSignature { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12RootSignature } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignature)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignature)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignatureDeserializer.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignatureDeserializer.cs index b5ed363..bcdebc1 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignatureDeserializer.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12RootSignatureDeserializer.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("34ab647b-3cc8-46ac-841b-c0965645c046")] [NativeTypeName("struct ID3D12RootSignatureDeserializer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12RootSignatureDeserializer +public unsafe partial struct ID3D12RootSignatureDeserializer : INativeGuid { public static ref readonly Guid IID_ID3D12RootSignatureDeserializer { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12RootSignatureDeserializer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignatureDeserializer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12RootSignatureDeserializer)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SDKConfiguration.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SDKConfiguration.cs index 23b068b..d13fd5c 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SDKConfiguration.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SDKConfiguration.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("e9eb5314-33aa-42b2-a718-d77f58b1f1c7")] [NativeTypeName("struct ID3D12SDKConfiguration : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SDKConfiguration +public unsafe partial struct ID3D12SDKConfiguration : INativeGuid { public static ref readonly Guid IID_ID3D12SDKConfiguration { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12SDKConfiguration } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SDKConfiguration)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SDKConfiguration)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderCacheSession.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderCacheSession.cs index 5bf36c6..dc87347 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderCacheSession.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderCacheSession.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("28e2495d-0f64-4ae4-a6ec-129255dc49a8")] [NativeTypeName("struct ID3D12ShaderCacheSession : ID3D12DeviceChild")] [NativeInheritance("ID3D12DeviceChild")] -public unsafe partial struct ID3D12ShaderCacheSession +public unsafe partial struct ID3D12ShaderCacheSession : INativeGuid { public static ref readonly Guid IID_ID3D12ShaderCacheSession { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12ShaderCacheSession } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderCacheSession)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderCacheSession)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflection.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflection.cs index 5d9df31..ea22cff 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflection.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflection.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("5a58797d-a72c-478d-8ba2-efc6b0efe88e")] [NativeTypeName("struct ID3D12ShaderReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12ShaderReflection +public unsafe partial struct ID3D12ShaderReflection : INativeGuid { public static ref readonly Guid IID_ID3D12ShaderReflection { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12ShaderReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflection)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs index 86645da..10f8835 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D12; /// /// ID3D12ShaderReflectionConstantBuffer [Guid("c59598b4-48b3-4869-b9b1-b1618b14a8b7")] -public unsafe partial struct ID3D12ShaderReflectionConstantBuffer +public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : INativeGuid { public static ref readonly Guid IID_ID3D12ShaderReflectionConstantBuffer { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionConstantBuffer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionConstantBuffer)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionType.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionType.cs index 8fd56ae..e7b5195 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionType.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionType.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D12; /// /// ID3D12ShaderReflectionType [Guid("e913c351-783d-48ca-a1d1-4f306284ad56")] -public unsafe partial struct ID3D12ShaderReflectionType +public unsafe partial struct ID3D12ShaderReflectionType : INativeGuid { public static ref readonly Guid IID_ID3D12ShaderReflectionType { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D12ShaderReflectionType } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionType)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionType)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionVariable.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionVariable.cs index f056834..900ab9a 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionVariable.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12ShaderReflectionVariable.cs @@ -12,7 +12,7 @@ namespace Win32.Graphics.Direct3D12; /// /// ID3D12ShaderReflectionVariable [Guid("8337a8a6-a216-444a-b2f4-314733a73aea")] -public unsafe partial struct ID3D12ShaderReflectionVariable +public unsafe partial struct ID3D12ShaderReflectionVariable : INativeGuid { public static ref readonly Guid IID_ID3D12ShaderReflectionVariable { @@ -38,7 +38,11 @@ public unsafe partial struct ID3D12ShaderReflectionVariable } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionVariable)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12ShaderReflectionVariable)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SharingContract.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SharingContract.cs index 823f157..e5e6293 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SharingContract.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SharingContract.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("0adf7d52-929c-4e61-addb-ffed30de66ef")] [NativeTypeName("struct ID3D12SharingContract : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SharingContract +public unsafe partial struct ID3D12SharingContract : INativeGuid { public static ref readonly Guid IID_ID3D12SharingContract { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12SharingContract } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SharingContract)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SharingContract)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObject.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObject.cs index f6fd2e8..2bb7daa 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObject.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObject.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("47016943-fca8-4594-93ea-af258b55346d")] [NativeTypeName("struct ID3D12StateObject : ID3D12Pageable")] [NativeInheritance("ID3D12Pageable")] -public unsafe partial struct ID3D12StateObject +public unsafe partial struct ID3D12StateObject : INativeGuid { public static ref readonly Guid IID_ID3D12StateObject { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12StateObject } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObject)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObject)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObjectProperties.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObjectProperties.cs index 1a7b0fb..78c893e 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObjectProperties.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12StateObjectProperties.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("de5fa827-9bf9-4f26-89ff-d7f56fde3860")] [NativeTypeName("struct ID3D12StateObjectProperties : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12StateObjectProperties +public unsafe partial struct ID3D12StateObjectProperties : INativeGuid { public static ref readonly Guid IID_ID3D12StateObjectProperties { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12StateObjectProperties } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObjectProperties)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12StateObjectProperties)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SwapChainAssistant.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SwapChainAssistant.cs index 84e8ae9..186011d 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12SwapChainAssistant.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12SwapChainAssistant.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("f1df64b6-57fd-49cd-8807-c0eb88b45c8f")] [NativeTypeName("struct ID3D12SwapChainAssistant : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12SwapChainAssistant +public unsafe partial struct ID3D12SwapChainAssistant : INativeGuid { public static ref readonly Guid IID_ID3D12SwapChainAssistant { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12SwapChainAssistant } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SwapChainAssistant)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12SwapChainAssistant)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Tools.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Tools.cs index 5b8e2cc..92f786e 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12Tools.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12Tools.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("7071e1f0-e84b-4b33-974f-12fa49de65c5")] [NativeTypeName("struct ID3D12Tools : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12Tools +public unsafe partial struct ID3D12Tools : INativeGuid { public static ref readonly Guid IID_ID3D12Tools { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12Tools } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Tools)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12Tools)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/ID3D12VersionedRootSignatureDeserializer.cs b/src/Vortice.Win32.Direct3D12/Generated/ID3D12VersionedRootSignatureDeserializer.cs index ccf3cce..6ec3c46 100644 --- a/src/Vortice.Win32.Direct3D12/Generated/ID3D12VersionedRootSignatureDeserializer.cs +++ b/src/Vortice.Win32.Direct3D12/Generated/ID3D12VersionedRootSignatureDeserializer.cs @@ -14,7 +14,7 @@ namespace Win32.Graphics.Direct3D12; [Guid("7f91ce67-090c-4bb7-b78e-ed8ff2e31da0")] [NativeTypeName("struct ID3D12VersionedRootSignatureDeserializer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3D12VersionedRootSignatureDeserializer +public unsafe partial struct ID3D12VersionedRootSignatureDeserializer : INativeGuid { public static ref readonly Guid IID_ID3D12VersionedRootSignatureDeserializer { @@ -40,7 +40,11 @@ public unsafe partial struct ID3D12VersionedRootSignatureDeserializer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VersionedRootSignatureDeserializer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12VersionedRootSignatureDeserializer)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32.Direct3D12/Generated/IndexBufferStripCutValue.cs b/src/Vortice.Win32.Direct3D12/Generated/IndexBufferStripCutValue.cs new file mode 100644 index 0000000..f2d92de --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/IndexBufferStripCutValue.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE +public enum IndexBufferStripCutValue : int +{ + /// + /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_DISABLED + Disabled = 0, + /// + /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFF + I16Bits = 1, + /// + /// D3D12_INDEX_BUFFER_STRIP_CUT_VALUE_0xFFFFFFFF + I32Bits = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/IndexBufferView.cs b/src/Vortice.Win32.Direct3D12/Generated/IndexBufferView.cs new file mode 100644 index 0000000..86094f0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/IndexBufferView.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INDEX_BUFFER_VIEW +public partial struct IndexBufferView +{ + /// + public ulong BufferLocation; + + /// + public uint SizeInBytes; + + /// + public Graphics.Dxgi.Common.Format Format; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentDescription.cs new file mode 100644 index 0000000..dffd035 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentDescription.cs @@ -0,0 +1,127 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INDIRECT_ARGUMENT_DESC +public partial struct IndirectArgumentDescription +{ + /// + public IndirectArgumentType Type; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref _Anonymous_e__Union._VertexBuffer_e__Struct VertexBuffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.VertexBuffer; + } + } + + [UnscopedRef] + public ref _Anonymous_e__Union._Constant_e__Struct Constant + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Constant; + } + } + + [UnscopedRef] + public ref _Anonymous_e__Union._ConstantBufferView_e__Struct ConstantBufferView + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.ConstantBufferView; + } + } + + [UnscopedRef] + public ref _Anonymous_e__Union._ShaderResourceView_e__Struct ShaderResourceView + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.ShaderResourceView; + } + } + + [UnscopedRef] + public ref _Anonymous_e__Union._UnorderedAccessView_e__Struct UnorderedAccessView + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.UnorderedAccessView; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public _Anonymous_e__Union._VertexBuffer_e__Struct VertexBuffer; + + /// + [FieldOffset(0)] + public _Anonymous_e__Union._Constant_e__Struct Constant; + + /// + [FieldOffset(0)] + public _Anonymous_e__Union._ConstantBufferView_e__Struct ConstantBufferView; + + /// + [FieldOffset(0)] + public _Anonymous_e__Union._ShaderResourceView_e__Struct ShaderResourceView; + + /// + [FieldOffset(0)] + public _Anonymous_e__Union._UnorderedAccessView_e__Struct UnorderedAccessView; + + public partial struct _ShaderResourceView_e__Struct + { + /// + public uint RootParameterIndex; + } + public partial struct _Constant_e__Struct + { + /// + public uint RootParameterIndex; + + /// + public uint DestOffsetIn32BitValues; + + /// + public uint Num32BitValuesToSet; + } + public partial struct _UnorderedAccessView_e__Struct + { + /// + public uint RootParameterIndex; + } + public partial struct _VertexBuffer_e__Struct + { + /// + public uint Slot; + } + public partial struct _ConstantBufferView_e__Struct + { + /// + public uint RootParameterIndex; + } + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentType.cs b/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentType.cs new file mode 100644 index 0000000..3892b76 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/IndirectArgumentType.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INDIRECT_ARGUMENT_TYPE +public enum IndirectArgumentType : int +{ + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_DRAW + Draw = 0, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_DRAW_INDEXED + DrawIndexed = 1, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH + Dispatch = 2, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_VERTEX_BUFFER_VIEW + VertexBufferView = 3, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_INDEX_BUFFER_VIEW + IndexBufferView = 4, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT + Constant = 5, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT_BUFFER_VIEW + ConstantBufferView = 6, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_SHADER_RESOURCE_VIEW + ShaderResourceView = 7, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW + UnorderedAccessView = 8, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_RAYS + DispatchRays = 9, + /// + /// D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH + DispatchMesh = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilter.cs b/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilter.cs new file mode 100644 index 0000000..db4149e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilter.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INFO_QUEUE_FILTER +public partial struct InfoQueueFilter +{ + /// + public InfoQueueFilterDescription AllowList; + + /// + public InfoQueueFilterDescription DenyList; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilterDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilterDescription.cs new file mode 100644 index 0000000..1dd2275 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/InfoQueueFilterDescription.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INFO_QUEUE_FILTER_DESC +public partial struct InfoQueueFilterDescription +{ + /// + public uint NumCategories; + + /// + public unsafe MessageCategory* pCategoryList; + + /// + public uint NumSeverities; + + /// + public unsafe MessageSeverity* pSeverityList; + + /// + public uint NumIDs; + + /// + public unsafe MessageId* pIDList; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/InputClassification.cs b/src/Vortice.Win32.Direct3D12/Generated/InputClassification.cs new file mode 100644 index 0000000..711986c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/InputClassification.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INPUT_CLASSIFICATION +public enum InputClassification : int +{ + /// + /// D3D12_INPUT_CLASSIFICATION_PER_VERTEX_DATA + PerVertexData = 0, + /// + /// D3D12_INPUT_CLASSIFICATION_PER_INSTANCE_DATA + PerInstanceData = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/InputElementDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/InputElementDescription.cs new file mode 100644 index 0000000..9827935 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/InputElementDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INPUT_ELEMENT_DESC +public partial struct InputElementDescription +{ + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public uint InputSlot; + + /// + public uint AlignedByteOffset; + + /// + public InputClassification InputSlotClass; + + /// + public uint InstanceDataStepRate; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/InputLayoutDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/InputLayoutDescription.cs new file mode 100644 index 0000000..1ff18c0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/InputLayoutDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_INPUT_LAYOUT_DESC +public partial struct InputLayoutDescription +{ + /// + public unsafe InputElementDescription* pInputElementDescs; + + /// + public uint NumElements; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/LibraryDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/LibraryDescription.cs new file mode 100644 index 0000000..1605351 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/LibraryDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_LIBRARY_DESC +public partial struct LibraryDescription +{ + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint FunctionCount; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/LifetimeState.cs b/src/Vortice.Win32.Direct3D12/Generated/LifetimeState.cs new file mode 100644 index 0000000..2f41c95 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/LifetimeState.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_LIFETIME_STATE +public enum LifetimeState : int +{ + /// + /// D3D12_LIFETIME_STATE_IN_USE + InUse = 0, + /// + /// D3D12_LIFETIME_STATE_NOT_IN_USE + NotInUse = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/LocalRootSignature.cs b/src/Vortice.Win32.Direct3D12/Generated/LocalRootSignature.cs new file mode 100644 index 0000000..8277937 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/LocalRootSignature.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_LOCAL_ROOT_SIGNATURE +public partial struct LocalRootSignature +{ + /// + public unsafe ID3D12RootSignature* pLocalRootSignature; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/LogicOperation.cs b/src/Vortice.Win32.Direct3D12/Generated/LogicOperation.cs new file mode 100644 index 0000000..fbc98da --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/LogicOperation.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_LOGIC_OP +public enum LogicOperation : int +{ + /// + /// D3D12_LOGIC_OP_CLEAR + Clear = 0, + /// + /// D3D12_LOGIC_OP_SET + Set = 1, + /// + /// D3D12_LOGIC_OP_COPY + Copy = 2, + /// + /// D3D12_LOGIC_OP_COPY_INVERTED + CopyInverted = 3, + /// + /// D3D12_LOGIC_OP_NOOP + Noop = 4, + /// + /// D3D12_LOGIC_OP_INVERT + Invert = 5, + /// + /// D3D12_LOGIC_OP_AND + And = 6, + /// + /// D3D12_LOGIC_OP_NAND + Nand = 7, + /// + /// D3D12_LOGIC_OP_OR + Or = 8, + /// + /// D3D12_LOGIC_OP_NOR + Nor = 9, + /// + /// D3D12_LOGIC_OP_XOR + Xor = 10, + /// + /// D3D12_LOGIC_OP_EQUIV + Equiv = 11, + /// + /// D3D12_LOGIC_OP_AND_REVERSE + AndReverse = 12, + /// + /// D3D12_LOGIC_OP_AND_INVERTED + AndInverted = 13, + /// + /// D3D12_LOGIC_OP_OR_REVERSE + OrReverse = 14, + /// + /// D3D12_LOGIC_OP_OR_INVERTED + OrInverted = 15, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MeasurementsAction.cs b/src/Vortice.Win32.Direct3D12/Generated/MeasurementsAction.cs new file mode 100644 index 0000000..7857314 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MeasurementsAction.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MEASUREMENTS_ACTION +public enum MeasurementsAction : int +{ + /// + /// D3D12_MEASUREMENTS_ACTION_KEEP_ALL + KeepAll = 0, + /// + /// D3D12_MEASUREMENTS_ACTION_COMMIT_RESULTS + CommitResults = 1, + /// + /// D3D12_MEASUREMENTS_ACTION_COMMIT_RESULTS_HIGH_PRIORITY + CommitResultsHighPriority = 2, + /// + /// D3D12_MEASUREMENTS_ACTION_DISCARD_PREVIOUS + DiscardPrevious = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MemcpyDest.cs b/src/Vortice.Win32.Direct3D12/Generated/MemcpyDest.cs new file mode 100644 index 0000000..4de8d5e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MemcpyDest.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MEMCPY_DEST +public partial struct MemcpyDest +{ + /// + public unsafe void* pData; + + /// + public nuint RowPitch; + + /// + public nuint SlicePitch; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MemoryPool.cs b/src/Vortice.Win32.Direct3D12/Generated/MemoryPool.cs new file mode 100644 index 0000000..702c854 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MemoryPool.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MEMORY_POOL +public enum MemoryPool : int +{ + /// + /// D3D12_MEMORY_POOL_UNKNOWN + Unknown = 0, + /// + /// D3D12_MEMORY_POOL_L0 + L0 = 1, + /// + /// D3D12_MEMORY_POOL_L1 + L1 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MeshShaderTier.cs b/src/Vortice.Win32.Direct3D12/Generated/MeshShaderTier.cs new file mode 100644 index 0000000..aa1bd99 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MeshShaderTier.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESH_SHADER_TIER +public enum MeshShaderTier : int +{ + /// + /// D3D12_MESH_SHADER_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_MESH_SHADER_TIER_1 + Tier1 = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Message.cs b/src/Vortice.Win32.Direct3D12/Generated/Message.cs new file mode 100644 index 0000000..b8f3c39 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Message.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESSAGE +public partial struct Message +{ + /// + public MessageCategory Category; + + /// + public MessageSeverity Severity; + + /// + public MessageId ID; + + /// + public unsafe byte* pDescription; + + /// + public nuint DescriptionByteLength; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MessageCallbackFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/MessageCallbackFlags.cs new file mode 100644 index 0000000..dd2a6c1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MessageCallbackFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESSAGE_CALLBACK_FLAGS +[Flags] +public enum MessageCallbackFlags : int +{ + /// + /// D3D12_MESSAGE_CALLBACK_FLAG_NONE + None = 0, + /// + /// D3D12_MESSAGE_CALLBACK_IGNORE_FILTERS + IgnoreFilters = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MessageCategory.cs b/src/Vortice.Win32.Direct3D12/Generated/MessageCategory.cs new file mode 100644 index 0000000..1986584 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MessageCategory.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESSAGE_CATEGORY +public enum MessageCategory : int +{ + /// + /// D3D12_MESSAGE_CATEGORY_APPLICATION_DEFINED + ApplicationDefined = 0, + /// + /// D3D12_MESSAGE_CATEGORY_MISCELLANEOUS + Miscellaneous = 1, + /// + /// D3D12_MESSAGE_CATEGORY_INITIALIZATION + Initialization = 2, + /// + /// D3D12_MESSAGE_CATEGORY_CLEANUP + Cleanup = 3, + /// + /// D3D12_MESSAGE_CATEGORY_COMPILATION + Compilation = 4, + /// + /// D3D12_MESSAGE_CATEGORY_STATE_CREATION + StateCreation = 5, + /// + /// D3D12_MESSAGE_CATEGORY_STATE_SETTING + StateSetting = 6, + /// + /// D3D12_MESSAGE_CATEGORY_STATE_GETTING + StateGetting = 7, + /// + /// D3D12_MESSAGE_CATEGORY_RESOURCE_MANIPULATION + ResourceManipulation = 8, + /// + /// D3D12_MESSAGE_CATEGORY_EXECUTION + Execution = 9, + /// + /// D3D12_MESSAGE_CATEGORY_SHADER + Shader = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MessageId.cs b/src/Vortice.Win32.Direct3D12/Generated/MessageId.cs new file mode 100644 index 0000000..0e351e9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MessageId.cs @@ -0,0 +1,2689 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESSAGE_ID +public enum MessageId : int +{ + /// + /// D3D12_MESSAGE_ID_UNKNOWN + Unknown = 0, + /// + /// D3D12_MESSAGE_ID_STRING_FROM_APPLICATION + StringFromApplication = 1, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_THIS + CorruptedThis = 2, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER1 + CorruptedParameter1 = 3, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER2 + CorruptedParameter2 = 4, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER3 + CorruptedParameter3 = 5, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER4 + CorruptedParameter4 = 6, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER5 + CorruptedParameter5 = 7, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER6 + CorruptedParameter6 = 8, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER7 + CorruptedParameter7 = 9, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER8 + CorruptedParameter8 = 10, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER9 + CorruptedParameter9 = 11, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER10 + CorruptedParameter10 = 12, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER11 + CorruptedParameter11 = 13, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER12 + CorruptedParameter12 = 14, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER13 + CorruptedParameter13 = 15, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER14 + CorruptedParameter14 = 16, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_PARAMETER15 + CorruptedParameter15 = 17, + /// + /// D3D12_MESSAGE_ID_CORRUPTED_MULTITHREADING + CorruptedMultithreading = 18, + /// + /// D3D12_MESSAGE_ID_MESSAGE_REPORTING_OUTOFMEMORY + MessageReportingOutOfMemory = 19, + /// + /// D3D12_MESSAGE_ID_GETPRIVATEDATA_MOREDATA + GetPrivateDataMoreData = 20, + /// + /// D3D12_MESSAGE_ID_SETPRIVATEDATA_INVALIDFREEDATA + SetPrivateDataInvalidFreeData = 21, + /// + /// D3D12_MESSAGE_ID_SETPRIVATEDATA_CHANGINGPARAMS + SetPrivateDataChangingParams = 24, + /// + /// D3D12_MESSAGE_ID_SETPRIVATEDATA_OUTOFMEMORY + SetPrivateDataOutOfMemory = 25, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_UNRECOGNIZEDFORMAT + CreateShaderResourceViewUnrecognizedFormat = 26, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDESC + CreateShaderResourceViewInvalidDesc = 27, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDFORMAT + CreateShaderResourceViewInvalidFormat = 28, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDVIDEOPLANESLICE + CreateShaderResourceViewInvalidVideoPlaneSlice = 29, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDPLANESLICE + CreateShaderResourceViewInvalidPlaneSlice = 30, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDDIMENSIONS + CreateShaderResourceViewInvalidDimensions = 31, + /// + /// D3D12_MESSAGE_ID_CREATESHADERRESOURCEVIEW_INVALIDRESOURCE + CreateShaderResourceViewInvalidResource = 32, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_UNRECOGNIZEDFORMAT + CreateRenderTargetViewUnrecognizedFormat = 35, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_UNSUPPORTEDFORMAT + CreateRenderTargetViewUnsupportedFormat = 36, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDESC + CreateRenderTargetViewInvalidDesc = 37, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDFORMAT + CreateRenderTargetViewInvalidFormat = 38, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDVIDEOPLANESLICE + CreateRenderTargetViewInvalidVideoPlaneSlice = 39, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDPLANESLICE + CreateRenderTargetViewInvalidPlaneSlice = 40, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDDIMENSIONS + CreateRenderTargetViewInvalidDimensions = 41, + /// + /// D3D12_MESSAGE_ID_CREATERENDERTARGETVIEW_INVALIDRESOURCE + CreateRenderTargetViewInvalidResource = 42, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_UNRECOGNIZEDFORMAT + CreateDepthStencilViewUnrecognizedFormat = 45, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDESC + CreateDepthStencilViewInvalidDesc = 46, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFORMAT + CreateDepthStencilViewInvalidFormat = 47, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDDIMENSIONS + CreateDepthStencilViewInvalidDimensions = 48, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDRESOURCE + CreateDepthStencilViewInvalidResource = 49, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_OUTOFMEMORY + CreateInputLayoutOutOfMemory = 52, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TOOMANYELEMENTS + CreateInputLayoutTooManyElements = 53, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDFORMAT + CreateInputLayoutInvalidFormat = 54, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INCOMPATIBLEFORMAT + CreateInputLayoutIncompatibleFormat = 55, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOT + CreateInputLayoutInvalidSlot = 56, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDINPUTSLOTCLASS + CreateInputLayoutInvalidInputSlotClass = 57, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_STEPRATESLOTCLASSMISMATCH + CreateInputLayoutStepRateSlotClassMismatch = 58, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSLOTCLASSCHANGE + CreateInputLayoutInvalidSlotClassChange = 59, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDSTEPRATECHANGE + CreateInputLayoutInvalidStepRateChange = 60, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_INVALIDALIGNMENT + CreateInputLayoutInvalidAlignment = 61, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_DUPLICATESEMANTIC + CreateInputLayoutDuplicateSemantic = 62, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE + CreateInputLayoutUnparseableInputSignature = 63, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_NULLSEMANTIC + CreateInputLayoutNullSemantic = 64, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_MISSINGELEMENT + CreateInputLayoutMissingElement = 65, + /// + /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_OUTOFMEMORY + CreateVertexShaderOutOfMemory = 66, + /// + /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERBYTECODE + CreateVertexShaderInvalidShaderBytecode = 67, + /// + /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDSHADERTYPE + CreateVertexShaderInvalidShaderType = 68, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_OUTOFMEMORY + CreateGeometryShaderOutOfMemory = 69, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERBYTECODE + CreateGeometryShaderInvalidShaderBytecode = 70, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDSHADERTYPE + CreateGeometryShaderInvalidShaderType = 71, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTOFMEMORY + CreateGeometryShaderWithStreamOutputOutOfMemory = 72, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERBYTECODE + CreateGeometryShaderWithStreamOutputInvalidShaderBytecode = 73, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE + CreateGeometryShaderWithStreamOutputInvalidShaderType = 74, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMENTRIES + CreateGeometryShaderWithStreamOutputInvalidNumEntries = 75, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSTREAMSTRIDEUNUSED + CreateGeometryShaderWithStreamOutputOutputStreamStrideUnused = 76, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_OUTPUTSLOT0EXPECTED + CreateGeometryShaderWithStreamOutputOutputSlot0Expected = 79, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSLOT + CreateGeometryShaderWithStreamOutputInvalidOutputSlot = 80, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_ONLYONEELEMENTPERSLOT + CreateGeometryShaderWithStreamOutputOnlyoneelementperslot = 81, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDCOMPONENTCOUNT + CreateGeometryShaderWithStreamOutputInvalidComponentCount = 82, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTARTCOMPONENTANDCOMPONENTCOUNT + CreateGeometryShaderWithStreamOutputInvalidStartComponentAndComponentCount = 83, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDGAPDEFINITION + CreateGeometryShaderWithStreamOutputInvalidGapDefinition = 84, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_REPEATEDOUTPUT + CreateGeometryShaderWithStreamOutputRepeatedOutput = 85, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDOUTPUTSTREAMSTRIDE + CreateGeometryShaderWithStreamOutputInvalidOutputStreamStride = 86, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGSEMANTIC + CreateGeometryShaderWithStreamOutputMissingsemantic = 87, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MASKMISMATCH + CreateGeometryShaderWithStreamOutputMaskmismatch = 88, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_CANTHAVEONLYGAPS + CreateGeometryShaderWithStreamOutputCanthaveonlygaps = 89, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DECLTOOCOMPLEX + CreateGeometryShaderWithStreamOutputDecltoocomplex = 90, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_MISSINGOUTPUTSIGNATURE + CreateGeometryShaderWithStreamOutputMissingOutputSignature = 91, + /// + /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_OUTOFMEMORY + CreatePixelShaderOutOfMemory = 92, + /// + /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERBYTECODE + CreatePixelShaderInvalidShaderBytecode = 93, + /// + /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDSHADERTYPE + CreatePixelShaderInvalidShaderType = 94, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFILLMODE + CreateRasterizerStateInvalidFillMode = 95, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDCULLMODE + CreateRasterizerStateInvalidCullMode = 96, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDDEPTHBIASCLAMP + CreateRasterizerStateInvalidDepthBiasClamp = 97, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDSLOPESCALEDDEPTHBIAS + CreateRasterizerStateInvalidSlopeScaledDepthBias = 98, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHWRITEMASK + CreateDepthStencilStateInvalidDepthWriteMask = 100, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDDEPTHFUNC + CreateDepthStencilStateInvalidDepthFunc = 101, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFAILOP + CreateDepthStencilStateInvalidFrontFaceStencilFailOp = 102, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILZFAILOP + CreateDepthStencilStateInvalidFrontFaceStencilZFailOp = 103, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILPASSOP + CreateDepthStencilStateInvalidFrontFaceStencilPassOp = 104, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDFRONTFACESTENCILFUNC + CreateDepthStencilStateInvalidFrontFaceStencilFunc = 105, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFAILOP + CreateDepthStencilStateInvalidBackFaceStencilFailOp = 106, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILZFAILOP + CreateDepthStencilStateInvalidBackFaceStencilZFailOp = 107, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILPASSOP + CreateDepthStencilStateInvalidBackFaceStencilPassOp = 108, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_INVALIDBACKFACESTENCILFUNC + CreateDepthStencilStateInvalidBackFaceStencilFunc = 109, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLEND + CreateBlendStateInvalidSrcBlend = 111, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLEND + CreateBlendStateInvalidDestBlend = 112, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOP + CreateBlendStateInvalidBlendOp = 113, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDSRCBLENDALPHA + CreateBlendStateInvalidSrcBlendAlpha = 114, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDDESTBLENDALPHA + CreateBlendStateInvalidDestBlendAlpha = 115, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDBLENDOPALPHA + CreateBlendStateInvalidBlendOpAlpha = 116, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDRENDERTARGETWRITEMASK + CreateBlendStateInvalidRenderTargetWriteMask = 117, + /// + /// D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_INVALID + ClearDepthStencilViewInvalid = 135, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_NOT_SET + CommandListDrawRootSignatureNotSet = 200, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_ROOT_SIGNATURE_MISMATCH + CommandListDrawRootSignatureMismatch = 201, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_NOT_SET + CommandListDrawVertexBufferNotSet = 202, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_STRIDE_TOO_SMALL + CommandListDrawVertexBufferStrideTooSmall = 209, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_BUFFER_TOO_SMALL + CommandListDrawVertexBufferTooSmall = 210, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_NOT_SET + CommandListDrawIndexBufferNotSet = 211, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_FORMAT_INVALID + CommandListDrawIndexBufferFormatInvalid = 212, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_BUFFER_TOO_SMALL + CommandListDrawIndexBufferTooSmall = 213, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INVALID_PRIMITIVETOPOLOGY + CommandListDrawInvalidPrimitivetopology = 219, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_VERTEX_STRIDE_UNALIGNED + CommandListDrawVertexStrideUnaligned = 221, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_INDEX_OFFSET_UNALIGNED + CommandListDrawIndexOffsetUnaligned = 222, + /// + /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_AT_FAULT + DeviceRemovalProcessAtFault = 232, + /// + /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_POSSIBLY_AT_FAULT + DeviceRemovalProcessPossiblyAtFault = 233, + /// + /// D3D12_MESSAGE_ID_DEVICE_REMOVAL_PROCESS_NOT_AT_FAULT + DeviceRemovalProcessNotAtFault = 234, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TRAILING_DIGIT_IN_SEMANTIC + CreateInputLayoutTrailingDigitInSemantic = 239, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_TRAILING_DIGIT_IN_SEMANTIC + CreateGeometryShaderWithStreamOutputTrailingDigitInSemantic = 240, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_TYPE_MISMATCH + CreateInputLayoutTypeMismatch = 245, + /// + /// D3D12_MESSAGE_ID_CREATEINPUTLAYOUT_EMPTY_LAYOUT + CreateInputLayoutEmptyLayout = 253, + /// + /// D3D12_MESSAGE_ID_LIVE_OBJECT_SUMMARY + LiveObjectSummary = 255, + /// + /// D3D12_MESSAGE_ID_LIVE_DEVICE + LiveDevice = 274, + /// + /// D3D12_MESSAGE_ID_LIVE_SWAPCHAIN + LiveSwapchain = 275, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILVIEW_INVALIDFLAGS + CreateDepthStencilViewInvalidFlags = 276, + /// + /// D3D12_MESSAGE_ID_CREATEVERTEXSHADER_INVALIDCLASSLINKAGE + CreateVertexShaderInvalidClassLinkage = 277, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADER_INVALIDCLASSLINKAGE + CreateGeometryShaderInvalidClassLinkage = 278, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAMTORASTERIZER + CreateGeometryShaderWithStreamOutputInvalidStreamToRasterizer = 280, + /// + /// D3D12_MESSAGE_ID_CREATEPIXELSHADER_INVALIDCLASSLINKAGE + CreatePixelShaderInvalidClassLinkage = 283, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDSTREAM + CreateGeometryShaderWithStreamOutputInvalidStream = 284, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDENTRIES + CreateGeometryShaderWithStreamOutputUnexpectedEntries = 285, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UNEXPECTEDSTRIDES + CreateGeometryShaderWithStreamOutputUnexpectedStrides = 286, + /// + /// D3D12_MESSAGE_ID_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_INVALIDNUMSTRIDES + CreateGeometryShaderWithStreamOutputInvalidNumStrides = 287, + /// + /// D3D12_MESSAGE_ID_CREATEHULLSHADER_OUTOFMEMORY + CreateHullShaderOutOfMemory = 289, + /// + /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERBYTECODE + CreateHullShaderInvalidShaderBytecode = 290, + /// + /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDSHADERTYPE + CreateHullShaderInvalidShaderType = 291, + /// + /// D3D12_MESSAGE_ID_CREATEHULLSHADER_INVALIDCLASSLINKAGE + CreateHullShaderInvalidClassLinkage = 292, + /// + /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_OUTOFMEMORY + CreateDomainShaderOutOfMemory = 294, + /// + /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERBYTECODE + CreateDomainShaderInvalidShaderBytecode = 295, + /// + /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDSHADERTYPE + CreateDomainShaderInvalidShaderType = 296, + /// + /// D3D12_MESSAGE_ID_CREATEDOMAINSHADER_INVALIDCLASSLINKAGE + CreateDomainShaderInvalidClassLinkage = 297, + /// + /// D3D12_MESSAGE_ID_RESOURCE_UNMAP_NOTMAPPED + ResourceUnmapNotMapped = 310, + /// + /// D3D12_MESSAGE_ID_DEVICE_CHECKFEATURESUPPORT_MISMATCHED_DATA_SIZE + DeviceCheckfeaturesupportMismatchedDataSize = 318, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_OUTOFMEMORY + CreateComputeShaderOutOfMemory = 321, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDSHADERBYTECODE + CreateComputeShaderInvalidShaderBytecode = 322, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTESHADER_INVALIDCLASSLINKAGE + CreateComputeShaderInvalidClassLinkage = 323, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateVertexShaderDoubleFloatOpsNotSupported = 331, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateHullShaderDoubleFloatOpsNotSupported = 332, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateDomainShaderDoubleFloatOpsNotSupported = 333, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateGeometryShaderDoubleFloatOpsNotSupported = 334, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputDoubleFloatOpsNotSupported = 335, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreatePixelShaderDoubleFloatOpsNotSupported = 336, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEFLOATOPSNOTSUPPORTED + DeviceCreateComputeShaderDoubleFloatOpsNotSupported = 337, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDRESOURCE + CreateUnorderedAccessViewInvalidResource = 340, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDESC + CreateUnorderedAccessViewInvalidDesc = 341, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFORMAT + CreateUnorderedAccessViewInvalidFormat = 342, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDVIDEOPLANESLICE + CreateUnorderedAccessViewInvalidVideoPlaneSlice = 343, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDPLANESLICE + CreateUnorderedAccessViewInvalidPlaneSlice = 344, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDDIMENSIONS + CreateUnorderedAccessViewInvalidDimensions = 345, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_UNRECOGNIZEDFORMAT + CreateUnorderedAccessViewUnrecognizedFormat = 346, + /// + /// D3D12_MESSAGE_ID_CREATEUNORDEREDACCESSVIEW_INVALIDFLAGS + CreateUnorderedAccessViewInvalidFlags = 354, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALIDFORCEDSAMPLECOUNT + CreateRasterizerStateInvalidforcedsamplecount = 401, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_INVALIDLOGICOPS + CreateBlendStateInvalidlogicops = 403, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateVertexShaderDoubleExtensionsNotSupported = 410, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateHullShaderDoubleExtensionsNotSupported = 412, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateDomainShaderDoubleExtensionsNotSupported = 414, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderDoubleExtensionsNotSupported = 416, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputDoubleExtensionsNotSupported = 418, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreatePixelShaderDoubleExtensionsNotSupported = 420, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_DOUBLEEXTENSIONSNOTSUPPORTED + DeviceCreateComputeShaderDoubleExtensionsNotSupported = 422, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEVERTEXSHADER_UAVSNOTSUPPORTED + DeviceCreateVertexShaderUAVsNotSupported = 425, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEHULLSHADER_UAVSNOTSUPPORTED + DeviceCreateHullShaderUAVsNotSupported = 426, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEDOMAINSHADER_UAVSNOTSUPPORTED + DeviceCreateDomainShaderUAVsNotSupported = 427, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADER_UAVSNOTSUPPORTED + DeviceCreateGeometryShaderUAVsNotSupported = 428, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEGEOMETRYSHADERWITHSTREAMOUTPUT_UAVSNOTSUPPORTED + DeviceCreateGeometryShaderWithStreamOutputUAVsNotSupported = 429, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATEPIXELSHADER_UAVSNOTSUPPORTED + DeviceCreatePixelShaderUAVsNotSupported = 430, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATECOMPUTESHADER_UAVSNOTSUPPORTED + DeviceCreateComputeShaderUAVsNotSupported = 431, + /// + /// D3D12_MESSAGE_ID_DEVICE_CLEARVIEW_INVALIDSOURCERECT + DeviceClearViewInvalidsourcerect = 447, + /// + /// D3D12_MESSAGE_ID_DEVICE_CLEARVIEW_EMPTYRECT + DeviceClearViewEmptyRect = 448, + /// + /// D3D12_MESSAGE_ID_UPDATETILEMAPPINGS_INVALID_PARAMETER + UpdateTileMappingsInvalidParameter = 493, + /// + /// D3D12_MESSAGE_ID_COPYTILEMAPPINGS_INVALID_PARAMETER + CopyTileMappingsInvalidParameter = 494, + /// + /// D3D12_MESSAGE_ID_CREATEDEVICE_INVALIDARGS + CreateDeviceInvalidArgs = 506, + /// + /// D3D12_MESSAGE_ID_CREATEDEVICE_WARNING + CreateDeviceWarning = 507, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_TYPE + ResourceBarrierInvalidType = 519, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_NULL_POINTER + ResourceBarrierNullPointer = 520, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_SUBRESOURCE + ResourceBarrierInvalidSubresource = 521, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_RESERVED_BITS + ResourceBarrierReservedBits = 522, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISSING_BIND_FLAGS + ResourceBarrierMissingBindFlags = 523, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_MISC_FLAGS + ResourceBarrierMismatchingMiscFlags = 524, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MATCHING_STATES + ResourceBarrierMatchingStates = 525, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMBINATION + ResourceBarrierInvalidCombination = 526, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH + ResourceBarrierBeforeAfterMismatch = 527, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_RESOURCE + ResourceBarrierInvalidResource = 528, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_SAMPLE_COUNT + ResourceBarrierSampleCount = 529, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAGS + ResourceBarrierInvalidFlags = 530, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMBINED_FLAGS + ResourceBarrierInvalidCombinedFlags = 531, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAGS_FOR_FORMAT + ResourceBarrierInvalidFlagsForFormat = 532, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_SPLIT_BARRIER + ResourceBarrierInvalidSplitBarrier = 533, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_UNMATCHED_END + ResourceBarrierUnmatchedEnd = 534, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_UNMATCHED_BEGIN + ResourceBarrierUnmatchedBegin = 535, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_FLAG + ResourceBarrierInvalidFlag = 536, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_COMMAND_LIST_TYPE + ResourceBarrierInvalidCommandListType = 537, + /// + /// D3D12_MESSAGE_ID_INVALID_SUBRESOURCE_STATE + InvalidSubresourceState = 538, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_CONTENTION + CommandAllocatorContention = 540, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_RESET + CommandAllocatorReset = 541, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_RESET_BUNDLE + CommandAllocatorResetBundle = 542, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_CANNOT_RESET + CommandAllocatorCannotReset = 543, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_OPEN + CommandListOpen = 544, + /// + /// D3D12_MESSAGE_ID_INVALID_BUNDLE_API + InvalidBundleApi = 546, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_CLOSED + CommandListClosed = 547, + /// + /// D3D12_MESSAGE_ID_WRONG_COMMAND_ALLOCATOR_TYPE + WrongCommandAllocatorType = 549, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_SYNC + CommandAllocatorSync = 552, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_SYNC + CommandListSync = 553, + /// + /// D3D12_MESSAGE_ID_SET_DESCRIPTOR_HEAP_INVALID + SetDescriptorHeapInvalid = 554, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDQUEUE + CreateCommandQueue = 557, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDALLOCATOR + CreateCommandAllocator = 558, + /// + /// D3D12_MESSAGE_ID_CREATE_PIPELINESTATE + CreatePipelineState = 559, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDLIST12 + CreateCommandList12 = 560, + /// + /// D3D12_MESSAGE_ID_CREATE_RESOURCE + CreateResource = 562, + /// + /// D3D12_MESSAGE_ID_CREATE_DESCRIPTORHEAP + CreateDescriptorHeap = 563, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOTSIGNATURE + CreateRootSignature = 564, + /// + /// D3D12_MESSAGE_ID_CREATE_LIBRARY + CreateLibrary = 565, + /// + /// D3D12_MESSAGE_ID_CREATE_HEAP + CreateHeap = 566, + /// + /// D3D12_MESSAGE_ID_CREATE_MONITOREDFENCE + CreateMonitoredFence = 567, + /// + /// D3D12_MESSAGE_ID_CREATE_QUERYHEAP + CreateQueryHeap = 568, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDSIGNATURE + CreateCommandSignature = 569, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDQUEUE + LiveCommandQueue = 570, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDALLOCATOR + LiveCommandAllocator = 571, + /// + /// D3D12_MESSAGE_ID_LIVE_PIPELINESTATE + LivePipelineState = 572, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDLIST12 + LiveCommandList12 = 573, + /// + /// D3D12_MESSAGE_ID_LIVE_RESOURCE + LiveResource = 575, + /// + /// D3D12_MESSAGE_ID_LIVE_DESCRIPTORHEAP + LiveDescriptorHeap = 576, + /// + /// D3D12_MESSAGE_ID_LIVE_ROOTSIGNATURE + LiveRootSignature = 577, + /// + /// D3D12_MESSAGE_ID_LIVE_LIBRARY + LiveLibrary = 578, + /// + /// D3D12_MESSAGE_ID_LIVE_HEAP + LiveHeap = 579, + /// + /// D3D12_MESSAGE_ID_LIVE_MONITOREDFENCE + LiveMonitoredFence = 580, + /// + /// D3D12_MESSAGE_ID_LIVE_QUERYHEAP + LiveQueryHeap = 581, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDSIGNATURE + LiveCommandSignature = 582, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDQUEUE + DestroyCommandQueue = 583, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDALLOCATOR + DestroyCommandAllocator = 584, + /// + /// D3D12_MESSAGE_ID_DESTROY_PIPELINESTATE + DestroyPipelineState = 585, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDLIST12 + DestroyCommandList12 = 586, + /// + /// D3D12_MESSAGE_ID_DESTROY_RESOURCE + DestroyResource = 588, + /// + /// D3D12_MESSAGE_ID_DESTROY_DESCRIPTORHEAP + DestroyDescriptorHeap = 589, + /// + /// D3D12_MESSAGE_ID_DESTROY_ROOTSIGNATURE + DestroyRootSignature = 590, + /// + /// D3D12_MESSAGE_ID_DESTROY_LIBRARY + DestroyLibrary = 591, + /// + /// D3D12_MESSAGE_ID_DESTROY_HEAP + DestroyHeap = 592, + /// + /// D3D12_MESSAGE_ID_DESTROY_MONITOREDFENCE + DestroyMonitoredFence = 593, + /// + /// D3D12_MESSAGE_ID_DESTROY_QUERYHEAP + DestroyQueryHeap = 594, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDSIGNATURE + DestroyCommandSignature = 595, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDIMENSIONS + CreateResourceInvalidDimensions = 597, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDMISCFLAGS + CreateResourceInvalidMiscFlags = 599, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDARG_RETURN + CreateResourceInvalidArgReturn = 602, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_OUTOFMEMORY_RETURN + CreateResourceOutOfMemoryReturn = 603, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDESC + CreateResourceInvalidDesc = 604, + /// + /// D3D12_MESSAGE_ID_POSSIBLY_INVALID_SUBRESOURCE_STATE + PossiblyInvalidSubresourceState = 607, + /// + /// D3D12_MESSAGE_ID_INVALID_USE_OF_NON_RESIDENT_RESOURCE + InvalidUseOfNonResidentResource = 608, + /// + /// D3D12_MESSAGE_ID_POSSIBLE_INVALID_USE_OF_NON_RESIDENT_RESOURCE + PossibleInvalidUseOfNonResidentResource = 609, + /// + /// D3D12_MESSAGE_ID_BUNDLE_PIPELINE_STATE_MISMATCH + BundlePipelineStateMismatch = 610, + /// + /// D3D12_MESSAGE_ID_PRIMITIVE_TOPOLOGY_MISMATCH_PIPELINE_STATE + PrimitiveTopologyMismatchPipelineState = 611, + /// + /// D3D12_MESSAGE_ID_RENDER_TARGET_FORMAT_MISMATCH_PIPELINE_STATE + RenderTargetFormatMismatchPipelineState = 613, + /// + /// D3D12_MESSAGE_ID_RENDER_TARGET_SAMPLE_DESC_MISMATCH_PIPELINE_STATE + RenderTargetSampleDescMismatchPipelineState = 614, + /// + /// D3D12_MESSAGE_ID_DEPTH_STENCIL_FORMAT_MISMATCH_PIPELINE_STATE + DepthStencilFormatMismatchPipelineState = 615, + /// + /// D3D12_MESSAGE_ID_DEPTH_STENCIL_SAMPLE_DESC_MISMATCH_PIPELINE_STATE + DepthStencilSampleDescMismatchPipelineState = 616, + /// + /// D3D12_MESSAGE_ID_CREATESHADER_INVALIDBYTECODE + CreateShaderInvalidBytecode = 622, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_NULLDESC + CreateHeapNullDesc = 623, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDSIZE + CreateHeapInvalidSize = 624, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDHEAPTYPE + CreateHeapUnrecognizedHeapType = 625, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDCPUPAGEPROPERTIES + CreateHeapUnrecognizedCPUPageProperties = 626, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDMEMORYPOOL + CreateHeapUnrecognizedMemoryPool = 627, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDPROPERTIES + CreateHeapInvalidProperties = 628, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDALIGNMENT + CreateHeapInvalidAlignment = 629, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_UNRECOGNIZEDMISCFLAGS + CreateHeapUnrecognizedMiscFlags = 630, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDMISCFLAGS + CreateHeapInvalidMiscFlags = 631, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_INVALIDARG_RETURN + CreateHeapInvalidArgReturn = 632, + /// + /// D3D12_MESSAGE_ID_CREATEHEAP_OUTOFMEMORY_RETURN + CreateHeapOutOfMemoryReturn = 633, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLHEAPPROPERTIES + CreateResourceAndHeapNullHeapProperties = 634, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDHEAPTYPE + CreateResourceAndHeapUnrecognizedHeapType = 635, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDCPUPAGEPROPERTIES + CreateResourceAndHeapUnrecognizedCPUPageProperties = 636, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDMEMORYPOOL + CreateResourceAndHeapUnrecognizedMemoryPool = 637, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDHEAPPROPERTIES + CreateResourceAndHeapInvalidHeapProperties = 638, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_UNRECOGNIZEDHEAPMISCFLAGS + CreateResourceAndHeapUnrecognizedHeapMiscFlags = 639, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDHEAPMISCFLAGS + CreateResourceAndHeapInvalidHeapMiscFlags = 640, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_INVALIDARG_RETURN + CreateResourceAndHeapInvalidArgReturn = 641, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_OUTOFMEMORY_RETURN + CreateResourceAndHeapOutOfMemoryReturn = 642, + /// + /// D3D12_MESSAGE_ID_GETCUSTOMHEAPPROPERTIES_UNRECOGNIZEDHEAPTYPE + GetCustomHeapPropertiesUnrecognizedHeapType = 643, + /// + /// D3D12_MESSAGE_ID_GETCUSTOMHEAPPROPERTIES_INVALIDHEAPTYPE + GetCustomHeapPropertiesInvalidHeapType = 644, + /// + /// D3D12_MESSAGE_ID_CREATE_DESCRIPTOR_HEAP_INVALID_DESC + CreateDescriptorHeapInvalidDesc = 645, + /// + /// D3D12_MESSAGE_ID_INVALID_DESCRIPTOR_HANDLE + InvalidDescriptorHandle = 646, + /// + /// D3D12_MESSAGE_ID_CREATERASTERIZERSTATE_INVALID_CONSERVATIVERASTERMODE + CreateRasterizerStateInvalidConservativeRasterMode = 647, + /// + /// D3D12_MESSAGE_ID_CREATE_CONSTANT_BUFFER_VIEW_INVALID_RESOURCE + CreateConstantBufferViewInvalidResource = 649, + /// + /// D3D12_MESSAGE_ID_CREATE_CONSTANT_BUFFER_VIEW_INVALID_DESC + CreateConstantBufferViewInvalidDesc = 650, + /// + /// D3D12_MESSAGE_ID_CREATE_UNORDEREDACCESS_VIEW_INVALID_COUNTER_USAGE + CreateUnorderedAccessViewInvalidCounterUsage = 652, + /// + /// D3D12_MESSAGE_ID_COPY_DESCRIPTORS_INVALID_RANGES + CopyDescriptorsInvalidRanges = 653, + /// + /// D3D12_MESSAGE_ID_COPY_DESCRIPTORS_WRITE_ONLY_DESCRIPTOR + CopyDescriptorsWriteOnlyDescriptor = 654, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RTV_FORMAT_NOT_UNKNOWN + CreateGraphicsPipelineStateRtvFormatNotUnknown = 655, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_RENDER_TARGET_COUNT + CreateGraphicsPipelineStateInvalidRenderTargetCount = 656, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VERTEX_SHADER_NOT_SET + CreateGraphicsPipelineStateVertexShaderNotSet = 657, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INPUTLAYOUT_NOT_SET + CreateGraphicsPipelineStateInputLayoutNotSet = 658, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_HS_DS_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateShaderLinkageHSDSSignatureMismatch = 659, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_REGISTERINDEX + CreateGraphicsPipelineStateShaderLinkageRegisterIndex = 660, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_COMPONENTTYPE + CreateGraphicsPipelineStateShaderLinkageComponentType = 661, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_REGISTERMASK + CreateGraphicsPipelineStateShaderLinkageRegisterMask = 662, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_SYSTEMVALUE + CreateGraphicsPipelineStateShaderLinkageSystemValue = 663, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_NEVERWRITTEN_ALWAYSREADS + CreateGraphicsPipelineStateShaderLinkageNeverWrittenAlwaysReads = 664, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_MINPRECISION + CreateGraphicsPipelineStateShaderLinkageMinPrecision = 665, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_LINKAGE_SEMANTICNAME_NOT_FOUND + CreateGraphicsPipelineStateShaderLinkageSemanticNameNotFound = 666, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_XOR_DS_MISMATCH + CreateGraphicsPipelineStateHSXorDSMismatch = 667, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HULL_SHADER_INPUT_TOPOLOGY_MISMATCH + CreateGraphicsPipelineStateHullShaderInputTopologyMismatch = 668, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_DS_CONTROL_POINT_COUNT_MISMATCH + CreateGraphicsPipelineStateHSDSControlPointCountMismatch = 669, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_DS_TESSELLATOR_DOMAIN_MISMATCH + CreateGraphicsPipelineStateHSDSTessellatorDomainMismatch = 670, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_USE_OF_CENTER_MULTISAMPLE_PATTERN + CreateGraphicsPipelineStateInvalidUseOfCenterMultisamplePattern = 671, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_USE_OF_FORCED_SAMPLE_COUNT + CreateGraphicsPipelineStateInvalidUseOfForcedSampleCount = 672, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_PRIMITIVETOPOLOGY + CreateGraphicsPipelineStateInvalidPrimitivetopology = 673, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_SYSTEMVALUE + CreateGraphicsPipelineStateInvalidSystemValue = 674, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_DUAL_SOURCE_BLENDING_CAN_ONLY_HAVE_RENDER_TARGET_0 + CreateGraphicsPipelineStateOMDualSourceBlendingCanOnlyHaveRenderTarget0 = 675, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_RENDER_TARGET_DOES_NOT_SUPPORT_BLENDING + CreateGraphicsPipelineStateOMRenderTargetDoesNotSupportBlending = 676, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_TYPE_MISMATCH + CreateGraphicsPipelineStatePSOutputTypeMismatch = 677, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_OM_RENDER_TARGET_DOES_NOT_SUPPORT_LOGIC_OPS + CreateGraphicsPipelineStateOMRenderTargetDoesNotSupportLogicOps = 678, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RENDERTARGETVIEW_NOT_SET + CreateGraphicsPipelineStateRenderTargetViewNotSet = 679, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_DEPTHSTENCILVIEW_NOT_SET + CreateGraphicsPipelineStateDepthStencilViewNotSet = 680, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_GS_INPUT_PRIMITIVE_MISMATCH + CreateGraphicsPipelineStateGSInputPrimitiveMismatch = 681, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_POSITION_NOT_PRESENT + CreateGraphicsPipelineStatePositionNotPresent = 682, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MISSING_ROOT_SIGNATURE_FLAGS + CreateGraphicsPipelineStateMissingRootSignatureFlags = 683, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_INDEX_BUFFER_PROPERTIES + CreateGraphicsPipelineStateInvalidIndexBufferProperties = 684, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INVALID_SAMPLE_DESC + CreateGraphicsPipelineStateInvalidSampleDesc = 685, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_HS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateHSRootSignatureMismatch = 686, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_DS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateDSRootSignatureMismatch = 687, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateVSRootSignatureMismatch = 688, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_GS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateGSRootSignatureMismatch = 689, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStatePSRootSignatureMismatch = 690, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MISSING_ROOT_SIGNATURE + CreateGraphicsPipelineStateMissingRootSignature = 691, + /// + /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_OPEN_BUNDLE + ExecuteBundleOpenBundle = 692, + /// + /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_DESCRIPTOR_HEAP_MISMATCH + ExecuteBundleDescriptorHeapMismatch = 693, + /// + /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_TYPE + ExecuteBundleType = 694, + /// + /// D3D12_MESSAGE_ID_DRAW_EMPTY_SCISSOR_RECTANGLE + DrawEmptyScissorRectangle = 695, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_BLOB_NOT_FOUND + CreateRootSignatureBlobNotFound = 696, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_DESERIALIZE_FAILED + CreateRootSignatureDeserializeFailed = 697, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_INVALID_CONFIGURATION + CreateRootSignatureInvalidConfiguration = 698, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_NOT_SUPPORTED_ON_DEVICE + CreateRootSignatureNotSupportedOnDevice = 699, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLRESOURCEPROPERTIES + CreateResourceAndHeapNullresourceproperties = 700, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCEANDHEAP_NULLHEAP + CreateResourceAndHeapNullheap = 701, + /// + /// D3D12_MESSAGE_ID_GETRESOURCEALLOCATIONINFO_INVALIDRDESCS + GetResourceAllocationInfoInvalidrdescs = 702, + /// + /// D3D12_MESSAGE_ID_MAKERESIDENT_NULLOBJECTARRAY + MakeResidentNullObjectArray = 703, + /// + /// D3D12_MESSAGE_ID_EVICT_NULLOBJECTARRAY + EvictNullObjectArray = 705, + /// + /// D3D12_MESSAGE_ID_SET_DESCRIPTOR_TABLE_INVALID + SetDescriptorTableInvalid = 708, + /// + /// D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_INVALID + SetRootConstantInvalid = 709, + /// + /// D3D12_MESSAGE_ID_SET_ROOT_CONSTANT_BUFFER_VIEW_INVALID + SetRootConstantBufferViewInvalid = 710, + /// + /// D3D12_MESSAGE_ID_SET_ROOT_SHADER_RESOURCE_VIEW_INVALID + SetRootShaderResourceViewInvalid = 711, + /// + /// D3D12_MESSAGE_ID_SET_ROOT_UNORDERED_ACCESS_VIEW_INVALID + SetRootUnorderedAccessViewInvalid = 712, + /// + /// D3D12_MESSAGE_ID_SET_VERTEX_BUFFERS_INVALID_DESC + SetVertexBuffersInvalidDesc = 713, + /// + /// D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID_DESC + SetIndexBufferInvalidDesc = 715, + /// + /// D3D12_MESSAGE_ID_SET_STREAM_OUTPUT_BUFFERS_INVALID_DESC + SetStreamOutputBuffersInvalidDesc = 717, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDDIMENSIONALITY + CreateResourceUnrecognizeddimensionality = 718, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDLAYOUT + CreateResourceUnrecognizedlayout = 719, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDDIMENSIONALITY + CreateResourceInvalidDimensionality = 720, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDALIGNMENT + CreateResourceInvalidAlignment = 721, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDMIPLEVELS + CreateResourceInvalidMipLevels = 722, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDSAMPLEDESC + CreateResourceInvalidSampleDesc = 723, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDLAYOUT + CreateResourceInvalidlayout = 724, + /// + /// D3D12_MESSAGE_ID_SET_INDEX_BUFFER_INVALID + SetIndexBufferInvalid = 725, + /// + /// D3D12_MESSAGE_ID_SET_VERTEX_BUFFERS_INVALID + SetVertexBuffersInvalid = 726, + /// + /// D3D12_MESSAGE_ID_SET_STREAM_OUTPUT_BUFFERS_INVALID + SetStreamOutputBuffersInvalid = 727, + /// + /// D3D12_MESSAGE_ID_SET_RENDER_TARGETS_INVALID + SetRenderTargetsInvalid = 728, + /// + /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_INVALID_PARAMETERS + CreateQueryHeapInvalidParameters = 729, + /// + /// D3D12_MESSAGE_ID_BEGIN_END_QUERY_INVALID_PARAMETERS + BeginEndQueryInvalidParameters = 731, + /// + /// D3D12_MESSAGE_ID_CLOSE_COMMAND_LIST_OPEN_QUERY + CloseCommandListOpenQuery = 732, + /// + /// D3D12_MESSAGE_ID_RESOLVE_QUERY_DATA_INVALID_PARAMETERS + ResolveQueryDataInvalidParameters = 733, + /// + /// D3D12_MESSAGE_ID_SET_PREDICATION_INVALID_PARAMETERS + SetPredicationInvalidParameters = 734, + /// + /// D3D12_MESSAGE_ID_TIMESTAMPS_NOT_SUPPORTED + TimestampsNotSupported = 735, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDFORMAT + CreateResourceUnrecognizedFormat = 737, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDFORMAT + CreateResourceInvalidFormat = 738, + /// + /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDSUBRESOURCERANGE + GetCopyableFootprintsInvalidSubresourceRange = 739, + /// + /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_INVALIDBASEOFFSET + GetCopyableFootprintsInvalidBaseOffset = 740, + /// + /// D3D12_MESSAGE_ID_GETCOPYABLELAYOUT_INVALIDSUBRESOURCERANGE + GetCopyableLayoutInvalidSubresourceRange = 739, + /// + /// D3D12_MESSAGE_ID_GETCOPYABLELAYOUT_INVALIDBASEOFFSET + GetCopyableLayoutInvalidBaseOffset = 740, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_INVALID_HEAP + ResourceBarrierInvalidHeap = 741, + /// + /// D3D12_MESSAGE_ID_CREATE_SAMPLER_INVALID + CreateSamplerInvalid = 742, + /// + /// D3D12_MESSAGE_ID_CREATECOMMANDSIGNATURE_INVALID + CreateCommandSignatureInvalid = 743, + /// + /// D3D12_MESSAGE_ID_EXECUTE_INDIRECT_INVALID_PARAMETERS + ExecuteIndirectInvalidParameters = 744, + /// + /// D3D12_MESSAGE_ID_GETGPUVIRTUALADDRESS_INVALID_RESOURCE_DIMENSION + GetGPUVirtualAddressInvalidResourceDimension = 745, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDCLEARVALUE + CreateResourceInvalidClearValue = 815, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_UNRECOGNIZEDCLEARVALUEFORMAT + CreateResourceUnrecognizedClearValueFormat = 816, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_INVALIDCLEARVALUEFORMAT + CreateResourceInvalidClearValueFormat = 817, + /// + /// D3D12_MESSAGE_ID_CREATERESOURCE_CLEARVALUEDENORMFLUSH + CreateResourceClearValueDenormFlush = 818, + /// + /// D3D12_MESSAGE_ID_CLEARRENDERTARGETVIEW_MISMATCHINGCLEARVALUE + ClearRenderTargetViewMismatchingClearValue = 820, + /// + /// D3D12_MESSAGE_ID_CLEARDEPTHSTENCILVIEW_MISMATCHINGCLEARVALUE + ClearDepthStencilViewMismatchingClearValue = 821, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDHEAP + MapInvalidHeap = 822, + /// + /// D3D12_MESSAGE_ID_UNMAP_INVALIDHEAP + UnmapInvalidHeap = 823, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDRESOURCE + MapInvalidResource = 824, + /// + /// D3D12_MESSAGE_ID_UNMAP_INVALIDRESOURCE + UnmapInvalidResource = 825, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDSUBRESOURCE + MapInvalidSubresource = 826, + /// + /// D3D12_MESSAGE_ID_UNMAP_INVALIDSUBRESOURCE + UnmapInvalidSubresource = 827, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDRANGE + MapInvalidRange = 828, + /// + /// D3D12_MESSAGE_ID_UNMAP_INVALIDRANGE + UnmapInvalidRange = 829, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDDATAPOINTER + MapInvaliddatapointer = 832, + /// + /// D3D12_MESSAGE_ID_MAP_INVALIDARG_RETURN + MapInvalidArgReturn = 833, + /// + /// D3D12_MESSAGE_ID_MAP_OUTOFMEMORY_RETURN + MapOutOfMemoryReturn = 834, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_BUNDLENOTSUPPORTED + ExecuteCommandListsBundleNotSupported = 835, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_COMMANDLISTMISMATCH + ExecuteCommandListsCommandListMismatch = 836, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_OPENCOMMANDLIST + ExecuteCommandListsOpenCommandList = 837, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_FAILEDCOMMANDLIST + ExecuteCommandListsFailedCommandList = 838, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_NULLDST + CopyBufferRegionNullDst = 839, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDDSTRESOURCEDIMENSION + CopyBufferRegionInvalidDstResourceDimension = 840, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_DSTRANGEOUTOFBOUNDS + CopyBufferRegionDstRangeOutOfBounds = 841, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_NULLSRC + CopyBufferRegionNullSrc = 842, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDSRCRESOURCEDIMENSION + CopyBufferRegionInvalidSrcResourceDimension = 843, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_SRCRANGEOUTOFBOUNDS + CopyBufferRegionSrcRangeOutOfBounds = 844, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALIDCOPYFLAGS + CopyBufferRegionInvalidCopyFlags = 845, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_NULLDST + CopyTextureRegionNullDst = 846, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDDSTTYPE + CopyTextureRegionUnrecognizedDstType = 847, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTRESOURCEDIMENSION + CopyTextureRegionInvalidDstResourceDimension = 848, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTRESOURCE + CopyTextureRegionInvalidDstResource = 849, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTSUBRESOURCE + CopyTextureRegionInvalidDstSubresource = 850, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTOFFSET + CopyTextureRegionInvalidDstOffset = 851, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDDSTFORMAT + CopyTextureRegionUnrecognizeddstformat = 852, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTFORMAT + CopyTextureRegionInvalidDstFormat = 853, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTDIMENSIONS + CopyTextureRegionInvaliddstdimensions = 854, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTROWPITCH + CopyTextureRegionInvaliddstrowpitch = 855, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTPLACEMENT + CopyTextureRegionInvaliddstplacement = 856, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTDSPLACEDFOOTPRINTFORMAT + CopyTextureRegionInvaliddstdsplacedfootprintformat = 857, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_DSTREGIONOUTOFBOUNDS + CopyTextureRegionDstregionoutofbounds = 858, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_NULLSRC + CopyTextureRegionNullSrc = 859, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDSRCTYPE + CopyTextureRegionUnrecognizedsrctype = 860, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCRESOURCEDIMENSION + CopyTextureRegionInvalidSrcResourceDimension = 861, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCRESOURCE + CopyTextureRegionInvalidsrcresource = 862, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCSUBRESOURCE + CopyTextureRegionInvalidsrcsubresource = 863, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCOFFSET + CopyTextureRegionInvalidsrcoffset = 864, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_UNRECOGNIZEDSRCFORMAT + CopyTextureRegionUnrecognizedsrcformat = 865, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCFORMAT + CopyTextureRegionInvalidsrcformat = 866, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCDIMENSIONS + CopyTextureRegionInvalidsrcdimensions = 867, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCROWPITCH + CopyTextureRegionInvalidsrcrowpitch = 868, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCPLACEMENT + CopyTextureRegionInvalidsrcplacement = 869, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCDSPLACEDFOOTPRINTFORMAT + CopyTextureRegionInvalidsrcdsplacedfootprintformat = 870, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_SRCREGIONOUTOFBOUNDS + CopyTextureRegionSrcregionoutofbounds = 871, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDDSTCOORDINATES + CopyTextureRegionInvaliddstcoordinates = 872, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDSRCBOX + CopyTextureRegionInvalidsrcbox = 873, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_FORMATMISMATCH + CopyTextureRegionFormatMismatch = 874, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_EMPTYBOX + CopyTextureRegionEmptyBox = 875, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_INVALIDCOPYFLAGS + CopyTextureRegionInvalidCopyFlags = 876, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_SUBRESOURCE_INDEX + ResolveSubresourceInvalidSubresourceIndex = 877, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_FORMAT + ResolveSubresourceInvalidFormat = 878, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_RESOURCE_MISMATCH + ResolveSubresourceResourceMismatch = 879, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALID_SAMPLE_COUNT + ResolveSubresourceInvalidSampleCount = 880, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_INVALID_SHADER + CreateComputePipelineStateInvalidShader = 881, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_CS_ROOT_SIGNATURE_MISMATCH + CreateComputePipelineStateCSRootSignatureMismatch = 882, + /// + /// D3D12_MESSAGE_ID_CREATECOMPUTEPIPELINESTATE_MISSING_ROOT_SIGNATURE + CreateComputePipelineStateMissingRootSignature = 883, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALIDCACHEDBLOB + CreatePipelineStateInvalidCachedBlob = 884, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBADAPTERMISMATCH + CreatePipelineStateCachedblobadaptermismatch = 885, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBDRIVERVERSIONMISMATCH + CreatePipelineStateCachedBlobDriverVersionMismatch = 886, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBDESCMISMATCH + CreatePipelineStateCachedBlobDescMismatch = 887, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CACHEDBLOBIGNORED + CreatePipelineStateCachedBlobIgnored = 888, + /// + /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDHEAP + WriteToSubresourceInvalidHeap = 889, + /// + /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDRESOURCE + WriteToSubresourceInvalidResource = 890, + /// + /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDBOX + WriteToSubresourceInvalidBox = 891, + /// + /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_INVALIDSUBRESOURCE + WriteToSubresourceInvalidSubresource = 892, + /// + /// D3D12_MESSAGE_ID_WRITETOSUBRESOURCE_EMPTYBOX + WriteToSubresourceEmptyBox = 893, + /// + /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDHEAP + ReadFromSubresourceInvalidHeap = 894, + /// + /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDRESOURCE + ReadFromSubresourceInvalidResource = 895, + /// + /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDBOX + ReadFromSubresourceInvalidBox = 896, + /// + /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_INVALIDSUBRESOURCE + ReadFromSubresourceInvalidSubresource = 897, + /// + /// D3D12_MESSAGE_ID_READFROMSUBRESOURCE_EMPTYBOX + ReadFromSubresourceEmptyBox = 898, + /// + /// D3D12_MESSAGE_ID_TOO_MANY_NODES_SPECIFIED + TooManyNodesSpecified = 899, + /// + /// D3D12_MESSAGE_ID_INVALID_NODE_INDEX + InvalidNodeIndex = 900, + /// + /// D3D12_MESSAGE_ID_GETHEAPPROPERTIES_INVALIDRESOURCE + GetheappropertiesInvalidResource = 901, + /// + /// D3D12_MESSAGE_ID_NODE_MASK_MISMATCH + NodeMaskMismatch = 902, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_OUTOFMEMORY + CommandListOutOfMemory = 903, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_MULTIPLE_SWAPCHAIN_BUFFER_REFERENCES + CommandListMultipleSwapchainBufferReferences = 904, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_TOO_MANY_SWAPCHAIN_REFERENCES + CommandListTooManySwapchainReferences = 905, + /// + /// D3D12_MESSAGE_ID_COMMAND_QUEUE_TOO_MANY_SWAPCHAIN_REFERENCES + CommandQueueTooManySwapchainReferences = 906, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_WRONGSWAPCHAINBUFFERREFERENCE + ExecuteCommandListsWrongSwapchainBufferReference = 907, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_SETRENDERTARGETS_INVALIDNUMRENDERTARGETS + CommandListSetRenderTargetsInvalidNumRenderTargets = 908, + /// + /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_TYPE + CreateQueueInvalidType = 909, + /// + /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_FLAGS + CreateQueueInvalidFlags = 910, + /// + /// D3D12_MESSAGE_ID_CREATESHAREDRESOURCE_INVALIDFLAGS + CreateSharedResourceInvalidFlags = 911, + /// + /// D3D12_MESSAGE_ID_CREATESHAREDRESOURCE_INVALIDFORMAT + CreateSharedResourceInvalidFormat = 912, + /// + /// D3D12_MESSAGE_ID_CREATESHAREDHEAP_INVALIDFLAGS + CreatesharedheapInvalidFlags = 913, + /// + /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_UNRECOGNIZEDPROPERTIES + ReflectsharedpropertiesUnrecognizedproperties = 914, + /// + /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDSIZE + ReflectsharedpropertiesInvalidSize = 915, + /// + /// D3D12_MESSAGE_ID_REFLECTSHAREDPROPERTIES_INVALIDOBJECT + ReflectsharedpropertiesInvalidobject = 916, + /// + /// D3D12_MESSAGE_ID_KEYEDMUTEX_INVALIDOBJECT + KeyedMutexInvalidobject = 917, + /// + /// D3D12_MESSAGE_ID_KEYEDMUTEX_INVALIDKEY + KeyedMutexInvalidkey = 918, + /// + /// D3D12_MESSAGE_ID_KEYEDMUTEX_WRONGSTATE + KeyedMutexWrongstate = 919, + /// + /// D3D12_MESSAGE_ID_CREATE_QUEUE_INVALID_PRIORITY + CreateQueueInvalidPriority = 920, + /// + /// D3D12_MESSAGE_ID_OBJECT_DELETED_WHILE_STILL_IN_USE + ObjectDeletedWhileStillInUse = 921, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALID_FLAGS + CreatePipelineStateInvalidFlags = 922, + /// + /// D3D12_MESSAGE_ID_HEAP_ADDRESS_RANGE_HAS_NO_RESOURCE + HeapAddressRangeHasNoResource = 923, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DRAW_RENDER_TARGET_DELETED + CommandListDrawRenderTargetDeleted = 924, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_ALL_RENDER_TARGETS_HAVE_UNKNOWN_FORMAT + CreateGraphicsPipelineStateAllRenderTargetsHaveUnknownFormat = 925, + /// + /// D3D12_MESSAGE_ID_HEAP_ADDRESS_RANGE_INTERSECTS_MULTIPLE_BUFFERS + HeapAddressRangeIntersectsMultipleBuffers = 926, + /// + /// D3D12_MESSAGE_ID_EXECUTECOMMANDLISTS_GPU_WRITTEN_READBACK_RESOURCE_MAPPED + ExecuteCommandListsGpuWrittenReadbackResourceMapped = 927, + /// + /// D3D12_MESSAGE_ID_UNMAP_RANGE_NOT_EMPTY + UnmapRangeNotEmpty = 929, + /// + /// D3D12_MESSAGE_ID_MAP_INVALID_NULLRANGE + MapInvalidNullrange = 930, + /// + /// D3D12_MESSAGE_ID_UNMAP_INVALID_NULLRANGE + UnmapInvalidNullrange = 931, + /// + /// D3D12_MESSAGE_ID_NO_GRAPHICS_API_SUPPORT + NoGraphicsApiSupport = 932, + /// + /// D3D12_MESSAGE_ID_NO_COMPUTE_API_SUPPORT + NoComputeApiSupport = 933, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_RESOURCE_FLAGS_NOT_SUPPORTED + ResolveSubresourceResourceFlagsNotSupported = 934, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_ROOT_ARGUMENT_UNINITIALIZED + GpuBasedValidationRootArgumentUninitialized = 935, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_HEAP_INDEX_OUT_OF_BOUNDS + GpuBasedValidationDescriptorHeapIndexOutOfBounds = 936, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TABLE_REGISTER_INDEX_OUT_OF_BOUNDS + GpuBasedValidationDescriptorTableRegisterIndexOutOfBounds = 937, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_UNINITIALIZED + GpuBasedValidationDescriptorUninitialized = 938, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_DESCRIPTOR_TYPE_MISMATCH + GpuBasedValidationDescriptorTypeMismatch = 939, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_SRV_RESOURCE_DIMENSION_MISMATCH + GpuBasedValidationSrvResourceDimensionMismatch = 940, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UAV_RESOURCE_DIMENSION_MISMATCH + GpuBasedValidationUavResourceDimensionMismatch = 941, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_INCOMPATIBLE_RESOURCE_STATE + GpuBasedValidationIncompatibleResourceState = 942, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_NULLDST + CopyResourceNullDst = 943, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_INVALIDDSTRESOURCE + CopyResourceInvalidDstResource = 944, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_NULLSRC + CopyResourceNullSrc = 945, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_INVALIDSRCRESOURCE + CopyResourceInvalidsrcresource = 946, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_NULLDST + ResolveSubresourceNullDst = 947, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALIDDSTRESOURCE + ResolveSubresourceInvalidDstResource = 948, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_NULLSRC + ResolveSubresourceNullSrc = 949, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_INVALIDSRCRESOURCE + ResolveSubresourceInvalidsrcresource = 950, + /// + /// D3D12_MESSAGE_ID_PIPELINE_STATE_TYPE_MISMATCH + PipelineStateTypeMismatch = 951, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DISPATCH_ROOT_SIGNATURE_NOT_SET + CommandListDispatchRootSignatureNotSet = 952, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DISPATCH_ROOT_SIGNATURE_MISMATCH + CommandListDispatchRootSignatureMismatch = 953, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_ZERO_BARRIERS + ResourceBarrierZeroBarriers = 954, + /// + /// D3D12_MESSAGE_ID_BEGIN_END_EVENT_MISMATCH + BeginEndEventMismatch = 955, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_POSSIBLE_BEFORE_AFTER_MISMATCH + ResourceBarrierPossibleBeforeAfterMismatch = 956, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_BEGIN_END + ResourceBarrierMismatchingBeginEnd = 957, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_INVALID_RESOURCE + GpuBasedValidationInvalidResource = 958, + /// + /// D3D12_MESSAGE_ID_USE_OF_ZERO_REFCOUNT_OBJECT + UseOfZeroRefcountObject = 959, + /// + /// D3D12_MESSAGE_ID_OBJECT_EVICTED_WHILE_STILL_IN_USE + ObjectEvictedWhileStillInUse = 960, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_ROOT_DESCRIPTOR_ACCESS_OUT_OF_BOUNDS + GpuBasedValidationRootDescriptorAccessOutOfBounds = 961, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_INVALIDLIBRARYBLOB + CreatepipelinelibraryInvalidlibraryblob = 962, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_DRIVERVERSIONMISMATCH + CreatepipelinelibraryDriverversionmismatch = 963, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_ADAPTERVERSIONMISMATCH + CreatepipelinelibraryAdapterversionmismatch = 964, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINELIBRARY_UNSUPPORTED + CreatepipelinelibraryUnsupported = 965, + /// + /// D3D12_MESSAGE_ID_CREATE_PIPELINELIBRARY + CreatePipelinelibrary = 966, + /// + /// D3D12_MESSAGE_ID_LIVE_PIPELINELIBRARY + LivePipelinelibrary = 967, + /// + /// D3D12_MESSAGE_ID_DESTROY_PIPELINELIBRARY + DestroyPipelinelibrary = 968, + /// + /// D3D12_MESSAGE_ID_STOREPIPELINE_NONAME + StorepipelineNoname = 969, + /// + /// D3D12_MESSAGE_ID_STOREPIPELINE_DUPLICATENAME + StorepipelineDuplicatename = 970, + /// + /// D3D12_MESSAGE_ID_LOADPIPELINE_NAMENOTFOUND + LoadpipelineNamenotfound = 971, + /// + /// D3D12_MESSAGE_ID_LOADPIPELINE_INVALIDDESC + LoadpipelineInvalidDesc = 972, + /// + /// D3D12_MESSAGE_ID_PIPELINELIBRARY_SERIALIZE_NOTENOUGHMEMORY + PipelinelibrarySerializeNotenoughmemory = 973, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_PS_OUTPUT_RT_OUTPUT_MISMATCH + CreateGraphicsPipelineStatePSOutputRtOutputMismatch = 974, + /// + /// D3D12_MESSAGE_ID_SETEVENTONMULTIPLEFENCECOMPLETION_INVALIDFLAGS + SeteventonmultiplefencecompletionInvalidFlags = 975, + /// + /// D3D12_MESSAGE_ID_CREATE_QUEUE_VIDEO_NOT_SUPPORTED + CreateQueueVideoNotSupported = 976, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_ALLOCATOR_VIDEO_NOT_SUPPORTED + CreateCommandAllocatorVideoNotSupported = 977, + /// + /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_VIDEO_DECODE_STATISTICS_NOT_SUPPORTED + CreateQueryHeapVideoDecodeStatisticsNotSupported = 978, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEODECODECOMMANDLIST + CreateVideodecodecommandlist = 979, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEODECODER + CreateVideoDecoder = 980, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEODECODESTREAM + CreateVideodecodestream = 981, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEODECODECOMMANDLIST + LiveVideodecodecommandlist = 982, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEODECODER + LiveVideoDecoder = 983, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEODECODESTREAM + LiveVideodecodestream = 984, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODECOMMANDLIST + DestroyVideodecodecommandlist = 985, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODER + DestroyVideoDecoder = 986, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODESTREAM + DestroyVideodecodestream = 987, + /// + /// D3D12_MESSAGE_ID_DECODE_FRAME_INVALID_PARAMETERS + DecodeFrameInvalidParameters = 988, + /// + /// D3D12_MESSAGE_ID_DEPRECATED_API + DeprecatedApi = 989, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_MISMATCHING_COMMAND_LIST_TYPE + ResourceBarrierMismatchingCommandListType = 990, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_DESCRIPTOR_TABLE_NOT_SET + CommandListDescriptorTableNotSet = 991, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_CONSTANT_BUFFER_VIEW_NOT_SET + CommandListRootConstantBufferViewNotSet = 992, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_SHADER_RESOURCE_VIEW_NOT_SET + CommandListRootShaderResourceViewNotSet = 993, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_ROOT_UNORDERED_ACCESS_VIEW_NOT_SET + CommandListRootUnorderedAccessViewNotSet = 994, + /// + /// D3D12_MESSAGE_ID_DISCARD_INVALID_SUBRESOURCE_RANGE + DiscardInvalidSubresourceRange = 995, + /// + /// D3D12_MESSAGE_ID_DISCARD_ONE_SUBRESOURCE_FOR_MIPS_WITH_RECTS + DiscardOneSubresourceForMipsWithRects = 996, + /// + /// D3D12_MESSAGE_ID_DISCARD_NO_RECTS_FOR_NON_TEXTURE2D + DiscardNoRectsForNonTexture2D = 997, + /// + /// D3D12_MESSAGE_ID_COPY_ON_SAME_SUBRESOURCE + CopyOnSameSubresource = 998, + /// + /// D3D12_MESSAGE_ID_SETRESIDENCYPRIORITY_INVALID_PAGEABLE + SetresidencypriorityInvalidPageable = 999, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_UNSUPPORTED + GpuBasedValidationUnsupported = 1000, + /// + /// D3D12_MESSAGE_ID_STATIC_DESCRIPTOR_INVALID_DESCRIPTOR_CHANGE + StaticDescriptorInvalidDescriptorChange = 1001, + /// + /// D3D12_MESSAGE_ID_DATA_STATIC_DESCRIPTOR_INVALID_DATA_CHANGE + DataStaticDescriptorInvalidDataChange = 1002, + /// + /// D3D12_MESSAGE_ID_DATA_STATIC_WHILE_SET_AT_EXECUTE_DESCRIPTOR_INVALID_DATA_CHANGE + DataStaticWhileSetAtExecuteDescriptorInvalidDataChange = 1003, + /// + /// D3D12_MESSAGE_ID_EXECUTE_BUNDLE_STATIC_DESCRIPTOR_DATA_STATIC_NOT_SET + ExecuteBundleStaticDescriptorDataStaticNotSet = 1004, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_RESOURCE_ACCESS_OUT_OF_BOUNDS + GpuBasedValidationResourceAccessOutOfBounds = 1005, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_SAMPLER_MODE_MISMATCH + GpuBasedValidationSamplerModeMismatch = 1006, + /// + /// D3D12_MESSAGE_ID_CREATE_FENCE_INVALID_FLAGS + CreateFenceInvalidFlags = 1007, + /// + /// D3D12_MESSAGE_ID_RESOURCE_BARRIER_DUPLICATE_SUBRESOURCE_TRANSITIONS + ResourceBarrierDuplicateSubresourceTransitions = 1008, + /// + /// D3D12_MESSAGE_ID_SETRESIDENCYPRIORITY_INVALID_PRIORITY + SetresidencypriorityInvalidPriority = 1009, + /// + /// D3D12_MESSAGE_ID_CREATE_DESCRIPTOR_HEAP_LARGE_NUM_DESCRIPTORS + CreateDescriptorHeapLargeNumDescriptors = 1013, + /// + /// D3D12_MESSAGE_ID_BEGIN_EVENT + BeginEvent = 1014, + /// + /// D3D12_MESSAGE_ID_END_EVENT + EndEvent = 1015, + /// + /// D3D12_MESSAGE_ID_CREATEDEVICE_DEBUG_LAYER_STARTUP_OPTIONS + CreateDeviceDebugLayerStartupOptions = 1016, + /// + /// D3D12_MESSAGE_ID_CREATEDEPTHSTENCILSTATE_DEPTHBOUNDSTEST_UNSUPPORTED + CreateDepthStencilStateDepthboundstestUnsupported = 1017, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_DUPLICATE_SUBOBJECT + CreatePipelineStateDuplicateSubObject = 1018, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_UNKNOWN_SUBOBJECT + CreatePipelineStateUnknownSubObject = 1019, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_ZERO_SIZE_STREAM + CreatePipelineStateZeroSizeStream = 1020, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_INVALID_STREAM + CreatePipelineStateInvalidStream = 1021, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_CANNOT_DEDUCE_TYPE + CreatePipelineStateCannotDeduceType = 1022, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_STATIC_DESCRIPTOR_RESOURCE_DIMENSION_MISMATCH + CommandListStaticDescriptorResourceDimensionMismatch = 1023, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_QUEUE_INSUFFICIENT_PRIVILEGE_FOR_GLOBAL_REALTIME + CreateCommandQueueInsufficientPrivilegeForGlobalRealtime = 1024, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_QUEUE_INSUFFICIENT_HARDWARE_SUPPORT_FOR_GLOBAL_REALTIME + CreateCommandQueueInsufficientHardwareSupportForGlobalRealtime = 1025, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_ARCHITECTURE + AtomiccopybufferInvalidArchitecture = 1026, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DST + AtomiccopybufferNullDst = 1027, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DST_RESOURCE_DIMENSION + AtomiccopybufferInvalidDstResourceDimension = 1028, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DST_RANGE_OUT_OF_BOUNDS + AtomiccopybufferDstRangeOutOfBounds = 1029, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_SRC + AtomiccopybufferNullSrc = 1030, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_SRC_RESOURCE_DIMENSION + AtomiccopybufferInvalidSrcResourceDimension = 1031, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_SRC_RANGE_OUT_OF_BOUNDS + AtomiccopybufferSrcRangeOutOfBounds = 1032, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_OFFSET_ALIGNMENT + AtomiccopybufferInvalidOffsetAlignment = 1033, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DEPENDENT_RESOURCES + AtomiccopybufferNullDependentResources = 1034, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_NULL_DEPENDENT_SUBRESOURCE_RANGES + AtomiccopybufferNullDependentSubresourceRanges = 1035, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DEPENDENT_RESOURCE + AtomiccopybufferInvalidDependentResource = 1036, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DEPENDENT_SUBRESOURCE_RANGE + AtomiccopybufferInvalidDependentSubresourceRange = 1037, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DEPENDENT_SUBRESOURCE_OUT_OF_BOUNDS + AtomiccopybufferDependentSubresourceOutOfBounds = 1038, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_DEPENDENT_RANGE_OUT_OF_BOUNDS + AtomiccopybufferDependentRangeOutOfBounds = 1039, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_ZERO_DEPENDENCIES + AtomiccopybufferZeroDependencies = 1040, + /// + /// D3D12_MESSAGE_ID_DEVICE_CREATE_SHARED_HANDLE_INVALIDARG + DeviceCreateSharedHandleInvalidArg = 1041, + /// + /// D3D12_MESSAGE_ID_DESCRIPTOR_HANDLE_WITH_INVALID_RESOURCE + DescriptorHandleWithInvalidResource = 1042, + /// + /// D3D12_MESSAGE_ID_SETDEPTHBOUNDS_INVALIDARGS + SetdepthboundsInvalidArgs = 1043, + /// + /// D3D12_MESSAGE_ID_GPU_BASED_VALIDATION_RESOURCE_STATE_IMPRECISE + GpuBasedValidationResourceStateImprecise = 1044, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_PIPELINE_STATE_NOT_SET + CommandListPipelineStateNotSet = 1045, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_SHADER_MODEL_MISMATCH + CreateGraphicsPipelineStateShaderModelMismatch = 1046, + /// + /// D3D12_MESSAGE_ID_OBJECT_ACCESSED_WHILE_STILL_IN_USE + ObjectAccessedWhileStillInUse = 1047, + /// + /// D3D12_MESSAGE_ID_PROGRAMMABLE_MSAA_UNSUPPORTED + ProgrammableMsaaUnsupported = 1048, + /// + /// D3D12_MESSAGE_ID_SETSAMPLEPOSITIONS_INVALIDARGS + SetsamplepositionsInvalidArgs = 1049, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCEREGION_INVALID_RECT + ResolveSubresourceRegionInvalidRect = 1050, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEODECODECOMMANDQUEUE + CreateVideodecodecommandqueue = 1051, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSCOMMANDLIST + CreateVideoprocesscommandlist = 1052, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSCOMMANDQUEUE + CreateVideoprocesscommandqueue = 1053, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEODECODECOMMANDQUEUE + LiveVideodecodecommandqueue = 1054, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSCOMMANDLIST + LiveVideoprocesscommandlist = 1055, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSCOMMANDQUEUE + LiveVideoprocesscommandqueue = 1056, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODECOMMANDQUEUE + DestroyVideodecodecommandqueue = 1057, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSCOMMANDLIST + DestroyVideoprocesscommandlist = 1058, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSCOMMANDQUEUE + DestroyVideoprocesscommandqueue = 1059, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSOR + CreateVideoProcessor = 1060, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOPROCESSSTREAM + CreateVideoprocessstream = 1061, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSOR + LiveVideoProcessor = 1062, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOPROCESSSTREAM + LiveVideoprocessstream = 1063, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSOR + DestroyVideoProcessor = 1064, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOPROCESSSTREAM + DestroyVideoprocessstream = 1065, + /// + /// D3D12_MESSAGE_ID_PROCESS_FRAME_INVALID_PARAMETERS + ProcessFrameInvalidParameters = 1066, + /// + /// D3D12_MESSAGE_ID_COPY_INVALIDLAYOUT + CopyInvalidlayout = 1067, + /// + /// D3D12_MESSAGE_ID_CREATE_CRYPTO_SESSION + CreateCryptoSession = 1068, + /// + /// D3D12_MESSAGE_ID_CREATE_CRYPTO_SESSION_POLICY + CreateCryptoSessionPolicy = 1069, + /// + /// D3D12_MESSAGE_ID_CREATE_PROTECTED_RESOURCE_SESSION + CreateProtectedResourceSession = 1070, + /// + /// D3D12_MESSAGE_ID_LIVE_CRYPTO_SESSION + LiveCryptoSession = 1071, + /// + /// D3D12_MESSAGE_ID_LIVE_CRYPTO_SESSION_POLICY + LiveCryptoSessionPolicy = 1072, + /// + /// D3D12_MESSAGE_ID_LIVE_PROTECTED_RESOURCE_SESSION + LiveProtectedResourceSession = 1073, + /// + /// D3D12_MESSAGE_ID_DESTROY_CRYPTO_SESSION + DestroyCryptoSession = 1074, + /// + /// D3D12_MESSAGE_ID_DESTROY_CRYPTO_SESSION_POLICY + DestroyCryptoSessionPolicy = 1075, + /// + /// D3D12_MESSAGE_ID_DESTROY_PROTECTED_RESOURCE_SESSION + DestroyProtectedResourceSession = 1076, + /// + /// D3D12_MESSAGE_ID_PROTECTED_RESOURCE_SESSION_UNSUPPORTED + ProtectedResourceSessionUnsupported = 1077, + /// + /// D3D12_MESSAGE_ID_FENCE_INVALIDOPERATION + FenceInvalidoperation = 1078, + /// + /// D3D12_MESSAGE_ID_CREATEQUERY_HEAP_COPY_QUEUE_TIMESTAMPS_NOT_SUPPORTED + CreateQueryHeapCopyQueueTimestampsNotSupported = 1079, + /// + /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_DEFERRED + SamplepositionsMismatchDeferred = 1080, + /// + /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_RECORDTIME_ASSUMEDFROMFIRSTUSE + SamplepositionsMismatchRecordtimeAssumedfromfirstuse = 1081, + /// + /// D3D12_MESSAGE_ID_SAMPLEPOSITIONS_MISMATCH_RECORDTIME_ASSUMEDFROMCLEAR + SamplepositionsMismatchRecordtimeAssumedfromclear = 1082, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEODECODERHEAP + CreateVideodecoderheap = 1083, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEODECODERHEAP + LiveVideodecoderheap = 1084, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEODECODERHEAP + DestroyVideodecoderheap = 1085, + /// + /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDARG_RETURN + OpenexistingheapInvalidArgReturn = 1086, + /// + /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_OUTOFMEMORY_RETURN + OpenexistingheapOutOfMemoryReturn = 1087, + /// + /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDADDRESS + OpenexistingheapInvalidaddress = 1088, + /// + /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_INVALIDHANDLE + OpenexistingheapInvalidhandle = 1089, + /// + /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_DEST + WriteBufferImmediateInvalidDest = 1090, + /// + /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_MODE + WriteBufferImmediateInvalidMode = 1091, + /// + /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_INVALID_ALIGNMENT + WriteBufferImmediateInvalidAlignment = 1092, + /// + /// D3D12_MESSAGE_ID_WRITEBUFFERIMMEDIATE_NOT_SUPPORTED + WriteBufferImmediateNotSupported = 1093, + /// + /// D3D12_MESSAGE_ID_SETVIEWINSTANCEMASK_INVALIDARGS + SetviewinstancemaskInvalidArgs = 1094, + /// + /// D3D12_MESSAGE_ID_VIEW_INSTANCING_UNSUPPORTED + ViewInstancingUnsupported = 1095, + /// + /// D3D12_MESSAGE_ID_VIEW_INSTANCING_INVALIDARGS + ViewInstancingInvalidArgs = 1096, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_MISMATCH_DECODE_REFERENCE_ONLY_FLAG + CopyTextureRegionMismatchDecodeReferenceOnlyFlag = 1097, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_MISMATCH_DECODE_REFERENCE_ONLY_FLAG + CopyResourceMismatchDecodeReferenceOnlyFlag = 1098, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODE_HEAP_CAPS_FAILURE + CreateVideoDecodeHeapCapsFailure = 1099, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODE_HEAP_CAPS_UNSUPPORTED + CreateVideoDecodeHeapCapsUnsupported = 1100, + /// + /// D3D12_MESSAGE_ID_VIDEO_DECODE_SUPPORT_INVALID_INPUT + VideoDecodeSupportInvalidInput = 1101, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_DECODER_UNSUPPORTED + CreateVideoDecoderUnsupported = 1102, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_METADATA_ERROR + CreateGraphicsPipelineStateMetadataError = 1103, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_VIEW_INSTANCING_VERTEX_SIZE_EXCEEDED + CreateGraphicsPipelineStateViewInstancingVertexSizeExceeded = 1104, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_RUNTIME_INTERNAL_ERROR + CreateGraphicsPipelineStateRuntimeInternalError = 1105, + /// + /// D3D12_MESSAGE_ID_NO_VIDEO_API_SUPPORT + NoVideoApiSupport = 1106, + /// + /// D3D12_MESSAGE_ID_VIDEO_PROCESS_SUPPORT_INVALID_INPUT + VideoProcessSupportInvalidInput = 1107, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_PROCESSOR_CAPS_FAILURE + CreateVideoProcessorCapsFailure = 1108, + /// + /// D3D12_MESSAGE_ID_VIDEO_PROCESS_SUPPORT_UNSUPPORTED_FORMAT + VideoProcessSupportUnsupportedFormat = 1109, + /// + /// D3D12_MESSAGE_ID_VIDEO_DECODE_FRAME_INVALID_ARGUMENT + VideoDecodeFrameInvalidArgument = 1110, + /// + /// D3D12_MESSAGE_ID_ENQUEUE_MAKE_RESIDENT_INVALID_FLAGS + EnqueueMakeResidentInvalidFlags = 1111, + /// + /// D3D12_MESSAGE_ID_OPENEXISTINGHEAP_UNSUPPORTED + OpenexistingheapUnsupported = 1112, + /// + /// D3D12_MESSAGE_ID_VIDEO_PROCESS_FRAMES_INVALID_ARGUMENT + VideoProcessFramesInvalidArgument = 1113, + /// + /// D3D12_MESSAGE_ID_VIDEO_DECODE_SUPPORT_UNSUPPORTED + VideoDecodeSupportUnsupported = 1114, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDRECORDER + CreateCommandrecorder = 1115, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDRECORDER + LiveCommandrecorder = 1116, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDRECORDER + DestroyCommandrecorder = 1117, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_VIDEO_NOT_SUPPORTED + CreateCommandRecorderVideoNotSupported = 1118, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_INVALID_SUPPORT_FLAGS + CreateCommandRecorderInvalidSupportFlags = 1119, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_INVALID_FLAGS + CreateCommandRecorderInvalidFlags = 1120, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_RECORDER_MORE_RECORDERS_THAN_LOGICAL_PROCESSORS + CreateCommandRecorderMoreRecordersThanLogicalProcessors = 1121, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMANDPOOL + CreateCommandpool = 1122, + /// + /// D3D12_MESSAGE_ID_LIVE_COMMANDPOOL + LiveCommandpool = 1123, + /// + /// D3D12_MESSAGE_ID_DESTROY_COMMANDPOOL + DestroyCommandpool = 1124, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_POOL_INVALID_FLAGS + CreateCommandPoolInvalidFlags = 1125, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_VIDEO_NOT_SUPPORTED + CreateCommandListVideoNotSupported = 1126, + /// + /// D3D12_MESSAGE_ID_COMMAND_RECORDER_SUPPORT_FLAGS_MISMATCH + CommandRecorderSupportFlagsMismatch = 1127, + /// + /// D3D12_MESSAGE_ID_COMMAND_RECORDER_CONTENTION + CommandRecorderContention = 1128, + /// + /// D3D12_MESSAGE_ID_COMMAND_RECORDER_USAGE_WITH_CREATECOMMANDLIST_COMMAND_LIST + CommandRecorderUsageWithCreatecommandlistCommandList = 1129, + /// + /// D3D12_MESSAGE_ID_COMMAND_ALLOCATOR_USAGE_WITH_CREATECOMMANDLIST1_COMMAND_LIST + CommandAllocatorUsageWithCreatecommandlist1CommandList = 1130, + /// + /// D3D12_MESSAGE_ID_CANNOT_EXECUTE_EMPTY_COMMAND_LIST + CannotExecuteEmptyCommandList = 1131, + /// + /// D3D12_MESSAGE_ID_CANNOT_RESET_COMMAND_POOL_WITH_OPEN_COMMAND_LISTS + CannotResetCommandPoolWithOpenCommandLists = 1132, + /// + /// D3D12_MESSAGE_ID_CANNOT_USE_COMMAND_RECORDER_WITHOUT_CURRENT_TARGET + CannotUseCommandRecorderWithoutCurrentTarget = 1133, + /// + /// D3D12_MESSAGE_ID_CANNOT_CHANGE_COMMAND_RECORDER_TARGET_WHILE_RECORDING + CannotChangeCommandRecorderTargetWhileRecording = 1134, + /// + /// D3D12_MESSAGE_ID_COMMAND_POOL_SYNC + CommandPoolSync = 1135, + /// + /// D3D12_MESSAGE_ID_EVICT_UNDERFLOW + EvictUnderflow = 1136, + /// + /// D3D12_MESSAGE_ID_CREATE_META_COMMAND + CreateMetaCommand = 1137, + /// + /// D3D12_MESSAGE_ID_LIVE_META_COMMAND + LiveMetaCommand = 1138, + /// + /// D3D12_MESSAGE_ID_DESTROY_META_COMMAND + DestroyMetaCommand = 1139, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALID_DST_RESOURCE + CopyBufferRegionInvalidDstResource = 1140, + /// + /// D3D12_MESSAGE_ID_COPYBUFFERREGION_INVALID_SRC_RESOURCE + CopyBufferRegionInvalidSrcResource = 1141, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_DST_RESOURCE + AtomiccopybufferInvalidDstResource = 1142, + /// + /// D3D12_MESSAGE_ID_ATOMICCOPYBUFFER_INVALID_SRC_RESOURCE + AtomiccopybufferInvalidSrcResource = 1143, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_NULL_BUFFER + CreateplacedresourceonbufferNullBuffer = 1144, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_NULL_RESOURCE_DESC + CreateplacedresourceonbufferNullResourceDesc = 1145, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_UNSUPPORTED + CreateplacedresourceonbufferUnsupported = 1146, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_DIMENSION + CreateplacedresourceonbufferInvalidBufferDimension = 1147, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_FLAGS + CreateplacedresourceonbufferInvalidBufferFlags = 1148, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_BUFFER_OFFSET + CreateplacedresourceonbufferInvalidBufferOffset = 1149, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_RESOURCE_DIMENSION + CreateplacedresourceonbufferInvalidResourceDimension = 1150, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_INVALID_RESOURCE_FLAGS + CreateplacedresourceonbufferInvalidResourceFlags = 1151, + /// + /// D3D12_MESSAGE_ID_CREATEPLACEDRESOURCEONBUFFER_OUTOFMEMORY_RETURN + CreateplacedresourceonbufferOutOfMemoryReturn = 1152, + /// + /// D3D12_MESSAGE_ID_CANNOT_CREATE_GRAPHICS_AND_VIDEO_COMMAND_RECORDER + CannotCreateGraphicsAndVideoCommandRecorder = 1153, + /// + /// D3D12_MESSAGE_ID_UPDATETILEMAPPINGS_POSSIBLY_MISMATCHING_PROPERTIES + UpdateTileMappingsPossiblyMismatchingProperties = 1154, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_INVALID_COMMAND_LIST_TYPE + CreateCommandListInvalidCommandListType = 1155, + /// + /// D3D12_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_INCOMPATIBLE_WITH_STRUCTURED_BUFFERS + ClearUnorderedAccessViewIncompatibleWithStructuredBuffers = 1156, + /// + /// D3D12_MESSAGE_ID_COMPUTE_ONLY_DEVICE_OPERATION_UNSUPPORTED + ComputeOnlyDeviceOperationUnsupported = 1157, + /// + /// D3D12_MESSAGE_ID_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INVALID + BuildRaytracingAccelerationStructureInvalid = 1158, + /// + /// D3D12_MESSAGE_ID_EMIT_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_INVALID + EmitRaytracingAccelerationStructurePostbuildInfoInvalid = 1159, + /// + /// D3D12_MESSAGE_ID_COPY_RAYTRACING_ACCELERATION_STRUCTURE_INVALID + CopyRaytracingAccelerationStructureInvalid = 1160, + /// + /// D3D12_MESSAGE_ID_DISPATCH_RAYS_INVALID + DispatchRaysInvalid = 1161, + /// + /// D3D12_MESSAGE_ID_GET_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO_INVALID + GetRaytracingAccelerationStructurePrebuildInfoInvalid = 1162, + /// + /// D3D12_MESSAGE_ID_CREATE_LIFETIMETRACKER + CreateLifetimetracker = 1163, + /// + /// D3D12_MESSAGE_ID_LIVE_LIFETIMETRACKER + LiveLifetimetracker = 1164, + /// + /// D3D12_MESSAGE_ID_DESTROY_LIFETIMETRACKER + DestroyLifetimetracker = 1165, + /// + /// D3D12_MESSAGE_ID_DESTROYOWNEDOBJECT_OBJECTNOTOWNED + DestroyownedobjectObjectnotowned = 1166, + /// + /// D3D12_MESSAGE_ID_CREATE_TRACKEDWORKLOAD + CreateTrackedworkload = 1167, + /// + /// D3D12_MESSAGE_ID_LIVE_TRACKEDWORKLOAD + LiveTrackedworkload = 1168, + /// + /// D3D12_MESSAGE_ID_DESTROY_TRACKEDWORKLOAD + DestroyTrackedworkload = 1169, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_ERROR + RenderPassError = 1170, + /// + /// D3D12_MESSAGE_ID_META_COMMAND_ID_INVALID + MetaCommandIdInvalid = 1171, + /// + /// D3D12_MESSAGE_ID_META_COMMAND_UNSUPPORTED_PARAMS + MetaCommandUnsupportedParams = 1172, + /// + /// D3D12_MESSAGE_ID_META_COMMAND_FAILED_ENUMERATION + MetaCommandFailedEnumeration = 1173, + /// + /// D3D12_MESSAGE_ID_META_COMMAND_PARAMETER_SIZE_MISMATCH + MetaCommandParameterSizeMismatch = 1174, + /// + /// D3D12_MESSAGE_ID_UNINITIALIZED_META_COMMAND + UninitializedMetaCommand = 1175, + /// + /// D3D12_MESSAGE_ID_META_COMMAND_INVALID_GPU_VIRTUAL_ADDRESS + MetaCommandInvalidGpuVirtualAddress = 1176, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODECOMMANDLIST + CreateVideoencodecommandlist = 1177, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODECOMMANDLIST + LiveVideoencodecommandlist = 1178, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODECOMMANDLIST + DestroyVideoencodecommandlist = 1179, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODECOMMANDQUEUE + CreateVideoencodecommandqueue = 1180, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODECOMMANDQUEUE + LiveVideoencodecommandqueue = 1181, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODECOMMANDQUEUE + DestroyVideoencodecommandqueue = 1182, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOMOTIONESTIMATOR + CreateVideomotionestimator = 1183, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOMOTIONESTIMATOR + LiveVideomotionestimator = 1184, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOMOTIONESTIMATOR + DestroyVideomotionestimator = 1185, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOMOTIONVECTORHEAP + CreateVideomotionvectorheap = 1186, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOMOTIONVECTORHEAP + LiveVideomotionvectorheap = 1187, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOMOTIONVECTORHEAP + DestroyVideomotionvectorheap = 1188, + /// + /// D3D12_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOADS + MultipleTrackedWorkloads = 1189, + /// + /// D3D12_MESSAGE_ID_MULTIPLE_TRACKED_WORKLOAD_PAIRS + MultipleTrackedWorkloadPairs = 1190, + /// + /// D3D12_MESSAGE_ID_OUT_OF_ORDER_TRACKED_WORKLOAD_PAIR + OutOfOrderTrackedWorkloadPair = 1191, + /// + /// D3D12_MESSAGE_ID_CANNOT_ADD_TRACKED_WORKLOAD + CannotAddTrackedWorkload = 1192, + /// + /// D3D12_MESSAGE_ID_INCOMPLETE_TRACKED_WORKLOAD_PAIR + IncompleteTrackedWorkloadPair = 1193, + /// + /// D3D12_MESSAGE_ID_CREATE_STATE_OBJECT_ERROR + CreateStateObjectError = 1194, + /// + /// D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_ERROR + GetShaderIdentifierError = 1195, + /// + /// D3D12_MESSAGE_ID_GET_SHADER_STACK_SIZE_ERROR + GetShaderStackSizeError = 1196, + /// + /// D3D12_MESSAGE_ID_GET_PIPELINE_STACK_SIZE_ERROR + GetPipelineStackSizeError = 1197, + /// + /// D3D12_MESSAGE_ID_SET_PIPELINE_STACK_SIZE_ERROR + SetPipelineStackSizeError = 1198, + /// + /// D3D12_MESSAGE_ID_GET_SHADER_IDENTIFIER_SIZE_INVALID + GetShaderIdentifierSizeInvalid = 1199, + /// + /// D3D12_MESSAGE_ID_CHECK_DRIVER_MATCHING_IDENTIFIER_INVALID + CheckDriverMatchingIdentifierInvalid = 1200, + /// + /// D3D12_MESSAGE_ID_CHECK_DRIVER_MATCHING_IDENTIFIER_DRIVER_REPORTED_ISSUE + CheckDriverMatchingIdentifierDriverReportedIssue = 1201, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_INVALID_RESOURCE_BARRIER + RenderPassInvalidResourceBarrier = 1202, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_DISALLOWED_API_CALLED + RenderPassDisallowedApiCalled = 1203, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_NEST_RENDER_PASSES + RenderPassCannotNestRenderPasses = 1204, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_END_WITHOUT_BEGIN + RenderPassCannotEndWithoutBegin = 1205, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_CANNOT_CLOSE_COMMAND_LIST + RenderPassCannotCloseCommandList = 1206, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_GPU_WORK_WHILE_SUSPENDED + RenderPassGpuWorkWhileSuspended = 1207, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_SUSPEND_RESUME + RenderPassMismatchingSuspendResume = 1208, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_NO_PRIOR_SUSPEND_WITHIN_EXECUTECOMMANDLISTS + RenderPassNoPriorSuspendWithinExecuteCommandLists = 1209, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_NO_SUBSEQUENT_RESUME_WITHIN_EXECUTECOMMANDLISTS + RenderPassNoSubsequentResumeWithinExecuteCommandLists = 1210, + /// + /// D3D12_MESSAGE_ID_TRACKED_WORKLOAD_COMMAND_QUEUE_MISMATCH + TrackedWorkloadCommandQueueMismatch = 1211, + /// + /// D3D12_MESSAGE_ID_TRACKED_WORKLOAD_NOT_SUPPORTED + TrackedWorkloadNotSupported = 1212, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_MISMATCHING_NO_ACCESS + RenderPassMismatchingNoAccess = 1213, + /// + /// D3D12_MESSAGE_ID_RENDER_PASS_UNSUPPORTED_RESOLVE + RenderPassUnsupportedResolve = 1214, + /// + /// D3D12_MESSAGE_ID_CLEARUNORDEREDACCESSVIEW_INVALID_RESOURCE_PTR + ClearUnorderedAccessViewInvalidResourcePtr = 1215, + /// + /// D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_SIGNAL + Windows7FenceOutoforderSignal = 1216, + /// + /// D3D12_MESSAGE_ID_WINDOWS7_FENCE_OUTOFORDER_WAIT + Windows7FenceOutoforderWait = 1217, + /// + /// D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_ESTIMATOR_INVALID_ARGUMENT + VideoCreateMotionEstimatorInvalidArgument = 1218, + /// + /// D3D12_MESSAGE_ID_VIDEO_CREATE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT + VideoCreateMotionVectorHeapInvalidArgument = 1219, + /// + /// D3D12_MESSAGE_ID_ESTIMATE_MOTION_INVALID_ARGUMENT + EstimateMotionInvalidArgument = 1220, + /// + /// D3D12_MESSAGE_ID_RESOLVE_MOTION_VECTOR_HEAP_INVALID_ARGUMENT + ResolveMotionVectorHeapInvalidArgument = 1221, + /// + /// D3D12_MESSAGE_ID_GETGPUVIRTUALADDRESS_INVALID_HEAP_TYPE + GetGPUVirtualAddressInvalidHeapType = 1222, + /// + /// D3D12_MESSAGE_ID_SET_BACKGROUND_PROCESSING_MODE_INVALID_ARGUMENT + SetBackgroundProcessingModeInvalidArgument = 1223, + /// + /// D3D12_MESSAGE_ID_CREATE_COMMAND_LIST_INVALID_COMMAND_LIST_TYPE_FOR_FEATURE_LEVEL + CreateCommandListInvalidCommandListTypeForFeatureLevel = 1224, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOEXTENSIONCOMMAND + CreateVideoextensioncommand = 1225, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOEXTENSIONCOMMAND + LiveVideoextensioncommand = 1226, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOEXTENSIONCOMMAND + DestroyVideoextensioncommand = 1227, + /// + /// D3D12_MESSAGE_ID_INVALID_VIDEO_EXTENSION_COMMAND_ID + InvalidVideoExtensionCommandId = 1228, + /// + /// D3D12_MESSAGE_ID_VIDEO_EXTENSION_COMMAND_INVALID_ARGUMENT + VideoExtensionCommandInvalidArgument = 1229, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_NOT_UNIQUE_IN_DXIL_LIBRARY + CreateRootSignatureNotUniqueInDxilLibrary = 1230, + /// + /// D3D12_MESSAGE_ID_VARIABLE_SHADING_RATE_NOT_ALLOWED_WITH_TIR + VariableShadingRateNotAllowedWithTir = 1231, + /// + /// D3D12_MESSAGE_ID_GEOMETRY_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE + GeometryShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1232, + /// + /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_SHADING_RATE + RssetshadingRateInvalidShadingRate = 1233, + /// + /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_SHADING_RATE_NOT_PERMITTED_BY_CAP + RssetshadingRateShadingRateNotPermittedByCap = 1234, + /// + /// D3D12_MESSAGE_ID_RSSETSHADING_RATE_INVALID_COMBINER + RssetshadingRateInvalidCombiner = 1235, + /// + /// D3D12_MESSAGE_ID_RSSETSHADINGRATEIMAGE_REQUIRES_TIER_2 + RssetshadingrateimageRequiresTier2 = 1236, + /// + /// D3D12_MESSAGE_ID_RSSETSHADINGRATE_REQUIRES_TIER_1 + RssetshadingrateRequiresTier1 = 1237, + /// + /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_FORMAT + ShadingRateImageIncorrectFormat = 1238, + /// + /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_ARRAY_SIZE + ShadingRateImageIncorrectArraySize = 1239, + /// + /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_MIP_LEVEL + ShadingRateImageIncorrectMipLevel = 1240, + /// + /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_COUNT + ShadingRateImageIncorrectSampleCount = 1241, + /// + /// D3D12_MESSAGE_ID_SHADING_RATE_IMAGE_INCORRECT_SAMPLE_QUALITY + ShadingRateImageIncorrectSampleQuality = 1242, + /// + /// D3D12_MESSAGE_ID_NON_RETAIL_SHADER_MODEL_WONT_VALIDATE + NonRetailShaderModelWontValidate = 1243, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_AS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateAsRootSignatureMismatch = 1244, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_ROOT_SIGNATURE_MISMATCH + CreateGraphicsPipelineStateMSRootSignatureMismatch = 1245, + /// + /// D3D12_MESSAGE_ID_ADD_TO_STATE_OBJECT_ERROR + AddToStateObjectError = 1246, + /// + /// D3D12_MESSAGE_ID_CREATE_PROTECTED_RESOURCE_SESSION_INVALID_ARGUMENT + CreateProtectedResourceSessionInvalidArgument = 1247, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_PSO_DESC_MISMATCH + CreateGraphicsPipelineStateMSPsoDescMismatch = 1248, + /// + /// D3D12_MESSAGE_ID_CREATEPIPELINESTATE_MS_INCOMPLETE_TYPE + CreatePipelineStateMSIncompleteType = 1249, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_AS_NOT_MS_MISMATCH + CreateGraphicsPipelineStateAsNotMSMismatch = 1250, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_MS_NOT_PS_MISMATCH + CreateGraphicsPipelineStateMSNotPSMismatch = 1251, + /// + /// D3D12_MESSAGE_ID_NONZERO_SAMPLER_FEEDBACK_MIP_REGION_WITH_INCOMPATIBLE_FORMAT + NonzeroSamplerFeedbackMipRegionWithIncompatibleFormat = 1252, + /// + /// D3D12_MESSAGE_ID_CREATEGRAPHICSPIPELINESTATE_INPUTLAYOUT_SHADER_MISMATCH + CreateGraphicsPipelineStateInputLayoutShaderMismatch = 1253, + /// + /// D3D12_MESSAGE_ID_EMPTY_DISPATCH + EmptyDispatch = 1254, + /// + /// D3D12_MESSAGE_ID_RESOURCE_FORMAT_REQUIRES_SAMPLER_FEEDBACK_CAPABILITY + ResourceFormatRequiresSamplerFeedbackCapability = 1255, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_MIP_REGION + SamplerFeedbackMapInvalidMipRegion = 1256, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_DIMENSION + SamplerFeedbackMapInvalidDimension = 1257, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_SAMPLE_COUNT + SamplerFeedbackMapInvalidSampleCount = 1258, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_SAMPLE_QUALITY + SamplerFeedbackMapInvalidSampleQuality = 1259, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_INVALID_LAYOUT + SamplerFeedbackMapInvalidLayout = 1260, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_MAP_REQUIRES_UNORDERED_ACCESS_FLAG + SamplerFeedbackMapRequiresUnorderedAccessFlag = 1261, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_NULL_ARGUMENTS + SamplerFeedbackCreateUavNullArguments = 1262, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_UAV_REQUIRES_SAMPLER_FEEDBACK_CAPABILITY + SamplerFeedbackUavRequiresSamplerFeedbackCapability = 1263, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_REQUIRES_FEEDBACK_MAP_FORMAT + SamplerFeedbackCreateUavRequiresFeedbackMapFormat = 1264, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_INVALIDSHADERBYTECODE + CreatemeshshaderInvalidShaderBytecode = 1265, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_OUTOFMEMORY + CreatemeshshaderOutOfMemory = 1266, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADERWITHSTREAMOUTPUT_INVALIDSHADERTYPE + CreatemeshshaderwithstreamoutputInvalidShaderType = 1267, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_TRANSCODE_INVALID_FORMAT + ResolveSubresourceSamplerFeedbackTranscodeInvalidFormat = 1268, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_INVALID_MIP_LEVEL_COUNT + ResolveSubresourceSamplerFeedbackInvalidMipLevelCount = 1269, + /// + /// D3D12_MESSAGE_ID_RESOLVESUBRESOURCE_SAMPLER_FEEDBACK_TRANSCODE_ARRAY_SIZE_MISMATCH + ResolveSubresourceSamplerFeedbackTranscodeArraySizeMismatch = 1270, + /// + /// D3D12_MESSAGE_ID_SAMPLER_FEEDBACK_CREATE_UAV_MISMATCHING_TARGETED_RESOURCE + SamplerFeedbackCreateUavMismatchingTargetedResource = 1271, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_OUTPUTEXCEEDSMAXSIZE + CreatemeshshaderOutputexceedsmaxsize = 1272, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_GROUPSHAREDEXCEEDSMAXSIZE + CreatemeshshaderGroupsharedexceedsmaxsize = 1273, + /// + /// D3D12_MESSAGE_ID_VERTEX_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE + VertexShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1274, + /// + /// D3D12_MESSAGE_ID_MESH_SHADER_OUTPUTTING_BOTH_VIEWPORT_ARRAY_INDEX_AND_SHADING_RATE_NOT_SUPPORTED_ON_DEVICE + MeshShaderOutputtingBothViewportArrayIndexAndShadingRateNotSupportedOnDevice = 1275, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_MISMATCHEDASMSPAYLOADSIZE + CreatemeshshaderMismatchedasmspayloadsize = 1276, + /// + /// D3D12_MESSAGE_ID_CREATE_ROOT_SIGNATURE_UNBOUNDED_STATIC_DESCRIPTORS + CreateRootSignatureUnboundedStaticDescriptors = 1277, + /// + /// D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_INVALIDSHADERBYTECODE + CreateamplificationshaderInvalidShaderBytecode = 1278, + /// + /// D3D12_MESSAGE_ID_CREATEAMPLIFICATIONSHADER_OUTOFMEMORY + CreateamplificationshaderOutOfMemory = 1279, + /// + /// D3D12_MESSAGE_ID_CREATE_SHADERCACHESESSION + CreateShadercachesession = 1280, + /// + /// D3D12_MESSAGE_ID_LIVE_SHADERCACHESESSION + LiveShadercachesession = 1281, + /// + /// D3D12_MESSAGE_ID_DESTROY_SHADERCACHESESSION + DestroyShadercachesession = 1282, + /// + /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_INVALIDARGS + CreateshadercachesessionInvalidArgs = 1283, + /// + /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_DISABLED + CreateshadercachesessionDisabled = 1284, + /// + /// D3D12_MESSAGE_ID_CREATESHADERCACHESESSION_ALREADYOPEN + CreateshadercachesessionAlreadyopen = 1285, + /// + /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_DEVELOPERMODE + ShadercachecontrolDevelopermode = 1286, + /// + /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_INVALIDFLAGS + ShadercachecontrolInvalidFlags = 1287, + /// + /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_STATEALREADYSET + ShadercachecontrolStatealreadyset = 1288, + /// + /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_IGNOREDFLAG + ShadercachecontrolIgnoredflag = 1289, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_ALREADYPRESENT + ShadercachesessionStorevalueAlreadypresent = 1290, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_HASHCOLLISION + ShadercachesessionStorevalueHashcollision = 1291, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_STOREVALUE_CACHEFULL + ShadercachesessionStorevalueCachefull = 1292, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_FINDVALUE_NOTFOUND + ShadercachesessionFindvalueNotfound = 1293, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_CORRUPT + ShadercachesessionCorrupt = 1294, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_DISABLED + ShadercachesessionDisabled = 1295, + /// + /// D3D12_MESSAGE_ID_OVERSIZED_DISPATCH + OversizedDispatch = 1296, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODER + CreateVideoencoder = 1297, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODER + LiveVideoencoder = 1298, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODER + DestroyVideoencoder = 1299, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEOENCODERHEAP + CreateVideoencoderheap = 1300, + /// + /// D3D12_MESSAGE_ID_LIVE_VIDEOENCODERHEAP + LiveVideoencoderheap = 1301, + /// + /// D3D12_MESSAGE_ID_DESTROY_VIDEOENCODERHEAP + DestroyVideoencoderheap = 1302, + /// + /// D3D12_MESSAGE_ID_COPYTEXTUREREGION_MISMATCH_ENCODE_REFERENCE_ONLY_FLAG + CopyTextureRegionMismatchEncodeReferenceOnlyFlag = 1303, + /// + /// D3D12_MESSAGE_ID_COPYRESOURCE_MISMATCH_ENCODE_REFERENCE_ONLY_FLAG + CopyResourceMismatchEncodeReferenceOnlyFlag = 1304, + /// + /// D3D12_MESSAGE_ID_ENCODE_FRAME_INVALID_PARAMETERS + EncodeFrameInvalidParameters = 1305, + /// + /// D3D12_MESSAGE_ID_ENCODE_FRAME_UNSUPPORTED_PARAMETERS + EncodeFrameUnsupportedParameters = 1306, + /// + /// D3D12_MESSAGE_ID_RESOLVE_ENCODER_OUTPUT_METADATA_INVALID_PARAMETERS + ResolveEncoderOutputMetadataInvalidParameters = 1307, + /// + /// D3D12_MESSAGE_ID_RESOLVE_ENCODER_OUTPUT_METADATA_UNSUPPORTED_PARAMETERS + ResolveEncoderOutputMetadataUnsupportedParameters = 1308, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_INVALID_PARAMETERS + CreateVideoEncoderInvalidParameters = 1309, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_UNSUPPORTED_PARAMETERS + CreateVideoEncoderUnsupportedParameters = 1310, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_HEAP_INVALID_PARAMETERS + CreateVideoEncoderHeapInvalidParameters = 1311, + /// + /// D3D12_MESSAGE_ID_CREATE_VIDEO_ENCODER_HEAP_UNSUPPORTED_PARAMETERS + CreateVideoEncoderHeapUnsupportedParameters = 1312, + /// + /// D3D12_MESSAGE_ID_CREATECOMMANDLIST_NULL_COMMANDALLOCATOR + CreatecommandlistNullCommandAllocator = 1313, + /// + /// D3D12_MESSAGE_ID_CLEAR_UNORDERED_ACCESS_VIEW_INVALID_DESCRIPTOR_HANDLE + ClearUnorderedAccessViewInvalidDescriptorHandle = 1314, + /// + /// D3D12_MESSAGE_ID_DESCRIPTOR_HEAP_NOT_SHADER_VISIBLE + DescriptorHeapNotShaderVisible = 1315, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_BLENDOP_WARNING + CreateBlendStateBlendopWarning = 1316, + /// + /// D3D12_MESSAGE_ID_CREATEBLENDSTATE_BLENDOPALPHA_WARNING + CreateBlendStateBlendopalphaWarning = 1317, + /// + /// D3D12_MESSAGE_ID_WRITE_COMBINE_PERFORMANCE_WARNING + WriteCombinePerformanceWarning = 1318, + /// + /// D3D12_MESSAGE_ID_RESOLVE_QUERY_INVALID_QUERY_STATE + ResolveQueryInvalidQueryState = 1319, + /// + /// D3D12_MESSAGE_ID_SETPRIVATEDATA_NO_ACCESS + SetPrivateDataNoAccess = 1320, + /// + /// D3D12_MESSAGE_ID_COMMAND_LIST_STATIC_DESCRIPTOR_SAMPLER_MODE_MISMATCH + CommandListStaticDescriptorSamplerModeMismatch = 1321, + /// + /// D3D12_MESSAGE_ID_GETCOPYABLEFOOTPRINTS_UNSUPPORTED_BUFFER_WIDTH + GetCopyableFootprintsUnsupportedBufferWidth = 1322, + /// + /// D3D12_MESSAGE_ID_CREATEMESHSHADER_TOPOLOGY_MISMATCH + CreatemeshshaderTopologyMismatch = 1323, + /// + /// D3D12_MESSAGE_ID_VRS_SUM_COMBINER_REQUIRES_CAPABILITY + VrsSumCombinerRequiresCapability = 1324, + /// + /// D3D12_MESSAGE_ID_SETTING_SHADING_RATE_FROM_MS_REQUIRES_CAPABILITY + SettingShadingRateFromMSRequiresCapability = 1325, + /// + /// D3D12_MESSAGE_ID_SHADERCACHESESSION_SHADERCACHEDELETE_NOTSUPPORTED + ShadercachesessionShadercachedeleteNotSupported = 1326, + /// + /// D3D12_MESSAGE_ID_SHADERCACHECONTROL_SHADERCACHECLEAR_NOTSUPPORTED + ShadercachecontrolShadercacheclearNotSupported = 1327, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MessageSeverity.cs b/src/Vortice.Win32.Direct3D12/Generated/MessageSeverity.cs new file mode 100644 index 0000000..0069af8 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MessageSeverity.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MESSAGE_SEVERITY +public enum MessageSeverity : int +{ + /// + /// D3D12_MESSAGE_SEVERITY_CORRUPTION + Corruption = 0, + /// + /// D3D12_MESSAGE_SEVERITY_ERROR + Error = 1, + /// + /// D3D12_MESSAGE_SEVERITY_WARNING + Warning = 2, + /// + /// D3D12_MESSAGE_SEVERITY_INFO + Info = 3, + /// + /// D3D12_MESSAGE_SEVERITY_MESSAGE + Message = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MetaCommandDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandDescription.cs new file mode 100644 index 0000000..3af3873 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_META_COMMAND_DESC +public partial struct MetaCommandDescription +{ + /// + public Guid Id; + + /// + public unsafe ushort* Name; + + /// + public GraphicsStates InitializationDirtyState; + + /// + public GraphicsStates ExecutionDirtyState; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterDescription.cs new file mode 100644 index 0000000..f8046a6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_META_COMMAND_PARAMETER_DESC +public partial struct MetaCommandParameterDescription +{ + /// + public unsafe ushort* Name; + + /// + public MetaCommandParameterType Type; + + /// + public MetaCommandParameterFlags Flags; + + /// + public ResourceStates RequiredResourceState; + + /// + public uint StructureOffset; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterFlags.cs new file mode 100644 index 0000000..5a5271f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_META_COMMAND_PARAMETER_FLAGS +[Flags] +public enum MetaCommandParameterFlags : uint +{ + None = 0, + /// + /// D3D12_META_COMMAND_PARAMETER_FLAG_INPUT + Input = 1, + /// + /// D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT + Output = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterStage.cs b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterStage.cs new file mode 100644 index 0000000..ad6f41a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterStage.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_META_COMMAND_PARAMETER_STAGE +public enum MetaCommandParameterStage : int +{ + /// + /// D3D12_META_COMMAND_PARAMETER_STAGE_CREATION + Creation = 0, + /// + /// D3D12_META_COMMAND_PARAMETER_STAGE_INITIALIZATION + Initialization = 1, + /// + /// D3D12_META_COMMAND_PARAMETER_STAGE_EXECUTION + Execution = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterType.cs b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterType.cs new file mode 100644 index 0000000..d97969c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MetaCommandParameterType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_META_COMMAND_PARAMETER_TYPE +public enum MetaCommandParameterType : int +{ + /// + /// D3D12_META_COMMAND_PARAMETER_TYPE_FLOAT + Float = 0, + /// + /// D3D12_META_COMMAND_PARAMETER_TYPE_UINT64 + UInt64 = 1, + /// + /// D3D12_META_COMMAND_PARAMETER_TYPE_GPU_VIRTUAL_ADDRESS + GpuVirtualAddress = 2, + /// + /// D3D12_META_COMMAND_PARAMETER_TYPE_CPU_DESCRIPTOR_HANDLE_HEAP_TYPE_CBV_SRV_UAV + CpuDescriptorHandleHeapTypeCbvSrvUav = 3, + /// + /// D3D12_META_COMMAND_PARAMETER_TYPE_GPU_DESCRIPTOR_HANDLE_HEAP_TYPE_CBV_SRV_UAV + GpuDescriptorHandleHeapTypeCbvSrvUav = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MipRegion.cs b/src/Vortice.Win32.Direct3D12/Generated/MipRegion.cs new file mode 100644 index 0000000..c2831eb --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MipRegion.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MIP_REGION +public partial struct MipRegion +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MultipleFenceWaitFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/MultipleFenceWaitFlags.cs new file mode 100644 index 0000000..6b4fce3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MultipleFenceWaitFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MULTIPLE_FENCE_WAIT_FLAGS +[Flags] +public enum MultipleFenceWaitFlags : uint +{ + /// + /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_NONE + None = 0, + /// + /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_ANY + Any = 1, + /// + /// D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL + All = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/MultisampleQualityLevelFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/MultisampleQualityLevelFlags.cs new file mode 100644 index 0000000..0a0523f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/MultisampleQualityLevelFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS +[Flags] +public enum MultisampleQualityLevelFlags : uint +{ + /// + /// D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE + None = 0, + /// + /// D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE + TiledResource = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/NodeMask.cs b/src/Vortice.Win32.Direct3D12/Generated/NodeMask.cs new file mode 100644 index 0000000..80bd4dc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/NodeMask.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_NODE_MASK +public partial struct NodeMask +{ + /// + public uint Mask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PackedMipInfo.cs b/src/Vortice.Win32.Direct3D12/Generated/PackedMipInfo.cs new file mode 100644 index 0000000..3e40a2f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PackedMipInfo.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PACKED_MIP_INFO +public partial struct PackedMipInfo +{ + /// + public byte NumStandardMips; + + /// + public byte NumPackedMips; + + /// + public uint NumTilesForPackedMips; + + /// + public uint StartTileIndexInOverallResource; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ParameterDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ParameterDescription.cs new file mode 100644 index 0000000..2fe64c1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ParameterDescription.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PARAMETER_DESC +public partial struct ParameterDescription +{ + /// + public unsafe sbyte* Name; + + /// + public unsafe sbyte* SemanticName; + + /// + public Graphics.Direct3D.ShaderVariableType Type; + + /// + public Graphics.Direct3D.ShaderVariableClass Class; + + /// + public uint Rows; + + /// + public uint Columns; + + /// + public Graphics.Direct3D.InterpolationMode InterpolationMode; + + /// + public Graphics.Direct3D.ParameterFlags Flags; + + /// + public uint FirstInRegister; + + /// + public uint FirstInComponent; + + /// + public uint FirstOutRegister; + + /// + public uint FirstOutComponent; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PipelineStateFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateFlags.cs new file mode 100644 index 0000000..b54197f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PIPELINE_STATE_FLAGS +[Flags] +public enum PipelineStateFlags : uint +{ + /// + /// D3D12_PIPELINE_STATE_FLAG_NONE + None = 0, + /// + /// D3D12_PIPELINE_STATE_FLAG_TOOL_DEBUG + ToolDebug = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PipelineStateStreamDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateStreamDescription.cs new file mode 100644 index 0000000..3eae811 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateStreamDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PIPELINE_STATE_STREAM_DESC +public partial struct PipelineStateStreamDescription +{ + /// + public nuint SizeInBytes; + + /// + public unsafe void* pPipelineStateSubobjectStream; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PipelineStateSubObjectType.cs b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateSubObjectType.cs new file mode 100644 index 0000000..5be1e25 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PipelineStateSubObjectType.cs @@ -0,0 +1,94 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE +public enum PipelineStateSubObjectType : int +{ + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_ROOT_SIGNATURE + RootSignature = 0, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VS + VS = 1, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PS + PS = 2, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DS + DS = 3, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_HS + HS = 4, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_GS + GS = 5, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CS + CS = 6, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_STREAM_OUTPUT + StreamOutput = 7, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_BLEND + Blend = 8, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_MASK + SampleMask = 9, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RASTERIZER + Rasterizer = 10, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL + DepthStencil = 11, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_INPUT_LAYOUT + InputLayout = 12, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_IB_STRIP_CUT_VALUE + IBStripCutValue = 13, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_PRIMITIVE_TOPOLOGY + PrimitiveTopology = 14, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_RENDER_TARGET_FORMATS + RenderTargetFormats = 15, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL_FORMAT + DepthStencilFormat = 16, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_SAMPLE_DESC + SampleDesc = 17, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_NODE_MASK + NodeMask = 18, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_CACHED_PSO + CachedPso = 19, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_FLAGS + Flags = 20, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_DEPTH_STENCIL1 + DepthStencil1 = 21, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_VIEW_INSTANCING + ViewInstancing = 22, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_AS + AS = 24, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MS + MS = 25, + /// + /// D3D12_PIPELINE_STATE_SUBOBJECT_TYPE_MAX_VALID + MaxValid = 26, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PlacedSubresourceFootprint.cs b/src/Vortice.Win32.Direct3D12/Generated/PlacedSubresourceFootprint.cs new file mode 100644 index 0000000..45b44dd --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PlacedSubresourceFootprint.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PLACED_SUBRESOURCE_FOOTPRINT +public partial struct PlacedSubresourceFootprint +{ + /// + public ulong Offset; + + /// + public SubresourceFootprint Footprint; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PredicationOperation.cs b/src/Vortice.Win32.Direct3D12/Generated/PredicationOperation.cs new file mode 100644 index 0000000..95aad98 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PredicationOperation.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PREDICATION_OP +public enum PredicationOperation : int +{ + /// + /// D3D12_PREDICATION_OP_EQUAL_ZERO + EqualZero = 0, + /// + /// D3D12_PREDICATION_OP_NOT_EQUAL_ZERO + NotEqualZero = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/PrimitiveTopologyType.cs b/src/Vortice.Win32.Direct3D12/Generated/PrimitiveTopologyType.cs new file mode 100644 index 0000000..5b08366 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/PrimitiveTopologyType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PRIMITIVE_TOPOLOGY_TYPE +public enum PrimitiveTopologyType : int +{ + /// + /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_UNDEFINED + Undefined = 0, + /// + /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_POINT + Point = 1, + /// + /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_LINE + Line = 2, + /// + /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_TRIANGLE + Triangle = 3, + /// + /// D3D12_PRIMITIVE_TOPOLOGY_TYPE_PATCH + Patch = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProgrammableSamplePositionsTier.cs b/src/Vortice.Win32.Direct3D12/Generated/ProgrammableSamplePositionsTier.cs new file mode 100644 index 0000000..822ce78 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProgrammableSamplePositionsTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER +public enum ProgrammableSamplePositionsTier : int +{ + /// + /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_1 + Tier1 = 1, + /// + /// D3D12_PROGRAMMABLE_SAMPLE_POSITIONS_TIER_2 + Tier2 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription.cs new file mode 100644 index 0000000..5fcc59c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROTECTED_RESOURCE_SESSION_DESC +public partial struct ProtectedResourceSessionDescription +{ + /// + public uint NodeMask; + + /// + public ProtectedResourceSessionFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription1.cs b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription1.cs new file mode 100644 index 0000000..f974e9a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionDescription1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROTECTED_RESOURCE_SESSION_DESC1 +public partial struct ProtectedResourceSessionDescription1 +{ + /// + public uint NodeMask; + + /// + public ProtectedResourceSessionFlags Flags; + + /// + public Guid ProtectionType; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionFlags.cs new file mode 100644 index 0000000..56d14ae --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionFlags.cs @@ -0,0 +1,20 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROTECTED_RESOURCE_SESSION_FLAGS +[Flags] +public enum ProtectedResourceSessionFlags : uint +{ + /// + /// D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE + None = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionSupportFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionSupportFlags.cs new file mode 100644 index 0000000..6752c07 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProtectedResourceSessionSupportFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS +[Flags] +public enum ProtectedResourceSessionSupportFlags : uint +{ + /// + /// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_NONE + None = 0, + /// + /// D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED + Supported = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ProtectedSessionStatus.cs b/src/Vortice.Win32.Direct3D12/Generated/ProtectedSessionStatus.cs new file mode 100644 index 0000000..2c30374 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ProtectedSessionStatus.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_PROTECTED_SESSION_STATUS +public enum ProtectedSessionStatus : int +{ + /// + /// D3D12_PROTECTED_SESSION_STATUS_OK + Ok = 0, + /// + /// D3D12_PROTECTED_SESSION_STATUS_INVALID + Invalid = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics.cs new file mode 100644 index 0000000..4e6f26b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_DATA_PIPELINE_STATISTICS +public partial struct QueryDataPipelineStatistics +{ + /// + public ulong IAVertices; + + /// + public ulong IAPrimitives; + + /// + public ulong VSInvocations; + + /// + public ulong GSInvocations; + + /// + public ulong GSPrimitives; + + /// + public ulong CInvocations; + + /// + public ulong CPrimitives; + + /// + public ulong PSInvocations; + + /// + public ulong HSInvocations; + + /// + public ulong DSInvocations; + + /// + public ulong CSInvocations; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics1.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics1.cs new file mode 100644 index 0000000..a8e53f5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryDataPipelineStatistics1.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_DATA_PIPELINE_STATISTICS1 +public partial struct QueryDataPipelineStatistics1 +{ + /// + public ulong IAVertices; + + /// + public ulong IAPrimitives; + + /// + public ulong VSInvocations; + + /// + public ulong GSInvocations; + + /// + public ulong GSPrimitives; + + /// + public ulong CInvocations; + + /// + public ulong CPrimitives; + + /// + public ulong PSInvocations; + + /// + public ulong HSInvocations; + + /// + public ulong DSInvocations; + + /// + public ulong CSInvocations; + + /// + public ulong ASInvocations; + + /// + public ulong MSInvocations; + + /// + public ulong MSPrimitives; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryDataSOStatistics.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryDataSOStatistics.cs new file mode 100644 index 0000000..87d542c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryDataSOStatistics.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_DATA_SO_STATISTICS +public partial struct QueryDataSOStatistics +{ + /// + public ulong NumPrimitivesWritten; + + /// + public ulong PrimitivesStorageNeeded; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryHeapDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryHeapDescription.cs new file mode 100644 index 0000000..52ed8d9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryHeapDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_HEAP_DESC +public partial struct QueryHeapDescription +{ + /// + public QueryHeapType Type; + + /// + public uint Count; + + /// + public uint NodeMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryHeapType.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryHeapType.cs new file mode 100644 index 0000000..fc98ef2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryHeapType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_HEAP_TYPE +public enum QueryHeapType : int +{ + /// + /// D3D12_QUERY_HEAP_TYPE_OCCLUSION + Occlusion = 0, + /// + /// D3D12_QUERY_HEAP_TYPE_TIMESTAMP + Timestamp = 1, + /// + /// D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS + PipelineStatistics = 2, + /// + /// D3D12_QUERY_HEAP_TYPE_SO_STATISTICS + SOStatistics = 3, + /// + /// D3D12_QUERY_HEAP_TYPE_VIDEO_DECODE_STATISTICS + VideoDecodeStatistics = 4, + /// + /// D3D12_QUERY_HEAP_TYPE_COPY_QUEUE_TIMESTAMP + CopyQueueTimestamp = 5, + /// + /// D3D12_QUERY_HEAP_TYPE_PIPELINE_STATISTICS1 + PipelineStatistics1 = 7, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/QueryType.cs b/src/Vortice.Win32.Direct3D12/Generated/QueryType.cs new file mode 100644 index 0000000..cccfb5f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/QueryType.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_QUERY_TYPE +public enum QueryType : int +{ + /// + /// D3D12_QUERY_TYPE_OCCLUSION + Occlusion = 0, + /// + /// D3D12_QUERY_TYPE_BINARY_OCCLUSION + BinaryOcclusion = 1, + /// + /// D3D12_QUERY_TYPE_TIMESTAMP + Timestamp = 2, + /// + /// D3D12_QUERY_TYPE_PIPELINE_STATISTICS + PipelineStatistics = 3, + /// + /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM0 + SOStatisticsStream0 = 4, + /// + /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM1 + SOStatisticsStream1 = 5, + /// + /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM2 + SOStatisticsStream2 = 6, + /// + /// D3D12_QUERY_TYPE_SO_STATISTICS_STREAM3 + SOStatisticsStream3 = 7, + /// + /// D3D12_QUERY_TYPE_VIDEO_DECODE_STATISTICS + VideoDecodeStatistics = 8, + /// + /// D3D12_QUERY_TYPE_PIPELINE_STATISTICS1 + PipelineStatistics1 = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Range.cs b/src/Vortice.Win32.Direct3D12/Generated/Range.cs new file mode 100644 index 0000000..6186fb5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Range.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RANGE +public partial struct Range +{ + /// + public nuint Begin; + + /// + public nuint End; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RangeUInt64.cs b/src/Vortice.Win32.Direct3D12/Generated/RangeUInt64.cs new file mode 100644 index 0000000..15f63ba --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RangeUInt64.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RANGE_UINT64 +public partial struct RangeUInt64 +{ + /// + public ulong Begin; + + /// + public ulong End; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RasterizerDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RasterizerDescription.cs new file mode 100644 index 0000000..96f5ac0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RasterizerDescription.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RASTERIZER_DESC +public partial struct RasterizerDescription +{ + /// + public FillMode FillMode; + + /// + public CullMode CullMode; + + /// + public Bool32 FrontCounterClockwise; + + /// + public int DepthBias; + + /// + public float DepthBiasClamp; + + /// + public float SlopeScaledDepthBias; + + /// + public Bool32 DepthClipEnable; + + /// + public Bool32 MultisampleEnable; + + /// + public Bool32 AntialiasedLineEnable; + + /// + public uint ForcedSampleCount; + + /// + public ConservativeRasterizationMode ConservativeRaster; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RayFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RayFlags.cs new file mode 100644 index 0000000..0ce523c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RayFlags.cs @@ -0,0 +1,50 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAY_FLAGS +[Flags] +public enum RayFlags : uint +{ + /// + /// D3D12_RAY_FLAG_NONE + None = 0, + /// + /// D3D12_RAY_FLAG_FORCE_OPAQUE + ForceOpaque = 1, + /// + /// D3D12_RAY_FLAG_FORCE_NON_OPAQUE + ForceNonOpaque = 2, + /// + /// D3D12_RAY_FLAG_ACCEPT_FIRST_HIT_AND_END_SEARCH + AcceptFirstHitAndEndSearch = 4, + /// + /// D3D12_RAY_FLAG_SKIP_CLOSEST_HIT_SHADER + SkipClosestHitShader = 8, + /// + /// D3D12_RAY_FLAG_CULL_BACK_FACING_TRIANGLES + CullBackFacingTriangles = 16, + /// + /// D3D12_RAY_FLAG_CULL_FRONT_FACING_TRIANGLES + CullFrontFacingTriangles = 32, + /// + /// D3D12_RAY_FLAG_CULL_OPAQUE + CullOpaque = 64, + /// + /// D3D12_RAY_FLAG_CULL_NON_OPAQUE + CullNonOpaque = 128, + /// + /// D3D12_RAY_FLAG_SKIP_TRIANGLES + SkipTriangles = 256, + /// + /// D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES + SkipProceduralPrimitives = 512, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAabb.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAabb.cs new file mode 100644 index 0000000..59a9b01 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAabb.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_AABB +public partial struct RaytracingAabb +{ + /// + public float MinX; + + /// + public float MinY; + + /// + public float MinZ; + + /// + public float MaxX; + + /// + public float MaxY; + + /// + public float MaxZ; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureBuildFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureBuildFlags.cs new file mode 100644 index 0000000..8793a97 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureBuildFlags.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS +[Flags] +public enum RaytracingAccelerationStructureBuildFlags : uint +{ + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_NONE + None = 0, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_ALLOW_UPDATE + AllowUpdate = 1, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_ALLOW_COMPACTION + AllowCompaction = 2, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PREFER_FAST_TRACE + PreferFastTrace = 4, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PREFER_FAST_BUILD + PreferFastBuild = 8, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY + MinimizeMemory = 16, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE + PerformUpdate = 32, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureCopyMode.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureCopyMode.cs new file mode 100644 index 0000000..a490010 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureCopyMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE +public enum RaytracingAccelerationStructureCopyMode : int +{ + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_CLONE + Clone = 0, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_COMPACT + Compact = 1, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_VISUALIZATION_DECODE_FOR_TOOLS + VisualizationDecodeForTools = 2, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_SERIALIZE + Serialize = 3, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_DESERIALIZE + Deserialize = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription.cs new file mode 100644 index 0000000..34365c1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE_DESC +public partial struct RaytracingAccelerationStructurePostbuildInfoCompactedSizeDescription +{ + /// + public ulong CompactedSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription.cs new file mode 100644 index 0000000..30aa409 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE_DESC +public partial struct RaytracingAccelerationStructurePostbuildInfoCurrentSizeDescription +{ + /// + public ulong CurrentSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoDescription.cs new file mode 100644 index 0000000..905226e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_DESC +public partial struct RaytracingAccelerationStructurePostbuildInfoDescription +{ + /// + public ulong DestBuffer; + + /// + public RaytracingAccelerationStructurePostbuildInfoType InfoType; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoSerializationDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoSerializationDescription.cs new file mode 100644 index 0000000..15c5a45 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoSerializationDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION_DESC +public partial struct RaytracingAccelerationStructurePostbuildInfoSerializationDescription +{ + /// + public ulong SerializedSizeInBytes; + + /// + public ulong NumBottomLevelAccelerationStructurePointers; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription.cs new file mode 100644 index 0000000..9dec8b6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION_DESC +public partial struct RaytracingAccelerationStructurePostbuildInfoToolsVisualizationDescription +{ + /// + public ulong DecodedSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoType.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoType.cs new file mode 100644 index 0000000..0879a31 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePostbuildInfoType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TYPE +public enum RaytracingAccelerationStructurePostbuildInfoType : int +{ + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_COMPACTED_SIZE + CompactedSize = 0, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_TOOLS_VISUALIZATION + ToolsVisualization = 1, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_SERIALIZATION + Serialization = 2, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO_CURRENT_SIZE + CurrentSize = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePrebuildInfo.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePrebuildInfo.cs new file mode 100644 index 0000000..5c8d447 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructurePrebuildInfo.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_PREBUILD_INFO +public partial struct RaytracingAccelerationStructurePrebuildInfo +{ + /// + public ulong ResultDataMaxSizeInBytes; + + /// + public ulong ScratchDataSizeInBytes; + + /// + public ulong UpdateScratchDataSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureSrv.cs new file mode 100644 index 0000000..6736f92 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureSrv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_SRV +public partial struct RaytracingAccelerationStructureSrv +{ + /// + public ulong Location; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureType.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureType.cs new file mode 100644 index 0000000..7591f23 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingAccelerationStructureType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE +public enum RaytracingAccelerationStructureType : int +{ + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL + TopLevel = 0, + /// + /// D3D12_RAYTRACING_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL + BottomLevel = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryAabbsDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryAabbsDescription.cs new file mode 100644 index 0000000..452e1db --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryAabbsDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_GEOMETRY_AABBS_DESC +public partial struct RaytracingGeometryAabbsDescription +{ + /// + public ulong AABBCount; + + /// + public GpuVirtualAddressAndStride AABBs; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryDescription.cs new file mode 100644 index 0000000..6563c81 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryDescription.cs @@ -0,0 +1,56 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_GEOMETRY_DESC +public partial struct RaytracingGeometryDescription +{ + /// + public RaytracingGeometryType Type; + + /// + public RaytracingGeometryFlags Flags; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref RaytracingGeometryTrianglesDescription Triangles + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Triangles; + } + } + + [UnscopedRef] + public ref RaytracingGeometryAabbsDescription AABBs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.AABBs; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RaytracingGeometryTrianglesDescription Triangles; + + /// + [FieldOffset(0)] + public RaytracingGeometryAabbsDescription AABBs; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryFlags.cs new file mode 100644 index 0000000..83ac905 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_GEOMETRY_FLAGS +[Flags] +public enum RaytracingGeometryFlags : uint +{ + /// + /// D3D12_RAYTRACING_GEOMETRY_FLAG_NONE + None = 0, + /// + /// D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE + Opaque = 1, + /// + /// D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION + NoDuplicateAnyhitInvocation = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryTrianglesDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryTrianglesDescription.cs new file mode 100644 index 0000000..390deca --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryTrianglesDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_GEOMETRY_TRIANGLES_DESC +public partial struct RaytracingGeometryTrianglesDescription +{ + /// + public ulong Transform3x4; + + /// + public Graphics.Dxgi.Common.Format IndexFormat; + + /// + public Graphics.Dxgi.Common.Format VertexFormat; + + /// + public uint IndexCount; + + /// + public uint VertexCount; + + /// + public ulong IndexBuffer; + + /// + public GpuVirtualAddressAndStride VertexBuffer; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryType.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryType.cs new file mode 100644 index 0000000..8f8ec3e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingGeometryType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_GEOMETRY_TYPE +public enum RaytracingGeometryType : int +{ + /// + /// D3D12_RAYTRACING_GEOMETRY_TYPE_TRIANGLES + Triangles = 0, + /// + /// D3D12_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBS + ProceduralPrimitiveAabbs = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceDescription.cs new file mode 100644 index 0000000..33fb9a0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_INSTANCE_DESC +public partial struct RaytracingInstanceDescription +{ + /// + public unsafe fixed float Transform[12]; + + /// + public uint _bitfield1; + + /// + public uint _bitfield2; + + /// + public ulong AccelerationStructure; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceFlags.cs new file mode 100644 index 0000000..b00ba42 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingInstanceFlags.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_INSTANCE_FLAGS +[Flags] +public enum RaytracingInstanceFlags : uint +{ + /// + /// D3D12_RAYTRACING_INSTANCE_FLAG_NONE + None = 0, + /// + /// D3D12_RAYTRACING_INSTANCE_FLAG_TRIANGLE_CULL_DISABLE + TriangleCullDisable = 1, + /// + /// D3D12_RAYTRACING_INSTANCE_FLAG_TRIANGLE_FRONT_COUNTERCLOCKWISE + TriangleFrontCounterclockwise = 2, + /// + /// D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE + ForceOpaque = 4, + /// + /// D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE + ForceNonOpaque = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig.cs new file mode 100644 index 0000000..860a55e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_PIPELINE_CONFIG +public partial struct RaytracingPipelineConfig +{ + /// + public uint MaxTraceRecursionDepth; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig1.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig1.cs new file mode 100644 index 0000000..1e6f34c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineConfig1.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_PIPELINE_CONFIG1 +public partial struct RaytracingPipelineConfig1 +{ + /// + public uint MaxTraceRecursionDepth; + + /// + public RaytracingPipelineFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineFlags.cs new file mode 100644 index 0000000..1717186 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingPipelineFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_PIPELINE_FLAGS +[Flags] +public enum RaytracingPipelineFlags : uint +{ + /// + /// D3D12_RAYTRACING_PIPELINE_FLAG_NONE + None = 0, + /// + /// D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES + SkipTriangles = 256, + /// + /// D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES + SkipProceduralPrimitives = 512, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingShaderConfig.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingShaderConfig.cs new file mode 100644 index 0000000..95f9522 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingShaderConfig.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_SHADER_CONFIG +public partial struct RaytracingShaderConfig +{ + /// + public uint MaxPayloadSizeInBytes; + + /// + public uint MaxAttributeSizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RaytracingTier.cs b/src/Vortice.Win32.Direct3D12/Generated/RaytracingTier.cs new file mode 100644 index 0000000..7dc56c2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RaytracingTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RAYTRACING_TIER +public enum RaytracingTier : int +{ + /// + /// D3D12_RAYTRACING_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_RAYTRACING_TIER_1_0 + Tier1_0 = 10, + /// + /// D3D12_RAYTRACING_TIER_1_1 + Tier1_1 = 11, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccess.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccess.cs new file mode 100644 index 0000000..725f4d3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccess.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_BEGINNING_ACCESS +public partial struct RenderPassBeginningAccess +{ + /// + public RenderPassBeginningAccessType Type; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref RenderPassBeginningAccessClearParameters Clear + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Clear; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RenderPassBeginningAccessClearParameters Clear; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessClearParameters.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessClearParameters.cs new file mode 100644 index 0000000..91845a4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessClearParameters.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS +public partial struct RenderPassBeginningAccessClearParameters +{ + /// + public ClearValue ClearValue; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessType.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessType.cs new file mode 100644 index 0000000..659e827 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassBeginningAccessType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE +public enum RenderPassBeginningAccessType : int +{ + /// + /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_DISCARD + Discard = 0, + /// + /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_PRESERVE + Preserve = 1, + /// + /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_CLEAR + Clear = 2, + /// + /// D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_NO_ACCESS + NoAccess = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassDepthStencilDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassDepthStencilDescription.cs new file mode 100644 index 0000000..35a2791 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassDepthStencilDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_DEPTH_STENCIL_DESC +public partial struct RenderPassDepthStencilDescription +{ + /// + public CpuDescriptorHandle cpuDescriptor; + + /// + public RenderPassBeginningAccess DepthBeginningAccess; + + /// + public RenderPassBeginningAccess StencilBeginningAccess; + + /// + public RenderPassEndingAccess DepthEndingAccess; + + /// + public RenderPassEndingAccess StencilEndingAccess; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccess.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccess.cs new file mode 100644 index 0000000..c1e33da --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccess.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_ENDING_ACCESS +public partial struct RenderPassEndingAccess +{ + /// + public RenderPassEndingAccessType Type; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref RenderPassEndingAccessResolveParameters Resolve + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Resolve; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RenderPassEndingAccessResolveParameters Resolve; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveParameters.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveParameters.cs new file mode 100644 index 0000000..08fd2c0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveParameters.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_PARAMETERS +public partial struct RenderPassEndingAccessResolveParameters +{ + /// + public unsafe ID3D12Resource* pSrcResource; + + /// + public unsafe ID3D12Resource* pDstResource; + + /// + public uint SubresourceCount; + + /// + public unsafe RenderPassEndingAccessResolveSubresourceParameters* pSubresourceParameters; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public ResolveMode ResolveMode; + + /// + public Bool32 PreserveResolveSource; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveSubresourceParameters.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveSubresourceParameters.cs new file mode 100644 index 0000000..3c354e2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessResolveSubresourceParameters.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_ENDING_ACCESS_RESOLVE_SUBRESOURCE_PARAMETERS +public partial struct RenderPassEndingAccessResolveSubresourceParameters +{ + /// + public uint SrcSubresource; + + /// + public uint DstSubresource; + + /// + public uint DstX; + + /// + public uint DstY; + + /// + public RawRect SrcRect; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessType.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessType.cs new file mode 100644 index 0000000..0bc425b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassEndingAccessType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE +public enum RenderPassEndingAccessType : int +{ + /// + /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_DISCARD + Discard = 0, + /// + /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_PRESERVE + Preserve = 1, + /// + /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_RESOLVE + Resolve = 2, + /// + /// D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_NO_ACCESS + NoAccess = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassFlags.cs new file mode 100644 index 0000000..253b750 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_FLAGS +[Flags] +public enum RenderPassFlags : uint +{ + /// + /// D3D12_RENDER_PASS_FLAG_NONE + None = 0, + /// + /// D3D12_RENDER_PASS_FLAG_ALLOW_UAV_WRITES + AllowUavWrites = 1, + /// + /// D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS + SuspendingPass = 2, + /// + /// D3D12_RENDER_PASS_FLAG_RESUMING_PASS + ResumingPass = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassRenderTargetDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassRenderTargetDescription.cs new file mode 100644 index 0000000..a54462f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassRenderTargetDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_RENDER_TARGET_DESC +public partial struct RenderPassRenderTargetDescription +{ + /// + public CpuDescriptorHandle cpuDescriptor; + + /// + public RenderPassBeginningAccess BeginningAccess; + + /// + public RenderPassEndingAccess EndingAccess; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderPassTier.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderPassTier.cs new file mode 100644 index 0000000..507d66d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderPassTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_PASS_TIER +public enum RenderPassTier : int +{ + /// + /// D3D12_RENDER_PASS_TIER_0 + Tier0 = 0, + /// + /// D3D12_RENDER_PASS_TIER_1 + Tier1 = 1, + /// + /// D3D12_RENDER_PASS_TIER_2 + Tier2 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderTargetBlendDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderTargetBlendDescription.cs new file mode 100644 index 0000000..1dd946a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderTargetBlendDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_TARGET_BLEND_DESC +public partial struct RenderTargetBlendDescription +{ + /// + public Bool32 BlendEnable; + + /// + public Bool32 LogicOpEnable; + + /// + public Blend SrcBlend; + + /// + public Blend DestBlend; + + /// + public BlendOperation BlendOp; + + /// + public Blend SrcBlendAlpha; + + /// + public Blend DestBlendAlpha; + + /// + public BlendOperation BlendOpAlpha; + + /// + public LogicOperation LogicOp; + + /// + public ColorWriteEnable RenderTargetWriteMask; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RenderTargetViewDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RenderTargetViewDescription.cs new file mode 100644 index 0000000..7c9511c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RenderTargetViewDescription.cs @@ -0,0 +1,140 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RENDER_TARGET_VIEW_DESC +public partial struct RenderTargetViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public RtvDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferRtv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DRtv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayRtv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DRtv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayRtv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsRtv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArrayRtv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DRtv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferRtv Buffer; + + /// + [FieldOffset(0)] + public Texture1DRtv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayRtv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DRtv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayRtv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsRtv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArrayRtv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DRtv Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ReportLiveDeviceObjectFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ReportLiveDeviceObjectFlags.cs new file mode 100644 index 0000000..8c0875b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ReportLiveDeviceObjectFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RLDO_FLAGS +[Flags] +public enum ReportLiveDeviceObjectFlags : int +{ + /// + /// D3D12_RLDO_NONE + None = 0, + /// + /// D3D12_RLDO_SUMMARY + Summary = 1, + /// + /// D3D12_RLDO_DETAIL + Detail = 2, + /// + /// D3D12_RLDO_IGNORE_INTERNAL + IgnoreInternal = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResidencyFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ResidencyFlags.cs new file mode 100644 index 0000000..c0357a1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResidencyFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESIDENCY_FLAGS +[Flags] +public enum ResidencyFlags : uint +{ + /// + /// D3D12_RESIDENCY_FLAG_NONE + None = 0, + /// + /// D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET + DenyOverBudget = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResidencyPriority.cs b/src/Vortice.Win32.Direct3D12/Generated/ResidencyPriority.cs new file mode 100644 index 0000000..9f34c93 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResidencyPriority.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESIDENCY_PRIORITY +public enum ResidencyPriority : int +{ + /// + /// D3D12_RESIDENCY_PRIORITY_MINIMUM + Minimum = 671088640, + /// + /// D3D12_RESIDENCY_PRIORITY_LOW + Low = 1342177280, + /// + /// D3D12_RESIDENCY_PRIORITY_NORMAL + Normal = 2013265920, + /// + /// D3D12_RESIDENCY_PRIORITY_HIGH + High = -1610547200, + /// + /// D3D12_RESIDENCY_PRIORITY_MAXIMUM + Maximum = -939524096, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResolveMode.cs b/src/Vortice.Win32.Direct3D12/Generated/ResolveMode.cs new file mode 100644 index 0000000..114a7c9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResolveMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOLVE_MODE +public enum ResolveMode : int +{ + /// + /// D3D12_RESOLVE_MODE_DECOMPRESS + Decompress = 0, + /// + /// D3D12_RESOLVE_MODE_MIN + Min = 1, + /// + /// D3D12_RESOLVE_MODE_MAX + Max = 2, + /// + /// D3D12_RESOLVE_MODE_AVERAGE + Average = 3, + /// + /// D3D12_RESOLVE_MODE_ENCODE_SAMPLER_FEEDBACK + EncodeSamplerFeedback = 4, + /// + /// D3D12_RESOLVE_MODE_DECODE_SAMPLER_FEEDBACK + DecodeSamplerFeedback = 5, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceAliasingBarrier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceAliasingBarrier.cs new file mode 100644 index 0000000..e138a02 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceAliasingBarrier.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_ALIASING_BARRIER +public partial struct ResourceAliasingBarrier +{ + /// + public unsafe ID3D12Resource* pResourceBefore; + + /// + public unsafe ID3D12Resource* pResourceAfter; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo.cs new file mode 100644 index 0000000..f36453d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_ALLOCATION_INFO +public partial struct ResourceAllocationInfo +{ + /// + public ulong SizeInBytes; + + /// + public ulong Alignment; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo1.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo1.cs new file mode 100644 index 0000000..71aaa15 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceAllocationInfo1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_ALLOCATION_INFO1 +public partial struct ResourceAllocationInfo1 +{ + /// + public ulong Offset; + + /// + public ulong Alignment; + + /// + public ulong SizeInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrier.cs new file mode 100644 index 0000000..32ba27d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrier.cs @@ -0,0 +1,70 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_BARRIER +public partial struct ResourceBarrier +{ + /// + public ResourceBarrierType Type; + + /// + public ResourceBarrierFlags Flags; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref ResourceTransitionBarrier Transition + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Transition; + } + } + + [UnscopedRef] + public ref ResourceAliasingBarrier Aliasing + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Aliasing; + } + } + + [UnscopedRef] + public ref ResourceUavBarrier UAV + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.UAV; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public ResourceTransitionBarrier Transition; + + /// + [FieldOffset(0)] + public ResourceAliasingBarrier Aliasing; + + /// + [FieldOffset(0)] + public ResourceUavBarrier UAV; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierFlags.cs new file mode 100644 index 0000000..e4437e1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_BARRIER_FLAGS +[Flags] +public enum ResourceBarrierFlags : uint +{ + /// + /// D3D12_RESOURCE_BARRIER_FLAG_NONE + None = 0, + /// + /// D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY + BeginOnly = 1, + /// + /// D3D12_RESOURCE_BARRIER_FLAG_END_ONLY + EndOnly = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierType.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierType.cs new file mode 100644 index 0000000..ec05a13 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceBarrierType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_BARRIER_TYPE +public enum ResourceBarrierType : int +{ + /// + /// D3D12_RESOURCE_BARRIER_TYPE_TRANSITION + Transition = 0, + /// + /// D3D12_RESOURCE_BARRIER_TYPE_ALIASING + Aliasing = 1, + /// + /// D3D12_RESOURCE_BARRIER_TYPE_UAV + Uav = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceBindingTier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceBindingTier.cs new file mode 100644 index 0000000..92ef4ca --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceBindingTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_BINDING_TIER +public enum ResourceBindingTier : int +{ + /// + /// D3D12_RESOURCE_BINDING_TIER_1 + Tier1 = 1, + /// + /// D3D12_RESOURCE_BINDING_TIER_2 + Tier2 = 2, + /// + /// D3D12_RESOURCE_BINDING_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription.cs new file mode 100644 index 0000000..0442d6f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_DESC +public partial struct ResourceDescription +{ + /// + public ResourceDimension Dimension; + + /// + public ulong Alignment; + + /// + public ulong Width; + + /// + public uint Height; + + /// + public ushort DepthOrArraySize; + + /// + public ushort MipLevels; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Dxgi.Common.SampleDescription SampleDesc; + + /// + public TextureLayout Layout; + + /// + public ResourceFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription1.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription1.cs new file mode 100644 index 0000000..8037784 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceDescription1.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_DESC1 +public partial struct ResourceDescription1 +{ + /// + public ResourceDimension Dimension; + + /// + public ulong Alignment; + + /// + public ulong Width; + + /// + public uint Height; + + /// + public ushort DepthOrArraySize; + + /// + public ushort MipLevels; + + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public Graphics.Dxgi.Common.SampleDescription SampleDesc; + + /// + public TextureLayout Layout; + + /// + public ResourceFlags Flags; + + /// + public MipRegion SamplerFeedbackMipRegion; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceDimension.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceDimension.cs new file mode 100644 index 0000000..a9de8c5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceDimension.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_DIMENSION +public enum ResourceDimension : int +{ + /// + /// D3D12_RESOURCE_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D12_RESOURCE_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D12_RESOURCE_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D12_RESOURCE_DIMENSION_TEXTURE2D + Texture2D = 3, + /// + /// D3D12_RESOURCE_DIMENSION_TEXTURE3D + Texture3D = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceFlags.cs new file mode 100644 index 0000000..1395fae --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceFlags.cs @@ -0,0 +1,44 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_FLAGS +[Flags] +public enum ResourceFlags : uint +{ + /// + /// D3D12_RESOURCE_FLAG_NONE + None = 0, + /// + /// D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET + AllowRenderTarget = 1, + /// + /// D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL + AllowDepthStencil = 2, + /// + /// D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS + AllowUnorderedAccess = 4, + /// + /// D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE + DenyShaderResource = 8, + /// + /// D3D12_RESOURCE_FLAG_ALLOW_CROSS_ADAPTER + AllowCrossAdapter = 16, + /// + /// D3D12_RESOURCE_FLAG_ALLOW_SIMULTANEOUS_ACCESS + AllowSimultaneousAccess = 32, + /// + /// D3D12_RESOURCE_FLAG_VIDEO_DECODE_REFERENCE_ONLY + VideoDecodeReferenceOnly = 64, + /// + /// D3D12_RESOURCE_FLAG_VIDEO_ENCODE_REFERENCE_ONLY + VideoEncodeReferenceOnly = 128, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceHeapTier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceHeapTier.cs new file mode 100644 index 0000000..9747d30 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceHeapTier.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_HEAP_TIER +public enum ResourceHeapTier : int +{ + /// + /// D3D12_RESOURCE_HEAP_TIER_1 + Tier1 = 1, + /// + /// D3D12_RESOURCE_HEAP_TIER_2 + Tier2 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceStates.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceStates.cs new file mode 100644 index 0000000..126ffbc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceStates.cs @@ -0,0 +1,99 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_STATES +[Flags] +public enum ResourceStates : uint +{ + None = 0, + /// + /// D3D12_RESOURCE_STATE_COMMON + Common = 0, + /// + /// D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER + VertexAndConstantBuffer = 1, + /// + /// D3D12_RESOURCE_STATE_INDEX_BUFFER + IndexBuffer = 2, + /// + /// D3D12_RESOURCE_STATE_RENDER_TARGET + RenderTarget = 4, + /// + /// D3D12_RESOURCE_STATE_UNORDERED_ACCESS + UnorderedAccess = 8, + /// + /// D3D12_RESOURCE_STATE_DEPTH_WRITE + DepthWrite = 16, + /// + /// D3D12_RESOURCE_STATE_DEPTH_READ + DepthRead = 32, + /// + /// D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE + NonPixelShaderResource = 64, + /// + /// D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE + PixelShaderResource = 128, + /// + /// D3D12_RESOURCE_STATE_STREAM_OUT + StreamOut = 256, + /// + /// D3D12_RESOURCE_STATE_INDIRECT_ARGUMENT + IndirectArgument = 512, + /// + /// D3D12_RESOURCE_STATE_COPY_DEST + CopyDest = 1024, + /// + /// D3D12_RESOURCE_STATE_COPY_SOURCE + CopySource = 2048, + /// + /// D3D12_RESOURCE_STATE_RESOLVE_DEST + ResolveDest = 4096, + /// + /// D3D12_RESOURCE_STATE_RESOLVE_SOURCE + ResolveSource = 8192, + /// + /// D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE + RaytracingAccelerationStructure = 4194304, + /// + /// D3D12_RESOURCE_STATE_SHADING_RATE_SOURCE + ShadingRateSource = 16777216, + /// + /// D3D12_RESOURCE_STATE_GENERIC_READ + GenericRead = 2755, + /// + /// D3D12_RESOURCE_STATE_ALL_SHADER_RESOURCE + AllShaderResource = 192, + /// + /// D3D12_RESOURCE_STATE_PRESENT + Present = 0, + /// + /// D3D12_RESOURCE_STATE_PREDICATION + Predication = 512, + /// + /// D3D12_RESOURCE_STATE_VIDEO_DECODE_READ + VideoDecodeRead = 65536, + /// + /// D3D12_RESOURCE_STATE_VIDEO_DECODE_WRITE + VideoDecodeWrite = 131072, + /// + /// D3D12_RESOURCE_STATE_VIDEO_PROCESS_READ + VideoProcessRead = 262144, + /// + /// D3D12_RESOURCE_STATE_VIDEO_PROCESS_WRITE + VideoProcessWrite = 524288, + /// + /// D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ + VideoEncodeRead = 2097152, + /// + /// D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE + VideoEncodeWrite = 8388608, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceTransitionBarrier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceTransitionBarrier.cs new file mode 100644 index 0000000..5270f5c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceTransitionBarrier.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_TRANSITION_BARRIER +public partial struct ResourceTransitionBarrier +{ + /// + public unsafe ID3D12Resource* pResource; + + /// + public uint Subresource; + + /// + public ResourceStates StateBefore; + + /// + public ResourceStates StateAfter; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ResourceUavBarrier.cs b/src/Vortice.Win32.Direct3D12/Generated/ResourceUavBarrier.cs new file mode 100644 index 0000000..9f94843 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ResourceUavBarrier.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RESOURCE_UAV_BARRIER +public partial struct ResourceUavBarrier +{ + /// + public unsafe ID3D12Resource* pResource; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootConstants.cs b/src/Vortice.Win32.Direct3D12/Generated/RootConstants.cs new file mode 100644 index 0000000..78a9b08 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootConstants.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_CONSTANTS +public partial struct RootConstants +{ + /// + public uint ShaderRegister; + + /// + public uint RegisterSpace; + + /// + public uint Num32BitValues; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor.cs b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor.cs new file mode 100644 index 0000000..584b1ed --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_DESCRIPTOR +public partial struct RootDescriptor +{ + /// + public uint ShaderRegister; + + /// + public uint RegisterSpace; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor1.cs b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor1.cs new file mode 100644 index 0000000..8496aee --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptor1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_DESCRIPTOR1 +public partial struct RootDescriptor1 +{ + /// + public uint ShaderRegister; + + /// + public uint RegisterSpace; + + /// + public RootDescriptorFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorFlags.cs new file mode 100644 index 0000000..4074b46 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_DESCRIPTOR_FLAGS +[Flags] +public enum RootDescriptorFlags : uint +{ + /// + /// D3D12_ROOT_DESCRIPTOR_FLAG_NONE + None = 0, + /// + /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_VOLATILE + DataVolatile = 2, + /// + /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE + DataStaticWhileSetAtExecute = 4, + /// + /// D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC + DataStatic = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable.cs b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable.cs new file mode 100644 index 0000000..0cf3779 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_DESCRIPTOR_TABLE +public partial struct RootDescriptorTable +{ + /// + public uint NumDescriptorRanges; + + /// + public unsafe DescriptorRange* pDescriptorRanges; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable1.cs b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable1.cs new file mode 100644 index 0000000..e5f279e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootDescriptorTable1.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_DESCRIPTOR_TABLE1 +public partial struct RootDescriptorTable1 +{ + /// + public uint NumDescriptorRanges; + + /// + public unsafe DescriptorRange1* pDescriptorRanges; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootParameter.cs b/src/Vortice.Win32.Direct3D12/Generated/RootParameter.cs new file mode 100644 index 0000000..f6fa6ba --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootParameter.cs @@ -0,0 +1,70 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_PARAMETER +public partial struct RootParameter +{ + /// + public RootParameterType ParameterType; + + /// + public _Anonymous_e__Union Anonymous; + + /// + public ShaderVisibility ShaderVisibility; + + [UnscopedRef] + public ref RootDescriptorTable DescriptorTable + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.DescriptorTable; + } + } + + [UnscopedRef] + public ref RootConstants Constants + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Constants; + } + } + + [UnscopedRef] + public ref RootDescriptor Descriptor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Descriptor; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RootDescriptorTable DescriptorTable; + + /// + [FieldOffset(0)] + public RootConstants Constants; + + /// + [FieldOffset(0)] + public RootDescriptor Descriptor; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootParameter1.cs b/src/Vortice.Win32.Direct3D12/Generated/RootParameter1.cs new file mode 100644 index 0000000..976b183 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootParameter1.cs @@ -0,0 +1,70 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_PARAMETER1 +public partial struct RootParameter1 +{ + /// + public RootParameterType ParameterType; + + /// + public _Anonymous_e__Union Anonymous; + + /// + public ShaderVisibility ShaderVisibility; + + [UnscopedRef] + public ref RootDescriptorTable1 DescriptorTable + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.DescriptorTable; + } + } + + [UnscopedRef] + public ref RootConstants Constants + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Constants; + } + } + + [UnscopedRef] + public ref RootDescriptor1 Descriptor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Descriptor; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RootDescriptorTable1 DescriptorTable; + + /// + [FieldOffset(0)] + public RootConstants Constants; + + /// + [FieldOffset(0)] + public RootDescriptor1 Descriptor; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootParameterType.cs b/src/Vortice.Win32.Direct3D12/Generated/RootParameterType.cs new file mode 100644 index 0000000..93d2425 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootParameterType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_PARAMETER_TYPE +public enum RootParameterType : int +{ + /// + /// D3D12_ROOT_PARAMETER_TYPE_DESCRIPTOR_TABLE + DescriptorTable = 0, + /// + /// D3D12_ROOT_PARAMETER_TYPE_32BIT_CONSTANTS + T32BitConstants = 1, + /// + /// D3D12_ROOT_PARAMETER_TYPE_CBV + Cbv = 2, + /// + /// D3D12_ROOT_PARAMETER_TYPE_SRV + Srv = 3, + /// + /// D3D12_ROOT_PARAMETER_TYPE_UAV + Uav = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription.cs new file mode 100644 index 0000000..c83054c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_SIGNATURE_DESC +public partial struct RootSignatureDescription +{ + /// + public uint NumParameters; + + /// + public unsafe RootParameter* pParameters; + + /// + public uint NumStaticSamplers; + + /// + public unsafe StaticSamplerDescription* pStaticSamplers; + + /// + public RootSignatureFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription1.cs b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription1.cs new file mode 100644 index 0000000..18b52b3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureDescription1.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_SIGNATURE_DESC1 +public partial struct RootSignatureDescription1 +{ + /// + public uint NumParameters; + + /// + public unsafe RootParameter1* pParameters; + + /// + public uint NumStaticSamplers; + + /// + public unsafe StaticSamplerDescription* pStaticSamplers; + + /// + public RootSignatureFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootSignatureFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureFlags.cs new file mode 100644 index 0000000..1bde723 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureFlags.cs @@ -0,0 +1,56 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_ROOT_SIGNATURE_FLAGS +[Flags] +public enum RootSignatureFlags : uint +{ + /// + /// D3D12_ROOT_SIGNATURE_FLAG_NONE + None = 0, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT + AllowInputAssemblerInputLayout = 1, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS + DenyVertexShaderRootAccess = 2, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_HULL_SHADER_ROOT_ACCESS + DenyHullShaderRootAccess = 4, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS + DenyDomainShaderRootAccess = 8, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS + DenyGeometryShaderRootAccess = 16, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_PIXEL_SHADER_ROOT_ACCESS + DenyPixelShaderRootAccess = 32, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_ALLOW_STREAM_OUTPUT + AllowStreamOutput = 64, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_LOCAL_ROOT_SIGNATURE + LocalRootSignature = 128, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_AMPLIFICATION_SHADER_ROOT_ACCESS + DenyAmplificationShaderRootAccess = 256, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_DENY_MESH_SHADER_ROOT_ACCESS + DenyMeshShaderRootAccess = 512, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED + CbvSrvUavHeapDirectlyIndexed = 1024, + /// + /// D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED + SamplerHeapDirectlyIndexed = 2048, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RootSignatureVersion.cs b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureVersion.cs new file mode 100644 index 0000000..b6a221c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RootSignatureVersion.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D_ROOT_SIGNATURE_VERSION +public enum RootSignatureVersion : int +{ + /// + /// D3D_ROOT_SIGNATURE_VERSION_1_0 + V1_0 = 1, + /// + /// D3D_ROOT_SIGNATURE_VERSION_1_1 + V1_1 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RtFormatArray.cs b/src/Vortice.Win32.Direct3D12/Generated/RtFormatArray.cs new file mode 100644 index 0000000..0f60439 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RtFormatArray.cs @@ -0,0 +1,50 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RT_FORMAT_ARRAY +public partial struct RtFormatArray +{ + /// + public RTFormats__FixedBuffer RTFormats; + + public unsafe struct RTFormats__FixedBuffer + { + public Graphics.Dxgi.Common.Format e0; + public Graphics.Dxgi.Common.Format e1; + public Graphics.Dxgi.Common.Format e2; + public Graphics.Dxgi.Common.Format e3; + public Graphics.Dxgi.Common.Format e4; + public Graphics.Dxgi.Common.Format e5; + public Graphics.Dxgi.Common.Format e6; + public Graphics.Dxgi.Common.Format e7; + + [UnscopedRef] + public ref Graphics.Dxgi.Common.Format this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 8); + } + } + + /// + public uint NumRenderTargets; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/RtvDimension.cs b/src/Vortice.Win32.Direct3D12/Generated/RtvDimension.cs new file mode 100644 index 0000000..b31fcab --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/RtvDimension.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_RTV_DIMENSION +public enum RtvDimension : int +{ + /// + /// D3D12_RTV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D12_RTV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D12_RTV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D12_RTV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D12_RTV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D12_RTV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D12_RTV_DIMENSION_TEXTURE2DMS + Texture2DMs = 6, + /// + /// D3D12_RTV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 7, + /// + /// D3D12_RTV_DIMENSION_TEXTURE3D + Texture3D = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SODeclarationEntry.cs b/src/Vortice.Win32.Direct3D12/Generated/SODeclarationEntry.cs new file mode 100644 index 0000000..17198a2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SODeclarationEntry.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SO_DECLARATION_ENTRY +public partial struct SODeclarationEntry +{ + /// + public uint Stream; + + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public byte StartComponent; + + /// + public byte ComponentCount; + + /// + public byte OutputSlot; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SamplePosition.cs b/src/Vortice.Win32.Direct3D12/Generated/SamplePosition.cs new file mode 100644 index 0000000..b146052 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SamplePosition.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SAMPLE_POSITION +public partial struct SamplePosition +{ + /// + public sbyte X; + + /// + public sbyte Y; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SamplerDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/SamplerDescription.cs new file mode 100644 index 0000000..b779567 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SamplerDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SAMPLER_DESC +public partial struct SamplerDescription +{ + /// + public Filter Filter; + + /// + public TextureAddressMode AddressU; + + /// + public TextureAddressMode AddressV; + + /// + public TextureAddressMode AddressW; + + /// + public float MipLODBias; + + /// + public uint MaxAnisotropy; + + /// + public ComparisonFunction ComparisonFunc; + + /// + public unsafe fixed float BorderColor[4]; + + /// + public float MinLOD; + + /// + public float MaxLOD; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SamplerFeedbackTier.cs b/src/Vortice.Win32.Direct3D12/Generated/SamplerFeedbackTier.cs new file mode 100644 index 0000000..cfa347c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SamplerFeedbackTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SAMPLER_FEEDBACK_TIER +public enum SamplerFeedbackTier : int +{ + /// + /// D3D12_SAMPLER_FEEDBACK_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_SAMPLER_FEEDBACK_TIER_0_9 + Tier0_9 = 90, + /// + /// D3D12_SAMPLER_FEEDBACK_TIER_1_0 + Tier1_0 = 100, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SerializedDataDriverMatchingIdentifier.cs b/src/Vortice.Win32.Direct3D12/Generated/SerializedDataDriverMatchingIdentifier.cs new file mode 100644 index 0000000..9fc8e6f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SerializedDataDriverMatchingIdentifier.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER +public partial struct SerializedDataDriverMatchingIdentifier +{ + /// + public Guid DriverOpaqueGUID; + + /// + public unsafe fixed byte DriverOpaqueVersioningData[16]; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SerializedDataType.cs b/src/Vortice.Win32.Direct3D12/Generated/SerializedDataType.cs new file mode 100644 index 0000000..4dfa2b0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SerializedDataType.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SERIALIZED_DATA_TYPE +public enum SerializedDataType : int +{ + /// + /// D3D12_SERIALIZED_DATA_RAYTRACING_ACCELERATION_STRUCTURE + RaytracingAccelerationStructure = 0, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SerializedRaytracingAccelerationStructureHeader.cs b/src/Vortice.Win32.Direct3D12/Generated/SerializedRaytracingAccelerationStructureHeader.cs new file mode 100644 index 0000000..f5d7511 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SerializedRaytracingAccelerationStructureHeader.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SERIALIZED_RAYTRACING_ACCELERATION_STRUCTURE_HEADER +public partial struct SerializedRaytracingAccelerationStructureHeader +{ + /// + public SerializedDataDriverMatchingIdentifier DriverMatchingIdentifier; + + /// + public ulong SerializedSizeInBytesIncludingHeader; + + /// + public ulong DeserializedSizeInBytes; + + /// + public ulong NumBottomLevelAccelerationStructurePointersAfterHeader; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderBufferDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderBufferDescription.cs new file mode 100644 index 0000000..2e073c5 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderBufferDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_BUFFER_DESC +public partial struct ShaderBufferDescription +{ + /// + public unsafe sbyte* Name; + + /// + public Graphics.Direct3D.CBufferType Type; + + /// + public uint Variables; + + /// + public uint Size; + + /// + public uint uFlags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderBytecode.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderBytecode.cs new file mode 100644 index 0000000..e196e3a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderBytecode.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_BYTECODE +public partial struct ShaderBytecode +{ + /// + public unsafe void* pShaderBytecode; + + /// + public nuint BytecodeLength; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheControlFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheControlFlags.cs new file mode 100644 index 0000000..1e8f817 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheControlFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_CONTROL_FLAGS +[Flags] +public enum ShaderCacheControlFlags : uint +{ + None = 0, + /// + /// D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLE + Disable = 1, + /// + /// D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE + Enable = 2, + /// + /// D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR + Clear = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheFlags.cs new file mode 100644 index 0000000..36ad2f4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_FLAGS +[Flags] +public enum ShaderCacheFlags : uint +{ + /// + /// D3D12_SHADER_CACHE_FLAG_NONE + None = 0, + /// + /// D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED + DriverVersioned = 1, + /// + /// D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR + UseWorkingDir = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheKindFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheKindFlags.cs new file mode 100644 index 0000000..c12472a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheKindFlags.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_KIND_FLAGS +[Flags] +public enum ShaderCacheKindFlags : uint +{ + None = 0, + /// + /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CACHE_FOR_DRIVER + ImplicitD3DCacheForDriver = 1, + /// + /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS + ImplicitD3DConversions = 2, + /// + /// D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED + ImplicitDriverManaged = 4, + /// + /// D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED + ApplicationManaged = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheMode.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheMode.cs new file mode 100644 index 0000000..8db2355 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_MODE +public enum ShaderCacheMode : int +{ + /// + /// D3D12_SHADER_CACHE_MODE_MEMORY + Memory = 0, + /// + /// D3D12_SHADER_CACHE_MODE_DISK + Disk = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSessionDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSessionDescription.cs new file mode 100644 index 0000000..abd23ea --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSessionDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_SESSION_DESC +public partial struct ShaderCacheSessionDescription +{ + /// + public Guid Identifier; + + /// + public ShaderCacheMode Mode; + + /// + public ShaderCacheFlags Flags; + + /// + public uint MaximumInMemoryCacheSizeBytes; + + /// + public uint MaximumInMemoryCacheEntries; + + /// + public uint MaximumValueFileSizeBytes; + + /// + public ulong Version; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSupportFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSupportFlags.cs new file mode 100644 index 0000000..7af8b67 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderCacheSupportFlags.cs @@ -0,0 +1,41 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_CACHE_SUPPORT_FLAGS +[Flags] +public enum ShaderCacheSupportFlags : uint +{ + /// + /// D3D12_SHADER_CACHE_SUPPORT_NONE + None = 0, + /// + /// D3D12_SHADER_CACHE_SUPPORT_SINGLE_PSO + SinglePso = 1, + /// + /// D3D12_SHADER_CACHE_SUPPORT_LIBRARY + Library = 2, + /// + /// D3D12_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE + AutomaticInprocCache = 4, + /// + /// D3D12_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE + AutomaticDiskCache = 8, + /// + /// D3D12_SHADER_CACHE_SUPPORT_DRIVER_MANAGED_CACHE + DriverManagedCache = 16, + /// + /// D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR + ShaderControlClear = 32, + /// + /// D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE + ShaderSessionDelete = 64, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderComponentMapping.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderComponentMapping.cs new file mode 100644 index 0000000..f448804 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderComponentMapping.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_COMPONENT_MAPPING +public enum ShaderComponentMapping : int +{ + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_0 + FromMemoryComponent0 = 0, + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_1 + FromMemoryComponent1 = 1, + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_2 + FromMemoryComponent2 = 2, + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_3 + FromMemoryComponent3 = 3, + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_0 + ForceValue0 = 4, + /// + /// D3D12_SHADER_COMPONENT_MAPPING_FORCE_VALUE_1 + ForceValue1 = 5, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderDescription.cs new file mode 100644 index 0000000..1969e44 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderDescription.cs @@ -0,0 +1,129 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_DESC +public partial struct ShaderDescription +{ + /// + public uint Version; + + /// + public unsafe sbyte* Creator; + + /// + public uint Flags; + + /// + public uint ConstantBuffers; + + /// + public uint BoundResources; + + /// + public uint InputParameters; + + /// + public uint OutputParameters; + + /// + public uint InstructionCount; + + /// + public uint TempRegisterCount; + + /// + public uint TempArrayCount; + + /// + public uint DefCount; + + /// + public uint DclCount; + + /// + public uint TextureNormalInstructions; + + /// + public uint TextureLoadInstructions; + + /// + public uint TextureCompInstructions; + + /// + public uint TextureBiasInstructions; + + /// + public uint TextureGradientInstructions; + + /// + public uint FloatInstructionCount; + + /// + public uint IntInstructionCount; + + /// + public uint UintInstructionCount; + + /// + public uint StaticFlowControlCount; + + /// + public uint DynamicFlowControlCount; + + /// + public uint MacroInstructionCount; + + /// + public uint ArrayInstructionCount; + + /// + public uint CutInstructionCount; + + /// + public uint EmitInstructionCount; + + /// + public Graphics.Direct3D.PrimitiveTopology GSOutputTopology; + + /// + public uint GSMaxOutputVertexCount; + + /// + public Graphics.Direct3D.Primitive InputPrimitive; + + /// + public uint PatchConstantParameters; + + /// + public uint cGSInstanceCount; + + /// + public uint cControlPoints; + + /// + public Graphics.Direct3D.TessellatorOutputPrimitive HSOutputPrimitive; + + /// + public Graphics.Direct3D.TessellatorPartitioning HSPartitioning; + + /// + public Graphics.Direct3D.TessellatorDomain TessellatorDomain; + + /// + public uint cBarrierInstructions; + + /// + public uint cInterlockedInstructions; + + /// + public uint cTextureStoreInstructions; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderInputBindDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderInputBindDescription.cs new file mode 100644 index 0000000..234f108 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderInputBindDescription.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_INPUT_BIND_DESC +public partial struct ShaderInputBindDescription +{ + /// + public unsafe sbyte* Name; + + /// + public Graphics.Direct3D.ShaderInputType Type; + + /// + public uint BindPoint; + + /// + public uint BindCount; + + /// + public uint uFlags; + + /// + public Graphics.Direct3D.ResourceReturnType ReturnType; + + /// + public Graphics.Direct3D.SrvDimension Dimension; + + /// + public uint NumSamples; + + /// + public uint Space; + + /// + public uint uID; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderMinPrecisionSupport.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderMinPrecisionSupport.cs new file mode 100644 index 0000000..defc147 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderMinPrecisionSupport.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_MIN_PRECISION_SUPPORT +[Flags] +public enum ShaderMinPrecisionSupport : uint +{ + /// + /// D3D12_SHADER_MIN_PRECISION_SUPPORT_NONE + None = 0, + /// + /// D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT + P10Bit = 1, + /// + /// D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT + P16Bit = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderModel.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderModel.cs new file mode 100644 index 0000000..d0e242f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderModel.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D_SHADER_MODEL +public enum ShaderModel : int +{ + /// + /// D3D_SHADER_MODEL_5_1 + SM_5_1 = 81, + /// + /// D3D_SHADER_MODEL_6_0 + SM_6_0 = 96, + /// + /// D3D_SHADER_MODEL_6_1 + SM_6_1 = 97, + /// + /// D3D_SHADER_MODEL_6_2 + SM_6_2 = 98, + /// + /// D3D_SHADER_MODEL_6_3 + SM_6_3 = 99, + /// + /// D3D_SHADER_MODEL_6_4 + SM_6_4 = 100, + /// + /// D3D_SHADER_MODEL_6_5 + SM_6_5 = 101, + /// + /// D3D_SHADER_MODEL_6_6 + SM_6_6 = 102, + /// + /// D3D_SHADER_MODEL_6_7 + SM_6_7 = 103, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderResourceViewDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderResourceViewDescription.cs new file mode 100644 index 0000000..2d4fbc2 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderResourceViewDescription.cs @@ -0,0 +1,185 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_RESOURCE_VIEW_DESC +public partial struct ShaderResourceViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public SrvDimension ViewDimension; + + /// + public uint Shader4ComponentMapping; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferSrv Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DSrv Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArraySrv Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DSrv Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArraySrv Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture2DMsSrv Texture2DMS + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMS; + } + } + + [UnscopedRef] + public ref Texture2DMsArraySrv Texture2DMSArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DMSArray; + } + } + + [UnscopedRef] + public ref Texture3DSrv Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [UnscopedRef] + public ref TexureCubeSrv TextureCube + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCube; + } + } + + [UnscopedRef] + public ref TexureCubeArraySrv TextureCubeArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.TextureCubeArray; + } + } + + [UnscopedRef] + public ref RaytracingAccelerationStructureSrv RaytracingAccelerationStructure + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.RaytracingAccelerationStructure; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferSrv Buffer; + + /// + [FieldOffset(0)] + public Texture1DSrv Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArraySrv Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DSrv Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArraySrv Texture2DArray; + + /// + [FieldOffset(0)] + public Texture2DMsSrv Texture2DMS; + + /// + [FieldOffset(0)] + public Texture2DMsArraySrv Texture2DMSArray; + + /// + [FieldOffset(0)] + public Texture3DSrv Texture3D; + + /// + [FieldOffset(0)] + public TexureCubeSrv TextureCube; + + /// + [FieldOffset(0)] + public TexureCubeArraySrv TextureCubeArray; + + /// + [FieldOffset(0)] + public RaytracingAccelerationStructureSrv RaytracingAccelerationStructure; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderTypeDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderTypeDescription.cs new file mode 100644 index 0000000..b231c52 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderTypeDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_TYPE_DESC +public partial struct ShaderTypeDescription +{ + /// + public Graphics.Direct3D.ShaderVariableClass Class; + + /// + public Graphics.Direct3D.ShaderVariableType Type; + + /// + public uint Rows; + + /// + public uint Columns; + + /// + public uint Elements; + + /// + public uint Members; + + /// + public uint Offset; + + /// + public unsafe sbyte* Name; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderVariableDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderVariableDescription.cs new file mode 100644 index 0000000..d36c1b4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderVariableDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_VARIABLE_DESC +public partial struct ShaderVariableDescription +{ + /// + public unsafe sbyte* Name; + + /// + public uint StartOffset; + + /// + public uint Size; + + /// + public uint uFlags; + + /// + public unsafe void* DefaultValue; + + /// + public uint StartTexture; + + /// + public uint TextureSize; + + /// + public uint StartSampler; + + /// + public uint SamplerSize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderVersionType.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderVersionType.cs new file mode 100644 index 0000000..a47ffff --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderVersionType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_VERSION_TYPE +public enum ShaderVersionType : int +{ + /// + /// D3D12_SHVER_PIXEL_SHADER + PixelShader = 0, + /// + /// D3D12_SHVER_VERTEX_SHADER + VertexShader = 1, + /// + /// D3D12_SHVER_GEOMETRY_SHADER + GeometryShader = 2, + /// + /// D3D12_SHVER_HULL_SHADER + HullShader = 3, + /// + /// D3D12_SHVER_DOMAIN_SHADER + DomainShader = 4, + /// + /// D3D12_SHVER_COMPUTE_SHADER + ComputeShader = 5, + /// + /// D3D12_SHVER_RESERVED0 + Reserved0 = 65520, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShaderVisibility.cs b/src/Vortice.Win32.Direct3D12/Generated/ShaderVisibility.cs new file mode 100644 index 0000000..cd73e81 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShaderVisibility.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADER_VISIBILITY +public enum ShaderVisibility : int +{ + /// + /// D3D12_SHADER_VISIBILITY_ALL + All = 0, + /// + /// D3D12_SHADER_VISIBILITY_VERTEX + Vertex = 1, + /// + /// D3D12_SHADER_VISIBILITY_HULL + Hull = 2, + /// + /// D3D12_SHADER_VISIBILITY_DOMAIN + Domain = 3, + /// + /// D3D12_SHADER_VISIBILITY_GEOMETRY + Geometry = 4, + /// + /// D3D12_SHADER_VISIBILITY_PIXEL + Pixel = 5, + /// + /// D3D12_SHADER_VISIBILITY_AMPLIFICATION + Amplification = 6, + /// + /// D3D12_SHADER_VISIBILITY_MESH + Mesh = 7, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShadingRate.cs b/src/Vortice.Win32.Direct3D12/Generated/ShadingRate.cs new file mode 100644 index 0000000..85602ed --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShadingRate.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADING_RATE +public enum ShadingRate : int +{ + /// + /// D3D12_SHADING_RATE_1X1 + Rate1x1 = 0, + /// + /// D3D12_SHADING_RATE_1X2 + Rate1x2 = 1, + /// + /// D3D12_SHADING_RATE_2X1 + Rate2x1 = 4, + /// + /// D3D12_SHADING_RATE_2X2 + Rate2x2 = 5, + /// + /// D3D12_SHADING_RATE_2X4 + Rate2x4 = 6, + /// + /// D3D12_SHADING_RATE_4X2 + Rate4x2 = 9, + /// + /// D3D12_SHADING_RATE_4X4 + Rate4x4 = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ShadingRateCombiner.cs b/src/Vortice.Win32.Direct3D12/Generated/ShadingRateCombiner.cs new file mode 100644 index 0000000..4883ab9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ShadingRateCombiner.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHADING_RATE_COMBINER +public enum ShadingRateCombiner : int +{ + /// + /// D3D12_SHADING_RATE_COMBINER_PASSTHROUGH + Passthrough = 0, + /// + /// D3D12_SHADING_RATE_COMBINER_OVERRIDE + Override = 1, + /// + /// D3D12_SHADING_RATE_COMBINER_MIN + Min = 2, + /// + /// D3D12_SHADING_RATE_COMBINER_MAX + Max = 3, + /// + /// D3D12_SHADING_RATE_COMBINER_SUM + Sum = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SharedResourceCompatibilityTier.cs b/src/Vortice.Win32.Direct3D12/Generated/SharedResourceCompatibilityTier.cs new file mode 100644 index 0000000..729e66f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SharedResourceCompatibilityTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER +public enum SharedResourceCompatibilityTier : int +{ + /// + /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_0 + Tier0 = 0, + /// + /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_1 + Tier1 = 1, + /// + /// D3D12_SHARED_RESOURCE_COMPATIBILITY_TIER_2 + Tier2 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SignatureParameterDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/SignatureParameterDescription.cs new file mode 100644 index 0000000..d021d0e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SignatureParameterDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SIGNATURE_PARAMETER_DESC +public partial struct SignatureParameterDescription +{ + /// + public unsafe sbyte* SemanticName; + + /// + public uint SemanticIndex; + + /// + public uint Register; + + /// + public Graphics.Direct3D.Name SystemValueType; + + /// + public Graphics.Direct3D.RegisterComponentType ComponentType; + + /// + public byte Mask; + + /// + public byte ReadWriteMask; + + /// + public uint Stream; + + /// + public Graphics.Direct3D.MinPrecision MinPrecision; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SrvDimension.cs b/src/Vortice.Win32.Direct3D12/Generated/SrvDimension.cs new file mode 100644 index 0000000..416be8d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SrvDimension.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SRV_DIMENSION +public enum SrvDimension : int +{ + /// + /// D3D12_SRV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D12_SRV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D12_SRV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D12_SRV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D12_SRV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D12_SRV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D12_SRV_DIMENSION_TEXTURE2DMS + Texture2DMs = 6, + /// + /// D3D12_SRV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 7, + /// + /// D3D12_SRV_DIMENSION_TEXTURE3D + Texture3D = 8, + /// + /// D3D12_SRV_DIMENSION_TEXTURECUBE + TextureCube = 9, + /// + /// D3D12_SRV_DIMENSION_TEXTURECUBEARRAY + TextureCubeArray = 10, + /// + /// D3D12_SRV_DIMENSION_RAYTRACING_ACCELERATION_STRUCTURE + RaytracingAccelerationStructure = 11, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateObjectConfig.cs b/src/Vortice.Win32.Direct3D12/Generated/StateObjectConfig.cs new file mode 100644 index 0000000..95d6edb --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateObjectConfig.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_OBJECT_CONFIG +public partial struct StateObjectConfig +{ + /// + public StateObjectFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateObjectDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/StateObjectDescription.cs new file mode 100644 index 0000000..347e11d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateObjectDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_OBJECT_DESC +public partial struct StateObjectDescription +{ + /// + public StateObjectType Type; + + /// + public uint NumSubobjects; + + /// + public unsafe StateSubObject* pSubobjects; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateObjectFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/StateObjectFlags.cs new file mode 100644 index 0000000..7d60ea3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateObjectFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_OBJECT_FLAGS +[Flags] +public enum StateObjectFlags : uint +{ + /// + /// D3D12_STATE_OBJECT_FLAG_NONE + None = 0, + /// + /// D3D12_STATE_OBJECT_FLAG_ALLOW_LOCAL_DEPENDENCIES_ON_EXTERNAL_DEFINITIONS + AllowLocalDependenciesOnExternalDefinitions = 1, + /// + /// D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS + AllowExternalDependenciesOnLocalDefinitions = 2, + /// + /// D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS + AllowStateObjectAdditions = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateObjectType.cs b/src/Vortice.Win32.Direct3D12/Generated/StateObjectType.cs new file mode 100644 index 0000000..317ae0d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateObjectType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_OBJECT_TYPE +public enum StateObjectType : int +{ + /// + /// D3D12_STATE_OBJECT_TYPE_COLLECTION + Collection = 0, + /// + /// D3D12_STATE_OBJECT_TYPE_RAYTRACING_PIPELINE + RaytracingPipeline = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateSubObject.cs b/src/Vortice.Win32.Direct3D12/Generated/StateSubObject.cs new file mode 100644 index 0000000..cd8064a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateSubObject.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_SUBOBJECT +public partial struct StateSubObject +{ + /// + public StateSubObjectType Type; + + /// + public unsafe void* pDesc; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StateSubObjectType.cs b/src/Vortice.Win32.Direct3D12/Generated/StateSubObjectType.cs new file mode 100644 index 0000000..00a946d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StateSubObjectType.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATE_SUBOBJECT_TYPE +public enum StateSubObjectType : int +{ + /// + /// D3D12_STATE_SUBOBJECT_TYPE_STATE_OBJECT_CONFIG + StateObjectConfig = 0, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_GLOBAL_ROOT_SIGNATURE + GlobalRootSignature = 1, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_LOCAL_ROOT_SIGNATURE + LocalRootSignature = 2, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_NODE_MASK + NodeMask = 3, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_DXIL_LIBRARY + DxilLibrary = 5, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_EXISTING_COLLECTION + ExistingCollection = 6, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_SUBOBJECT_TO_EXPORTS_ASSOCIATION + SubObjectToExportsAssociation = 7, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_DXIL_SUBOBJECT_TO_EXPORTS_ASSOCIATION + DxilSubObjectToExportsAssociation = 8, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_SHADER_CONFIG + RaytracingShaderConfig = 9, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG + RaytracingPipelineConfig = 10, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_HIT_GROUP + HitGroup = 11, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_RAYTRACING_PIPELINE_CONFIG1 + RaytracingPipelineConfig1 = 12, + /// + /// D3D12_STATE_SUBOBJECT_TYPE_MAX_VALID + MaxValid = 13, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StaticBorderColor.cs b/src/Vortice.Win32.Direct3D12/Generated/StaticBorderColor.cs new file mode 100644 index 0000000..6c7db8e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StaticBorderColor.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATIC_BORDER_COLOR +public enum StaticBorderColor : int +{ + /// + /// D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK + TransparentBlack = 0, + /// + /// D3D12_STATIC_BORDER_COLOR_OPAQUE_BLACK + OpaqueBlack = 1, + /// + /// D3D12_STATIC_BORDER_COLOR_OPAQUE_WHITE + OpaqueWhite = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StaticSamplerDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/StaticSamplerDescription.cs new file mode 100644 index 0000000..cf10080 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StaticSamplerDescription.cs @@ -0,0 +1,54 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STATIC_SAMPLER_DESC +public partial struct StaticSamplerDescription +{ + /// + public Filter Filter; + + /// + public TextureAddressMode AddressU; + + /// + public TextureAddressMode AddressV; + + /// + public TextureAddressMode AddressW; + + /// + public float MipLODBias; + + /// + public uint MaxAnisotropy; + + /// + public ComparisonFunction ComparisonFunc; + + /// + public StaticBorderColor BorderColor; + + /// + public float MinLOD; + + /// + public float MaxLOD; + + /// + public uint ShaderRegister; + + /// + public uint RegisterSpace; + + /// + public ShaderVisibility ShaderVisibility; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StencilOperation.cs b/src/Vortice.Win32.Direct3D12/Generated/StencilOperation.cs new file mode 100644 index 0000000..c65113f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StencilOperation.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STENCIL_OP +public enum StencilOperation : int +{ + /// + /// D3D12_STENCIL_OP_KEEP + Keep = 1, + /// + /// D3D12_STENCIL_OP_ZERO + Zero = 2, + /// + /// D3D12_STENCIL_OP_REPLACE + Replace = 3, + /// + /// D3D12_STENCIL_OP_INCR_SAT + IncrSat = 4, + /// + /// D3D12_STENCIL_OP_DECR_SAT + DecrSat = 5, + /// + /// D3D12_STENCIL_OP_INVERT + Invert = 6, + /// + /// D3D12_STENCIL_OP_INCR + Incr = 7, + /// + /// D3D12_STENCIL_OP_DECR + Decr = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StreamOutputBufferView.cs b/src/Vortice.Win32.Direct3D12/Generated/StreamOutputBufferView.cs new file mode 100644 index 0000000..a47d826 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StreamOutputBufferView.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STREAM_OUTPUT_BUFFER_VIEW +public partial struct StreamOutputBufferView +{ + /// + public ulong BufferLocation; + + /// + public ulong SizeInBytes; + + /// + public ulong BufferFilledSizeLocation; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/StreamOutputDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/StreamOutputDescription.cs new file mode 100644 index 0000000..a4eb037 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/StreamOutputDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_STREAM_OUTPUT_DESC +public partial struct StreamOutputDescription +{ + /// + public unsafe SODeclarationEntry* pSODeclaration; + + /// + public uint NumEntries; + + /// + public unsafe uint* pBufferStrides; + + /// + public uint NumStrides; + + /// + public uint RasterizedStream; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubObjectToExportsAssociation.cs b/src/Vortice.Win32.Direct3D12/Generated/SubObjectToExportsAssociation.cs new file mode 100644 index 0000000..cb073df --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubObjectToExportsAssociation.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION +public partial struct SubObjectToExportsAssociation +{ + /// + public unsafe StateSubObject* pSubobjectToAssociate; + + /// + public uint NumExports; + + /// + public unsafe ushort** pExports; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubresourceData.cs b/src/Vortice.Win32.Direct3D12/Generated/SubresourceData.cs new file mode 100644 index 0000000..c08528f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubresourceData.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBRESOURCE_DATA +public partial struct SubresourceData +{ + /// + public unsafe void* pData; + + /// + public nint RowPitch; + + /// + public nint SlicePitch; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubresourceFootprint.cs b/src/Vortice.Win32.Direct3D12/Generated/SubresourceFootprint.cs new file mode 100644 index 0000000..47de9e0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubresourceFootprint.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBRESOURCE_FOOTPRINT +public partial struct SubresourceFootprint +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; + + /// + public uint RowPitch; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubresourceInfo.cs b/src/Vortice.Win32.Direct3D12/Generated/SubresourceInfo.cs new file mode 100644 index 0000000..f0eaa52 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubresourceInfo.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBRESOURCE_INFO +public partial struct SubresourceInfo +{ + /// + public ulong Offset; + + /// + public uint RowPitch; + + /// + public uint DepthPitch; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubresourceRangeUInt64.cs b/src/Vortice.Win32.Direct3D12/Generated/SubresourceRangeUInt64.cs new file mode 100644 index 0000000..1a5132d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubresourceRangeUInt64.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBRESOURCE_RANGE_UINT64 +public partial struct SubresourceRangeUInt64 +{ + /// + public uint Subresource; + + /// + public RangeUInt64 Range; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/SubresourceTiling.cs b/src/Vortice.Win32.Direct3D12/Generated/SubresourceTiling.cs new file mode 100644 index 0000000..35c2009 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/SubresourceTiling.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_SUBRESOURCE_TILING +public partial struct SubresourceTiling +{ + /// + public uint WidthInTiles; + + /// + public ushort HeightInTiles; + + /// + public ushort DepthInTiles; + + /// + public uint StartTileIndexInOverallResource; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayDsv.cs new file mode 100644 index 0000000..48a9219 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayDsv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_ARRAY_DSV +public partial struct Texture1DArrayDsv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayRtv.cs new file mode 100644 index 0000000..2858978 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayRtv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_ARRAY_RTV +public partial struct Texture1DArrayRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DArraySrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArraySrv.cs new file mode 100644 index 0000000..0c9e9b9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArraySrv.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_ARRAY_SRV +public partial struct Texture1DArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayUav.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayUav.cs new file mode 100644 index 0000000..cdff954 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DArrayUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_ARRAY_UAV +public partial struct Texture1DArrayUav +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DDsv.cs new file mode 100644 index 0000000..ced52b9 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_DSV +public partial struct Texture1DDsv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DRtv.cs new file mode 100644 index 0000000..54d0ca0 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DRtv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_RTV +public partial struct Texture1DRtv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DSrv.cs new file mode 100644 index 0000000..7b463ad --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DSrv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_SRV +public partial struct Texture1DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture1DUav.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture1DUav.cs new file mode 100644 index 0000000..c43c895 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture1DUav.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX1D_UAV +public partial struct Texture1DUav +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayDsv.cs new file mode 100644 index 0000000..5cd9471 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayDsv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_ARRAY_DSV +public partial struct Texture2DArrayDsv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayRtv.cs new file mode 100644 index 0000000..106409c --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayRtv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_ARRAY_RTV +public partial struct Texture2DArrayRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DArraySrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArraySrv.cs new file mode 100644 index 0000000..de6b77b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArraySrv.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_ARRAY_SRV +public partial struct Texture2DArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayUav.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayUav.cs new file mode 100644 index 0000000..9a55b07 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DArrayUav.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_ARRAY_UAV +public partial struct Texture2DArrayUav +{ + /// + public uint MipSlice; + + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DDsv.cs new file mode 100644 index 0000000..337d555 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_DSV +public partial struct Texture2DDsv +{ + /// + public uint MipSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayDsv.cs new file mode 100644 index 0000000..1e73403 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayDsv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_ARRAY_DSV +public partial struct Texture2DMsArrayDsv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayRtv.cs new file mode 100644 index 0000000..2de8e2a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArrayRtv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_ARRAY_RTV +public partial struct Texture2DMsArrayRtv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArraySrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArraySrv.cs new file mode 100644 index 0000000..9c04b84 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsArraySrv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_ARRAY_SRV +public partial struct Texture2DMsArraySrv +{ + /// + public uint FirstArraySlice; + + /// + public uint ArraySize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsDsv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsDsv.cs new file mode 100644 index 0000000..9877a17 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsDsv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_DSV +public partial struct Texture2DMsDsv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsRtv.cs new file mode 100644 index 0000000..c7a3664 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsRtv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_RTV +public partial struct Texture2DMsRtv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsSrv.cs new file mode 100644 index 0000000..a6f9c3e --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DMsSrv.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2DMS_SRV +public partial struct Texture2DMsSrv +{ + /// + public uint UnusedField_NothingToDefine; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DRtv.cs new file mode 100644 index 0000000..1a53430 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DRtv.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_RTV +public partial struct Texture2DRtv +{ + /// + public uint MipSlice; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DSrv.cs new file mode 100644 index 0000000..cae39b4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DSrv.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_SRV +public partial struct Texture2DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint PlaneSlice; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture2DUav.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture2DUav.cs new file mode 100644 index 0000000..1a01370 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture2DUav.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX2D_UAV +public partial struct Texture2DUav +{ + /// + public uint MipSlice; + + /// + public uint PlaneSlice; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture3DRtv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture3DRtv.cs new file mode 100644 index 0000000..2d603a3 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture3DRtv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX3D_RTV +public partial struct Texture3DRtv +{ + /// + public uint MipSlice; + + /// + public uint FirstWSlice; + + /// + public uint WSize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture3DSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture3DSrv.cs new file mode 100644 index 0000000..e1242ce --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture3DSrv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX3D_SRV +public partial struct Texture3DSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/Texture3DUav.cs b/src/Vortice.Win32.Direct3D12/Generated/Texture3DUav.cs new file mode 100644 index 0000000..07e2732 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/Texture3DUav.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEX3D_UAV +public partial struct Texture3DUav +{ + /// + public uint MipSlice; + + /// + public uint FirstWSlice; + + /// + public uint WSize; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TextureAddressMode.cs b/src/Vortice.Win32.Direct3D12/Generated/TextureAddressMode.cs new file mode 100644 index 0000000..c771b87 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TextureAddressMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXTURE_ADDRESS_MODE +public enum TextureAddressMode : int +{ + /// + /// D3D12_TEXTURE_ADDRESS_MODE_WRAP + Wrap = 1, + /// + /// D3D12_TEXTURE_ADDRESS_MODE_MIRROR + Mirror = 2, + /// + /// D3D12_TEXTURE_ADDRESS_MODE_CLAMP + Clamp = 3, + /// + /// D3D12_TEXTURE_ADDRESS_MODE_BORDER + Border = 4, + /// + /// D3D12_TEXTURE_ADDRESS_MODE_MIRROR_ONCE + MirrorOnce = 5, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TextureCopyLocation.cs b/src/Vortice.Win32.Direct3D12/Generated/TextureCopyLocation.cs new file mode 100644 index 0000000..dc91523 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TextureCopyLocation.cs @@ -0,0 +1,56 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXTURE_COPY_LOCATION +public partial struct TextureCopyLocation +{ + /// + public unsafe ID3D12Resource* pResource; + + /// + public TextureCopyType Type; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref PlacedSubresourceFootprint PlacedFootprint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.PlacedFootprint; + } + } + + [UnscopedRef] + public ref uint SubresourceIndex + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.SubresourceIndex; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public PlacedSubresourceFootprint PlacedFootprint; + + /// + [FieldOffset(0)] + public uint SubresourceIndex; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TextureCopyType.cs b/src/Vortice.Win32.Direct3D12/Generated/TextureCopyType.cs new file mode 100644 index 0000000..5b6ef02 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TextureCopyType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXTURE_COPY_TYPE +public enum TextureCopyType : int +{ + /// + /// D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX + SubresourceIndex = 0, + /// + /// D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT + PlacedFootprint = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TextureLayout.cs b/src/Vortice.Win32.Direct3D12/Generated/TextureLayout.cs new file mode 100644 index 0000000..98a3e2d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TextureLayout.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXTURE_LAYOUT +public enum TextureLayout : int +{ + /// + /// D3D12_TEXTURE_LAYOUT_UNKNOWN + Unknown = 0, + /// + /// D3D12_TEXTURE_LAYOUT_ROW_MAJOR + RowMajor = 1, + /// + /// D3D12_TEXTURE_LAYOUT_64KB_UNDEFINED_SWIZZLE + L64KbUndefinedSwizzle = 2, + /// + /// D3D12_TEXTURE_LAYOUT_64KB_STANDARD_SWIZZLE + L64KbStandardSwizzle = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TexureCubeArraySrv.cs b/src/Vortice.Win32.Direct3D12/Generated/TexureCubeArraySrv.cs new file mode 100644 index 0000000..46fe4e1 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TexureCubeArraySrv.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXCUBE_ARRAY_SRV +public partial struct TexureCubeArraySrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public uint First2DArrayFace; + + /// + public uint NumCubes; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TexureCubeSrv.cs b/src/Vortice.Win32.Direct3D12/Generated/TexureCubeSrv.cs new file mode 100644 index 0000000..3aa7abf --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TexureCubeSrv.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TEXCUBE_SRV +public partial struct TexureCubeSrv +{ + /// + public uint MostDetailedMip; + + /// + public uint MipLevels; + + /// + public float ResourceMinLODClamp; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TileCopyFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/TileCopyFlags.cs new file mode 100644 index 0000000..bbfab7f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TileCopyFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILE_COPY_FLAGS +[Flags] +public enum TileCopyFlags : uint +{ + /// + /// D3D12_TILE_COPY_FLAG_NONE + None = 0, + /// + /// D3D12_TILE_COPY_FLAG_NO_HAZARD + NoHazard = 1, + /// + /// D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE + LinearBufferToSwizzledTiledResource = 2, + /// + /// D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER + SwizzledTiledResourceToLinearBuffer = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TileMappingFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/TileMappingFlags.cs new file mode 100644 index 0000000..5b375d6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TileMappingFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILE_MAPPING_FLAGS +[Flags] +public enum TileMappingFlags : uint +{ + /// + /// D3D12_TILE_MAPPING_FLAG_NONE + None = 0, + /// + /// D3D12_TILE_MAPPING_FLAG_NO_HAZARD + NoHazard = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TileRangeFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/TileRangeFlags.cs new file mode 100644 index 0000000..a20a44b --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TileRangeFlags.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILE_RANGE_FLAGS +[Flags] +public enum TileRangeFlags : int +{ + /// + /// D3D12_TILE_RANGE_FLAG_NONE + None = 0, + /// + /// D3D12_TILE_RANGE_FLAG_NULL + Null = 1, + /// + /// D3D12_TILE_RANGE_FLAG_SKIP + Skip = 2, + /// + /// D3D12_TILE_RANGE_FLAG_REUSE_SINGLE_TILE + ReuseSingleTile = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TileRegionSize.cs b/src/Vortice.Win32.Direct3D12/Generated/TileRegionSize.cs new file mode 100644 index 0000000..f8cd680 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TileRegionSize.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILE_REGION_SIZE +public partial struct TileRegionSize +{ + /// + public uint NumTiles; + + /// + public Bool32 UseBox; + + /// + public uint Width; + + /// + public ushort Height; + + /// + public ushort Depth; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TileShape.cs b/src/Vortice.Win32.Direct3D12/Generated/TileShape.cs new file mode 100644 index 0000000..d0df8d4 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TileShape.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILE_SHAPE +public partial struct TileShape +{ + /// + public uint WidthInTexels; + + /// + public uint HeightInTexels; + + /// + public uint DepthInTexels; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TiledResourceCoordinate.cs b/src/Vortice.Win32.Direct3D12/Generated/TiledResourceCoordinate.cs new file mode 100644 index 0000000..a084e33 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TiledResourceCoordinate.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILED_RESOURCE_COORDINATE +public partial struct TiledResourceCoordinate +{ + /// + public uint X; + + /// + public uint Y; + + /// + public uint Z; + + /// + public uint Subresource; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/TiledResourcesTier.cs b/src/Vortice.Win32.Direct3D12/Generated/TiledResourcesTier.cs new file mode 100644 index 0000000..d82fd91 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/TiledResourcesTier.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_TILED_RESOURCES_TIER +public enum TiledResourcesTier : int +{ + /// + /// D3D12_TILED_RESOURCES_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_TILED_RESOURCES_TIER_1 + Tier1 = 1, + /// + /// D3D12_TILED_RESOURCES_TIER_2 + Tier2 = 2, + /// + /// D3D12_TILED_RESOURCES_TIER_3 + Tier3 = 3, + /// + /// D3D12_TILED_RESOURCES_TIER_4 + Tier4 = 4, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/UavDimension.cs b/src/Vortice.Win32.Direct3D12/Generated/UavDimension.cs new file mode 100644 index 0000000..9ae73c6 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/UavDimension.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_UAV_DIMENSION +public enum UavDimension : int +{ + /// + /// D3D12_UAV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D12_UAV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D12_UAV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D12_UAV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D12_UAV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D12_UAV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D12_UAV_DIMENSION_TEXTURE3D + Texture3D = 8, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/UnorderedAccessViewDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/UnorderedAccessViewDescription.cs new file mode 100644 index 0000000..1071f39 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/UnorderedAccessViewDescription.cs @@ -0,0 +1,112 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_UNORDERED_ACCESS_VIEW_DESC +public partial struct UnorderedAccessViewDescription +{ + /// + public Graphics.Dxgi.Common.Format Format; + + /// + public UavDimension ViewDimension; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref BufferUav Buffer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Buffer; + } + } + + [UnscopedRef] + public ref Texture1DUav Texture1D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1D; + } + } + + [UnscopedRef] + public ref Texture1DArrayUav Texture1DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture1DArray; + } + } + + [UnscopedRef] + public ref Texture2DUav Texture2D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2D; + } + } + + [UnscopedRef] + public ref Texture2DArrayUav Texture2DArray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture2DArray; + } + } + + [UnscopedRef] + public ref Texture3DUav Texture3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Texture3D; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public BufferUav Buffer; + + /// + [FieldOffset(0)] + public Texture1DUav Texture1D; + + /// + [FieldOffset(0)] + public Texture1DArrayUav Texture1DArray; + + /// + [FieldOffset(0)] + public Texture2DUav Texture2D; + + /// + [FieldOffset(0)] + public Texture2DArrayUav Texture2DArray; + + /// + [FieldOffset(0)] + public Texture3DUav Texture3D; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/VariableShadingRateTier.cs b/src/Vortice.Win32.Direct3D12/Generated/VariableShadingRateTier.cs new file mode 100644 index 0000000..0c7e1cc --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/VariableShadingRateTier.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VARIABLE_SHADING_RATE_TIER +public enum VariableShadingRateTier : int +{ + /// + /// D3D12_VARIABLE_SHADING_RATE_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_VARIABLE_SHADING_RATE_TIER_1 + Tier1 = 1, + /// + /// D3D12_VARIABLE_SHADING_RATE_TIER_2 + Tier2 = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/VersionedDeviceRemovedExtendedData.cs b/src/Vortice.Win32.Direct3D12/Generated/VersionedDeviceRemovedExtendedData.cs new file mode 100644 index 0000000..9ed8990 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/VersionedDeviceRemovedExtendedData.cs @@ -0,0 +1,81 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VERSIONED_DEVICE_REMOVED_EXTENDED_DATA +public partial struct VersionedDeviceRemovedExtendedData +{ + /// + public DredVersion Version; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref DeviceRemovedExtendedData Dred_1_0 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Dred_1_0; + } + } + + [UnscopedRef] + public ref DeviceRemovedExtendedData1 Dred_1_1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Dred_1_1; + } + } + + [UnscopedRef] + public ref DeviceRemovedExtendedData2 Dred_1_2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Dred_1_2; + } + } + + [UnscopedRef] + public ref DeviceRemovedExtendedData3 Dred_1_3 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Dred_1_3; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public DeviceRemovedExtendedData Dred_1_0; + + /// + [FieldOffset(0)] + public DeviceRemovedExtendedData1 Dred_1_1; + + /// + [FieldOffset(0)] + public DeviceRemovedExtendedData2 Dred_1_2; + + /// + [FieldOffset(0)] + public DeviceRemovedExtendedData3 Dred_1_3; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/VersionedRootSignatureDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/VersionedRootSignatureDescription.cs new file mode 100644 index 0000000..15f7f18 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/VersionedRootSignatureDescription.cs @@ -0,0 +1,53 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VERSIONED_ROOT_SIGNATURE_DESC +public partial struct VersionedRootSignatureDescription +{ + /// + public RootSignatureVersion Version; + + /// + public _Anonymous_e__Union Anonymous; + + [UnscopedRef] + public ref RootSignatureDescription Desc_1_0 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Desc_1_0; + } + } + + [UnscopedRef] + public ref RootSignatureDescription1 Desc_1_1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref Anonymous.Desc_1_1; + } + } + + [StructLayout(LayoutKind.Explicit)] + public partial struct _Anonymous_e__Union + { + /// + [FieldOffset(0)] + public RootSignatureDescription Desc_1_0; + + /// + [FieldOffset(0)] + public RootSignatureDescription1 Desc_1_1; + } +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/VertexBufferView.cs b/src/Vortice.Win32.Direct3D12/Generated/VertexBufferView.cs new file mode 100644 index 0000000..e5f6a6a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/VertexBufferView.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VERTEX_BUFFER_VIEW +public partial struct VertexBufferView +{ + /// + public ulong BufferLocation; + + /// + public uint SizeInBytes; + + /// + public uint StrideInBytes; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ViewInstanceLocation.cs b/src/Vortice.Win32.Direct3D12/Generated/ViewInstanceLocation.cs new file mode 100644 index 0000000..25fe7ea --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ViewInstanceLocation.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VIEW_INSTANCE_LOCATION +public partial struct ViewInstanceLocation +{ + /// + public uint ViewportArrayIndex; + + /// + public uint RenderTargetArrayIndex; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingDescription.cs b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingDescription.cs new file mode 100644 index 0000000..649529d --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VIEW_INSTANCING_DESC +public partial struct ViewInstancingDescription +{ + /// + public uint ViewInstanceCount; + + /// + public unsafe ViewInstanceLocation* pViewInstanceLocations; + + /// + public ViewInstancingFlags Flags; +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingFlags.cs b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingFlags.cs new file mode 100644 index 0000000..796808a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VIEW_INSTANCING_FLAGS +[Flags] +public enum ViewInstancingFlags : uint +{ + /// + /// D3D12_VIEW_INSTANCING_FLAG_NONE + None = 0, + /// + /// D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING + EnableViewInstanceMasking = 1, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingTier.cs b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingTier.cs new file mode 100644 index 0000000..961261f --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/ViewInstancingTier.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_VIEW_INSTANCING_TIER +public enum ViewInstancingTier : int +{ + /// + /// D3D12_VIEW_INSTANCING_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_VIEW_INSTANCING_TIER_1 + Tier1 = 1, + /// + /// D3D12_VIEW_INSTANCING_TIER_2 + Tier2 = 2, + /// + /// D3D12_VIEW_INSTANCING_TIER_3 + Tier3 = 3, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/WaveMmaTier.cs b/src/Vortice.Win32.Direct3D12/Generated/WaveMmaTier.cs new file mode 100644 index 0000000..ef19031 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/WaveMmaTier.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_WAVE_MMA_TIER +public enum WaveMmaTier : int +{ + /// + /// D3D12_WAVE_MMA_TIER_NOT_SUPPORTED + NotSupported = 0, + /// + /// D3D12_WAVE_MMA_TIER_1_0 + Tier1_0 = 10, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateMode.cs b/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateMode.cs new file mode 100644 index 0000000..61daf99 --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_WRITEBUFFERIMMEDIATE_MODE +public enum WriteBufferImmediateMode : int +{ + /// + /// D3D12_WRITEBUFFERIMMEDIATE_MODE_DEFAULT + Default = 0, + /// + /// D3D12_WRITEBUFFERIMMEDIATE_MODE_MARKER_IN + MarkerIn = 1, + /// + /// D3D12_WRITEBUFFERIMMEDIATE_MODE_MARKER_OUT + MarkerOut = 2, +} diff --git a/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateParameter.cs b/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateParameter.cs new file mode 100644 index 0000000..9cad51a --- /dev/null +++ b/src/Vortice.Win32.Direct3D12/Generated/WriteBufferImmediateParameter.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D12; + +/// +/// D3D12_WRITEBUFFERIMMEDIATE_PARAMETER +public partial struct WriteBufferImmediateParameter +{ + /// + public ulong Dest; + + /// + public uint Value; +} diff --git a/src/Vortice.Win32/ComPtr.cs b/src/Vortice.Win32/ComPtr.cs index 5080e08..0da450b 100644 --- a/src/Vortice.Win32/ComPtr.cs +++ b/src/Vortice.Win32/ComPtr.cs @@ -52,7 +52,7 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target type . /// This method will automatically release the target COM object pointed to by , if any. public readonly HResult As(ComPtr* p) - where U : unmanaged + where U : unmanaged, INativeGuid { return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); } @@ -63,7 +63,7 @@ public unsafe struct ComPtr : IDisposable /// The result of for the target type . /// This method will automatically release the target COM object pointed to by , if any. public readonly HResult As(ref ComPtr other) - where U : unmanaged + where U : unmanaged, INativeGuid { U* ptr; HResult result = ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)&ptr); @@ -153,7 +153,7 @@ public unsafe struct ComPtr : IDisposable /// The target raw pointer to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(U** ptr) - where U : unmanaged + where U : unmanaged, INativeGuid { return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)ptr); } @@ -162,7 +162,7 @@ public unsafe struct ComPtr : IDisposable /// The target raw pointer to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(ComPtr* p) - where U : unmanaged + where U : unmanaged, INativeGuid { return ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)p->ReleaseAndGetAddressOf()); } @@ -171,7 +171,7 @@ public unsafe struct ComPtr : IDisposable /// The target reference to copy the address of the current COM object to. /// The result of for the target type . public readonly HResult CopyTo(ref ComPtr other) - where U : unmanaged + where U : unmanaged, INativeGuid { U* ptr; HResult result = ((IUnknown*)ptr_)->QueryInterface(__uuidof(), (void**)&ptr); diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D.Common.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D.Common.cs deleted file mode 100644 index 5d77c1c..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D.Common.cs +++ /dev/null @@ -1,341 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct2D.Common; - -public static partial class Apis -{ -} - -#region Enums -/// -/// D2D1_ALPHA_MODE -public enum AlphaMode : uint -{ - /// - /// D2D1_ALPHA_MODE_UNKNOWN - Unknown = 0, - /// - /// D2D1_ALPHA_MODE_PREMULTIPLIED - Premultiplied = 1, - /// - /// D2D1_ALPHA_MODE_STRAIGHT - Straight = 2, - /// - /// D2D1_ALPHA_MODE_IGNORE - Ignore = 3, -} - -/// -/// D2D1_FIGURE_BEGIN -public enum FigureBegin : uint -{ - /// - /// D2D1_FIGURE_BEGIN_FILLED - Filled = 0, - /// - /// D2D1_FIGURE_BEGIN_HOLLOW - Hollow = 1, -} - -/// -/// D2D1_FIGURE_END -public enum FigureEnd : uint -{ - /// - /// D2D1_FIGURE_END_OPEN - Open = 0, - /// - /// D2D1_FIGURE_END_CLOSED - Closed = 1, -} - -/// -/// D2D1_PATH_SEGMENT -[Flags] -public enum PathSegment : uint -{ - /// - /// D2D1_PATH_SEGMENT_NONE - None = 0, - /// - /// D2D1_PATH_SEGMENT_FORCE_UNSTROKED - ForceUnstroked = 1, - /// - /// D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN - ForceRoundLineJoin = 2, -} - -/// -/// D2D1_FILL_MODE -public enum FillMode : uint -{ - /// - /// D2D1_FILL_MODE_ALTERNATE - Alternate = 0, - /// - /// D2D1_FILL_MODE_WINDING - Winding = 1, -} - -/// -/// D2D1_BORDER_MODE -public enum BorderMode : uint -{ - /// - /// D2D1_BORDER_MODE_SOFT - Soft = 0, - /// - /// D2D1_BORDER_MODE_HARD - Hard = 1, -} - -/// -/// D2D1_BLEND_MODE -public enum BlendMode : uint -{ - /// - /// D2D1_BLEND_MODE_MULTIPLY - Multiply = 0, - /// - /// D2D1_BLEND_MODE_SCREEN - Screen = 1, - /// - /// D2D1_BLEND_MODE_DARKEN - Darken = 2, - /// - /// D2D1_BLEND_MODE_LIGHTEN - Lighten = 3, - /// - /// D2D1_BLEND_MODE_DISSOLVE - Dissolve = 4, - /// - /// D2D1_BLEND_MODE_COLOR_BURN - ColorBurn = 5, - /// - /// D2D1_BLEND_MODE_LINEAR_BURN - LinearBurn = 6, - /// - /// D2D1_BLEND_MODE_DARKER_COLOR - DarkerColor = 7, - /// - /// D2D1_BLEND_MODE_LIGHTER_COLOR - LighterColor = 8, - /// - /// D2D1_BLEND_MODE_COLOR_DODGE - ColorDodge = 9, - /// - /// D2D1_BLEND_MODE_LINEAR_DODGE - LinearDodge = 10, - /// - /// D2D1_BLEND_MODE_OVERLAY - Overlay = 11, - /// - /// D2D1_BLEND_MODE_SOFT_LIGHT - SoftLight = 12, - /// - /// D2D1_BLEND_MODE_HARD_LIGHT - HardLight = 13, - /// - /// D2D1_BLEND_MODE_VIVID_LIGHT - VividLight = 14, - /// - /// D2D1_BLEND_MODE_LINEAR_LIGHT - LinearLight = 15, - /// - /// D2D1_BLEND_MODE_PIN_LIGHT - PinLight = 16, - /// - /// D2D1_BLEND_MODE_HARD_MIX - HardMix = 17, - /// - /// D2D1_BLEND_MODE_DIFFERENCE - Difference = 18, - /// - /// D2D1_BLEND_MODE_EXCLUSION - Exclusion = 19, - /// - /// D2D1_BLEND_MODE_HUE - Hue = 20, - /// - /// D2D1_BLEND_MODE_SATURATION - Saturation = 21, - /// - /// D2D1_BLEND_MODE_COLOR - Color = 22, - /// - /// D2D1_BLEND_MODE_LUMINOSITY - Luminosity = 23, - /// - /// D2D1_BLEND_MODE_SUBTRACT - Subtract = 24, - /// - /// D2D1_BLEND_MODE_DIVISION - Division = 25, -} - -/// -/// D2D1_COLORMATRIX_ALPHA_MODE -public enum ColorMatrixAlphaMode : uint -{ - /// - /// D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED - Premultiplied = 1, - /// - /// D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT - Straight = 2, -} - -/// -/// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE -public enum AffineTransform2DInterpolationMode : uint -{ - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_TURBULENCE_NOISE -public enum TurbulenceNoise : uint -{ - /// - /// D2D1_TURBULENCE_NOISE_FRACTAL_SUM - FractalSum = 0, - /// - /// D2D1_TURBULENCE_NOISE_TURBULENCE - Turbulence = 1, -} - -/// -/// D2D1_COMPOSITE_MODE -public enum CompositeMode : uint -{ - /// - /// D2D1_COMPOSITE_MODE_SOURCE_OVER - SourceOver = 0, - /// - /// D2D1_COMPOSITE_MODE_DESTINATION_OVER - DestinationOver = 1, - /// - /// D2D1_COMPOSITE_MODE_SOURCE_IN - SourceIn = 2, - /// - /// D2D1_COMPOSITE_MODE_DESTINATION_IN - DestinationIn = 3, - /// - /// D2D1_COMPOSITE_MODE_SOURCE_OUT - SourceOut = 4, - /// - /// D2D1_COMPOSITE_MODE_DESTINATION_OUT - DestinationOut = 5, - /// - /// D2D1_COMPOSITE_MODE_SOURCE_ATOP - SourceAtop = 6, - /// - /// D2D1_COMPOSITE_MODE_DESTINATION_ATOP - DestinationAtop = 7, - /// - /// D2D1_COMPOSITE_MODE_XOR - Xor = 8, - /// - /// D2D1_COMPOSITE_MODE_PLUS - Plus = 9, - /// - /// D2D1_COMPOSITE_MODE_SOURCE_COPY - SourceCopy = 10, - /// - /// D2D1_COMPOSITE_MODE_BOUNDED_SOURCE_COPY - BoundedSourceCopy = 11, - /// - /// D2D1_COMPOSITE_MODE_MASK_INVERT - MaskInvert = 12, -} -#endregion Enums - -#region Structs - -/// -/// D2D1_PIXEL_FORMAT -public partial struct PixelFormat -{ - /// - public Graphics.Dxgi.Common.Format format; - - /// - public AlphaMode alphaMode; -} - -/// -/// D2D_RECT_F -public partial struct RectF -{ - /// - public float left; - - /// - public float top; - - /// - public float right; - - /// - public float bottom; -} - -/// -/// D2D_RECT_U -public partial struct RectU -{ - /// - public uint left; - - /// - public uint top; - - /// - public uint right; - - /// - public uint bottom; -} - -/// -/// D2D1_BEZIER_SEGMENT -public partial struct BezierSegment -{ - /// - public System.Drawing.PointF point1; - - /// - public System.Drawing.PointF point2; - - /// - public System.Drawing.PointF point3; -} -#endregion Structs - -#region COM Types -#endregion Com Types - diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D.cs deleted file mode 100644 index 362bd85..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D.cs +++ /dev/null @@ -1,5524 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct2D; - -public static partial class Apis -{ - public const float D2D1_DEFAULT_FLATTENING_TOLERANCE = 0.25f; - - public static ref readonly Guid CLSID_D2D12DAffineTransform - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x85, 0x74, 0xA9, 0x6A, - 0x54, 0x63, - 0xFC, 0x4C, - 0x90, - 0x8C, - 0xE4, - 0xA7, - 0x4F, - 0x62, - 0xC9, - 0x6C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D13DPerspectiveTransform - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0B, 0x4D, 0x84, 0xC2, - 0x86, 0x3D, - 0xE7, 0x46, - 0x85, - 0xBA, - 0x52, - 0x6C, - 0x92, - 0x40, - 0xF3, - 0xFB - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D13DTransform - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x04, 0x7B, 0x46, 0xE8, - 0x61, 0xEC, - 0x8A, 0x4B, - 0xB5, - 0xDE, - 0xD4, - 0xD7, - 0x3D, - 0xEB, - 0xEA, - 0x5A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1ArithmeticComposite - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x37, 0x14, 0x15, 0xFC, - 0x9A, 0x04, - 0x84, 0x47, - 0xA2, - 0x4A, - 0xF1, - 0xC4, - 0xDA, - 0xF2, - 0x09, - 0x87 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Atlas - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE4, 0x2B, 0x3E, 0x91, - 0xCF, 0xFD, - 0xE2, 0x4F, - 0xA5, - 0xF0, - 0x24, - 0x54, - 0xF1, - 0x4F, - 0xF4, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1BitmapSource - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4D, 0xC2, 0xB6, 0x5F, - 0xDD, 0xC6, - 0x31, 0x42, - 0x94, - 0x04, - 0x50, - 0xF4, - 0xD5, - 0xC3, - 0x25, - 0x2D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Blend - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7B, 0xB7, 0xC5, 0x81, - 0xF8, 0x13, - 0xDD, 0x4C, - 0xAD, - 0x20, - 0xC8, - 0x90, - 0x54, - 0x7A, - 0xC6, - 0x5D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Border - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC0, 0x49, 0x2D, 0x2A, - 0xCF, 0x4A, - 0xC7, 0x43, - 0x8C, - 0x6A, - 0x7C, - 0x4A, - 0x27, - 0x87, - 0x4D, - 0x27 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Brightness - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1E, 0x8D, 0xEA, 0x8C, - 0xB0, 0x77, - 0x86, 0x49, - 0xB3, - 0xB9, - 0x2F, - 0x0C, - 0x0E, - 0xAE, - 0x78, - 0x87 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1ColorManagement - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4C, 0x52, 0x28, 0x1A, - 0xD6, 0xFD, - 0xA4, 0x4A, - 0xAE, - 0x8F, - 0x83, - 0x7E, - 0xB8, - 0x26, - 0x7B, - 0x37 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1ColorMatrix - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD6, 0x03, 0x1F, 0x92, - 0x1C, 0x64, - 0xDF, 0x47, - 0x85, - 0x2D, - 0xB4, - 0xBB, - 0x61, - 0x53, - 0xAE, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Composite - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x51, 0x9F, 0xFC, 0x48, - 0xAC, 0xF6, - 0xF1, 0x48, - 0x8B, - 0x58, - 0x3B, - 0x28, - 0xAC, - 0x46, - 0xF7, - 0x6D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1ConvolveMatrix - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x08, 0x8C, 0x7F, 0x40, - 0x33, 0x55, - 0x31, 0x43, - 0xA3, - 0x41, - 0x23, - 0xCC, - 0x38, - 0x77, - 0x84, - 0x3E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Crop - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x10, 0x71, 0x3F, 0xE2, - 0x9A, 0x0E, - 0x24, 0x43, - 0xAF, - 0x47, - 0x6A, - 0x2C, - 0x0C, - 0x46, - 0xF3, - 0x5B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DirectionalBlur - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA6, 0x19, 0x43, 0x17, - 0xE9, 0x58, - 0xB2, 0x49, - 0xBB, - 0x63, - 0xCA, - 0xF2, - 0xC8, - 0x11, - 0xA3, - 0xDB - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DiscreteTransfer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCD, 0x6F, 0x86, 0x90, - 0x8E, 0x48, - 0x4B, 0x45, - 0xAF, - 0x06, - 0xE5, - 0x04, - 0x1B, - 0x66, - 0xC3, - 0x6C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DisplacementMap - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x64, 0x83, 0xC4, 0xED, - 0x17, 0x04, - 0x11, 0x41, - 0x94, - 0x50, - 0x43, - 0x84, - 0x5F, - 0xA9, - 0xF8, - 0x90 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DistantDiffuse - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x62, 0xFD, 0x7E, 0x3E, - 0x2D, 0xA3, - 0xD4, 0x46, - 0xA8, - 0x3C, - 0x52, - 0x78, - 0x88, - 0x9A, - 0xC9, - 0x54 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DistantSpecular - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE5, 0x1E, 0x8C, 0x42, - 0xB8, 0x77, - 0x50, 0x44, - 0x8A, - 0xB5, - 0x72, - 0x21, - 0x9C, - 0x21, - 0xAB, - 0xDA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1DpiCompensation - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC7, 0xC5, 0x26, 0x6C, - 0xE0, 0x34, - 0xFC, 0x46, - 0x9C, - 0xFD, - 0xE5, - 0x82, - 0x37, - 0x06, - 0xE2, - 0x28 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Flood - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x20, 0x3C, 0xC2, 0x61, - 0x69, 0xAE, - 0x8E, 0x4D, - 0x94, - 0xCF, - 0x50, - 0x07, - 0x8D, - 0xF6, - 0x38, - 0xF2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1GammaTransfer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC4, 0x44, 0x94, 0x40, - 0x19, 0xC4, - 0xA0, 0x41, - 0xB0, - 0xC1, - 0x8C, - 0xD0, - 0xC0, - 0xA1, - 0x8E, - 0x42 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1GaussianBlur - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x69, 0x6D, 0xEB, 0x1F, - 0xE6, 0x2F, - 0xC9, 0x4A, - 0x8C, - 0x58, - 0x1D, - 0x7F, - 0x93, - 0xE7, - 0xA6, - 0xA5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Scale - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x69, 0x93, 0xAF, 0x9D, - 0x46, 0x38, - 0x0E, 0x4D, - 0xA4, - 0x4E, - 0x0C, - 0x60, - 0x79, - 0x34, - 0xA5, - 0xD7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Histogram - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD0, 0xB7, 0x1D, 0x88, - 0xEE, 0xF7, - 0x4D, 0x4D, - 0xA6, - 0xD2, - 0x46, - 0x97, - 0xAC, - 0xC6, - 0x6E, - 0xE8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1HueRotation - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEC, 0x58, 0x44, 0x0F, - 0x32, 0x4B, - 0x1B, 0x49, - 0x9E, - 0x85, - 0xBD, - 0x73, - 0xF4, - 0x4D, - 0x3E, - 0xB6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1LinearTransfer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFD, 0xC8, 0x47, 0xAD, - 0xEF, 0x63, - 0xCC, 0x4A, - 0x9B, - 0x51, - 0x67, - 0x97, - 0x9C, - 0x03, - 0x6C, - 0x06 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1LuminanceToAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB7, 0x1A, 0x25, 0x41, - 0xEB, 0x0B, - 0xF8, 0x46, - 0x9D, - 0xA7, - 0x59, - 0xE9, - 0x3F, - 0xCC, - 0xE5, - 0xDE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Morphology - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0D, 0xC4, 0xE6, 0xEA, - 0x6A, 0x62, - 0x2D, 0x4C, - 0xBF, - 0xCB, - 0x39, - 0x10, - 0x01, - 0xAB, - 0xE2, - 0x02 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1OpacityMetadata - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x6A, 0x00, 0x53, 0x6C, - 0x50, 0x44, - 0x99, 0x41, - 0xAA, - 0x5B, - 0xAD, - 0x16, - 0x56, - 0xFE, - 0xCE, - 0x5E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1PointDiffuse - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC3, 0x03, 0xE3, 0xB9, - 0x8C, 0xC0, - 0x91, 0x4F, - 0x8B, - 0x7B, - 0x38, - 0x65, - 0x6B, - 0xC4, - 0x8C, - 0x20 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1PointSpecular - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x26, 0xCA, 0xC3, 0x09, - 0xE2, 0x3A, - 0x09, 0x4F, - 0x9E, - 0xBC, - 0xED, - 0x38, - 0x65, - 0xD5, - 0x3F, - 0x22 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Premultiply - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x19, 0xB4, 0xEA, 0x06, - 0xED, 0xDE, - 0x18, 0x40, - 0x80, - 0xD2, - 0x3E, - 0x1D, - 0x47, - 0x1A, - 0xDE, - 0xB2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Saturation - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCF, 0xD9, 0xB2, 0x5C, - 0x7D, 0x32, - 0x9F, 0x45, - 0xA0, - 0xCE, - 0x40, - 0xC0, - 0xB2, - 0x08, - 0x6B, - 0xF7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Shadow - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x61, 0xA3, 0x7E, 0xC6, - 0x63, 0x18, - 0x69, 0x4E, - 0x89, - 0xDB, - 0x69, - 0x5D, - 0x3E, - 0x9A, - 0x5B, - 0x6B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1SpotDiffuse - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x05, 0x11, 0x8A, 0x81, - 0x32, 0x79, - 0xF4, 0x44, - 0xAA, - 0x86, - 0x08, - 0xAE, - 0x7B, - 0x2F, - 0x2C, - 0x93 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1SpotSpecular - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1E, 0x42, 0xAE, 0xED, - 0x54, 0x76, - 0x37, 0x4A, - 0x9D, - 0xB8, - 0x71, - 0xAC, - 0xC1, - 0xBE, - 0xB3, - 0xC1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1TableTransfer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC3, 0x18, 0xF8, 0x5B, - 0x43, 0x5E, - 0xCB, 0x48, - 0xB6, - 0x31, - 0x86, - 0x83, - 0x96, - 0xD6, - 0xA1, - 0xD4 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Tile - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x38, 0x41, 0x78, 0xB0, - 0x76, 0x3B, - 0xC5, 0x4B, - 0xB1, - 0x3B, - 0x0F, - 0xA2, - 0xAD, - 0x02, - 0x65, - 0x9F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Turbulence - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xAE, 0xB6, 0x2B, 0xCF, - 0x9A, 0x88, - 0xD7, 0x4A, - 0xBA, - 0x29, - 0xA2, - 0xFD, - 0x73, - 0x2C, - 0x9F, - 0xC9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1UnPremultiply - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x89, 0xC4, 0x9A, 0xFB, - 0x8D, 0xAD, - 0xED, 0x41, - 0x99, - 0x99, - 0xBB, - 0x63, - 0x47, - 0xD1, - 0x10, - 0xF7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1YCbCr - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC1, 0x3C, 0x50, 0x99, - 0xC7, 0x66, - 0xC9, 0x45, - 0xA8, - 0x75, - 0x8A, - 0xD8, - 0xA7, - 0x91, - 0x44, - 0x01 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Contrast - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8A, 0xA7, 0x48, 0xB6, - 0xD5, 0x0E, - 0x80, 0x4F, - 0xA9, - 0x4A, - 0x8E, - 0x82, - 0x5A, - 0xCA, - 0x6B, - 0x77 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1RgbToHue - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEC, 0xE5, 0xF3, 0x23, - 0xE8, 0x91, - 0x3D, 0x4D, - 0xAD, - 0x0A, - 0xAF, - 0xAD, - 0xC1, - 0x00, - 0x4A, - 0xA1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1HueToRgb - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xBD, 0xA6, 0x78, 0x7B, - 0x41, 0x01, - 0xEF, 0x4D, - 0x8A, - 0x52, - 0x63, - 0x56, - 0xEE, - 0x0C, - 0xBD, - 0xD5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1ChromaKey - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5B, 0x1F, 0xC0, 0x74, - 0x0D, 0x2A, - 0x8C, 0x40, - 0x88, - 0xE2, - 0xC7, - 0xA3, - 0xC7, - 0x19, - 0x77, - 0x42 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Emboss - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2B, 0xEB, 0xC5, 0xB1, - 0x48, 0x03, - 0xF0, 0x43, - 0x81, - 0x07, - 0x49, - 0x57, - 0xCA, - 0xCB, - 0xA2, - 0xAE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Exposure - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFA, 0x8C, 0x6C, 0xB5, - 0x34, 0xF6, - 0xEE, 0x41, - 0xBE, - 0xE0, - 0xFF, - 0xA6, - 0x17, - 0x10, - 0x60, - 0x04 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Grayscale - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEB, 0xE0, 0xDD, 0x36, - 0x25, 0x37, - 0xE0, 0x42, - 0x83, - 0x6D, - 0x52, - 0xFB, - 0x20, - 0xAE, - 0xE6, - 0x44 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Invert - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4D, 0x78, 0xC3, 0xE0, - 0x39, 0xCB, - 0x84, 0x4E, - 0xB6, - 0xFD, - 0x6B, - 0x72, - 0xF0, - 0x81, - 0x02, - 0x63 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Posterize - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5E, 0x94, 0x88, 0x21, - 0xA3, 0x33, - 0x66, 0x43, - 0xB7, - 0xBC, - 0x08, - 0x6B, - 0xD0, - 0x2D, - 0x08, - 0x84 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Sepia - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x10, 0xF4, 0x1A, 0x3A, - 0x1D, 0x5F, - 0xBE, 0x4D, - 0x84, - 0xDF, - 0x91, - 0x5D, - 0xA7, - 0x9B, - 0x71, - 0x53 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Sharpen - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCB, 0x87, 0xB8, 0xC9, - 0xFF, 0xC5, - 0xC5, 0x4D, - 0x97, - 0x79, - 0x27, - 0x3D, - 0xCF, - 0x41, - 0x7C, - 0x7D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Straighten - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x12, 0x7B, 0xA4, 0x4D, - 0xA3, 0x79, - 0xB0, 0x4F, - 0x82, - 0x37, - 0xBB, - 0xC3, - 0xB2, - 0xA4, - 0xDE, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1TemperatureTint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x87, 0x60, 0x17, 0x89, - 0xF9, 0x8A, - 0x08, 0x4A, - 0xAE, - 0xB1, - 0x89, - 0x5F, - 0x38, - 0xDB, - 0x17, - 0x66 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Vignette - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xBE, 0x40, 0x0C, 0xC0, - 0x67, 0x5E, - 0xA3, 0x4C, - 0x95, - 0xB4, - 0xF4, - 0xB0, - 0x2C, - 0x11, - 0x51, - 0x35 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1EdgeDetection - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCA, 0x83, 0xF5, 0xEF, - 0x07, 0xCB, - 0xA9, 0x4A, - 0xAC, - 0x5D, - 0x2C, - 0xC4, - 0x4C, - 0x76, - 0x46, - 0x0F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1HighlightsShadows - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x84, 0x83, 0xDC, 0xCA, - 0x3F, 0x32, - 0x7E, 0x4C, - 0xA3, - 0x61, - 0x2E, - 0x2B, - 0x24, - 0xDF, - 0x6E, - 0xE4 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1LookupTable3D - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDA, 0x0E, 0x9E, 0x34, - 0x88, 0x00, - 0x79, 0x4A, - 0x9C, - 0xA3, - 0xC7, - 0xE3, - 0x00, - 0x20, - 0x20, - 0x20 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Opacity - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA4, 0x79, 0x1D, 0x81, - 0x28, 0xDE, - 0x54, 0x44, - 0x80, - 0x94, - 0xC6, - 0x46, - 0x85, - 0xF8, - 0xBD, - 0x4C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1AlphaMask - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF0, 0xCF, 0x0E, 0xC8, - 0xD5, 0x3F, - 0x05, 0x4F, - 0x83, - 0x28, - 0xC5, - 0xD1, - 0x72, - 0x4B, - 0x4F, - 0x0A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1CrossFade - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE8, 0x75, 0xF5, 0x12, - 0xB1, 0x4D, - 0x5F, 0x48, - 0x9A, - 0x84, - 0x03, - 0xA0, - 0x7D, - 0xD3, - 0x82, - 0x9F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1Tint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x17, 0x2B, 0x31, 0x36, - 0xDD, 0xF7, - 0x14, 0x40, - 0x91, - 0x5D, - 0xFF, - 0xCA, - 0x76, - 0x8C, - 0xF2, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const float D2D1_SCENE_REFERRED_SDR_WHITE_LEVEL = 80f; - - public static ref readonly Guid CLSID_D2D1WhiteLevelAdjustment - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDB, 0xCA, 0xA1, 0x44, - 0xDD, 0x6C, - 0x18, 0x48, - 0x8F, - 0xF4, - 0x26, - 0xC1, - 0xCF, - 0xE9, - 0x5B, - 0xDB - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_D2D1HdrToneMap - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8D, 0x74, 0x0B, 0x7B, - 0x10, 0x46, - 0x86, 0x44, - 0xA9, - 0x0C, - 0x99, - 0x9D, - 0x9A, - 0x2E, - 0x2B, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint D2D1_APPEND_ALIGNED_ELEMENT = 4294967295; - - public const uint FACILITY_D2D = 2201; - -} - -#region Enums -/// -/// D2D1_INTERPOLATION_MODE_DEFINITION -public enum InterpolationModeDefinition : int -{ - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR - Linear = 1, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC - Cubic = 2, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_FANT - Fant = 6, - /// - /// D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR - MipmapLinear = 7, -} - -/// -/// D2D1_GAMMA -public enum Gamma : uint -{ - /// - /// D2D1_GAMMA_2_2 - Gamma_2_2 = 0, - /// - /// D2D1_GAMMA_1_0 - Gamma_1_0 = 1, -} - -/// -/// D2D1_OPACITY_MASK_CONTENT -public enum OpacityMaskContent : uint -{ - /// - /// D2D1_OPACITY_MASK_CONTENT_GRAPHICS - Graphics = 0, - /// - /// D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL - TextNatural = 1, - /// - /// D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE - TextGDICompatible = 2, -} - -/// -/// D2D1_EXTEND_MODE -public enum ExtendMode : uint -{ - /// - /// D2D1_EXTEND_MODE_CLAMP - Clamp = 0, - /// - /// D2D1_EXTEND_MODE_WRAP - Wrap = 1, - /// - /// D2D1_EXTEND_MODE_MIRROR - Mirror = 2, -} - -/// -/// D2D1_ANTIALIAS_MODE -public enum AntialiasMode : uint -{ - /// - /// D2D1_ANTIALIAS_MODE_PER_PRIMITIVE - PerPrimitive = 0, - /// - /// D2D1_ANTIALIAS_MODE_ALIASED - Aliased = 1, -} - -/// -/// D2D1_TEXT_ANTIALIAS_MODE -public enum TextAntialiasMode : uint -{ - /// - /// D2D1_TEXT_ANTIALIAS_MODE_DEFAULT - Default = 0, - /// - /// D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE - Cleartype = 1, - /// - /// D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE - Grayscale = 2, - /// - /// D2D1_TEXT_ANTIALIAS_MODE_ALIASED - Aliased = 3, -} - -/// -/// D2D1_BITMAP_INTERPOLATION_MODE -public enum BitmapInterpolationMode : uint -{ - /// - /// D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_BITMAP_INTERPOLATION_MODE_LINEAR - Linear = 1, -} - -/// -/// D2D1_DRAW_TEXT_OPTIONS -[Flags] -public enum DrawTextOptions : uint -{ - /// - /// D2D1_DRAW_TEXT_OPTIONS_NO_SNAP - NoSnap = 1, - /// - /// D2D1_DRAW_TEXT_OPTIONS_CLIP - Clip = 2, - /// - /// D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT - EnableColorFont = 4, - /// - /// D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING - DisableColorBitmapSnapping = 8, - /// - /// D2D1_DRAW_TEXT_OPTIONS_NONE - None = 0, -} - -/// -/// D2D1_ARC_SIZE -public enum ArcSize : uint -{ - /// - /// D2D1_ARC_SIZE_SMALL - Small = 0, - /// - /// D2D1_ARC_SIZE_LARGE - Large = 1, -} - -/// -/// D2D1_CAP_STYLE -public enum CapStyle : uint -{ - /// - /// D2D1_CAP_STYLE_FLAT - Flat = 0, - /// - /// D2D1_CAP_STYLE_SQUARE - Square = 1, - /// - /// D2D1_CAP_STYLE_ROUND - Round = 2, - /// - /// D2D1_CAP_STYLE_TRIANGLE - Triangle = 3, -} - -/// -/// D2D1_DASH_STYLE -public enum DashStyle : uint -{ - /// - /// D2D1_DASH_STYLE_SOLID - Solid = 0, - /// - /// D2D1_DASH_STYLE_DASH - Dash = 1, - /// - /// D2D1_DASH_STYLE_DOT - Dot = 2, - /// - /// D2D1_DASH_STYLE_DASH_DOT - DashDot = 3, - /// - /// D2D1_DASH_STYLE_DASH_DOT_DOT - DashDotDot = 4, - /// - /// D2D1_DASH_STYLE_CUSTOM - Custom = 5, -} - -/// -/// D2D1_LINE_JOIN -public enum LineJoin : uint -{ - /// - /// D2D1_LINE_JOIN_MITER - Miter = 0, - /// - /// D2D1_LINE_JOIN_BEVEL - Bevel = 1, - /// - /// D2D1_LINE_JOIN_ROUND - Round = 2, - /// - /// D2D1_LINE_JOIN_MITER_OR_BEVEL - MiterOrBevel = 3, -} - -/// -/// D2D1_COMBINE_MODE -public enum CombineMode : uint -{ - /// - /// D2D1_COMBINE_MODE_UNION - Union = 0, - /// - /// D2D1_COMBINE_MODE_INTERSECT - Intersect = 1, - /// - /// D2D1_COMBINE_MODE_XOR - Xor = 2, - /// - /// D2D1_COMBINE_MODE_EXCLUDE - Exclude = 3, -} - -/// -/// D2D1_GEOMETRY_RELATION -public enum GeometryRelation : uint -{ - /// - /// D2D1_GEOMETRY_RELATION_UNKNOWN - Unknown = 0, - /// - /// D2D1_GEOMETRY_RELATION_DISJOINT - Disjoint = 1, - /// - /// D2D1_GEOMETRY_RELATION_IS_CONTAINED - IsContained = 2, - /// - /// D2D1_GEOMETRY_RELATION_CONTAINS - Contains = 3, - /// - /// D2D1_GEOMETRY_RELATION_OVERLAP - Overlap = 4, -} - -/// -/// D2D1_GEOMETRY_SIMPLIFICATION_OPTION -public enum GeometrySimplificationOption : uint -{ - /// - /// D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES - CubicsAndLines = 0, - /// - /// D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES - Lines = 1, -} - -/// -/// D2D1_SWEEP_DIRECTION -public enum SweepDirection : uint -{ - /// - /// D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE - CounterClockwise = 0, - /// - /// D2D1_SWEEP_DIRECTION_CLOCKWISE - Clockwise = 1, -} - -/// -/// D2D1_LAYER_OPTIONS -[Flags] -public enum LayerOptions : uint -{ - /// - /// D2D1_LAYER_OPTIONS_NONE - None = 0, - /// - /// D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE - InitializeForCleartype = 1, -} - -/// -/// D2D1_WINDOW_STATE -[Flags] -public enum WindowState : uint -{ - /// - /// D2D1_WINDOW_STATE_NONE - None = 0, - /// - /// D2D1_WINDOW_STATE_OCCLUDED - Occluded = 1, -} - -/// -/// D2D1_RENDER_TARGET_TYPE -public enum RenderTargetType : uint -{ - /// - /// D2D1_RENDER_TARGET_TYPE_DEFAULT - Default = 0, - /// - /// D2D1_RENDER_TARGET_TYPE_SOFTWARE - Software = 1, - /// - /// D2D1_RENDER_TARGET_TYPE_HARDWARE - Hardware = 2, -} - -/// -/// D2D1_FEATURE_LEVEL -public enum FeatureLevel : uint -{ - /// - /// D2D1_FEATURE_LEVEL_DEFAULT - Default = 0, - /// - /// D2D1_FEATURE_LEVEL_9 - Level_9 = 37120, - /// - /// D2D1_FEATURE_LEVEL_10 - Level_10 = 40960, -} - -/// -/// D2D1_RENDER_TARGET_USAGE -[Flags] -public enum RenderTargetUsage : uint -{ - /// - /// D2D1_RENDER_TARGET_USAGE_NONE - None = 0, - /// - /// D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING - ForceBitmapRemoting = 1, - /// - /// D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE - GDICompatible = 2, -} - -/// -/// D2D1_PRESENT_OPTIONS -[Flags] -public enum PresentOptions : uint -{ - /// - /// D2D1_PRESENT_OPTIONS_NONE - None = 0, - /// - /// D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS - RetainContents = 1, - /// - /// D2D1_PRESENT_OPTIONS_IMMEDIATELY - Immediately = 2, -} - -/// -/// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS -[Flags] -public enum CompatibleRenderTargetOptions : uint -{ - /// - /// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE - None = 0, - /// - /// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE - GDICompatible = 1, -} - -/// -/// D2D1_DC_INITIALIZE_MODE -public enum DCInitializeMode : uint -{ - /// - /// D2D1_DC_INITIALIZE_MODE_COPY - Copy = 0, - /// - /// D2D1_DC_INITIALIZE_MODE_CLEAR - Clear = 1, -} - -/// -/// D2D1_DEBUG_LEVEL -public enum DebugLevel : uint -{ - /// - /// D2D1_DEBUG_LEVEL_NONE - None = 0, - /// - /// D2D1_DEBUG_LEVEL_ERROR - Error = 1, - /// - /// D2D1_DEBUG_LEVEL_WARNING - Warning = 2, - /// - /// D2D1_DEBUG_LEVEL_INFORMATION - Information = 3, -} - -/// -/// D2D1_FACTORY_TYPE -public enum FactoryType : uint -{ - /// - /// D2D1_FACTORY_TYPE_SINGLE_THREADED - SingleThreaded = 0, - /// - /// D2D1_FACTORY_TYPE_MULTI_THREADED - MultiThreaded = 1, -} - -/// -/// D2D1_CHANNEL_SELECTOR -public enum ChannelSelector : uint -{ - /// - /// D2D1_CHANNEL_SELECTOR_R - R = 0, - /// - /// D2D1_CHANNEL_SELECTOR_G - G = 1, - /// - /// D2D1_CHANNEL_SELECTOR_B - B = 2, - /// - /// D2D1_CHANNEL_SELECTOR_A - A = 3, -} - -/// -/// D2D1_BITMAPSOURCE_ORIENTATION -public enum BitmapSourceOrientation : uint -{ - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT - Default = 1, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL - FlipHorizontal = 2, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180 - RotateClockwise180 = 3, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL - RotateClockwise180FlipHorizontal = 4, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL - RotateClockwise270FlipHorizontal = 5, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90 - RotateClockwise90 = 6, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL - RotateClockwise90FlipHorizontal = 7, - /// - /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270 - RotateClockwise270 = 8, -} - -/// -/// D2D1_GAUSSIANBLUR_PROP -public enum GaussianBlurProp : uint -{ - /// - /// D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION - StandardDeviation = 0, - /// - /// D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION - Optimization = 1, - /// - /// D2D1_GAUSSIANBLUR_PROP_BORDER_MODE - BorderMode = 2, -} - -/// -/// D2D1_GAUSSIANBLUR_OPTIMIZATION -public enum GaussianBlurOptimization : uint -{ - /// - /// D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED - Speed = 0, - /// - /// D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED - Balanced = 1, - /// - /// D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY - Quality = 2, -} - -/// -/// D2D1_DIRECTIONALBLUR_PROP -public enum DirectionalBlurProp : uint -{ - /// - /// D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION - StandardDeviation = 0, - /// - /// D2D1_DIRECTIONALBLUR_PROP_ANGLE - Angle = 1, - /// - /// D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION - Optimization = 2, - /// - /// D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE - BorderMode = 3, -} - -/// -/// D2D1_DIRECTIONALBLUR_OPTIMIZATION -public enum DirectionalBlurOptimization : uint -{ - /// - /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED - Speed = 0, - /// - /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED - Balanced = 1, - /// - /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY - Quality = 2, -} - -/// -/// D2D1_SHADOW_PROP -public enum ShadowProp : uint -{ - /// - /// D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION - BlurStandardDeviation = 0, - /// - /// D2D1_SHADOW_PROP_COLOR - Color = 1, - /// - /// D2D1_SHADOW_PROP_OPTIMIZATION - Optimization = 2, -} - -/// -/// D2D1_SHADOW_OPTIMIZATION -public enum ShadowOptimization : uint -{ - /// - /// D2D1_SHADOW_OPTIMIZATION_SPEED - Speed = 0, - /// - /// D2D1_SHADOW_OPTIMIZATION_BALANCED - Balanced = 1, - /// - /// D2D1_SHADOW_OPTIMIZATION_QUALITY - Quality = 2, -} - -/// -/// D2D1_BLEND_PROP -public enum BlendProp : uint -{ - /// - /// D2D1_BLEND_PROP_MODE - Mode = 0, -} - -/// -/// D2D1_SATURATION_PROP -public enum SaturationProp : uint -{ - /// - /// D2D1_SATURATION_PROP_SATURATION - Saturation = 0, -} - -/// -/// D2D1_HUEROTATION_PROP -public enum HueRotationProp : uint -{ - /// - /// D2D1_HUEROTATION_PROP_ANGLE - Angle = 0, -} - -/// -/// D2D1_COLORMATRIX_PROP -public enum ColorMatrixProp : uint -{ - /// - /// D2D1_COLORMATRIX_PROP_COLOR_MATRIX - ColorMatrix = 0, - /// - /// D2D1_COLORMATRIX_PROP_ALPHA_MODE - AlphaMode = 1, - /// - /// D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT - ClampOutput = 2, -} - -/// -/// D2D1_BITMAPSOURCE_PROP -public enum BitmapSourceProp : uint -{ - /// - /// D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE - WicBitmapSource = 0, - /// - /// D2D1_BITMAPSOURCE_PROP_SCALE - Scale = 1, - /// - /// D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE - InterpolationMode = 2, - /// - /// D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION - EnableDpiCorrection = 3, - /// - /// D2D1_BITMAPSOURCE_PROP_ALPHA_MODE - AlphaMode = 4, - /// - /// D2D1_BITMAPSOURCE_PROP_ORIENTATION - Orientation = 5, -} - -/// -/// D2D1_BITMAPSOURCE_INTERPOLATION_MODE -public enum BitmapSourceInterpolationMode : uint -{ - /// - /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT - Fant = 6, - /// - /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR - MipmapLinear = 7, -} - -/// -/// D2D1_BITMAPSOURCE_ALPHA_MODE -public enum BitmapSourceAlphaMode : uint -{ - /// - /// D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED - Premultiplied = 1, - /// - /// D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT - Straight = 2, -} - -/// -/// D2D1_COMPOSITE_PROP -public enum CompositeProp : uint -{ - /// - /// D2D1_COMPOSITE_PROP_MODE - Mode = 0, -} - -/// -/// D2D1_3DTRANSFORM_PROP -public enum Transform3DProperties : uint -{ - /// - /// D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE - InterpolationMode = 0, - /// - /// D2D1_3DTRANSFORM_PROP_BORDER_MODE - BorderMode = 1, - /// - /// D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX - TransformMatrix = 2, -} - -/// -/// D2D1_3DTRANSFORM_INTERPOLATION_MODE -public enum Transform3DInterpolationMode : uint -{ - /// - /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, -} - -/// -/// D2D1_3DPERSPECTIVETRANSFORM_PROP -public enum PerspectiveTransform3DProperties : uint -{ - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE - InterpolationMode = 0, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE - BorderMode = 1, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH - Depth = 2, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN - PerspectiveOrigin = 3, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET - LocalOffset = 4, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET - GlobalOffset = 5, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN - RotationOrigin = 6, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION - Rotation = 7, -} - -/// -/// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE -public enum PerspectiveTransform3DInteroplationMode : uint -{ - /// - /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, -} - -/// -/// D2D1_2DAFFINETRANSFORM_PROP -public enum AffineTransform2DProperties : uint -{ - /// - /// D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE - InterpolationMode = 0, - /// - /// D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE - BorderMode = 1, - /// - /// D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX - TransformMatrix = 2, - /// - /// D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS - Sharpness = 3, -} - -/// -/// D2D1_DPICOMPENSATION_PROP -public enum DpiCompensationProp : uint -{ - /// - /// D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE - InterpolationMode = 0, - /// - /// D2D1_DPICOMPENSATION_PROP_BORDER_MODE - BorderMode = 1, - /// - /// D2D1_DPICOMPENSATION_PROP_INPUT_DPI - InputDpi = 2, -} - -/// -/// D2D1_DPICOMPENSATION_INTERPOLATION_MODE -public enum DpiCompensationInterpolationMode : uint -{ - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_SCALE_PROP -public enum ScaleProp : uint -{ - /// - /// D2D1_SCALE_PROP_SCALE - Scale = 0, - /// - /// D2D1_SCALE_PROP_CENTER_POINT - CenterPoint = 1, - /// - /// D2D1_SCALE_PROP_INTERPOLATION_MODE - InterpolationMode = 2, - /// - /// D2D1_SCALE_PROP_BORDER_MODE - BorderMode = 3, - /// - /// D2D1_SCALE_PROP_SHARPNESS - Sharpness = 4, -} - -/// -/// D2D1_SCALE_INTERPOLATION_MODE -public enum ScaleInterpolationMode : uint -{ - /// - /// D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_SCALE_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_SCALE_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_TURBULENCE_PROP -public enum TurbulenceProp : uint -{ - /// - /// D2D1_TURBULENCE_PROP_OFFSET - Offset = 0, - /// - /// D2D1_TURBULENCE_PROP_SIZE - Size = 1, - /// - /// D2D1_TURBULENCE_PROP_BASE_FREQUENCY - BaseFrequency = 2, - /// - /// D2D1_TURBULENCE_PROP_NUM_OCTAVES - NumOctaves = 3, - /// - /// D2D1_TURBULENCE_PROP_SEED - Seed = 4, - /// - /// D2D1_TURBULENCE_PROP_NOISE - Noise = 5, - /// - /// D2D1_TURBULENCE_PROP_STITCHABLE - Stitchable = 6, -} - -/// -/// D2D1_DISPLACEMENTMAP_PROP -public enum DisplacementMapProp : uint -{ - /// - /// D2D1_DISPLACEMENTMAP_PROP_SCALE - Scale = 0, - /// - /// D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT - XChannelSelect = 1, - /// - /// D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT - YChannelSelect = 2, -} - -/// -/// D2D1_COLORMANAGEMENT_PROP -public enum ColorManagementProp : uint -{ - /// - /// D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT - SourceColorContext = 0, - /// - /// D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT - SourceRenderingIntent = 1, - /// - /// D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT - DestinationColorContext = 2, - /// - /// D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT - DestinationRenderingIntent = 3, - /// - /// D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE - AlphaMode = 4, - /// - /// D2D1_COLORMANAGEMENT_PROP_QUALITY - Quality = 5, -} - -/// -/// D2D1_COLORMANAGEMENT_ALPHA_MODE -public enum ColorManagementAlphaMode : uint -{ - /// - /// D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED - Premultiplied = 1, - /// - /// D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT - Straight = 2, -} - -/// -/// D2D1_COLORMANAGEMENT_QUALITY -public enum ColorManagementQuality : uint -{ - /// - /// D2D1_COLORMANAGEMENT_QUALITY_PROOF - Proof = 0, - /// - /// D2D1_COLORMANAGEMENT_QUALITY_NORMAL - Normal = 1, - /// - /// D2D1_COLORMANAGEMENT_QUALITY_BEST - Best = 2, -} - -/// -/// D2D1_COLORMANAGEMENT_RENDERING_INTENT -public enum ColorManagementRenderingIntent : uint -{ - /// - /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL - Perceptual = 0, - /// - /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC - RelativeColorimetric = 1, - /// - /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION - Saturation = 2, - /// - /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC - AbsoluteColorimetric = 3, -} - -/// -/// D2D1_HISTOGRAM_PROP -public enum HistogramProp : uint -{ - /// - /// D2D1_HISTOGRAM_PROP_NUM_BINS - NumBins = 0, - /// - /// D2D1_HISTOGRAM_PROP_CHANNEL_SELECT - ChannelSelect = 1, - /// - /// D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT - HistogramOutput = 2, -} - -/// -/// D2D1_POINTSPECULAR_PROP -public enum PointSpecularProp : uint -{ - /// - /// D2D1_POINTSPECULAR_PROP_LIGHT_POSITION - LightPosition = 0, - /// - /// D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT - SpecularExponent = 1, - /// - /// D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT - SpecularConstant = 2, - /// - /// D2D1_POINTSPECULAR_PROP_SURFACE_SCALE - SurfaceScale = 3, - /// - /// D2D1_POINTSPECULAR_PROP_COLOR - Color = 4, - /// - /// D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 5, - /// - /// D2D1_POINTSPECULAR_PROP_SCALE_MODE - ScaleMode = 6, -} - -/// -/// D2D1_POINTSPECULAR_SCALE_MODE -public enum PointSpecularScaleMode : uint -{ - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_SPOTSPECULAR_PROP -public enum SpotSpecularProp : uint -{ - /// - /// D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION - LightPosition = 0, - /// - /// D2D1_SPOTSPECULAR_PROP_POINTS_AT - PointsAt = 1, - /// - /// D2D1_SPOTSPECULAR_PROP_FOCUS - Focus = 2, - /// - /// D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE - LimitingConeAngle = 3, - /// - /// D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT - SpecularExponent = 4, - /// - /// D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT - SpecularConstant = 5, - /// - /// D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE - SurfaceScale = 6, - /// - /// D2D1_SPOTSPECULAR_PROP_COLOR - Color = 7, - /// - /// D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 8, - /// - /// D2D1_SPOTSPECULAR_PROP_SCALE_MODE - ScaleMode = 9, -} - -/// -/// D2D1_SPOTSPECULAR_SCALE_MODE -public enum SpotSpecularScaleMode : uint -{ - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_DISTANTSPECULAR_PROP -public enum DistantSpecularProp : uint -{ - /// - /// D2D1_DISTANTSPECULAR_PROP_AZIMUTH - Azimuth = 0, - /// - /// D2D1_DISTANTSPECULAR_PROP_ELEVATION - Elevation = 1, - /// - /// D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT - SpecularExponent = 2, - /// - /// D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT - SpecularConstant = 3, - /// - /// D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE - SurfaceScale = 4, - /// - /// D2D1_DISTANTSPECULAR_PROP_COLOR - Color = 5, - /// - /// D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 6, - /// - /// D2D1_DISTANTSPECULAR_PROP_SCALE_MODE - ScaleMode = 7, -} - -/// -/// D2D1_DISTANTSPECULAR_SCALE_MODE -public enum DistantSpecularScaleMode : uint -{ - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_POINTDIFFUSE_PROP -public enum PointDiffuseProp : uint -{ - /// - /// D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION - LightPosition = 0, - /// - /// D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT - DiffuseConstant = 1, - /// - /// D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE - SurfaceScale = 2, - /// - /// D2D1_POINTDIFFUSE_PROP_COLOR - Color = 3, - /// - /// D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 4, - /// - /// D2D1_POINTDIFFUSE_PROP_SCALE_MODE - ScaleMode = 5, -} - -/// -/// D2D1_POINTDIFFUSE_SCALE_MODE -public enum PointDiffuseScaleMode : uint -{ - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_SPOTDIFFUSE_PROP -public enum SpotDiffuseProp : uint -{ - /// - /// D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION - LightPosition = 0, - /// - /// D2D1_SPOTDIFFUSE_PROP_POINTS_AT - PointsAt = 1, - /// - /// D2D1_SPOTDIFFUSE_PROP_FOCUS - Focus = 2, - /// - /// D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE - LimitingConeAngle = 3, - /// - /// D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT - DiffuseConstant = 4, - /// - /// D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE - SurfaceScale = 5, - /// - /// D2D1_SPOTDIFFUSE_PROP_COLOR - Color = 6, - /// - /// D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 7, - /// - /// D2D1_SPOTDIFFUSE_PROP_SCALE_MODE - ScaleMode = 8, -} - -/// -/// D2D1_SPOTDIFFUSE_SCALE_MODE -public enum SpotDiffuseScaleMode : uint -{ - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_DISTANTDIFFUSE_PROP -public enum DistantDiffuseProp : uint -{ - /// - /// D2D1_DISTANTDIFFUSE_PROP_AZIMUTH - Azimuth = 0, - /// - /// D2D1_DISTANTDIFFUSE_PROP_ELEVATION - Elevation = 1, - /// - /// D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT - DiffuseConstant = 2, - /// - /// D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE - SurfaceScale = 3, - /// - /// D2D1_DISTANTDIFFUSE_PROP_COLOR - Color = 4, - /// - /// D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 5, - /// - /// D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE - ScaleMode = 6, -} - -/// -/// D2D1_DISTANTDIFFUSE_SCALE_MODE -public enum DistantDiffuseScaleMode : uint -{ - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_FLOOD_PROP -public enum FloodProp : uint -{ - /// - /// D2D1_FLOOD_PROP_COLOR - Color = 0, -} - -/// -/// D2D1_LINEARTRANSFER_PROP -public enum LinearTransferProp : uint -{ - /// - /// D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT - RedYIntercept = 0, - /// - /// D2D1_LINEARTRANSFER_PROP_RED_SLOPE - RedSlope = 1, - /// - /// D2D1_LINEARTRANSFER_PROP_RED_DISABLE - RedDisable = 2, - /// - /// D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT - GreenYIntercept = 3, - /// - /// D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE - GreenSlope = 4, - /// - /// D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE - GreenDisable = 5, - /// - /// D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT - BlueYIntercept = 6, - /// - /// D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE - BlueSlope = 7, - /// - /// D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE - BlueDisable = 8, - /// - /// D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT - AlphaYIntercept = 9, - /// - /// D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE - AlphaSlope = 10, - /// - /// D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE - AlphaDisable = 11, - /// - /// D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT - ClampOutput = 12, -} - -/// -/// D2D1_GAMMATRANSFER_PROP -public enum GammaTransferProp : uint -{ - /// - /// D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE - RedAmplitude = 0, - /// - /// D2D1_GAMMATRANSFER_PROP_RED_EXPONENT - RedExponent = 1, - /// - /// D2D1_GAMMATRANSFER_PROP_RED_OFFSET - RedOffset = 2, - /// - /// D2D1_GAMMATRANSFER_PROP_RED_DISABLE - RedDisable = 3, - /// - /// D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE - GreenAmplitude = 4, - /// - /// D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT - GreenExponent = 5, - /// - /// D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET - GreenOffset = 6, - /// - /// D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE - GreenDisable = 7, - /// - /// D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE - BlueAmplitude = 8, - /// - /// D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT - BlueExponent = 9, - /// - /// D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET - BlueOffset = 10, - /// - /// D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE - BlueDisable = 11, - /// - /// D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE - AlphaAmplitude = 12, - /// - /// D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT - AlphaExponent = 13, - /// - /// D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET - AlphaOffset = 14, - /// - /// D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE - AlphaDisable = 15, - /// - /// D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT - ClampOutput = 16, -} - -/// -/// D2D1_TABLETRANSFER_PROP -public enum TableTransferProp : uint -{ - /// - /// D2D1_TABLETRANSFER_PROP_RED_TABLE - RedTable = 0, - /// - /// D2D1_TABLETRANSFER_PROP_RED_DISABLE - RedDisable = 1, - /// - /// D2D1_TABLETRANSFER_PROP_GREEN_TABLE - GreenTable = 2, - /// - /// D2D1_TABLETRANSFER_PROP_GREEN_DISABLE - GreenDisable = 3, - /// - /// D2D1_TABLETRANSFER_PROP_BLUE_TABLE - BlueTable = 4, - /// - /// D2D1_TABLETRANSFER_PROP_BLUE_DISABLE - BlueDisable = 5, - /// - /// D2D1_TABLETRANSFER_PROP_ALPHA_TABLE - AlphaTable = 6, - /// - /// D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE - AlphaDisable = 7, - /// - /// D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT - ClampOutput = 8, -} - -/// -/// D2D1_DISCRETETRANSFER_PROP -public enum DiscreteTransferProp : uint -{ - /// - /// D2D1_DISCRETETRANSFER_PROP_RED_TABLE - RedTable = 0, - /// - /// D2D1_DISCRETETRANSFER_PROP_RED_DISABLE - RedDisable = 1, - /// - /// D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE - GreenTable = 2, - /// - /// D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE - GreenDisable = 3, - /// - /// D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE - BlueTable = 4, - /// - /// D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE - BlueDisable = 5, - /// - /// D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE - AlphaTable = 6, - /// - /// D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE - AlphaDisable = 7, - /// - /// D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT - ClampOutput = 8, -} - -/// -/// D2D1_CONVOLVEMATRIX_PROP -public enum ConvolveMatrixProp : uint -{ - /// - /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH - KernelUnitLength = 0, - /// - /// D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE - ScaleMode = 1, - /// - /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X - KernelSizeX = 2, - /// - /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y - KernelSizeY = 3, - /// - /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX - KernelMatrix = 4, - /// - /// D2D1_CONVOLVEMATRIX_PROP_DIVISOR - Divisor = 5, - /// - /// D2D1_CONVOLVEMATRIX_PROP_BIAS - Bias = 6, - /// - /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET - KernelOffset = 7, - /// - /// D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA - PreserveAlpha = 8, - /// - /// D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE - BorderMode = 9, - /// - /// D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT - ClampOutput = 10, -} - -/// -/// D2D1_CONVOLVEMATRIX_SCALE_MODE -public enum ConvolveMatrixScaleMode : uint -{ - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_BRIGHTNESS_PROP -public enum BrightnessProp : uint -{ - /// - /// D2D1_BRIGHTNESS_PROP_WHITE_POINT - WhitePoint = 0, - /// - /// D2D1_BRIGHTNESS_PROP_BLACK_POINT - BlackPoint = 1, -} - -/// -/// D2D1_ARITHMETICCOMPOSITE_PROP -public enum ArithmeticCompositeProp : uint -{ - /// - /// D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS - Coefficients = 0, - /// - /// D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT - ClampOutput = 1, -} - -/// -/// D2D1_CROP_PROP -public enum CropProp : uint -{ - /// - /// D2D1_CROP_PROP_RECT - Rect = 0, - /// - /// D2D1_CROP_PROP_BORDER_MODE - BorderMode = 1, -} - -/// -/// D2D1_BORDER_PROP -public enum BorderProp : uint -{ - /// - /// D2D1_BORDER_PROP_EDGE_MODE_X - EdgeModeX = 0, - /// - /// D2D1_BORDER_PROP_EDGE_MODE_Y - EdgeModeY = 1, -} - -/// -/// D2D1_BORDER_EDGE_MODE -public enum BorderEdgeMode : uint -{ - /// - /// D2D1_BORDER_EDGE_MODE_CLAMP - Clamp = 0, - /// - /// D2D1_BORDER_EDGE_MODE_WRAP - Wrap = 1, - /// - /// D2D1_BORDER_EDGE_MODE_MIRROR - Mirror = 2, -} - -/// -/// D2D1_MORPHOLOGY_PROP -public enum MorphologyProp : uint -{ - /// - /// D2D1_MORPHOLOGY_PROP_MODE - Mode = 0, - /// - /// D2D1_MORPHOLOGY_PROP_WIDTH - Width = 1, - /// - /// D2D1_MORPHOLOGY_PROP_HEIGHT - Height = 2, -} - -/// -/// D2D1_MORPHOLOGY_MODE -public enum MorphologyMode : uint -{ - /// - /// D2D1_MORPHOLOGY_MODE_ERODE - Erode = 0, - /// - /// D2D1_MORPHOLOGY_MODE_DILATE - Dilate = 1, -} - -/// -/// D2D1_TILE_PROP -public enum TileProp : uint -{ - /// - /// D2D1_TILE_PROP_RECT - Rect = 0, -} - -/// -/// D2D1_ATLAS_PROP -public enum AtlasProp : uint -{ - /// - /// D2D1_ATLAS_PROP_INPUT_RECT - InputRect = 0, - /// - /// D2D1_ATLAS_PROP_INPUT_PADDING_RECT - InputPaddingRect = 1, -} - -/// -/// D2D1_OPACITYMETADATA_PROP -public enum OpacityMetadataProp : uint -{ - /// - /// D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT - InputOpaqueRect = 0, -} - -/// -/// D2D1_PROPERTY_TYPE -public enum PropertyType : uint -{ - /// - /// D2D1_PROPERTY_TYPE_UNKNOWN - Unknown = 0, - /// - /// D2D1_PROPERTY_TYPE_STRING - String = 1, - /// - /// D2D1_PROPERTY_TYPE_BOOL - Bool = 2, - /// - /// D2D1_PROPERTY_TYPE_UINT32 - UInt32 = 3, - /// - /// D2D1_PROPERTY_TYPE_INT32 - Int32 = 4, - /// - /// D2D1_PROPERTY_TYPE_FLOAT - Float = 5, - /// - /// D2D1_PROPERTY_TYPE_VECTOR2 - Vector2 = 6, - /// - /// D2D1_PROPERTY_TYPE_VECTOR3 - Vector3 = 7, - /// - /// D2D1_PROPERTY_TYPE_VECTOR4 - Vector4 = 8, - /// - /// D2D1_PROPERTY_TYPE_BLOB - Blob = 9, - /// - /// D2D1_PROPERTY_TYPE_IUNKNOWN - IUnknown = 10, - /// - /// D2D1_PROPERTY_TYPE_ENUM - Enum = 11, - /// - /// D2D1_PROPERTY_TYPE_ARRAY - Array = 12, - /// - /// D2D1_PROPERTY_TYPE_CLSID - Clsid = 13, - /// - /// D2D1_PROPERTY_TYPE_MATRIX_3X2 - Matrix3x2 = 14, - /// - /// D2D1_PROPERTY_TYPE_MATRIX_4X3 - Matrix4x3 = 15, - /// - /// D2D1_PROPERTY_TYPE_MATRIX_4X4 - Matrix4x4 = 16, - /// - /// D2D1_PROPERTY_TYPE_MATRIX_5X4 - Matrix5x4 = 17, - /// - /// D2D1_PROPERTY_TYPE_COLOR_CONTEXT - ColorContext = 18, -} - -/// -/// D2D1_PROPERTY -public enum Property : uint -{ - /// - /// D2D1_PROPERTY_CLSID - Clsid = 2147483648, - /// - /// D2D1_PROPERTY_DISPLAYNAME - Displayname = 2147483649, - /// - /// D2D1_PROPERTY_AUTHOR - Author = 2147483650, - /// - /// D2D1_PROPERTY_CATEGORY - Category = 2147483651, - /// - /// D2D1_PROPERTY_DESCRIPTION - Description = 2147483652, - /// - /// D2D1_PROPERTY_INPUTS - Inputs = 2147483653, - /// - /// D2D1_PROPERTY_CACHED - Cached = 2147483654, - /// - /// D2D1_PROPERTY_PRECISION - Precision = 2147483655, - /// - /// D2D1_PROPERTY_MIN_INPUTS - MinInputs = 2147483656, - /// - /// D2D1_PROPERTY_MAX_INPUTS - MaxInputs = 2147483657, -} - -/// -/// D2D1_SUBPROPERTY -public enum SubProperty : uint -{ - /// - /// D2D1_SUBPROPERTY_DISPLAYNAME - Displayname = 2147483648, - /// - /// D2D1_SUBPROPERTY_ISREADONLY - Isreadonly = 2147483649, - /// - /// D2D1_SUBPROPERTY_MIN - Min = 2147483650, - /// - /// D2D1_SUBPROPERTY_MAX - Max = 2147483651, - /// - /// D2D1_SUBPROPERTY_DEFAULT - Default = 2147483652, - /// - /// D2D1_SUBPROPERTY_FIELDS - Fields = 2147483653, - /// - /// D2D1_SUBPROPERTY_INDEX - Index = 2147483654, -} - -/// -/// D2D1_BITMAP_OPTIONS -[Flags] -public enum BitmapOptions : uint -{ - /// - /// D2D1_BITMAP_OPTIONS_NONE - None = 0, - /// - /// D2D1_BITMAP_OPTIONS_TARGET - Target = 1, - /// - /// D2D1_BITMAP_OPTIONS_CANNOT_DRAW - CannotDraw = 2, - /// - /// D2D1_BITMAP_OPTIONS_CPU_READ - CpuRead = 4, - /// - /// D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE - GDICompatible = 8, -} - -/// -/// D2D1_BUFFER_PRECISION -public enum BufferPrecision : uint -{ - /// - /// D2D1_BUFFER_PRECISION_UNKNOWN - Unknown = 0, - /// - /// D2D1_BUFFER_PRECISION_8BPC_UNORM - Precision8BitUnorm = 1, - /// - /// D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB - Precision8BitUnormSrgb = 2, - /// - /// D2D1_BUFFER_PRECISION_16BPC_UNORM - Precision16BitUnorm = 3, - /// - /// D2D1_BUFFER_PRECISION_16BPC_FLOAT - Precision16BitFloat = 4, - /// - /// D2D1_BUFFER_PRECISION_32BPC_FLOAT - Precision32BitFloat = 5, -} - -/// -/// D2D1_MAP_OPTIONS -[Flags] -public enum MapOptions : uint -{ - /// - /// D2D1_MAP_OPTIONS_NONE - None = 0, - /// - /// D2D1_MAP_OPTIONS_READ - Read = 1, - /// - /// D2D1_MAP_OPTIONS_WRITE - Write = 2, - /// - /// D2D1_MAP_OPTIONS_DISCARD - Discard = 4, -} - -/// -/// D2D1_INTERPOLATION_MODE -public enum InterpolationMode : uint -{ - /// - /// D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_UNIT_MODE -public enum UnitMode : uint -{ - /// - /// D2D1_UNIT_MODE_DIPS - Dips = 0, - /// - /// D2D1_UNIT_MODE_PIXELS - Pixels = 1, -} - -/// -/// D2D1_COLOR_SPACE -public enum ColorSpace : uint -{ - /// - /// D2D1_COLOR_SPACE_CUSTOM - Custom = 0, - /// - /// D2D1_COLOR_SPACE_SRGB - Srgb = 1, - /// - /// D2D1_COLOR_SPACE_SCRGB - Scrgb = 2, -} - -/// -/// D2D1_DEVICE_CONTEXT_OPTIONS -[Flags] -public enum DeviceContextOptions : uint -{ - /// - /// D2D1_DEVICE_CONTEXT_OPTIONS_NONE - None = 0, - /// - /// D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS - EnableMultithreadedOptimizations = 1, -} - -/// -/// D2D1_STROKE_TRANSFORM_TYPE -public enum StrokeTransformType : uint -{ - /// - /// D2D1_STROKE_TRANSFORM_TYPE_NORMAL - Normal = 0, - /// - /// D2D1_STROKE_TRANSFORM_TYPE_FIXED - Fixed = 1, - /// - /// D2D1_STROKE_TRANSFORM_TYPE_HAIRLINE - Hairline = 2, -} - -/// -/// D2D1_PRIMITIVE_BLEND -public enum PrimitiveBlend : uint -{ - /// - /// D2D1_PRIMITIVE_BLEND_SOURCE_OVER - SourceOver = 0, - /// - /// D2D1_PRIMITIVE_BLEND_COPY - Copy = 1, - /// - /// D2D1_PRIMITIVE_BLEND_MIN - Min = 2, - /// - /// D2D1_PRIMITIVE_BLEND_ADD - Add = 3, - /// - /// D2D1_PRIMITIVE_BLEND_MAX - Max = 4, -} - -/// -/// D2D1_THREADING_MODE -public enum ThreadingMode : uint -{ - /// - /// D2D1_THREADING_MODE_SINGLE_THREADED - SingleThreaded = 0, - /// - /// D2D1_THREADING_MODE_MULTI_THREADED - MultiThreaded = 1, -} - -/// -/// D2D1_COLOR_INTERPOLATION_MODE -public enum ColorInterpolationMode : uint -{ - /// - /// D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT - Straight = 0, - /// - /// D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED - Premultiplied = 1, -} - -/// -/// D2D1_LAYER_OPTIONS1 -[Flags] -public enum LayerOptions1 : uint -{ - /// - /// D2D1_LAYER_OPTIONS1_NONE - None = 0, - /// - /// D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND - InitializeFromBackground = 1, - /// - /// D2D1_LAYER_OPTIONS1_IGNORE_ALPHA - IgnoreAlpha = 2, -} - -/// -/// D2D1_PRINT_FONT_SUBSET_MODE -public enum PrintFontSubsetMode : uint -{ - /// - /// D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT - Default = 0, - /// - /// D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE - Eachpage = 1, - /// - /// D2D1_PRINT_FONT_SUBSET_MODE_NONE - None = 2, -} - -/// -/// D2D1_CHANGE_TYPE -[Flags] -public enum ChangeType : uint -{ - /// - /// D2D1_CHANGE_TYPE_NONE - None = 0, - /// - /// D2D1_CHANGE_TYPE_PROPERTIES - Properties = 1, - /// - /// D2D1_CHANGE_TYPE_CONTEXT - Context = 2, - /// - /// D2D1_CHANGE_TYPE_GRAPH - Graph = 3, -} - -/// -/// D2D1_PIXEL_OPTIONS -[Flags] -public enum PixelOptions : uint -{ - /// - /// D2D1_PIXEL_OPTIONS_NONE - None = 0, - /// - /// D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING - TrivialSampling = 1, -} - -/// -/// D2D1_VERTEX_OPTIONS -[Flags] -public enum VertexOptions : uint -{ - /// - /// D2D1_VERTEX_OPTIONS_NONE - None = 0, - /// - /// D2D1_VERTEX_OPTIONS_DO_NOT_CLEAR - DoNotClear = 1, - /// - /// D2D1_VERTEX_OPTIONS_USE_DEPTH_BUFFER - UseDepthBuffer = 2, - /// - /// D2D1_VERTEX_OPTIONS_ASSUME_NO_OVERLAP - AssumeNoOverlap = 4, -} - -/// -/// D2D1_VERTEX_USAGE -public enum VertexUsage : uint -{ - /// - /// D2D1_VERTEX_USAGE_STATIC - Static = 0, - /// - /// D2D1_VERTEX_USAGE_DYNAMIC - Dynamic = 1, -} - -/// -/// D2D1_BLEND_OPERATION -public enum BlendOperation : uint -{ - /// - /// D2D1_BLEND_OPERATION_ADD - Add = 1, - /// - /// D2D1_BLEND_OPERATION_SUBTRACT - Subtract = 2, - /// - /// D2D1_BLEND_OPERATION_REV_SUBTRACT - RevSubtract = 3, - /// - /// D2D1_BLEND_OPERATION_MIN - Min = 4, - /// - /// D2D1_BLEND_OPERATION_MAX - Max = 5, -} - -/// -/// D2D1_BLEND -public enum Blend : uint -{ - /// - /// D2D1_BLEND_ZERO - Zero = 1, - /// - /// D2D1_BLEND_ONE - One = 2, - /// - /// D2D1_BLEND_SRC_COLOR - SrcColor = 3, - /// - /// D2D1_BLEND_INV_SRC_COLOR - InvSrcColor = 4, - /// - /// D2D1_BLEND_SRC_ALPHA - SrcAlpha = 5, - /// - /// D2D1_BLEND_INV_SRC_ALPHA - InvSrcAlpha = 6, - /// - /// D2D1_BLEND_DEST_ALPHA - DestAlpha = 7, - /// - /// D2D1_BLEND_INV_DEST_ALPHA - InvDestAlpha = 8, - /// - /// D2D1_BLEND_DEST_COLOR - DestColor = 9, - /// - /// D2D1_BLEND_INV_DEST_COLOR - InvDestColor = 10, - /// - /// D2D1_BLEND_SRC_ALPHA_SAT - SrcAlphaSat = 11, - /// - /// D2D1_BLEND_BLEND_FACTOR - BlendFactor = 14, - /// - /// D2D1_BLEND_INV_BLEND_FACTOR - InvBlendFactor = 15, -} - -/// -/// D2D1_CHANNEL_DEPTH -public enum ChannelDepth : uint -{ - /// - /// D2D1_CHANNEL_DEPTH_DEFAULT - Default = 0, - /// - /// D2D1_CHANNEL_DEPTH_1 - _1 = 1, - /// - /// D2D1_CHANNEL_DEPTH_4 - _4 = 4, -} - -/// -/// D2D1_FILTER -public enum Filter : uint -{ - /// - /// D2D1_FILTER_MIN_MAG_MIP_POINT - MinMagMipPoint = 0, - /// - /// D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR - MinMagPointMipLinear = 1, - /// - /// D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT - MinPointMagLinearMipPoint = 4, - /// - /// D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR - MinPointMagMipLinear = 5, - /// - /// D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT - MinLinearMagMipPoint = 16, - /// - /// D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR - MinLinearMagPointMipLinear = 17, - /// - /// D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT - MinMagLinearMipPoint = 20, - /// - /// D2D1_FILTER_MIN_MAG_MIP_LINEAR - MinMagMipLinear = 21, - /// - /// D2D1_FILTER_ANISOTROPIC - Anisotropic = 85, -} - -/// -/// D2D1_FEATURE -public enum Feature : uint -{ - /// - /// D2D1_FEATURE_DOUBLES - Doubles = 0, - /// - /// D2D1_FEATURE_D3D10_X_HARDWARE_OPTIONS - XHardwareOptions = 1, -} - -/// -/// D2D1_YCBCR_PROP -public enum YcbcrProp : uint -{ - /// - /// D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING - ChromaSubsampling = 0, - /// - /// D2D1_YCBCR_PROP_TRANSFORM_MATRIX - TransformMatrix = 1, - /// - /// D2D1_YCBCR_PROP_INTERPOLATION_MODE - InterpolationMode = 2, -} - -/// -/// D2D1_YCBCR_CHROMA_SUBSAMPLING -public enum YcbcrChromaSubsampling : uint -{ - /// - /// D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO - Auto = 0, - /// - /// D2D1_YCBCR_CHROMA_SUBSAMPLING_420 - _420 = 1, - /// - /// D2D1_YCBCR_CHROMA_SUBSAMPLING_422 - _422 = 2, - /// - /// D2D1_YCBCR_CHROMA_SUBSAMPLING_444 - _444 = 3, - /// - /// D2D1_YCBCR_CHROMA_SUBSAMPLING_440 - _440 = 4, -} - -/// -/// D2D1_YCBCR_INTERPOLATION_MODE -public enum YcbcrInterpolationMode : uint -{ - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_LINEAR - Linear = 1, - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC - Anisotropic = 4, - /// - /// D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC - HighQualityCubic = 5, -} - -/// -/// D2D1_CONTRAST_PROP -public enum ContrastProp : uint -{ - /// - /// D2D1_CONTRAST_PROP_CONTRAST - Contrast = 0, - /// - /// D2D1_CONTRAST_PROP_CLAMP_INPUT - ClampInput = 1, -} - -/// -/// D2D1_RGBTOHUE_PROP -public enum RgbToHueProp : uint -{ - /// - /// D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE - OutputColorSpace = 0, -} - -/// -/// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE -public enum RgbToHueOutputColorSpace : uint -{ - /// - /// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE - HueSaturationValue = 0, - /// - /// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS - HueSaturationLightness = 1, -} - -/// -/// D2D1_HUETORGB_PROP -public enum HueToRgbProp : uint -{ - /// - /// D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE - InputColorSpace = 0, -} - -/// -/// D2D1_HUETORGB_INPUT_COLOR_SPACE -public enum HueToRgbInputColorSpace : uint -{ - /// - /// D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE - HueSaturationValue = 0, - /// - /// D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS - HueSaturationLightness = 1, -} - -/// -/// D2D1_CHROMAKEY_PROP -public enum ChromaKeyProp : uint -{ - /// - /// D2D1_CHROMAKEY_PROP_COLOR - Color = 0, - /// - /// D2D1_CHROMAKEY_PROP_TOLERANCE - Tolerance = 1, - /// - /// D2D1_CHROMAKEY_PROP_INVERT_ALPHA - InvertAlpha = 2, - /// - /// D2D1_CHROMAKEY_PROP_FEATHER - Feather = 3, -} - -/// -/// D2D1_EMBOSS_PROP -public enum EmbossProp : uint -{ - /// - /// D2D1_EMBOSS_PROP_HEIGHT - Height = 0, - /// - /// D2D1_EMBOSS_PROP_DIRECTION - Direction = 1, -} - -/// -/// D2D1_EXPOSURE_PROP -public enum ExposureProp : uint -{ - /// - /// D2D1_EXPOSURE_PROP_EXPOSURE_VALUE - ExposureValue = 0, -} - -/// -/// D2D1_POSTERIZE_PROP -public enum PosterizeProp : uint -{ - /// - /// D2D1_POSTERIZE_PROP_RED_VALUE_COUNT - RedValueCount = 0, - /// - /// D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT - GreenValueCount = 1, - /// - /// D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT - BlueValueCount = 2, -} - -/// -/// D2D1_SEPIA_PROP -public enum SepiaProp : uint -{ - /// - /// D2D1_SEPIA_PROP_INTENSITY - Intensity = 0, - /// - /// D2D1_SEPIA_PROP_ALPHA_MODE - AlphaMode = 1, -} - -/// -/// D2D1_SHARPEN_PROP -public enum SharpenProp : uint -{ - /// - /// D2D1_SHARPEN_PROP_SHARPNESS - Sharpness = 0, - /// - /// D2D1_SHARPEN_PROP_THRESHOLD - Threshold = 1, -} - -/// -/// D2D1_STRAIGHTEN_PROP -public enum StraightenProp : uint -{ - /// - /// D2D1_STRAIGHTEN_PROP_ANGLE - Angle = 0, - /// - /// D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE - MaintainSize = 1, - /// - /// D2D1_STRAIGHTEN_PROP_SCALE_MODE - ScaleMode = 2, -} - -/// -/// D2D1_STRAIGHTEN_SCALE_MODE -public enum StraightenScaleMode : uint -{ - /// - /// D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR - NearestNeighbor = 0, - /// - /// D2D1_STRAIGHTEN_SCALE_MODE_LINEAR - Linear = 1, - /// - /// D2D1_STRAIGHTEN_SCALE_MODE_CUBIC - Cubic = 2, - /// - /// D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR - MultiSampleLinear = 3, - /// - /// D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC - Anisotropic = 4, -} - -/// -/// D2D1_TEMPERATUREANDTINT_PROP -public enum TemperatureandtintProp : uint -{ - /// - /// D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE - Temperature = 0, - /// - /// D2D1_TEMPERATUREANDTINT_PROP_TINT - Tint = 1, -} - -/// -/// D2D1_VIGNETTE_PROP -public enum VignetteProp : uint -{ - /// - /// D2D1_VIGNETTE_PROP_COLOR - Color = 0, - /// - /// D2D1_VIGNETTE_PROP_TRANSITION_SIZE - TransitionSize = 1, - /// - /// D2D1_VIGNETTE_PROP_STRENGTH - Strength = 2, -} - -/// -/// D2D1_EDGEDETECTION_PROP -public enum EdgeDetectionProp : uint -{ - /// - /// D2D1_EDGEDETECTION_PROP_STRENGTH - Strength = 0, - /// - /// D2D1_EDGEDETECTION_PROP_BLUR_RADIUS - BlurRadius = 1, - /// - /// D2D1_EDGEDETECTION_PROP_MODE - Mode = 2, - /// - /// D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES - OverlayEdges = 3, - /// - /// D2D1_EDGEDETECTION_PROP_ALPHA_MODE - AlphaMode = 4, -} - -/// -/// D2D1_EDGEDETECTION_MODE -public enum EdgeDetectionMode : uint -{ - /// - /// D2D1_EDGEDETECTION_MODE_SOBEL - Sobel = 0, - /// - /// D2D1_EDGEDETECTION_MODE_PREWITT - Prewitt = 1, -} - -/// -/// D2D1_HIGHLIGHTSANDSHADOWS_PROP -public enum HighlightSandShadowsProp : uint -{ - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS - Highlights = 0, - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS - Shadows = 1, - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY - Clarity = 2, - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA - InputGamma = 3, - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS - MaskBlurRadius = 4, -} - -/// -/// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA -public enum HighlightSandShadowsInputGamma : uint -{ - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR - Linear = 0, - /// - /// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB - Srgb = 1, -} - -/// -/// D2D1_LOOKUPTABLE3D_PROP -public enum LookupTable3DProp : uint -{ - /// - /// D2D1_LOOKUPTABLE3D_PROP_LUT - Lut = 0, - /// - /// D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE - AlphaMode = 1, -} - -/// -/// D2D1_OPACITY_PROP -public enum OpacityProp : uint -{ - /// - /// D2D1_OPACITY_PROP_OPACITY - Opacity = 0, -} - -/// -/// D2D1_CROSSFADE_PROP -public enum CrossfadeProp : uint -{ - /// - /// D2D1_CROSSFADE_PROP_WEIGHT - Weight = 0, -} - -/// -/// D2D1_TINT_PROP -public enum TintProp : uint -{ - /// - /// D2D1_TINT_PROP_COLOR - Color = 0, - /// - /// D2D1_TINT_PROP_CLAMP_OUTPUT - ClampOutput = 1, -} - -/// -/// D2D1_WHITELEVELADJUSTMENT_PROP -public enum WhiteLevelAdjustmentProp : uint -{ - /// - /// D2D1_WHITELEVELADJUSTMENT_PROP_INPUT_WHITE_LEVEL - InputWhiteLevel = 0, - /// - /// D2D1_WHITELEVELADJUSTMENT_PROP_OUTPUT_WHITE_LEVEL - OutputWhiteLevel = 1, -} - -/// -/// D2D1_HDRTONEMAP_PROP -public enum HDRTonemapProp : uint -{ - /// - /// D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE - InputMaxLuminance = 0, - /// - /// D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE - OutputMaxLuminance = 1, - /// - /// D2D1_HDRTONEMAP_PROP_DISPLAY_MODE - DisplayMode = 2, -} - -/// -/// D2D1_HDRTONEMAP_DISPLAY_MODE -public enum HDRTonemapDisplayMode : uint -{ - /// - /// D2D1_HDRTONEMAP_DISPLAY_MODE_SDR - Sdr = 0, - /// - /// D2D1_HDRTONEMAP_DISPLAY_MODE_HDR - HDR = 1, -} - -/// -/// D2D1_RENDERING_PRIORITY -public enum RenderingPriority : uint -{ - /// - /// D2D1_RENDERING_PRIORITY_NORMAL - Normal = 0, - /// - /// D2D1_RENDERING_PRIORITY_LOW - Low = 1, -} - -/// -/// D2D1_SVG_PAINT_TYPE -public enum SvgPaintType : uint -{ - /// - /// D2D1_SVG_PAINT_TYPE_NONE - None = 0, - /// - /// D2D1_SVG_PAINT_TYPE_COLOR - Color = 1, - /// - /// D2D1_SVG_PAINT_TYPE_CURRENT_COLOR - CurrentColor = 2, - /// - /// D2D1_SVG_PAINT_TYPE_URI - Uri = 3, - /// - /// D2D1_SVG_PAINT_TYPE_URI_NONE - UriNone = 4, - /// - /// D2D1_SVG_PAINT_TYPE_URI_COLOR - UriColor = 5, - /// - /// D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR - UriCurrentColor = 6, -} - -/// -/// D2D1_SVG_LENGTH_UNITS -public enum SvgLengthUnits : uint -{ - /// - /// D2D1_SVG_LENGTH_UNITS_NUMBER - Number = 0, - /// - /// D2D1_SVG_LENGTH_UNITS_PERCENTAGE - Percentage = 1, -} - -/// -/// D2D1_SVG_DISPLAY -public enum SvgDisplay : uint -{ - /// - /// D2D1_SVG_DISPLAY_INLINE - Inline = 0, - /// - /// D2D1_SVG_DISPLAY_NONE - None = 1, -} - -/// -/// D2D1_SVG_VISIBILITY -public enum SvgVisibility : uint -{ - /// - /// D2D1_SVG_VISIBILITY_VISIBLE - Visible = 0, - /// - /// D2D1_SVG_VISIBILITY_HIDDEN - Hidden = 1, -} - -/// -/// D2D1_SVG_OVERFLOW -public enum SvgOverflow : uint -{ - /// - /// D2D1_SVG_OVERFLOW_VISIBLE - Visible = 0, - /// - /// D2D1_SVG_OVERFLOW_HIDDEN - Hidden = 1, -} - -/// -/// D2D1_SVG_LINE_CAP -public enum SvgLineCap : uint -{ - /// - /// D2D1_SVG_LINE_CAP_BUTT - Butt = 0, - /// - /// D2D1_SVG_LINE_CAP_SQUARE - Square = 1, - /// - /// D2D1_SVG_LINE_CAP_ROUND - Round = 2, -} - -/// -/// D2D1_SVG_LINE_JOIN -public enum SvgLineJoin : uint -{ - /// - /// D2D1_SVG_LINE_JOIN_BEVEL - Bevel = 1, - /// - /// D2D1_SVG_LINE_JOIN_MITER - Miter = 3, - /// - /// D2D1_SVG_LINE_JOIN_ROUND - Round = 2, -} - -/// -/// D2D1_SVG_ASPECT_ALIGN -public enum SvgAspectAlign : uint -{ - /// - /// D2D1_SVG_ASPECT_ALIGN_NONE - None = 0, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN - XMinYMin = 1, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN - XMidYMin = 2, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN - XMaxYMin = 3, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID - XMinYMid = 4, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID - XMidYMid = 5, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID - XMaxYMid = 6, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX - XMinYMax = 7, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX - XMidYMax = 8, - /// - /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX - XMaxYMax = 9, -} - -/// -/// D2D1_SVG_ASPECT_SCALING -public enum SvgAspectScaling : uint -{ - /// - /// D2D1_SVG_ASPECT_SCALING_MEET - Meet = 0, - /// - /// D2D1_SVG_ASPECT_SCALING_SLICE - Slice = 1, -} - -/// -/// D2D1_SVG_PATH_COMMAND -public enum SvgPathCommand : uint -{ - /// - /// D2D1_SVG_PATH_COMMAND_CLOSE_PATH - ClosePath = 0, - /// - /// D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE - MoveAbsolute = 1, - /// - /// D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE - MoveRelative = 2, - /// - /// D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE - LineAbsolute = 3, - /// - /// D2D1_SVG_PATH_COMMAND_LINE_RELATIVE - LineRelative = 4, - /// - /// D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE - CubicAbsolute = 5, - /// - /// D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE - CubicRelative = 6, - /// - /// D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE - QuadradicAbsolute = 7, - /// - /// D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE - QuadradicRelative = 8, - /// - /// D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE - ArcAbsolute = 9, - /// - /// D2D1_SVG_PATH_COMMAND_ARC_RELATIVE - ArcRelative = 10, - /// - /// D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE - HorizontalAbsolute = 11, - /// - /// D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE - HorizontalRelative = 12, - /// - /// D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE - VerticalAbsolute = 13, - /// - /// D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE - VerticalRelative = 14, - /// - /// D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE - CubicSmoothAbsolute = 15, - /// - /// D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE - CubicSmoothRelative = 16, - /// - /// D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE - QuadradicSmoothAbsolute = 17, - /// - /// D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE - QuadradicSmoothRelative = 18, -} - -/// -/// D2D1_SVG_UNIT_TYPE -public enum SvgUnitType : uint -{ - /// - /// D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE - UserSpaceOnUse = 0, - /// - /// D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX - ObjectBoundingBox = 1, -} - -/// -/// D2D1_SVG_ATTRIBUTE_STRING_TYPE -public enum SvgAttributeStringType : uint -{ - /// - /// D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG - Svg = 0, - /// - /// D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID - Id = 1, -} - -/// -/// D2D1_SVG_ATTRIBUTE_POD_TYPE -public enum SvgAttributePodType : uint -{ - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT - Float = 0, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR - Color = 1, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE - FillMode = 2, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY - Display = 3, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW - Overflow = 4, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP - LineCap = 5, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN - LineJoin = 6, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY - Visibility = 7, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX - Matrix = 8, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE - UnitType = 9, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE - ExtendMode = 10, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO - PreserveAspectRatio = 11, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX - Viewbox = 12, - /// - /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH - Length = 13, -} - -/// -/// D2D1_INK_NIB_SHAPE -public enum InkNibShape : uint -{ - /// - /// D2D1_INK_NIB_SHAPE_ROUND - Round = 0, - /// - /// D2D1_INK_NIB_SHAPE_SQUARE - Square = 1, -} - -/// -/// D2D1_ORIENTATION -public enum Orientation : uint -{ - /// - /// D2D1_ORIENTATION_DEFAULT - Default = 1, - /// - /// D2D1_ORIENTATION_FLIP_HORIZONTAL - FlipHorizontal = 2, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE180 - RotateClockwise180 = 3, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL - RotateClockwise180FlipHorizontal = 4, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL - RotateClockwise90FlipHorizontal = 5, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE270 - RotateClockwise270 = 6, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL - RotateClockwise270FlipHorizontal = 7, - /// - /// D2D1_ORIENTATION_ROTATE_CLOCKWISE90 - RotateClockwise90 = 8, -} - -/// -/// D2D1_IMAGE_SOURCE_LOADING_OPTIONS -[Flags] -public enum ImageSourceLoadingOptions : uint -{ - /// - /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE - None = 0, - /// - /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_RELEASE_SOURCE - ReleaseSource = 1, - /// - /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_CACHE_ON_DEMAND - CacheOnDemand = 2, -} - -/// -/// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS -[Flags] -public enum ImageSourceFromDxgiOptions : uint -{ - /// - /// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE - None = 0, - /// - /// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_LOW_QUALITY_PRIMARY_CONVERSION - LowQualityPrimaryConversion = 1, -} - -/// -/// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS -[Flags] -public enum TransformedImageSourceOptions : uint -{ - /// - /// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE - None = 0, - /// - /// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_DISABLE_DPI_SCALE - DisableDpiScale = 1, -} - -/// -/// D2D1_PATCH_EDGE_MODE -public enum PatchEdgeMode : uint -{ - /// - /// D2D1_PATCH_EDGE_MODE_ALIASED - Aliased = 0, - /// - /// D2D1_PATCH_EDGE_MODE_ANTIALIASED - Antialiased = 1, - /// - /// D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED - AliasedInflated = 2, -} - -/// -/// D2D1_SPRITE_OPTIONS -[Flags] -public enum SpriteOptions : uint -{ - /// - /// D2D1_SPRITE_OPTIONS_NONE - None = 0, - /// - /// D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE - ClampToSourceRectangle = 1, -} - -/// -/// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION -public enum ColorBitmapGlyphSnapOption : uint -{ - /// - /// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT - Default = 0, - /// - /// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE - Disable = 1, -} - -/// -/// D2D1_GAMMA1 -public enum Gamma1 : uint -{ - /// - /// D2D1_GAMMA1_G22 - G22 = 0, - /// - /// D2D1_GAMMA1_G10 - G10 = 1, - /// - /// D2D1_GAMMA1_G2084 - G2084 = 2, -} - -/// -/// D2D1_COLOR_CONTEXT_TYPE -public enum ColorContextType : uint -{ - /// - /// D2D1_COLOR_CONTEXT_TYPE_ICC - Icc = 0, - /// - /// D2D1_COLOR_CONTEXT_TYPE_SIMPLE - Simple = 1, - /// - /// D2D1_COLOR_CONTEXT_TYPE_DXGI - DXGI = 2, -} -#endregion Enums - -#region Structs - -/// -/// D2D1_BITMAP_PROPERTIES -public partial struct BitmapProperties -{ - /// - public Common.PixelFormat pixelFormat; - - /// - public float dpiX; - - /// - public float dpiY; -} - -/// -/// D2D1_GRADIENT_STOP -public partial struct GradientStop -{ - /// - public float position; - - /// - public Color4 color; -} - -/// -/// D2D1_BRUSH_PROPERTIES -public partial struct BrushProperties -{ - /// - public float opacity; - - /// - public Matrix3x2 transform; -} - -/// -/// D2D1_BITMAP_BRUSH_PROPERTIES -public partial struct BitmapBrushProperties -{ - /// - public ExtendMode extendModeX; - - /// - public ExtendMode extendModeY; - - /// - public BitmapInterpolationMode interpolationMode; -} - -/// -/// D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES -public partial struct LinearGradientBrushProperties -{ - /// - public System.Drawing.PointF startPoint; - - /// - public System.Drawing.PointF endPoint; -} - -/// -/// D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES -public partial struct RadialGradientBrushProperties -{ - /// - public System.Drawing.PointF center; - - /// - public System.Drawing.PointF gradientOriginOffset; - - /// - public float radiusX; - - /// - public float radiusY; -} - -/// -/// D2D1_TRIANGLE -public partial struct Triangle -{ - /// - public System.Drawing.PointF point1; - - /// - public System.Drawing.PointF point2; - - /// - public System.Drawing.PointF point3; -} - -/// -/// D2D1_ARC_SEGMENT -public partial struct ArcSegment -{ - /// - public System.Drawing.PointF point; - - /// - public System.Drawing.SizeF size; - - /// - public float rotationAngle; - - /// - public SweepDirection sweepDirection; - - /// - public ArcSize arcSize; -} - -/// -/// D2D1_QUADRATIC_BEZIER_SEGMENT -public partial struct QuadraticBezierSegment -{ - /// - public System.Drawing.PointF point1; - - /// - public System.Drawing.PointF point2; -} - -/// -/// D2D1_ELLIPSE -public partial struct Ellipse -{ - /// - public System.Drawing.PointF point; - - /// - public float radiusX; - - /// - public float radiusY; -} - -/// -/// D2D1_ROUNDED_RECT -public partial struct RoundedRect -{ - /// - public Common.RectF rect; - - /// - public float radiusX; - - /// - public float radiusY; -} - -/// -/// D2D1_STROKE_STYLE_PROPERTIES -public partial struct StrokeStyleProperties -{ - /// - public CapStyle startCap; - - /// - public CapStyle endCap; - - /// - public CapStyle dashCap; - - /// - public LineJoin lineJoin; - - /// - public float miterLimit; - - /// - public DashStyle dashStyle; - - /// - public float dashOffset; -} - -/// -/// D2D1_LAYER_PARAMETERS -public partial struct LayerParameters -{ - /// - public Common.RectF contentBounds; - - /// - public unsafe ID2D1Geometry* geometricMask; - - /// - public AntialiasMode maskAntialiasMode; - - /// - public Matrix3x2 maskTransform; - - /// - public float opacity; - - /// - public unsafe ID2D1Brush* opacityBrush; - - /// - public LayerOptions layerOptions; -} - -/// -/// D2D1_RENDER_TARGET_PROPERTIES -public partial struct RenderTargetProperties -{ - /// - public RenderTargetType type; - - /// - public Common.PixelFormat pixelFormat; - - /// - public float dpiX; - - /// - public float dpiY; - - /// - public RenderTargetUsage usage; - - /// - public FeatureLevel minLevel; -} - -/// -/// D2D1_HWND_RENDER_TARGET_PROPERTIES -public partial struct HwndRenderTargetProperties -{ - /// - public IntPtr hwnd; - - /// - public System.Drawing.Size pixelSize; - - /// - public PresentOptions presentOptions; -} - -/// -/// D2D1_DRAWING_STATE_DESCRIPTION -public partial struct DrawingStateDescription -{ - /// - public AntialiasMode antialiasMode; - - /// - public TextAntialiasMode textAntialiasMode; - - /// - public ulong tag1; - - /// - public ulong tag2; - - /// - public Matrix3x2 transform; -} - -/// -/// D2D1_FACTORY_OPTIONS -public partial struct FactoryOptions -{ - /// - public DebugLevel debugLevel; -} - -/// -/// D2D1_BITMAP_PROPERTIES1 -public partial struct BitmapProperties1 -{ - /// - public Common.PixelFormat pixelFormat; - - /// - public float dpiX; - - /// - public float dpiY; - - /// - public BitmapOptions bitmapOptions; - - /// - public unsafe ID2D1ColorContext* colorContext; -} - -/// -/// D2D1_MAPPED_RECT -public partial struct MappedRect -{ - /// - public uint pitch; - - /// - public unsafe byte* bits; -} - -/// -/// D2D1_RENDERING_CONTROLS -public partial struct RenderingControls -{ - /// - public BufferPrecision bufferPrecision; - - /// - public System.Drawing.Size tileSize; -} - -/// -/// D2D1_EFFECT_INPUT_DESCRIPTION -public partial struct EffectInputDescription -{ - /// - public unsafe ID2D1Effect* effect; - - /// - public uint inputIndex; - - /// - public Common.RectF inputRectangle; -} - -/// -/// D2D1_POINT_DESCRIPTION -public partial struct PointDescription -{ - /// - public System.Drawing.PointF point; - - /// - public System.Drawing.PointF unitTangentVector; - - /// - public uint endSegment; - - /// - public uint endFigure; - - /// - public float lengthToEndSegment; -} - -/// -/// D2D1_IMAGE_BRUSH_PROPERTIES -public partial struct ImageBrushProperties -{ - /// - public Common.RectF sourceRectangle; - - /// - public ExtendMode extendModeX; - - /// - public ExtendMode extendModeY; - - /// - public InterpolationMode interpolationMode; -} - -/// -/// D2D1_BITMAP_BRUSH_PROPERTIES1 -public partial struct BitmapBrushProperties1 -{ - /// - public ExtendMode extendModeX; - - /// - public ExtendMode extendModeY; - - /// - public InterpolationMode interpolationMode; -} - -/// -/// D2D1_STROKE_STYLE_PROPERTIES1 -public partial struct StrokeStyleProperties1 -{ - /// - public CapStyle startCap; - - /// - public CapStyle endCap; - - /// - public CapStyle dashCap; - - /// - public LineJoin lineJoin; - - /// - public float miterLimit; - - /// - public DashStyle dashStyle; - - /// - public float dashOffset; - - /// - public StrokeTransformType transformType; -} - -/// -/// D2D1_LAYER_PARAMETERS1 -public partial struct LayerParameters1 -{ - /// - public Common.RectF contentBounds; - - /// - public unsafe ID2D1Geometry* geometricMask; - - /// - public AntialiasMode maskAntialiasMode; - - /// - public Matrix3x2 maskTransform; - - /// - public float opacity; - - /// - public unsafe ID2D1Brush* opacityBrush; - - /// - public LayerOptions1 layerOptions; -} - -/// -/// D2D1_DRAWING_STATE_DESCRIPTION1 -public partial struct DrawingStateDescription1 -{ - /// - public AntialiasMode antialiasMode; - - /// - public TextAntialiasMode textAntialiasMode; - - /// - public ulong tag1; - - /// - public ulong tag2; - - /// - public Matrix3x2 transform; - - /// - public PrimitiveBlend primitiveBlend; - - /// - public UnitMode unitMode; -} - -/// -/// D2D1_PRINT_CONTROL_PROPERTIES -public partial struct PrintControlProperties -{ - /// - public PrintFontSubsetMode fontSubset; - - /// - public float rasterDPI; - - /// - public ColorSpace colorSpace; -} - -/// -/// D2D1_CREATION_PROPERTIES -public partial struct CreationProperties -{ - /// - public ThreadingMode threadingMode; - - /// - public DebugLevel debugLevel; - - /// - public DeviceContextOptions options; -} - -/// -/// D2D1_PROPERTY_BINDING -public partial struct PropertyBinding -{ - /// - public unsafe ushort* propertyName; - - /// - public unsafe delegate* unmanaged[Stdcall] setFunction; - - /// - public unsafe delegate* unmanaged[Stdcall] getFunction; -} - -/// -/// D2D1_RESOURCE_TEXTURE_PROPERTIES -public partial struct ResourceTextureProperties -{ - /// - public unsafe uint* extents; - - /// - public uint dimensions; - - /// - public BufferPrecision bufferPrecision; - - /// - public ChannelDepth channelDepth; - - /// - public Filter filter; - - /// - public unsafe ExtendMode* extendModes; -} - -/// -/// D2D1_INPUT_ELEMENT_DESC -public partial struct InputElementDescription -{ - /// - public unsafe sbyte* semanticName; - - /// - public uint semanticIndex; - - /// - public Graphics.Dxgi.Common.Format format; - - /// - public uint inputSlot; - - /// - public uint alignedByteOffset; -} - -/// -/// D2D1_VERTEX_BUFFER_PROPERTIES -public partial struct VertexBufferProperties -{ - /// - public uint inputCount; - - /// - public VertexUsage usage; - - /// - public unsafe byte* data; - - /// - public uint byteWidth; -} - -/// -/// D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES -public partial struct CustomVertexBufferProperties -{ - /// - public unsafe byte* shaderBufferWithInputSignature; - - /// - public uint shaderBufferSize; - - /// - public unsafe InputElementDescription* inputElements; - - /// - public uint elementCount; - - /// - public uint stride; -} - -/// -/// D2D1_VERTEX_RANGE -public partial struct VertexRange -{ - /// - public uint startVertex; - - /// - public uint vertexCount; -} - -/// -/// D2D1_BLEND_DESCRIPTION -public partial struct BlendDescription -{ - /// - public Blend sourceBlend; - - /// - public Blend destinationBlend; - - /// - public BlendOperation blendOperation; - - /// - public Blend sourceBlendAlpha; - - /// - public Blend destinationBlendAlpha; - - /// - public BlendOperation blendOperationAlpha; - - /// - public unsafe fixed float blendFactor[4]; -} - -/// -/// D2D1_INPUT_DESCRIPTION -public partial struct InputDescription -{ - /// - public Filter filter; - - /// - public uint levelOfDetailCount; -} - -/// -/// D2D1_FEATURE_DATA_DOUBLES -public partial struct FeatureDataDoubles -{ - /// - public Bool32 doublePrecisionFloatShaderOps; -} - -/// -/// D2D1_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS -public partial struct FeatureDataD3D10XHardwareOptions -{ - /// - public Bool32 computeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; -} - -/// -/// D2D1_SVG_LENGTH -public partial struct SvgLength -{ - /// - public float value; - - /// - public SvgLengthUnits units; -} - -/// -/// D2D1_SVG_PRESERVE_ASPECT_RATIO -public partial struct SvgPreserveAspectRatio -{ - /// - public Bool32 defer; - - /// - public SvgAspectAlign align; - - /// - public SvgAspectScaling meetOrSlice; -} - -/// -/// D2D1_SVG_VIEWBOX -public partial struct SvgViewbox -{ - /// - public float x; - - /// - public float y; - - /// - public float width; - - /// - public float height; -} - -/// -/// D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES -public partial struct TransformedImageSourceProperties -{ - /// - public Orientation orientation; - - /// - public float scaleX; - - /// - public float scaleY; - - /// - public InterpolationMode interpolationMode; - - /// - public TransformedImageSourceOptions options; -} - -/// -/// D2D1_INK_POINT -public partial struct InkPoint -{ - /// - public float x; - - /// - public float y; - - /// - public float radius; -} - -/// -/// D2D1_INK_BEZIER_SEGMENT -public partial struct InkBezierSegment -{ - /// - public InkPoint point1; - - /// - public InkPoint point2; - - /// - public InkPoint point3; -} - -/// -/// D2D1_INK_STYLE_PROPERTIES -public partial struct InkStyleProperties -{ - /// - public InkNibShape nibShape; - - /// - public Matrix3x2 nibTransform; -} - -/// -/// D2D1_GRADIENT_MESH_PATCH -public partial struct GradientMeshPatch -{ - /// - public System.Drawing.PointF point00; - - /// - public System.Drawing.PointF point01; - - /// - public System.Drawing.PointF point02; - - /// - public System.Drawing.PointF point03; - - /// - public System.Drawing.PointF point10; - - /// - public System.Drawing.PointF point11; - - /// - public System.Drawing.PointF point12; - - /// - public System.Drawing.PointF point13; - - /// - public System.Drawing.PointF point20; - - /// - public System.Drawing.PointF point21; - - /// - public System.Drawing.PointF point22; - - /// - public System.Drawing.PointF point23; - - /// - public System.Drawing.PointF point30; - - /// - public System.Drawing.PointF point31; - - /// - public System.Drawing.PointF point32; - - /// - public System.Drawing.PointF point33; - - /// - public Color4 color00; - - /// - public Color4 color03; - - /// - public Color4 color30; - - /// - public Color4 color33; - - /// - public PatchEdgeMode topEdgeMode; - - /// - public PatchEdgeMode leftEdgeMode; - - /// - public PatchEdgeMode bottomEdgeMode; - - /// - public PatchEdgeMode rightEdgeMode; -} - -/// -/// D2D1_SIMPLE_COLOR_PROFILE -public partial struct SimpleColorProfile -{ - /// - public System.Drawing.PointF redPrimary; - - /// - public System.Drawing.PointF greenPrimary; - - /// - public System.Drawing.PointF bluePrimary; - - /// - public System.Drawing.PointF whitePointXZ; - - /// - public Gamma1 gamma; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern HResult D2D1CreateFactory(FactoryType factoryType, Guid* riid, FactoryOptions* pFactoryOptions, void** ppIFactory); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern void D2D1MakeRotateMatrix(float angle, System.Drawing.PointF center, Matrix3x2* matrix); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern void D2D1MakeSkewMatrix(float angleX, float angleY, System.Drawing.PointF center, Matrix3x2* matrix); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern Bool32 D2D1IsMatrixInvertible(Matrix3x2* matrix); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern Bool32 D2D1InvertMatrix(Matrix3x2* matrix); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern HResult D2D1CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, CreationProperties* creationProperties, ID2D1Device** d2dDevice); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern HResult D2D1CreateDeviceContext(Graphics.Dxgi.IDXGISurface* dxgiSurface, CreationProperties* creationProperties, ID2D1DeviceContext** d2dDeviceContext); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern Color4 D2D1ConvertColorSpace(ColorSpace sourceColorSpace, ColorSpace destinationColorSpace, Color4* color); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern void D2D1SinCos(float angle, float* s, float* c); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern float D2D1Tan(float angle); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern float D2D1Vec3Length(float x, float y, float z); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern float D2D1ComputeMaximumScaleFactor(Matrix3x2* matrix); - - [DllImport("d2d1.dll", ExactSpelling = true)] - public static extern void D2D1GetGradientMeshInteriorPointsFromCoonsPatch(System.Drawing.PointF* pPoint0, System.Drawing.PointF* pPoint1, System.Drawing.PointF* pPoint2, System.Drawing.PointF* pPoint3, System.Drawing.PointF* pPoint4, System.Drawing.PointF* pPoint5, System.Drawing.PointF* pPoint6, System.Drawing.PointF* pPoint7, System.Drawing.PointF* pPoint8, System.Drawing.PointF* pPoint9, System.Drawing.PointF* pPoint10, System.Drawing.PointF* pPoint11, System.Drawing.PointF* pTensorPoint11, System.Drawing.PointF* pTensorPoint12, System.Drawing.PointF* pTensorPoint21, System.Drawing.PointF* pTensorPoint22); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DInterpolationMode.cs new file mode 100644 index 0000000..bee98c3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DInterpolationMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE +public enum AffineTransform2DInterpolationMode : uint +{ + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DProperties.cs new file mode 100644 index 0000000..c210f95 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/AffineTransform2DProperties.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_2DAFFINETRANSFORM_PROP +public enum AffineTransform2DProperties : uint +{ + /// + /// D2D1_2DAFFINETRANSFORM_PROP_INTERPOLATION_MODE + InterpolationMode = 0, + /// + /// D2D1_2DAFFINETRANSFORM_PROP_BORDER_MODE + BorderMode = 1, + /// + /// D2D1_2DAFFINETRANSFORM_PROP_TRANSFORM_MATRIX + TransformMatrix = 2, + /// + /// D2D1_2DAFFINETRANSFORM_PROP_SHARPNESS + Sharpness = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/AlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/AlphaMode.cs new file mode 100644 index 0000000..13f298d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/AlphaMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_ALPHA_MODE +public enum AlphaMode : uint +{ + /// + /// D2D1_ALPHA_MODE_UNKNOWN + Unknown = 0, + /// + /// D2D1_ALPHA_MODE_PREMULTIPLIED + Premultiplied = 1, + /// + /// D2D1_ALPHA_MODE_STRAIGHT + Straight = 2, + /// + /// D2D1_ALPHA_MODE_IGNORE + Ignore = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/AntialiasMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/AntialiasMode.cs new file mode 100644 index 0000000..ec5d8b1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/AntialiasMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ANTIALIAS_MODE +public enum AntialiasMode : uint +{ + /// + /// D2D1_ANTIALIAS_MODE_PER_PRIMITIVE + PerPrimitive = 0, + /// + /// D2D1_ANTIALIAS_MODE_ALIASED + Aliased = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.Functions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.Functions.cs new file mode 100644 index 0000000..607ac55 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.Functions.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +public static unsafe partial class Apis +{ + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern HResult D2D1CreateFactory(FactoryType factoryType, Guid* riid, FactoryOptions* pFactoryOptions, void** ppIFactory); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern void D2D1MakeRotateMatrix(float angle, System.Drawing.PointF center, Matrix3x2* matrix); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern void D2D1MakeSkewMatrix(float angleX, float angleY, System.Drawing.PointF center, Matrix3x2* matrix); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern Bool32 D2D1IsMatrixInvertible(Matrix3x2* matrix); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern Bool32 D2D1InvertMatrix(Matrix3x2* matrix); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern HResult D2D1CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, CreationProperties* creationProperties, ID2D1Device** d2dDevice); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern HResult D2D1CreateDeviceContext(Graphics.Dxgi.IDXGISurface* dxgiSurface, CreationProperties* creationProperties, ID2D1DeviceContext** d2dDeviceContext); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern Color4 D2D1ConvertColorSpace(ColorSpace sourceColorSpace, ColorSpace destinationColorSpace, Color4* color); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern void D2D1SinCos(float angle, float* s, float* c); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern float D2D1Tan(float angle); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern float D2D1Vec3Length(float x, float y, float z); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern float D2D1ComputeMaximumScaleFactor(Matrix3x2* matrix); + + [DllImport("d2d1.dll", ExactSpelling = true)] + public static extern void D2D1GetGradientMeshInteriorPointsFromCoonsPatch(System.Drawing.PointF* pPoint0, System.Drawing.PointF* pPoint1, System.Drawing.PointF* pPoint2, System.Drawing.PointF* pPoint3, System.Drawing.PointF* pPoint4, System.Drawing.PointF* pPoint5, System.Drawing.PointF* pPoint6, System.Drawing.PointF* pPoint7, System.Drawing.PointF* pPoint8, System.Drawing.PointF* pPoint9, System.Drawing.PointF* pPoint10, System.Drawing.PointF* pPoint11, System.Drawing.PointF* pTensorPoint11, System.Drawing.PointF* pTensorPoint12, System.Drawing.PointF* pTensorPoint21, System.Drawing.PointF* pTensorPoint22); +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.cs new file mode 100644 index 0000000..882e856 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Apis.cs @@ -0,0 +1,1583 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +public static partial class Apis +{ + public const float D2D1_DEFAULT_FLATTENING_TOLERANCE = 0.25f; + + public static ref readonly Guid CLSID_D2D12DAffineTransform + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x85, 0x74, 0xA9, 0x6A, + 0x54, 0x63, + 0xFC, 0x4C, + 0x90, + 0x8C, + 0xE4, + 0xA7, + 0x4F, + 0x62, + 0xC9, + 0x6C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D13DPerspectiveTransform + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0B, 0x4D, 0x84, 0xC2, + 0x86, 0x3D, + 0xE7, 0x46, + 0x85, + 0xBA, + 0x52, + 0x6C, + 0x92, + 0x40, + 0xF3, + 0xFB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D13DTransform + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x04, 0x7B, 0x46, 0xE8, + 0x61, 0xEC, + 0x8A, 0x4B, + 0xB5, + 0xDE, + 0xD4, + 0xD7, + 0x3D, + 0xEB, + 0xEA, + 0x5A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1ArithmeticComposite + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x37, 0x14, 0x15, 0xFC, + 0x9A, 0x04, + 0x84, 0x47, + 0xA2, + 0x4A, + 0xF1, + 0xC4, + 0xDA, + 0xF2, + 0x09, + 0x87 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Atlas + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x2B, 0x3E, 0x91, + 0xCF, 0xFD, + 0xE2, 0x4F, + 0xA5, + 0xF0, + 0x24, + 0x54, + 0xF1, + 0x4F, + 0xF4, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1BitmapSource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4D, 0xC2, 0xB6, 0x5F, + 0xDD, 0xC6, + 0x31, 0x42, + 0x94, + 0x04, + 0x50, + 0xF4, + 0xD5, + 0xC3, + 0x25, + 0x2D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Blend + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0xB7, 0xC5, 0x81, + 0xF8, 0x13, + 0xDD, 0x4C, + 0xAD, + 0x20, + 0xC8, + 0x90, + 0x54, + 0x7A, + 0xC6, + 0x5D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Border + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC0, 0x49, 0x2D, 0x2A, + 0xCF, 0x4A, + 0xC7, 0x43, + 0x8C, + 0x6A, + 0x7C, + 0x4A, + 0x27, + 0x87, + 0x4D, + 0x27 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Brightness + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x8D, 0xEA, 0x8C, + 0xB0, 0x77, + 0x86, 0x49, + 0xB3, + 0xB9, + 0x2F, + 0x0C, + 0x0E, + 0xAE, + 0x78, + 0x87 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1ColorManagement + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4C, 0x52, 0x28, 0x1A, + 0xD6, 0xFD, + 0xA4, 0x4A, + 0xAE, + 0x8F, + 0x83, + 0x7E, + 0xB8, + 0x26, + 0x7B, + 0x37 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1ColorMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD6, 0x03, 0x1F, 0x92, + 0x1C, 0x64, + 0xDF, 0x47, + 0x85, + 0x2D, + 0xB4, + 0xBB, + 0x61, + 0x53, + 0xAE, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Composite + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x51, 0x9F, 0xFC, 0x48, + 0xAC, 0xF6, + 0xF1, 0x48, + 0x8B, + 0x58, + 0x3B, + 0x28, + 0xAC, + 0x46, + 0xF7, + 0x6D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1ConvolveMatrix + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x08, 0x8C, 0x7F, 0x40, + 0x33, 0x55, + 0x31, 0x43, + 0xA3, + 0x41, + 0x23, + 0xCC, + 0x38, + 0x77, + 0x84, + 0x3E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Crop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0x71, 0x3F, 0xE2, + 0x9A, 0x0E, + 0x24, 0x43, + 0xAF, + 0x47, + 0x6A, + 0x2C, + 0x0C, + 0x46, + 0xF3, + 0x5B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DirectionalBlur + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0x19, 0x43, 0x17, + 0xE9, 0x58, + 0xB2, 0x49, + 0xBB, + 0x63, + 0xCA, + 0xF2, + 0xC8, + 0x11, + 0xA3, + 0xDB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DiscreteTransfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCD, 0x6F, 0x86, 0x90, + 0x8E, 0x48, + 0x4B, 0x45, + 0xAF, + 0x06, + 0xE5, + 0x04, + 0x1B, + 0x66, + 0xC3, + 0x6C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DisplacementMap + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x64, 0x83, 0xC4, 0xED, + 0x17, 0x04, + 0x11, 0x41, + 0x94, + 0x50, + 0x43, + 0x84, + 0x5F, + 0xA9, + 0xF8, + 0x90 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DistantDiffuse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0xFD, 0x7E, 0x3E, + 0x2D, 0xA3, + 0xD4, 0x46, + 0xA8, + 0x3C, + 0x52, + 0x78, + 0x88, + 0x9A, + 0xC9, + 0x54 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DistantSpecular + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE5, 0x1E, 0x8C, 0x42, + 0xB8, 0x77, + 0x50, 0x44, + 0x8A, + 0xB5, + 0x72, + 0x21, + 0x9C, + 0x21, + 0xAB, + 0xDA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1DpiCompensation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC7, 0xC5, 0x26, 0x6C, + 0xE0, 0x34, + 0xFC, 0x46, + 0x9C, + 0xFD, + 0xE5, + 0x82, + 0x37, + 0x06, + 0xE2, + 0x28 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Flood + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x20, 0x3C, 0xC2, 0x61, + 0x69, 0xAE, + 0x8E, 0x4D, + 0x94, + 0xCF, + 0x50, + 0x07, + 0x8D, + 0xF6, + 0x38, + 0xF2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1GammaTransfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC4, 0x44, 0x94, 0x40, + 0x19, 0xC4, + 0xA0, 0x41, + 0xB0, + 0xC1, + 0x8C, + 0xD0, + 0xC0, + 0xA1, + 0x8E, + 0x42 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1GaussianBlur + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0x6D, 0xEB, 0x1F, + 0xE6, 0x2F, + 0xC9, 0x4A, + 0x8C, + 0x58, + 0x1D, + 0x7F, + 0x93, + 0xE7, + 0xA6, + 0xA5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Scale + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0x93, 0xAF, 0x9D, + 0x46, 0x38, + 0x0E, 0x4D, + 0xA4, + 0x4E, + 0x0C, + 0x60, + 0x79, + 0x34, + 0xA5, + 0xD7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Histogram + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD0, 0xB7, 0x1D, 0x88, + 0xEE, 0xF7, + 0x4D, 0x4D, + 0xA6, + 0xD2, + 0x46, + 0x97, + 0xAC, + 0xC6, + 0x6E, + 0xE8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1HueRotation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEC, 0x58, 0x44, 0x0F, + 0x32, 0x4B, + 0x1B, 0x49, + 0x9E, + 0x85, + 0xBD, + 0x73, + 0xF4, + 0x4D, + 0x3E, + 0xB6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1LinearTransfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFD, 0xC8, 0x47, 0xAD, + 0xEF, 0x63, + 0xCC, 0x4A, + 0x9B, + 0x51, + 0x67, + 0x97, + 0x9C, + 0x03, + 0x6C, + 0x06 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1LuminanceToAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x1A, 0x25, 0x41, + 0xEB, 0x0B, + 0xF8, 0x46, + 0x9D, + 0xA7, + 0x59, + 0xE9, + 0x3F, + 0xCC, + 0xE5, + 0xDE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Morphology + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0D, 0xC4, 0xE6, 0xEA, + 0x6A, 0x62, + 0x2D, 0x4C, + 0xBF, + 0xCB, + 0x39, + 0x10, + 0x01, + 0xAB, + 0xE2, + 0x02 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1OpacityMetadata + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6A, 0x00, 0x53, 0x6C, + 0x50, 0x44, + 0x99, 0x41, + 0xAA, + 0x5B, + 0xAD, + 0x16, + 0x56, + 0xFE, + 0xCE, + 0x5E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1PointDiffuse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0x03, 0xE3, 0xB9, + 0x8C, 0xC0, + 0x91, 0x4F, + 0x8B, + 0x7B, + 0x38, + 0x65, + 0x6B, + 0xC4, + 0x8C, + 0x20 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1PointSpecular + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x26, 0xCA, 0xC3, 0x09, + 0xE2, 0x3A, + 0x09, 0x4F, + 0x9E, + 0xBC, + 0xED, + 0x38, + 0x65, + 0xD5, + 0x3F, + 0x22 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Premultiply + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0xB4, 0xEA, 0x06, + 0xED, 0xDE, + 0x18, 0x40, + 0x80, + 0xD2, + 0x3E, + 0x1D, + 0x47, + 0x1A, + 0xDE, + 0xB2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Saturation + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCF, 0xD9, 0xB2, 0x5C, + 0x7D, 0x32, + 0x9F, 0x45, + 0xA0, + 0xCE, + 0x40, + 0xC0, + 0xB2, + 0x08, + 0x6B, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Shadow + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0xA3, 0x7E, 0xC6, + 0x63, 0x18, + 0x69, 0x4E, + 0x89, + 0xDB, + 0x69, + 0x5D, + 0x3E, + 0x9A, + 0x5B, + 0x6B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1SpotDiffuse + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x05, 0x11, 0x8A, 0x81, + 0x32, 0x79, + 0xF4, 0x44, + 0xAA, + 0x86, + 0x08, + 0xAE, + 0x7B, + 0x2F, + 0x2C, + 0x93 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1SpotSpecular + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x42, 0xAE, 0xED, + 0x54, 0x76, + 0x37, 0x4A, + 0x9D, + 0xB8, + 0x71, + 0xAC, + 0xC1, + 0xBE, + 0xB3, + 0xC1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1TableTransfer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0x18, 0xF8, 0x5B, + 0x43, 0x5E, + 0xCB, 0x48, + 0xB6, + 0x31, + 0x86, + 0x83, + 0x96, + 0xD6, + 0xA1, + 0xD4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Tile + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x38, 0x41, 0x78, 0xB0, + 0x76, 0x3B, + 0xC5, 0x4B, + 0xB1, + 0x3B, + 0x0F, + 0xA2, + 0xAD, + 0x02, + 0x65, + 0x9F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Turbulence + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAE, 0xB6, 0x2B, 0xCF, + 0x9A, 0x88, + 0xD7, 0x4A, + 0xBA, + 0x29, + 0xA2, + 0xFD, + 0x73, + 0x2C, + 0x9F, + 0xC9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1UnPremultiply + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0xC4, 0x9A, 0xFB, + 0x8D, 0xAD, + 0xED, 0x41, + 0x99, + 0x99, + 0xBB, + 0x63, + 0x47, + 0xD1, + 0x10, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1YCbCr + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC1, 0x3C, 0x50, 0x99, + 0xC7, 0x66, + 0xC9, 0x45, + 0xA8, + 0x75, + 0x8A, + 0xD8, + 0xA7, + 0x91, + 0x44, + 0x01 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Contrast + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0xA7, 0x48, 0xB6, + 0xD5, 0x0E, + 0x80, 0x4F, + 0xA9, + 0x4A, + 0x8E, + 0x82, + 0x5A, + 0xCA, + 0x6B, + 0x77 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1RgbToHue + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEC, 0xE5, 0xF3, 0x23, + 0xE8, 0x91, + 0x3D, 0x4D, + 0xAD, + 0x0A, + 0xAF, + 0xAD, + 0xC1, + 0x00, + 0x4A, + 0xA1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1HueToRgb + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBD, 0xA6, 0x78, 0x7B, + 0x41, 0x01, + 0xEF, 0x4D, + 0x8A, + 0x52, + 0x63, + 0x56, + 0xEE, + 0x0C, + 0xBD, + 0xD5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1ChromaKey + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x1F, 0xC0, 0x74, + 0x0D, 0x2A, + 0x8C, 0x40, + 0x88, + 0xE2, + 0xC7, + 0xA3, + 0xC7, + 0x19, + 0x77, + 0x42 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Emboss + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0xEB, 0xC5, 0xB1, + 0x48, 0x03, + 0xF0, 0x43, + 0x81, + 0x07, + 0x49, + 0x57, + 0xCA, + 0xCB, + 0xA2, + 0xAE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Exposure + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFA, 0x8C, 0x6C, 0xB5, + 0x34, 0xF6, + 0xEE, 0x41, + 0xBE, + 0xE0, + 0xFF, + 0xA6, + 0x17, + 0x10, + 0x60, + 0x04 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Grayscale + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0xE0, 0xDD, 0x36, + 0x25, 0x37, + 0xE0, 0x42, + 0x83, + 0x6D, + 0x52, + 0xFB, + 0x20, + 0xAE, + 0xE6, + 0x44 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Invert + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4D, 0x78, 0xC3, 0xE0, + 0x39, 0xCB, + 0x84, 0x4E, + 0xB6, + 0xFD, + 0x6B, + 0x72, + 0xF0, + 0x81, + 0x02, + 0x63 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Posterize + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5E, 0x94, 0x88, 0x21, + 0xA3, 0x33, + 0x66, 0x43, + 0xB7, + 0xBC, + 0x08, + 0x6B, + 0xD0, + 0x2D, + 0x08, + 0x84 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Sepia + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0xF4, 0x1A, 0x3A, + 0x1D, 0x5F, + 0xBE, 0x4D, + 0x84, + 0xDF, + 0x91, + 0x5D, + 0xA7, + 0x9B, + 0x71, + 0x53 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Sharpen + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCB, 0x87, 0xB8, 0xC9, + 0xFF, 0xC5, + 0xC5, 0x4D, + 0x97, + 0x79, + 0x27, + 0x3D, + 0xCF, + 0x41, + 0x7C, + 0x7D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Straighten + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x12, 0x7B, 0xA4, 0x4D, + 0xA3, 0x79, + 0xB0, 0x4F, + 0x82, + 0x37, + 0xBB, + 0xC3, + 0xB2, + 0xA4, + 0xDE, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1TemperatureTint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x60, 0x17, 0x89, + 0xF9, 0x8A, + 0x08, 0x4A, + 0xAE, + 0xB1, + 0x89, + 0x5F, + 0x38, + 0xDB, + 0x17, + 0x66 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Vignette + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBE, 0x40, 0x0C, 0xC0, + 0x67, 0x5E, + 0xA3, 0x4C, + 0x95, + 0xB4, + 0xF4, + 0xB0, + 0x2C, + 0x11, + 0x51, + 0x35 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1EdgeDetection + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCA, 0x83, 0xF5, 0xEF, + 0x07, 0xCB, + 0xA9, 0x4A, + 0xAC, + 0x5D, + 0x2C, + 0xC4, + 0x4C, + 0x76, + 0x46, + 0x0F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1HighlightsShadows + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0x83, 0xDC, 0xCA, + 0x3F, 0x32, + 0x7E, 0x4C, + 0xA3, + 0x61, + 0x2E, + 0x2B, + 0x24, + 0xDF, + 0x6E, + 0xE4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1LookupTable3D + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x0E, 0x9E, 0x34, + 0x88, 0x00, + 0x79, 0x4A, + 0x9C, + 0xA3, + 0xC7, + 0xE3, + 0x00, + 0x20, + 0x20, + 0x20 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Opacity + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0x79, 0x1D, 0x81, + 0x28, 0xDE, + 0x54, 0x44, + 0x80, + 0x94, + 0xC6, + 0x46, + 0x85, + 0xF8, + 0xBD, + 0x4C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1AlphaMask + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF0, 0xCF, 0x0E, 0xC8, + 0xD5, 0x3F, + 0x05, 0x4F, + 0x83, + 0x28, + 0xC5, + 0xD1, + 0x72, + 0x4B, + 0x4F, + 0x0A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1CrossFade + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0x75, 0xF5, 0x12, + 0xB1, 0x4D, + 0x5F, 0x48, + 0x9A, + 0x84, + 0x03, + 0xA0, + 0x7D, + 0xD3, + 0x82, + 0x9F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1Tint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x17, 0x2B, 0x31, 0x36, + 0xDD, 0xF7, + 0x14, 0x40, + 0x91, + 0x5D, + 0xFF, + 0xCA, + 0x76, + 0x8C, + 0xF2, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const float D2D1_SCENE_REFERRED_SDR_WHITE_LEVEL = 80f; + + public static ref readonly Guid CLSID_D2D1WhiteLevelAdjustment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDB, 0xCA, 0xA1, 0x44, + 0xDD, 0x6C, + 0x18, 0x48, + 0x8F, + 0xF4, + 0x26, + 0xC1, + 0xCF, + 0xE9, + 0x5B, + 0xDB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_D2D1HdrToneMap + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8D, 0x74, 0x0B, 0x7B, + 0x10, 0x46, + 0x86, 0x44, + 0xA9, + 0x0C, + 0x99, + 0x9D, + 0x9A, + 0x2E, + 0x2B, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint D2D1_APPEND_ALIGNED_ELEMENT = 4294967295; + + public const uint FACILITY_D2D = 2201; + +} + diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSegment.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSegment.cs new file mode 100644 index 0000000..89dc768 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSegment.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ARC_SEGMENT +public partial struct ArcSegment +{ + /// + public System.Drawing.PointF point; + + /// + public System.Drawing.SizeF size; + + /// + public float rotationAngle; + + /// + public SweepDirection sweepDirection; + + /// + public ArcSize arcSize; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSize.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSize.cs new file mode 100644 index 0000000..2f6b312 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArcSize.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ARC_SIZE +public enum ArcSize : uint +{ + /// + /// D2D1_ARC_SIZE_SMALL + Small = 0, + /// + /// D2D1_ARC_SIZE_LARGE + Large = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ArithmeticCompositeProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArithmeticCompositeProp.cs new file mode 100644 index 0000000..15f4ab3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ArithmeticCompositeProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ARITHMETICCOMPOSITE_PROP +public enum ArithmeticCompositeProp : uint +{ + /// + /// D2D1_ARITHMETICCOMPOSITE_PROP_COEFFICIENTS + Coefficients = 0, + /// + /// D2D1_ARITHMETICCOMPOSITE_PROP_CLAMP_OUTPUT + ClampOutput = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/AtlasProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/AtlasProp.cs new file mode 100644 index 0000000..fb1a029 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/AtlasProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ATLAS_PROP +public enum AtlasProp : uint +{ + /// + /// D2D1_ATLAS_PROP_INPUT_RECT + InputRect = 0, + /// + /// D2D1_ATLAS_PROP_INPUT_PADDING_RECT + InputPaddingRect = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BezierSegment.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BezierSegment.cs new file mode 100644 index 0000000..89cbd79 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BezierSegment.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_BEZIER_SEGMENT +public partial struct BezierSegment +{ + /// + public System.Drawing.PointF point1; + + /// + public System.Drawing.PointF point2; + + /// + public System.Drawing.PointF point3; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties.cs new file mode 100644 index 0000000..f7214ed --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_BRUSH_PROPERTIES +public partial struct BitmapBrushProperties +{ + /// + public ExtendMode extendModeX; + + /// + public ExtendMode extendModeY; + + /// + public BitmapInterpolationMode interpolationMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties1.cs new file mode 100644 index 0000000..b21ad40 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapBrushProperties1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_BRUSH_PROPERTIES1 +public partial struct BitmapBrushProperties1 +{ + /// + public ExtendMode extendModeX; + + /// + public ExtendMode extendModeY; + + /// + public InterpolationMode interpolationMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapInterpolationMode.cs new file mode 100644 index 0000000..5d57eaa --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapInterpolationMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_INTERPOLATION_MODE +public enum BitmapInterpolationMode : uint +{ + /// + /// D2D1_BITMAP_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_BITMAP_INTERPOLATION_MODE_LINEAR + Linear = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapOptions.cs new file mode 100644 index 0000000..cd004b5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapOptions.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_OPTIONS +[Flags] +public enum BitmapOptions : uint +{ + /// + /// D2D1_BITMAP_OPTIONS_NONE + None = 0, + /// + /// D2D1_BITMAP_OPTIONS_TARGET + Target = 1, + /// + /// D2D1_BITMAP_OPTIONS_CANNOT_DRAW + CannotDraw = 2, + /// + /// D2D1_BITMAP_OPTIONS_CPU_READ + CpuRead = 4, + /// + /// D2D1_BITMAP_OPTIONS_GDI_COMPATIBLE + GDICompatible = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties.cs new file mode 100644 index 0000000..ebacfcc --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_PROPERTIES +public partial struct BitmapProperties +{ + /// + public Common.PixelFormat pixelFormat; + + /// + public float dpiX; + + /// + public float dpiY; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties1.cs new file mode 100644 index 0000000..d94b3f8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapProperties1.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAP_PROPERTIES1 +public partial struct BitmapProperties1 +{ + /// + public Common.PixelFormat pixelFormat; + + /// + public float dpiX; + + /// + public float dpiY; + + /// + public BitmapOptions bitmapOptions; + + /// + public unsafe ID2D1ColorContext* colorContext; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceAlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceAlphaMode.cs new file mode 100644 index 0000000..0ec93cf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceAlphaMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAPSOURCE_ALPHA_MODE +public enum BitmapSourceAlphaMode : uint +{ + /// + /// D2D1_BITMAPSOURCE_ALPHA_MODE_PREMULTIPLIED + Premultiplied = 1, + /// + /// D2D1_BITMAPSOURCE_ALPHA_MODE_STRAIGHT + Straight = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceInterpolationMode.cs new file mode 100644 index 0000000..7e11365 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceInterpolationMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAPSOURCE_INTERPOLATION_MODE +public enum BitmapSourceInterpolationMode : uint +{ + /// + /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_FANT + Fant = 6, + /// + /// D2D1_BITMAPSOURCE_INTERPOLATION_MODE_MIPMAP_LINEAR + MipmapLinear = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceOrientation.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceOrientation.cs new file mode 100644 index 0000000..e5d4c4f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceOrientation.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAPSOURCE_ORIENTATION +public enum BitmapSourceOrientation : uint +{ + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_DEFAULT + Default = 1, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_FLIP_HORIZONTAL + FlipHorizontal = 2, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180 + RotateClockwise180 = 3, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL + RotateClockwise180FlipHorizontal = 4, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL + RotateClockwise270FlipHorizontal = 5, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90 + RotateClockwise90 = 6, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL + RotateClockwise90FlipHorizontal = 7, + /// + /// D2D1_BITMAPSOURCE_ORIENTATION_ROTATE_CLOCKWISE270 + RotateClockwise270 = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceProp.cs new file mode 100644 index 0000000..53a6a4d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BitmapSourceProp.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BITMAPSOURCE_PROP +public enum BitmapSourceProp : uint +{ + /// + /// D2D1_BITMAPSOURCE_PROP_WIC_BITMAP_SOURCE + WicBitmapSource = 0, + /// + /// D2D1_BITMAPSOURCE_PROP_SCALE + Scale = 1, + /// + /// D2D1_BITMAPSOURCE_PROP_INTERPOLATION_MODE + InterpolationMode = 2, + /// + /// D2D1_BITMAPSOURCE_PROP_ENABLE_DPI_CORRECTION + EnableDpiCorrection = 3, + /// + /// D2D1_BITMAPSOURCE_PROP_ALPHA_MODE + AlphaMode = 4, + /// + /// D2D1_BITMAPSOURCE_PROP_ORIENTATION + Orientation = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Blend.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Blend.cs new file mode 100644 index 0000000..b74047e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Blend.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BLEND +public enum Blend : uint +{ + /// + /// D2D1_BLEND_ZERO + Zero = 1, + /// + /// D2D1_BLEND_ONE + One = 2, + /// + /// D2D1_BLEND_SRC_COLOR + SrcColor = 3, + /// + /// D2D1_BLEND_INV_SRC_COLOR + InvSrcColor = 4, + /// + /// D2D1_BLEND_SRC_ALPHA + SrcAlpha = 5, + /// + /// D2D1_BLEND_INV_SRC_ALPHA + InvSrcAlpha = 6, + /// + /// D2D1_BLEND_DEST_ALPHA + DestAlpha = 7, + /// + /// D2D1_BLEND_INV_DEST_ALPHA + InvDestAlpha = 8, + /// + /// D2D1_BLEND_DEST_COLOR + DestColor = 9, + /// + /// D2D1_BLEND_INV_DEST_COLOR + InvDestColor = 10, + /// + /// D2D1_BLEND_SRC_ALPHA_SAT + SrcAlphaSat = 11, + /// + /// D2D1_BLEND_BLEND_FACTOR + BlendFactor = 14, + /// + /// D2D1_BLEND_INV_BLEND_FACTOR + InvBlendFactor = 15, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendDescription.cs new file mode 100644 index 0000000..cdc68ee --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendDescription.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BLEND_DESCRIPTION +public partial struct BlendDescription +{ + /// + public Blend sourceBlend; + + /// + public Blend destinationBlend; + + /// + public BlendOperation blendOperation; + + /// + public Blend sourceBlendAlpha; + + /// + public Blend destinationBlendAlpha; + + /// + public BlendOperation blendOperationAlpha; + + /// + public unsafe fixed float blendFactor[4]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendMode.cs new file mode 100644 index 0000000..f020d08 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendMode.cs @@ -0,0 +1,94 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_BLEND_MODE +public enum BlendMode : uint +{ + /// + /// D2D1_BLEND_MODE_MULTIPLY + Multiply = 0, + /// + /// D2D1_BLEND_MODE_SCREEN + Screen = 1, + /// + /// D2D1_BLEND_MODE_DARKEN + Darken = 2, + /// + /// D2D1_BLEND_MODE_LIGHTEN + Lighten = 3, + /// + /// D2D1_BLEND_MODE_DISSOLVE + Dissolve = 4, + /// + /// D2D1_BLEND_MODE_COLOR_BURN + ColorBurn = 5, + /// + /// D2D1_BLEND_MODE_LINEAR_BURN + LinearBurn = 6, + /// + /// D2D1_BLEND_MODE_DARKER_COLOR + DarkerColor = 7, + /// + /// D2D1_BLEND_MODE_LIGHTER_COLOR + LighterColor = 8, + /// + /// D2D1_BLEND_MODE_COLOR_DODGE + ColorDodge = 9, + /// + /// D2D1_BLEND_MODE_LINEAR_DODGE + LinearDodge = 10, + /// + /// D2D1_BLEND_MODE_OVERLAY + Overlay = 11, + /// + /// D2D1_BLEND_MODE_SOFT_LIGHT + SoftLight = 12, + /// + /// D2D1_BLEND_MODE_HARD_LIGHT + HardLight = 13, + /// + /// D2D1_BLEND_MODE_VIVID_LIGHT + VividLight = 14, + /// + /// D2D1_BLEND_MODE_LINEAR_LIGHT + LinearLight = 15, + /// + /// D2D1_BLEND_MODE_PIN_LIGHT + PinLight = 16, + /// + /// D2D1_BLEND_MODE_HARD_MIX + HardMix = 17, + /// + /// D2D1_BLEND_MODE_DIFFERENCE + Difference = 18, + /// + /// D2D1_BLEND_MODE_EXCLUSION + Exclusion = 19, + /// + /// D2D1_BLEND_MODE_HUE + Hue = 20, + /// + /// D2D1_BLEND_MODE_SATURATION + Saturation = 21, + /// + /// D2D1_BLEND_MODE_COLOR + Color = 22, + /// + /// D2D1_BLEND_MODE_LUMINOSITY + Luminosity = 23, + /// + /// D2D1_BLEND_MODE_SUBTRACT + Subtract = 24, + /// + /// D2D1_BLEND_MODE_DIVISION + Division = 25, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendOperation.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendOperation.cs new file mode 100644 index 0000000..fb20790 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendOperation.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BLEND_OPERATION +public enum BlendOperation : uint +{ + /// + /// D2D1_BLEND_OPERATION_ADD + Add = 1, + /// + /// D2D1_BLEND_OPERATION_SUBTRACT + Subtract = 2, + /// + /// D2D1_BLEND_OPERATION_REV_SUBTRACT + RevSubtract = 3, + /// + /// D2D1_BLEND_OPERATION_MIN + Min = 4, + /// + /// D2D1_BLEND_OPERATION_MAX + Max = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendProp.cs new file mode 100644 index 0000000..8e805f7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BlendProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BLEND_PROP +public enum BlendProp : uint +{ + /// + /// D2D1_BLEND_PROP_MODE + Mode = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderEdgeMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderEdgeMode.cs new file mode 100644 index 0000000..a0eeb8b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderEdgeMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BORDER_EDGE_MODE +public enum BorderEdgeMode : uint +{ + /// + /// D2D1_BORDER_EDGE_MODE_CLAMP + Clamp = 0, + /// + /// D2D1_BORDER_EDGE_MODE_WRAP + Wrap = 1, + /// + /// D2D1_BORDER_EDGE_MODE_MIRROR + Mirror = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderMode.cs new file mode 100644 index 0000000..24eead7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_BORDER_MODE +public enum BorderMode : uint +{ + /// + /// D2D1_BORDER_MODE_SOFT + Soft = 0, + /// + /// D2D1_BORDER_MODE_HARD + Hard = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderProp.cs new file mode 100644 index 0000000..58022f3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BorderProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BORDER_PROP +public enum BorderProp : uint +{ + /// + /// D2D1_BORDER_PROP_EDGE_MODE_X + EdgeModeX = 0, + /// + /// D2D1_BORDER_PROP_EDGE_MODE_Y + EdgeModeY = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BrightnessProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BrightnessProp.cs new file mode 100644 index 0000000..60334e5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BrightnessProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BRIGHTNESS_PROP +public enum BrightnessProp : uint +{ + /// + /// D2D1_BRIGHTNESS_PROP_WHITE_POINT + WhitePoint = 0, + /// + /// D2D1_BRIGHTNESS_PROP_BLACK_POINT + BlackPoint = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BrushProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BrushProperties.cs new file mode 100644 index 0000000..de08082 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BrushProperties.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BRUSH_PROPERTIES +public partial struct BrushProperties +{ + /// + public float opacity; + + /// + public Matrix3x2 transform; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/BufferPrecision.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/BufferPrecision.cs new file mode 100644 index 0000000..a9ad959 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/BufferPrecision.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_BUFFER_PRECISION +public enum BufferPrecision : uint +{ + /// + /// D2D1_BUFFER_PRECISION_UNKNOWN + Unknown = 0, + /// + /// D2D1_BUFFER_PRECISION_8BPC_UNORM + Precision8BitUnorm = 1, + /// + /// D2D1_BUFFER_PRECISION_8BPC_UNORM_SRGB + Precision8BitUnormSrgb = 2, + /// + /// D2D1_BUFFER_PRECISION_16BPC_UNORM + Precision16BitUnorm = 3, + /// + /// D2D1_BUFFER_PRECISION_16BPC_FLOAT + Precision16BitFloat = 4, + /// + /// D2D1_BUFFER_PRECISION_32BPC_FLOAT + Precision32BitFloat = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CapStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CapStyle.cs new file mode 100644 index 0000000..c7530cf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CapStyle.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CAP_STYLE +public enum CapStyle : uint +{ + /// + /// D2D1_CAP_STYLE_FLAT + Flat = 0, + /// + /// D2D1_CAP_STYLE_SQUARE + Square = 1, + /// + /// D2D1_CAP_STYLE_ROUND + Round = 2, + /// + /// D2D1_CAP_STYLE_TRIANGLE + Triangle = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ChangeType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChangeType.cs new file mode 100644 index 0000000..9a9c533 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChangeType.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CHANGE_TYPE +[Flags] +public enum ChangeType : uint +{ + /// + /// D2D1_CHANGE_TYPE_NONE + None = 0, + /// + /// D2D1_CHANGE_TYPE_PROPERTIES + Properties = 1, + /// + /// D2D1_CHANGE_TYPE_CONTEXT + Context = 2, + /// + /// D2D1_CHANGE_TYPE_GRAPH + Graph = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelDepth.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelDepth.cs new file mode 100644 index 0000000..c77a00a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelDepth.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CHANNEL_DEPTH +public enum ChannelDepth : uint +{ + /// + /// D2D1_CHANNEL_DEPTH_DEFAULT + Default = 0, + /// + /// D2D1_CHANNEL_DEPTH_1 + _1 = 1, + /// + /// D2D1_CHANNEL_DEPTH_4 + _4 = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelSelector.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelSelector.cs new file mode 100644 index 0000000..600ca2a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChannelSelector.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CHANNEL_SELECTOR +public enum ChannelSelector : uint +{ + /// + /// D2D1_CHANNEL_SELECTOR_R + R = 0, + /// + /// D2D1_CHANNEL_SELECTOR_G + G = 1, + /// + /// D2D1_CHANNEL_SELECTOR_B + B = 2, + /// + /// D2D1_CHANNEL_SELECTOR_A + A = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ChromaKeyProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChromaKeyProp.cs new file mode 100644 index 0000000..0d8510d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ChromaKeyProp.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CHROMAKEY_PROP +public enum ChromaKeyProp : uint +{ + /// + /// D2D1_CHROMAKEY_PROP_COLOR + Color = 0, + /// + /// D2D1_CHROMAKEY_PROP_TOLERANCE + Tolerance = 1, + /// + /// D2D1_CHROMAKEY_PROP_INVERT_ALPHA + InvertAlpha = 2, + /// + /// D2D1_CHROMAKEY_PROP_FEATHER + Feather = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorBitmapGlyphSnapOption.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorBitmapGlyphSnapOption.cs new file mode 100644 index 0000000..8e6b813 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorBitmapGlyphSnapOption.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION +public enum ColorBitmapGlyphSnapOption : uint +{ + /// + /// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT + Default = 0, + /// + /// D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE + Disable = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorContextType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorContextType.cs new file mode 100644 index 0000000..88e4cfb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorContextType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLOR_CONTEXT_TYPE +public enum ColorContextType : uint +{ + /// + /// D2D1_COLOR_CONTEXT_TYPE_ICC + Icc = 0, + /// + /// D2D1_COLOR_CONTEXT_TYPE_SIMPLE + Simple = 1, + /// + /// D2D1_COLOR_CONTEXT_TYPE_DXGI + DXGI = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorInterpolationMode.cs new file mode 100644 index 0000000..b89d411 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorInterpolationMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLOR_INTERPOLATION_MODE +public enum ColorInterpolationMode : uint +{ + /// + /// D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT + Straight = 0, + /// + /// D2D1_COLOR_INTERPOLATION_MODE_PREMULTIPLIED + Premultiplied = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementAlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementAlphaMode.cs new file mode 100644 index 0000000..094daae --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementAlphaMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLORMANAGEMENT_ALPHA_MODE +public enum ColorManagementAlphaMode : uint +{ + /// + /// D2D1_COLORMANAGEMENT_ALPHA_MODE_PREMULTIPLIED + Premultiplied = 1, + /// + /// D2D1_COLORMANAGEMENT_ALPHA_MODE_STRAIGHT + Straight = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementProp.cs new file mode 100644 index 0000000..69bb6d3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementProp.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLORMANAGEMENT_PROP +public enum ColorManagementProp : uint +{ + /// + /// D2D1_COLORMANAGEMENT_PROP_SOURCE_COLOR_CONTEXT + SourceColorContext = 0, + /// + /// D2D1_COLORMANAGEMENT_PROP_SOURCE_RENDERING_INTENT + SourceRenderingIntent = 1, + /// + /// D2D1_COLORMANAGEMENT_PROP_DESTINATION_COLOR_CONTEXT + DestinationColorContext = 2, + /// + /// D2D1_COLORMANAGEMENT_PROP_DESTINATION_RENDERING_INTENT + DestinationRenderingIntent = 3, + /// + /// D2D1_COLORMANAGEMENT_PROP_ALPHA_MODE + AlphaMode = 4, + /// + /// D2D1_COLORMANAGEMENT_PROP_QUALITY + Quality = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementQuality.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementQuality.cs new file mode 100644 index 0000000..8461b53 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementQuality.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLORMANAGEMENT_QUALITY +public enum ColorManagementQuality : uint +{ + /// + /// D2D1_COLORMANAGEMENT_QUALITY_PROOF + Proof = 0, + /// + /// D2D1_COLORMANAGEMENT_QUALITY_NORMAL + Normal = 1, + /// + /// D2D1_COLORMANAGEMENT_QUALITY_BEST + Best = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementRenderingIntent.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementRenderingIntent.cs new file mode 100644 index 0000000..1bdb4b0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorManagementRenderingIntent.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLORMANAGEMENT_RENDERING_INTENT +public enum ColorManagementRenderingIntent : uint +{ + /// + /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_PERCEPTUAL + Perceptual = 0, + /// + /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_RELATIVE_COLORIMETRIC + RelativeColorimetric = 1, + /// + /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_SATURATION + Saturation = 2, + /// + /// D2D1_COLORMANAGEMENT_RENDERING_INTENT_ABSOLUTE_COLORIMETRIC + AbsoluteColorimetric = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixAlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixAlphaMode.cs new file mode 100644 index 0000000..39817c1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixAlphaMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_COLORMATRIX_ALPHA_MODE +public enum ColorMatrixAlphaMode : uint +{ + /// + /// D2D1_COLORMATRIX_ALPHA_MODE_PREMULTIPLIED + Premultiplied = 1, + /// + /// D2D1_COLORMATRIX_ALPHA_MODE_STRAIGHT + Straight = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixProp.cs new file mode 100644 index 0000000..4d0432e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorMatrixProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLORMATRIX_PROP +public enum ColorMatrixProp : uint +{ + /// + /// D2D1_COLORMATRIX_PROP_COLOR_MATRIX + ColorMatrix = 0, + /// + /// D2D1_COLORMATRIX_PROP_ALPHA_MODE + AlphaMode = 1, + /// + /// D2D1_COLORMATRIX_PROP_CLAMP_OUTPUT + ClampOutput = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorSpace.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorSpace.cs new file mode 100644 index 0000000..e0b2593 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ColorSpace.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COLOR_SPACE +public enum ColorSpace : uint +{ + /// + /// D2D1_COLOR_SPACE_CUSTOM + Custom = 0, + /// + /// D2D1_COLOR_SPACE_SRGB + Srgb = 1, + /// + /// D2D1_COLOR_SPACE_SCRGB + Scrgb = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CombineMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CombineMode.cs new file mode 100644 index 0000000..5c309c2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CombineMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COMBINE_MODE +public enum CombineMode : uint +{ + /// + /// D2D1_COMBINE_MODE_UNION + Union = 0, + /// + /// D2D1_COMBINE_MODE_INTERSECT + Intersect = 1, + /// + /// D2D1_COMBINE_MODE_XOR + Xor = 2, + /// + /// D2D1_COMBINE_MODE_EXCLUDE + Exclude = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CompatibleRenderTargetOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompatibleRenderTargetOptions.cs new file mode 100644 index 0000000..e24a774 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompatibleRenderTargetOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS +[Flags] +public enum CompatibleRenderTargetOptions : uint +{ + /// + /// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_NONE + None = 0, + /// + /// D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_GDI_COMPATIBLE + GDICompatible = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeMode.cs new file mode 100644 index 0000000..8cb43b4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeMode.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_COMPOSITE_MODE +public enum CompositeMode : uint +{ + /// + /// D2D1_COMPOSITE_MODE_SOURCE_OVER + SourceOver = 0, + /// + /// D2D1_COMPOSITE_MODE_DESTINATION_OVER + DestinationOver = 1, + /// + /// D2D1_COMPOSITE_MODE_SOURCE_IN + SourceIn = 2, + /// + /// D2D1_COMPOSITE_MODE_DESTINATION_IN + DestinationIn = 3, + /// + /// D2D1_COMPOSITE_MODE_SOURCE_OUT + SourceOut = 4, + /// + /// D2D1_COMPOSITE_MODE_DESTINATION_OUT + DestinationOut = 5, + /// + /// D2D1_COMPOSITE_MODE_SOURCE_ATOP + SourceAtop = 6, + /// + /// D2D1_COMPOSITE_MODE_DESTINATION_ATOP + DestinationAtop = 7, + /// + /// D2D1_COMPOSITE_MODE_XOR + Xor = 8, + /// + /// D2D1_COMPOSITE_MODE_PLUS + Plus = 9, + /// + /// D2D1_COMPOSITE_MODE_SOURCE_COPY + SourceCopy = 10, + /// + /// D2D1_COMPOSITE_MODE_BOUNDED_SOURCE_COPY + BoundedSourceCopy = 11, + /// + /// D2D1_COMPOSITE_MODE_MASK_INVERT + MaskInvert = 12, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeProp.cs new file mode 100644 index 0000000..84324c4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CompositeProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_COMPOSITE_PROP +public enum CompositeProp : uint +{ + /// + /// D2D1_COMPOSITE_PROP_MODE + Mode = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ContrastProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ContrastProp.cs new file mode 100644 index 0000000..8d8c3f3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ContrastProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CONTRAST_PROP +public enum ContrastProp : uint +{ + /// + /// D2D1_CONTRAST_PROP_CONTRAST + Contrast = 0, + /// + /// D2D1_CONTRAST_PROP_CLAMP_INPUT + ClampInput = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixProp.cs new file mode 100644 index 0000000..b1c6076 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixProp.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CONVOLVEMATRIX_PROP +public enum ConvolveMatrixProp : uint +{ + /// + /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 0, + /// + /// D2D1_CONVOLVEMATRIX_PROP_SCALE_MODE + ScaleMode = 1, + /// + /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_X + KernelSizeX = 2, + /// + /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_SIZE_Y + KernelSizeY = 3, + /// + /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_MATRIX + KernelMatrix = 4, + /// + /// D2D1_CONVOLVEMATRIX_PROP_DIVISOR + Divisor = 5, + /// + /// D2D1_CONVOLVEMATRIX_PROP_BIAS + Bias = 6, + /// + /// D2D1_CONVOLVEMATRIX_PROP_KERNEL_OFFSET + KernelOffset = 7, + /// + /// D2D1_CONVOLVEMATRIX_PROP_PRESERVE_ALPHA + PreserveAlpha = 8, + /// + /// D2D1_CONVOLVEMATRIX_PROP_BORDER_MODE + BorderMode = 9, + /// + /// D2D1_CONVOLVEMATRIX_PROP_CLAMP_OUTPUT + ClampOutput = 10, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixScaleMode.cs new file mode 100644 index 0000000..ca61af3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ConvolveMatrixScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CONVOLVEMATRIX_SCALE_MODE +public enum ConvolveMatrixScaleMode : uint +{ + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_CONVOLVEMATRIX_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CreationProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CreationProperties.cs new file mode 100644 index 0000000..25f6646 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CreationProperties.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CREATION_PROPERTIES +public partial struct CreationProperties +{ + /// + public ThreadingMode threadingMode; + + /// + public DebugLevel debugLevel; + + /// + public DeviceContextOptions options; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CropProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CropProp.cs new file mode 100644 index 0000000..64c5f69 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CropProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CROP_PROP +public enum CropProp : uint +{ + /// + /// D2D1_CROP_PROP_RECT + Rect = 0, + /// + /// D2D1_CROP_PROP_BORDER_MODE + BorderMode = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CrossfadeProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CrossfadeProp.cs new file mode 100644 index 0000000..0cbabe0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CrossfadeProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CROSSFADE_PROP +public enum CrossfadeProp : uint +{ + /// + /// D2D1_CROSSFADE_PROP_WEIGHT + Weight = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/CustomVertexBufferProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/CustomVertexBufferProperties.cs new file mode 100644 index 0000000..b59ffbb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/CustomVertexBufferProperties.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES +public partial struct CustomVertexBufferProperties +{ + /// + public unsafe byte* shaderBufferWithInputSignature; + + /// + public uint shaderBufferSize; + + /// + public unsafe InputElementDescription* inputElements; + + /// + public uint elementCount; + + /// + public uint stride; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DCInitializeMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DCInitializeMode.cs new file mode 100644 index 0000000..ad44362 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DCInitializeMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DC_INITIALIZE_MODE +public enum DCInitializeMode : uint +{ + /// + /// D2D1_DC_INITIALIZE_MODE_COPY + Copy = 0, + /// + /// D2D1_DC_INITIALIZE_MODE_CLEAR + Clear = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DashStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DashStyle.cs new file mode 100644 index 0000000..e547411 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DashStyle.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DASH_STYLE +public enum DashStyle : uint +{ + /// + /// D2D1_DASH_STYLE_SOLID + Solid = 0, + /// + /// D2D1_DASH_STYLE_DASH + Dash = 1, + /// + /// D2D1_DASH_STYLE_DOT + Dot = 2, + /// + /// D2D1_DASH_STYLE_DASH_DOT + DashDot = 3, + /// + /// D2D1_DASH_STYLE_DASH_DOT_DOT + DashDotDot = 4, + /// + /// D2D1_DASH_STYLE_CUSTOM + Custom = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DebugLevel.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DebugLevel.cs new file mode 100644 index 0000000..50535f9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DebugLevel.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DEBUG_LEVEL +public enum DebugLevel : uint +{ + /// + /// D2D1_DEBUG_LEVEL_NONE + None = 0, + /// + /// D2D1_DEBUG_LEVEL_ERROR + Error = 1, + /// + /// D2D1_DEBUG_LEVEL_WARNING + Warning = 2, + /// + /// D2D1_DEBUG_LEVEL_INFORMATION + Information = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DeviceContextOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DeviceContextOptions.cs new file mode 100644 index 0000000..c7657eb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DeviceContextOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DEVICE_CONTEXT_OPTIONS +[Flags] +public enum DeviceContextOptions : uint +{ + /// + /// D2D1_DEVICE_CONTEXT_OPTIONS_NONE + None = 0, + /// + /// D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS + EnableMultithreadedOptimizations = 1, +} diff --git a/src/Vortice.Win32/Generated/Direct2D.xml b/src/Vortice.Win32/Generated/Graphics/Direct2D/Direct2D.xml similarity index 100% rename from src/Vortice.Win32/Generated/Direct2D.xml rename to src/Vortice.Win32/Generated/Graphics/Direct2D/Direct2D.xml diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurOptimization.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurOptimization.cs new file mode 100644 index 0000000..ec8b721 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurOptimization.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DIRECTIONALBLUR_OPTIMIZATION +public enum DirectionalBlurOptimization : uint +{ + /// + /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_SPEED + Speed = 0, + /// + /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_BALANCED + Balanced = 1, + /// + /// D2D1_DIRECTIONALBLUR_OPTIMIZATION_QUALITY + Quality = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurProp.cs new file mode 100644 index 0000000..3d03208 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DirectionalBlurProp.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DIRECTIONALBLUR_PROP +public enum DirectionalBlurProp : uint +{ + /// + /// D2D1_DIRECTIONALBLUR_PROP_STANDARD_DEVIATION + StandardDeviation = 0, + /// + /// D2D1_DIRECTIONALBLUR_PROP_ANGLE + Angle = 1, + /// + /// D2D1_DIRECTIONALBLUR_PROP_OPTIMIZATION + Optimization = 2, + /// + /// D2D1_DIRECTIONALBLUR_PROP_BORDER_MODE + BorderMode = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DiscreteTransferProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DiscreteTransferProp.cs new file mode 100644 index 0000000..3b9da7a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DiscreteTransferProp.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISCRETETRANSFER_PROP +public enum DiscreteTransferProp : uint +{ + /// + /// D2D1_DISCRETETRANSFER_PROP_RED_TABLE + RedTable = 0, + /// + /// D2D1_DISCRETETRANSFER_PROP_RED_DISABLE + RedDisable = 1, + /// + /// D2D1_DISCRETETRANSFER_PROP_GREEN_TABLE + GreenTable = 2, + /// + /// D2D1_DISCRETETRANSFER_PROP_GREEN_DISABLE + GreenDisable = 3, + /// + /// D2D1_DISCRETETRANSFER_PROP_BLUE_TABLE + BlueTable = 4, + /// + /// D2D1_DISCRETETRANSFER_PROP_BLUE_DISABLE + BlueDisable = 5, + /// + /// D2D1_DISCRETETRANSFER_PROP_ALPHA_TABLE + AlphaTable = 6, + /// + /// D2D1_DISCRETETRANSFER_PROP_ALPHA_DISABLE + AlphaDisable = 7, + /// + /// D2D1_DISCRETETRANSFER_PROP_CLAMP_OUTPUT + ClampOutput = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DisplacementMapProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DisplacementMapProp.cs new file mode 100644 index 0000000..290a693 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DisplacementMapProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISPLACEMENTMAP_PROP +public enum DisplacementMapProp : uint +{ + /// + /// D2D1_DISPLACEMENTMAP_PROP_SCALE + Scale = 0, + /// + /// D2D1_DISPLACEMENTMAP_PROP_X_CHANNEL_SELECT + XChannelSelect = 1, + /// + /// D2D1_DISPLACEMENTMAP_PROP_Y_CHANNEL_SELECT + YChannelSelect = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseProp.cs new file mode 100644 index 0000000..134bdb3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseProp.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISTANTDIFFUSE_PROP +public enum DistantDiffuseProp : uint +{ + /// + /// D2D1_DISTANTDIFFUSE_PROP_AZIMUTH + Azimuth = 0, + /// + /// D2D1_DISTANTDIFFUSE_PROP_ELEVATION + Elevation = 1, + /// + /// D2D1_DISTANTDIFFUSE_PROP_DIFFUSE_CONSTANT + DiffuseConstant = 2, + /// + /// D2D1_DISTANTDIFFUSE_PROP_SURFACE_SCALE + SurfaceScale = 3, + /// + /// D2D1_DISTANTDIFFUSE_PROP_COLOR + Color = 4, + /// + /// D2D1_DISTANTDIFFUSE_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 5, + /// + /// D2D1_DISTANTDIFFUSE_PROP_SCALE_MODE + ScaleMode = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseScaleMode.cs new file mode 100644 index 0000000..f17bc62 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantDiffuseScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISTANTDIFFUSE_SCALE_MODE +public enum DistantDiffuseScaleMode : uint +{ + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_DISTANTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularProp.cs new file mode 100644 index 0000000..e8d7fac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularProp.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISTANTSPECULAR_PROP +public enum DistantSpecularProp : uint +{ + /// + /// D2D1_DISTANTSPECULAR_PROP_AZIMUTH + Azimuth = 0, + /// + /// D2D1_DISTANTSPECULAR_PROP_ELEVATION + Elevation = 1, + /// + /// D2D1_DISTANTSPECULAR_PROP_SPECULAR_EXPONENT + SpecularExponent = 2, + /// + /// D2D1_DISTANTSPECULAR_PROP_SPECULAR_CONSTANT + SpecularConstant = 3, + /// + /// D2D1_DISTANTSPECULAR_PROP_SURFACE_SCALE + SurfaceScale = 4, + /// + /// D2D1_DISTANTSPECULAR_PROP_COLOR + Color = 5, + /// + /// D2D1_DISTANTSPECULAR_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 6, + /// + /// D2D1_DISTANTSPECULAR_PROP_SCALE_MODE + ScaleMode = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularScaleMode.cs new file mode 100644 index 0000000..464d84c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DistantSpecularScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DISTANTSPECULAR_SCALE_MODE +public enum DistantSpecularScaleMode : uint +{ + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_DISTANTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationInterpolationMode.cs new file mode 100644 index 0000000..b37ac59 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationInterpolationMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DPICOMPENSATION_INTERPOLATION_MODE +public enum DpiCompensationInterpolationMode : uint +{ + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_DPICOMPENSATION_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationProp.cs new file mode 100644 index 0000000..c781490 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DpiCompensationProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DPICOMPENSATION_PROP +public enum DpiCompensationProp : uint +{ + /// + /// D2D1_DPICOMPENSATION_PROP_INTERPOLATION_MODE + InterpolationMode = 0, + /// + /// D2D1_DPICOMPENSATION_PROP_BORDER_MODE + BorderMode = 1, + /// + /// D2D1_DPICOMPENSATION_PROP_INPUT_DPI + InputDpi = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawTextOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawTextOptions.cs new file mode 100644 index 0000000..56236cb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawTextOptions.cs @@ -0,0 +1,32 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DRAW_TEXT_OPTIONS +[Flags] +public enum DrawTextOptions : uint +{ + /// + /// D2D1_DRAW_TEXT_OPTIONS_NO_SNAP + NoSnap = 1, + /// + /// D2D1_DRAW_TEXT_OPTIONS_CLIP + Clip = 2, + /// + /// D2D1_DRAW_TEXT_OPTIONS_ENABLE_COLOR_FONT + EnableColorFont = 4, + /// + /// D2D1_DRAW_TEXT_OPTIONS_DISABLE_COLOR_BITMAP_SNAPPING + DisableColorBitmapSnapping = 8, + /// + /// D2D1_DRAW_TEXT_OPTIONS_NONE + None = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription.cs new file mode 100644 index 0000000..a9bd7ad --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DRAWING_STATE_DESCRIPTION +public partial struct DrawingStateDescription +{ + /// + public AntialiasMode antialiasMode; + + /// + public TextAntialiasMode textAntialiasMode; + + /// + public ulong tag1; + + /// + public ulong tag2; + + /// + public Matrix3x2 transform; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription1.cs new file mode 100644 index 0000000..894e0a0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/DrawingStateDescription1.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_DRAWING_STATE_DESCRIPTION1 +public partial struct DrawingStateDescription1 +{ + /// + public AntialiasMode antialiasMode; + + /// + public TextAntialiasMode textAntialiasMode; + + /// + public ulong tag1; + + /// + public ulong tag2; + + /// + public Matrix3x2 transform; + + /// + public PrimitiveBlend primitiveBlend; + + /// + public UnitMode unitMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionMode.cs new file mode 100644 index 0000000..e98190c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EDGEDETECTION_MODE +public enum EdgeDetectionMode : uint +{ + /// + /// D2D1_EDGEDETECTION_MODE_SOBEL + Sobel = 0, + /// + /// D2D1_EDGEDETECTION_MODE_PREWITT + Prewitt = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionProp.cs new file mode 100644 index 0000000..bd1ef65 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/EdgeDetectionProp.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EDGEDETECTION_PROP +public enum EdgeDetectionProp : uint +{ + /// + /// D2D1_EDGEDETECTION_PROP_STRENGTH + Strength = 0, + /// + /// D2D1_EDGEDETECTION_PROP_BLUR_RADIUS + BlurRadius = 1, + /// + /// D2D1_EDGEDETECTION_PROP_MODE + Mode = 2, + /// + /// D2D1_EDGEDETECTION_PROP_OVERLAY_EDGES + OverlayEdges = 3, + /// + /// D2D1_EDGEDETECTION_PROP_ALPHA_MODE + AlphaMode = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/EffectInputDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/EffectInputDescription.cs new file mode 100644 index 0000000..c688500 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/EffectInputDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EFFECT_INPUT_DESCRIPTION +public partial struct EffectInputDescription +{ + /// + public unsafe ID2D1Effect* effect; + + /// + public uint inputIndex; + + /// + public Common.RectF inputRectangle; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Ellipse.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Ellipse.cs new file mode 100644 index 0000000..0bee1c3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Ellipse.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ELLIPSE +public partial struct Ellipse +{ + /// + public System.Drawing.PointF point; + + /// + public float radiusX; + + /// + public float radiusY; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/EmbossProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/EmbossProp.cs new file mode 100644 index 0000000..fdcee78 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/EmbossProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EMBOSS_PROP +public enum EmbossProp : uint +{ + /// + /// D2D1_EMBOSS_PROP_HEIGHT + Height = 0, + /// + /// D2D1_EMBOSS_PROP_DIRECTION + Direction = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ExposureProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ExposureProp.cs new file mode 100644 index 0000000..aa08a41 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ExposureProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EXPOSURE_PROP +public enum ExposureProp : uint +{ + /// + /// D2D1_EXPOSURE_PROP_EXPOSURE_VALUE + ExposureValue = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ExtendMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ExtendMode.cs new file mode 100644 index 0000000..2296137 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ExtendMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_EXTEND_MODE +public enum ExtendMode : uint +{ + /// + /// D2D1_EXTEND_MODE_CLAMP + Clamp = 0, + /// + /// D2D1_EXTEND_MODE_WRAP + Wrap = 1, + /// + /// D2D1_EXTEND_MODE_MIRROR + Mirror = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryOptions.cs new file mode 100644 index 0000000..e84efaf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryOptions.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FACTORY_OPTIONS +public partial struct FactoryOptions +{ + /// + public DebugLevel debugLevel; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryType.cs new file mode 100644 index 0000000..cb2189c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FactoryType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FACTORY_TYPE +public enum FactoryType : uint +{ + /// + /// D2D1_FACTORY_TYPE_SINGLE_THREADED + SingleThreaded = 0, + /// + /// D2D1_FACTORY_TYPE_MULTI_THREADED + MultiThreaded = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Feature.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Feature.cs new file mode 100644 index 0000000..340ceae --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Feature.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FEATURE +public enum Feature : uint +{ + /// + /// D2D1_FEATURE_DOUBLES + Doubles = 0, + /// + /// D2D1_FEATURE_D3D10_X_HARDWARE_OPTIONS + XHardwareOptions = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataD3D10XHardwareOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataD3D10XHardwareOptions.cs new file mode 100644 index 0000000..610d378 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataD3D10XHardwareOptions.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FEATURE_DATA_D3D10_X_HARDWARE_OPTIONS +public partial struct FeatureDataD3D10XHardwareOptions +{ + /// + public Bool32 computeShaders_Plus_RawAndStructuredBuffers_Via_Shader_4_x; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataDoubles.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataDoubles.cs new file mode 100644 index 0000000..a2c41e5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureDataDoubles.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FEATURE_DATA_DOUBLES +public partial struct FeatureDataDoubles +{ + /// + public Bool32 doublePrecisionFloatShaderOps; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureLevel.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureLevel.cs new file mode 100644 index 0000000..bb7479f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FeatureLevel.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FEATURE_LEVEL +public enum FeatureLevel : uint +{ + /// + /// D2D1_FEATURE_LEVEL_DEFAULT + Default = 0, + /// + /// D2D1_FEATURE_LEVEL_9 + Level_9 = 37120, + /// + /// D2D1_FEATURE_LEVEL_10 + Level_10 = 40960, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureBegin.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureBegin.cs new file mode 100644 index 0000000..fcac456 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureBegin.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_FIGURE_BEGIN +public enum FigureBegin : uint +{ + /// + /// D2D1_FIGURE_BEGIN_FILLED + Filled = 0, + /// + /// D2D1_FIGURE_BEGIN_HOLLOW + Hollow = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureEnd.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureEnd.cs new file mode 100644 index 0000000..e92e313 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FigureEnd.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_FIGURE_END +public enum FigureEnd : uint +{ + /// + /// D2D1_FIGURE_END_OPEN + Open = 0, + /// + /// D2D1_FIGURE_END_CLOSED + Closed = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FillMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FillMode.cs new file mode 100644 index 0000000..47a68ee --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FillMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_FILL_MODE +public enum FillMode : uint +{ + /// + /// D2D1_FILL_MODE_ALTERNATE + Alternate = 0, + /// + /// D2D1_FILL_MODE_WINDING + Winding = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Filter.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Filter.cs new file mode 100644 index 0000000..bbe0474 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Filter.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FILTER +public enum Filter : uint +{ + /// + /// D2D1_FILTER_MIN_MAG_MIP_POINT + MinMagMipPoint = 0, + /// + /// D2D1_FILTER_MIN_MAG_POINT_MIP_LINEAR + MinMagPointMipLinear = 1, + /// + /// D2D1_FILTER_MIN_POINT_MAG_LINEAR_MIP_POINT + MinPointMagLinearMipPoint = 4, + /// + /// D2D1_FILTER_MIN_POINT_MAG_MIP_LINEAR + MinPointMagMipLinear = 5, + /// + /// D2D1_FILTER_MIN_LINEAR_MAG_MIP_POINT + MinLinearMagMipPoint = 16, + /// + /// D2D1_FILTER_MIN_LINEAR_MAG_POINT_MIP_LINEAR + MinLinearMagPointMipLinear = 17, + /// + /// D2D1_FILTER_MIN_MAG_LINEAR_MIP_POINT + MinMagLinearMipPoint = 20, + /// + /// D2D1_FILTER_MIN_MAG_MIP_LINEAR + MinMagMipLinear = 21, + /// + /// D2D1_FILTER_ANISOTROPIC + Anisotropic = 85, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/FloodProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/FloodProp.cs new file mode 100644 index 0000000..f474641 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/FloodProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_FLOOD_PROP +public enum FloodProp : uint +{ + /// + /// D2D1_FLOOD_PROP_COLOR + Color = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma.cs new file mode 100644 index 0000000..2049b51 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GAMMA +public enum Gamma : uint +{ + /// + /// D2D1_GAMMA_2_2 + Gamma_2_2 = 0, + /// + /// D2D1_GAMMA_1_0 + Gamma_1_0 = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma1.cs new file mode 100644 index 0000000..04687ad --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Gamma1.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GAMMA1 +public enum Gamma1 : uint +{ + /// + /// D2D1_GAMMA1_G22 + G22 = 0, + /// + /// D2D1_GAMMA1_G10 + G10 = 1, + /// + /// D2D1_GAMMA1_G2084 + G2084 = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GammaTransferProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GammaTransferProp.cs new file mode 100644 index 0000000..4238f44 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GammaTransferProp.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GAMMATRANSFER_PROP +public enum GammaTransferProp : uint +{ + /// + /// D2D1_GAMMATRANSFER_PROP_RED_AMPLITUDE + RedAmplitude = 0, + /// + /// D2D1_GAMMATRANSFER_PROP_RED_EXPONENT + RedExponent = 1, + /// + /// D2D1_GAMMATRANSFER_PROP_RED_OFFSET + RedOffset = 2, + /// + /// D2D1_GAMMATRANSFER_PROP_RED_DISABLE + RedDisable = 3, + /// + /// D2D1_GAMMATRANSFER_PROP_GREEN_AMPLITUDE + GreenAmplitude = 4, + /// + /// D2D1_GAMMATRANSFER_PROP_GREEN_EXPONENT + GreenExponent = 5, + /// + /// D2D1_GAMMATRANSFER_PROP_GREEN_OFFSET + GreenOffset = 6, + /// + /// D2D1_GAMMATRANSFER_PROP_GREEN_DISABLE + GreenDisable = 7, + /// + /// D2D1_GAMMATRANSFER_PROP_BLUE_AMPLITUDE + BlueAmplitude = 8, + /// + /// D2D1_GAMMATRANSFER_PROP_BLUE_EXPONENT + BlueExponent = 9, + /// + /// D2D1_GAMMATRANSFER_PROP_BLUE_OFFSET + BlueOffset = 10, + /// + /// D2D1_GAMMATRANSFER_PROP_BLUE_DISABLE + BlueDisable = 11, + /// + /// D2D1_GAMMATRANSFER_PROP_ALPHA_AMPLITUDE + AlphaAmplitude = 12, + /// + /// D2D1_GAMMATRANSFER_PROP_ALPHA_EXPONENT + AlphaExponent = 13, + /// + /// D2D1_GAMMATRANSFER_PROP_ALPHA_OFFSET + AlphaOffset = 14, + /// + /// D2D1_GAMMATRANSFER_PROP_ALPHA_DISABLE + AlphaDisable = 15, + /// + /// D2D1_GAMMATRANSFER_PROP_CLAMP_OUTPUT + ClampOutput = 16, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurOptimization.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurOptimization.cs new file mode 100644 index 0000000..ee5c67f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurOptimization.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GAUSSIANBLUR_OPTIMIZATION +public enum GaussianBlurOptimization : uint +{ + /// + /// D2D1_GAUSSIANBLUR_OPTIMIZATION_SPEED + Speed = 0, + /// + /// D2D1_GAUSSIANBLUR_OPTIMIZATION_BALANCED + Balanced = 1, + /// + /// D2D1_GAUSSIANBLUR_OPTIMIZATION_QUALITY + Quality = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurProp.cs new file mode 100644 index 0000000..f282310 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GaussianBlurProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GAUSSIANBLUR_PROP +public enum GaussianBlurProp : uint +{ + /// + /// D2D1_GAUSSIANBLUR_PROP_STANDARD_DEVIATION + StandardDeviation = 0, + /// + /// D2D1_GAUSSIANBLUR_PROP_OPTIMIZATION + Optimization = 1, + /// + /// D2D1_GAUSSIANBLUR_PROP_BORDER_MODE + BorderMode = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometryRelation.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometryRelation.cs new file mode 100644 index 0000000..58f7389 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometryRelation.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GEOMETRY_RELATION +public enum GeometryRelation : uint +{ + /// + /// D2D1_GEOMETRY_RELATION_UNKNOWN + Unknown = 0, + /// + /// D2D1_GEOMETRY_RELATION_DISJOINT + Disjoint = 1, + /// + /// D2D1_GEOMETRY_RELATION_IS_CONTAINED + IsContained = 2, + /// + /// D2D1_GEOMETRY_RELATION_CONTAINS + Contains = 3, + /// + /// D2D1_GEOMETRY_RELATION_OVERLAP + Overlap = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometrySimplificationOption.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometrySimplificationOption.cs new file mode 100644 index 0000000..ffe1671 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GeometrySimplificationOption.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GEOMETRY_SIMPLIFICATION_OPTION +public enum GeometrySimplificationOption : uint +{ + /// + /// D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES + CubicsAndLines = 0, + /// + /// D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES + Lines = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientMeshPatch.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientMeshPatch.cs new file mode 100644 index 0000000..b450e12 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientMeshPatch.cs @@ -0,0 +1,87 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GRADIENT_MESH_PATCH +public partial struct GradientMeshPatch +{ + /// + public System.Drawing.PointF point00; + + /// + public System.Drawing.PointF point01; + + /// + public System.Drawing.PointF point02; + + /// + public System.Drawing.PointF point03; + + /// + public System.Drawing.PointF point10; + + /// + public System.Drawing.PointF point11; + + /// + public System.Drawing.PointF point12; + + /// + public System.Drawing.PointF point13; + + /// + public System.Drawing.PointF point20; + + /// + public System.Drawing.PointF point21; + + /// + public System.Drawing.PointF point22; + + /// + public System.Drawing.PointF point23; + + /// + public System.Drawing.PointF point30; + + /// + public System.Drawing.PointF point31; + + /// + public System.Drawing.PointF point32; + + /// + public System.Drawing.PointF point33; + + /// + public Color4 color00; + + /// + public Color4 color03; + + /// + public Color4 color30; + + /// + public Color4 color33; + + /// + public PatchEdgeMode topEdgeMode; + + /// + public PatchEdgeMode leftEdgeMode; + + /// + public PatchEdgeMode bottomEdgeMode; + + /// + public PatchEdgeMode rightEdgeMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientStop.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientStop.cs new file mode 100644 index 0000000..f85c623 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/GradientStop.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_GRADIENT_STOP +public partial struct GradientStop +{ + /// + public float position; + + /// + public Color4 color; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapDisplayMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapDisplayMode.cs new file mode 100644 index 0000000..d8e4a06 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapDisplayMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HDRTONEMAP_DISPLAY_MODE +public enum HDRTonemapDisplayMode : uint +{ + /// + /// D2D1_HDRTONEMAP_DISPLAY_MODE_SDR + Sdr = 0, + /// + /// D2D1_HDRTONEMAP_DISPLAY_MODE_HDR + HDR = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapProp.cs new file mode 100644 index 0000000..a5bab4b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HDRTonemapProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HDRTONEMAP_PROP +public enum HDRTonemapProp : uint +{ + /// + /// D2D1_HDRTONEMAP_PROP_INPUT_MAX_LUMINANCE + InputMaxLuminance = 0, + /// + /// D2D1_HDRTONEMAP_PROP_OUTPUT_MAX_LUMINANCE + OutputMaxLuminance = 1, + /// + /// D2D1_HDRTONEMAP_PROP_DISPLAY_MODE + DisplayMode = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsInputGamma.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsInputGamma.cs new file mode 100644 index 0000000..5b770af --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsInputGamma.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA +public enum HighlightSandShadowsInputGamma : uint +{ + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_LINEAR + Linear = 0, + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_INPUT_GAMMA_SRGB + Srgb = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsProp.cs new file mode 100644 index 0000000..00c7666 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HighlightSandShadowsProp.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HIGHLIGHTSANDSHADOWS_PROP +public enum HighlightSandShadowsProp : uint +{ + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_HIGHLIGHTS + Highlights = 0, + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_SHADOWS + Shadows = 1, + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_CLARITY + Clarity = 2, + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_INPUT_GAMMA + InputGamma = 3, + /// + /// D2D1_HIGHLIGHTSANDSHADOWS_PROP_MASK_BLUR_RADIUS + MaskBlurRadius = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HistogramProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HistogramProp.cs new file mode 100644 index 0000000..0a00e74 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HistogramProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HISTOGRAM_PROP +public enum HistogramProp : uint +{ + /// + /// D2D1_HISTOGRAM_PROP_NUM_BINS + NumBins = 0, + /// + /// D2D1_HISTOGRAM_PROP_CHANNEL_SELECT + ChannelSelect = 1, + /// + /// D2D1_HISTOGRAM_PROP_HISTOGRAM_OUTPUT + HistogramOutput = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HueRotationProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueRotationProp.cs new file mode 100644 index 0000000..56200ca --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueRotationProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HUEROTATION_PROP +public enum HueRotationProp : uint +{ + /// + /// D2D1_HUEROTATION_PROP_ANGLE + Angle = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbInputColorSpace.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbInputColorSpace.cs new file mode 100644 index 0000000..4db0711 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbInputColorSpace.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HUETORGB_INPUT_COLOR_SPACE +public enum HueToRgbInputColorSpace : uint +{ + /// + /// D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_VALUE + HueSaturationValue = 0, + /// + /// D2D1_HUETORGB_INPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS + HueSaturationLightness = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbProp.cs new file mode 100644 index 0000000..c0f856c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HueToRgbProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HUETORGB_PROP +public enum HueToRgbProp : uint +{ + /// + /// D2D1_HUETORGB_PROP_INPUT_COLOR_SPACE + InputColorSpace = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/HwndRenderTargetProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/HwndRenderTargetProperties.cs new file mode 100644 index 0000000..e71051b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/HwndRenderTargetProperties.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_HWND_RENDER_TARGET_PROPERTIES +public partial struct HwndRenderTargetProperties +{ + /// + public IntPtr hwnd; + + /// + public System.Drawing.Size pixelSize; + + /// + public PresentOptions presentOptions; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1AnalysisTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1AnalysisTransform.cs index 54d53a6..023ffdf 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1AnalysisTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1AnalysisTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1AnalysisTransform [Guid("0359dc30-95e6-4568-9055-27720d130e93")] [NativeTypeName("struct ID2D1AnalysisTransform : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1AnalysisTransform +public unsafe partial struct ID2D1AnalysisTransform : INativeGuid { public static ref readonly Guid IID_ID2D1AnalysisTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1AnalysisTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1AnalysisTransform)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1AnalysisTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult ProcessAnalysisResults(byte* analysisData, uint analysisDataCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap.cs index 44aa546..a4c5afd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Bitmap [Guid("a2296057-ea42-4099-983b-539fb6505426")] [NativeTypeName("struct ID2D1Bitmap : ID2D1Image")] [NativeInheritance("ID2D1Image")] -public unsafe partial struct ID2D1Bitmap +public unsafe partial struct ID2D1Bitmap : INativeGuid { public static ref readonly Guid IID_ID2D1Bitmap { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Bitmap } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Bitmap ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public System.Drawing.SizeF GetSize() @@ -87,7 +91,7 @@ public unsafe partial struct ID2D1Bitmap return *((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public System.Drawing.Size GetPixelSize() @@ -96,7 +100,7 @@ public unsafe partial struct ID2D1Bitmap return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public Common.PixelFormat GetPixelFormat() @@ -105,7 +109,7 @@ public unsafe partial struct ID2D1Bitmap return *((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetDpi(float* dpiX, float* dpiY) @@ -113,7 +117,7 @@ public unsafe partial struct ID2D1Bitmap ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CopyFromBitmap(System.Drawing.Point* destPoint, ID2D1Bitmap* bitmap, Common.RectU* srcRect) @@ -121,7 +125,7 @@ public unsafe partial struct ID2D1Bitmap return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, bitmap, srcRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CopyFromRenderTarget(System.Drawing.Point* destPoint, ID2D1RenderTarget* renderTarget, Common.RectU* srcRect) @@ -129,7 +133,7 @@ public unsafe partial struct ID2D1Bitmap return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Bitmap*)Unsafe.AsPointer(ref this), destPoint, renderTarget, srcRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CopyFromMemory(Common.RectU* dstRect, void* srcData, uint pitch) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap1.cs index 392ec16..0b2d86d 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Bitmap1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Bitmap1 [Guid("a898a84c-3873-4588-b08b-ebbf978df041")] [NativeTypeName("struct ID2D1Bitmap1 : ID2D1Bitmap")] [NativeInheritance("ID2D1Bitmap")] -public unsafe partial struct ID2D1Bitmap1 +public unsafe partial struct ID2D1Bitmap1 : INativeGuid { public static ref readonly Guid IID_ID2D1Bitmap1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Bitmap1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Bitmap1)); +#endif public void** lpVtbl; @@ -137,7 +141,7 @@ public unsafe partial struct ID2D1Bitmap1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dstRect, srcData, pitch); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void GetColorContext(ID2D1ColorContext** colorContext) @@ -145,7 +149,7 @@ public unsafe partial struct ID2D1Bitmap1 ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public BitmapOptions GetOptions() @@ -153,7 +157,7 @@ public unsafe partial struct ID2D1Bitmap1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetSurface(Graphics.Dxgi.IDXGISurface** dxgiSurface) @@ -161,7 +165,7 @@ public unsafe partial struct ID2D1Bitmap1 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), dxgiSurface); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult Map(MapOptions options, MappedRect* mappedRect) @@ -169,7 +173,7 @@ public unsafe partial struct ID2D1Bitmap1 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1Bitmap1*)Unsafe.AsPointer(ref this), options, mappedRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult Unmap() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs index 88befde..fb49cbb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BitmapBrush [Guid("2cd906aa-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1BitmapBrush : ID2D1Brush")] [NativeInheritance("ID2D1Brush")] -public unsafe partial struct ID2D1BitmapBrush +public unsafe partial struct ID2D1BitmapBrush : INativeGuid { public static ref readonly Guid IID_ID2D1BitmapBrush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BitmapBrush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1BitmapBrush ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void SetExtendModeX(ExtendMode extendModeX) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1BitmapBrush ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeX); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetExtendModeY(ExtendMode extendModeY) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1BitmapBrush ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), extendModeY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void SetInterpolationMode(BitmapInterpolationMode interpolationMode) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1BitmapBrush ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), interpolationMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void SetBitmap(ID2D1Bitmap* bitmap) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1BitmapBrush ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this), bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public ExtendMode GetExtendModeX() @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1BitmapBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public ExtendMode GetExtendModeY() @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1BitmapBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public BitmapInterpolationMode GetInterpolationMode() @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1BitmapBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1BitmapBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public void GetBitmap(ID2D1Bitmap** bitmap) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs index 1f1a318..5e88076 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapBrush1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BitmapBrush1 [Guid("41343a53-e41a-49a2-91cd-21793bbb62e5")] [NativeTypeName("struct ID2D1BitmapBrush1 : ID2D1BitmapBrush")] [NativeInheritance("ID2D1BitmapBrush")] -public unsafe partial struct ID2D1BitmapBrush1 +public unsafe partial struct ID2D1BitmapBrush1 : INativeGuid { public static ref readonly Guid IID_ID2D1BitmapBrush1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BitmapBrush1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapBrush1)); +#endif public void** lpVtbl; @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1BitmapBrush1 ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public void SetInterpolationMode1(InterpolationMode interpolationMode) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1BitmapBrush1 ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1BitmapBrush1*)Unsafe.AsPointer(ref this), interpolationMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public InterpolationMode GetInterpolationMode1() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs index edde5c6..1db330a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BitmapRenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BitmapRenderTarget [Guid("2cd90695-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1BitmapRenderTarget : ID2D1RenderTarget")] [NativeInheritance("ID2D1RenderTarget")] -public unsafe partial struct ID2D1BitmapRenderTarget +public unsafe partial struct ID2D1BitmapRenderTarget : INativeGuid { public static ref readonly Guid IID_ID2D1BitmapRenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BitmapRenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BitmapRenderTarget)); +#endif public void** lpVtbl; @@ -505,7 +509,7 @@ public unsafe partial struct ID2D1BitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID2D1BitmapRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public HResult GetBitmap(ID2D1Bitmap** bitmap) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BlendTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BlendTransform.cs index 03e16cd..87bb499 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BlendTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BlendTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BlendTransform [Guid("63ac0b32-ba44-450f-8806-7f4ca1ff2f1b")] [NativeTypeName("struct ID2D1BlendTransform : ID2D1ConcreteTransform")] [NativeInheritance("ID2D1ConcreteTransform")] -public unsafe partial struct ID2D1BlendTransform +public unsafe partial struct ID2D1BlendTransform : INativeGuid { public static ref readonly Guid IID_ID2D1BlendTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BlendTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BlendTransform)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1BlendTransform ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), isCached); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void SetDescription(BlendDescription* description) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1BlendTransform ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1BlendTransform*)Unsafe.AsPointer(ref this), description); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetDescription(BlendDescription* description) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BorderTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BorderTransform.cs index e25a308..9ffd3bf 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BorderTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BorderTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BorderTransform [Guid("4998735c-3a19-473c-9781-656847e3a347")] [NativeTypeName("struct ID2D1BorderTransform : ID2D1ConcreteTransform")] [NativeInheritance("ID2D1ConcreteTransform")] -public unsafe partial struct ID2D1BorderTransform +public unsafe partial struct ID2D1BorderTransform : INativeGuid { public static ref readonly Guid IID_ID2D1BorderTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BorderTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BorderTransform)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1BorderTransform ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), isCached); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void SetExtendModeX(ExtendMode extendMode) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1BorderTransform ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void SetExtendModeY(ExtendMode extendMode) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1BorderTransform ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this), extendMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public ExtendMode GetExtendModeX() @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1BorderTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1BorderTransform*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public ExtendMode GetExtendModeY() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BoundsAdjustmentTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BoundsAdjustmentTransform.cs index 96fb8f8..985d494 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BoundsAdjustmentTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1BoundsAdjustmentTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1BoundsAdjustmentTransform [Guid("90f732e2-5092-4606-a819-8651970baccd")] [NativeTypeName("struct ID2D1BoundsAdjustmentTransform : ID2D1TransformNode")] [NativeInheritance("ID2D1TransformNode")] -public unsafe partial struct ID2D1BoundsAdjustmentTransform +public unsafe partial struct ID2D1BoundsAdjustmentTransform : INativeGuid { public static ref readonly Guid IID_ID2D1BoundsAdjustmentTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1BoundsAdjustmentTransform)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetOutputBounds(RawRect* outputBounds) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1BoundsAdjustmentTransform ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1BoundsAdjustmentTransform*)Unsafe.AsPointer(ref this), outputBounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetOutputBounds(RawRect* outputBounds) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs index 2978330..558d180 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Brush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Brush [Guid("2cd906a8-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1Brush : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Brush +public unsafe partial struct ID2D1Brush : INativeGuid { public static ref readonly Guid IID_ID2D1Brush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Brush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Brush)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Brush ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Brush*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetOpacity(float opacity) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Brush ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Brush*)Unsafe.AsPointer(ref this), opacity); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void SetTransform(Matrix3x2* transform) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Brush ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Brush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public float GetOpacity() @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1Brush return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Brush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetTransform(Matrix3x2* transform) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext.cs index 6587599..95cdcab 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ColorContext [Guid("1c4820bb-5771-4518-a581-2fe4dd0ec657")] [NativeTypeName("struct ID2D1ColorContext : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1ColorContext +public unsafe partial struct ID2D1ColorContext : INativeGuid { public static ref readonly Guid IID_ID2D1ColorContext { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ColorContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1ColorContext ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public ColorSpace GetColorSpace() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1ColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public uint GetProfileSize() @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1ColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1ColorContext*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetProfile(byte* profile, uint profileSize) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext1.cs index 954791c..186dbfb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ColorContext1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ColorContext1 [Guid("1ab42875-c57f-4be9-bd85-9cd78d6f55ee")] [NativeTypeName("struct ID2D1ColorContext1 : ID2D1ColorContext")] [NativeInheritance("ID2D1ColorContext")] -public unsafe partial struct ID2D1ColorContext1 +public unsafe partial struct ID2D1ColorContext1 : INativeGuid { public static ref readonly Guid IID_ID2D1ColorContext1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ColorContext1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ColorContext1)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1ColorContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this), profile, profileSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public ColorContextType GetColorContextType() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1ColorContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public Graphics.Dxgi.Common.ColorSpaceType GetDXGIColorSpace() @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1ColorContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1ColorContext1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetSimpleColorProfile(SimpleColorProfile* simpleProfile) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandList.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandList.cs index c9b3226..d553cc5 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandList.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandList.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandList [Guid("b4f34a19-2383-4d76-94f6-ec343657c3dc")] [NativeTypeName("struct ID2D1CommandList : ID2D1Image")] [NativeInheritance("ID2D1Image")] -public unsafe partial struct ID2D1CommandList +public unsafe partial struct ID2D1CommandList : INativeGuid { public static ref readonly Guid IID_ID2D1CommandList { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandList)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1CommandList ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Stream(ID2D1CommandSink* sink) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1CommandList return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1CommandList*)Unsafe.AsPointer(ref this), sink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult Close() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs index 3beba4a..d5e8e98 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink [Guid("54d7898a-a061-40a7-bec7-e465bcba2c4f")] [NativeTypeName("struct ID2D1CommandSink : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1CommandSink +public unsafe partial struct ID2D1CommandSink : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult BeginDraw() @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult EndDraw() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetAntialiasMode(AntialiasMode antialiasMode) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), antialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetTags(ulong tag1, ulong tag2) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetTextAntialiasMode(TextAntialiasMode textAntialiasMode) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textAntialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), textRenderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetTransform(Matrix3x2* transform) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetPrimitiveBlend(PrimitiveBlend primitiveBlend) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), primitiveBlend); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult SetUnitMode(UnitMode unitMode) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), unitMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult Clear(Color4* color) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), color); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult DrawImage(ID2D1Image* image, System.Drawing.PointF* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, System.Drawing.PointF* targetOffset) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush) @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), mesh, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle) @@ -222,7 +226,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush) @@ -230,7 +234,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult FillRectangle(Common.RectF* rect, ID2D1Brush* brush) @@ -238,7 +242,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), rect, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode) @@ -246,7 +250,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), clipRect, antialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult PushLayer(LayerParameters1* layerParameters1, ID2D1Layer* layer) @@ -254,7 +258,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this), layerParameters1, layer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult PopAxisAlignedClip() @@ -262,7 +266,7 @@ public unsafe partial struct ID2D1CommandSink return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1CommandSink*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult PopLayer() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs index 345f374..be13cc0 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink1 [Guid("9eb767fd-4269-4467-b8c2-eb30cb305743")] [NativeTypeName("struct ID2D1CommandSink1 : ID2D1CommandSink")] [NativeInheritance("ID2D1CommandSink")] -public unsafe partial struct ID2D1CommandSink1 +public unsafe partial struct ID2D1CommandSink1 : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink1)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct ID2D1CommandSink1 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1CommandSink1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult SetPrimitiveBlend1(PrimitiveBlend primitiveBlend) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs index 5e34e72..2792c40 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink2 [Guid("3bab440e-417e-47df-a2e2-bc0be6a00916")] [NativeTypeName("struct ID2D1CommandSink2 : ID2D1CommandSink1")] [NativeInheritance("ID2D1CommandSink1")] -public unsafe partial struct ID2D1CommandSink2 +public unsafe partial struct ID2D1CommandSink2 : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink2)); +#endif public void** lpVtbl; @@ -278,7 +282,7 @@ public unsafe partial struct ID2D1CommandSink2 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), primitiveBlend); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle) @@ -286,7 +290,7 @@ public unsafe partial struct ID2D1CommandSink2 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), ink, brush, inkStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult DrawGradientMesh(ID2D1GradientMesh* gradientMesh) @@ -294,7 +298,7 @@ public unsafe partial struct ID2D1CommandSink2 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1CommandSink2*)Unsafe.AsPointer(ref this), gradientMesh); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs index 035fbc1..4a8b058 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink3 [Guid("18079135-4cf3-4868-bc8e-06067e6d242d")] [NativeTypeName("struct ID2D1CommandSink3 : ID2D1CommandSink2")] [NativeInheritance("ID2D1CommandSink2")] -public unsafe partial struct ID2D1CommandSink3 +public unsafe partial struct ID2D1CommandSink3 : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink3)); +#endif public void** lpVtbl; @@ -302,7 +306,7 @@ public unsafe partial struct ID2D1CommandSink3 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1CommandSink3*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs index c9aaf39..93c0ddf 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink4 [Guid("c78a6519-40d6-4218-b2de-beeeb744bb3e")] [NativeTypeName("struct ID2D1CommandSink4 : ID2D1CommandSink3")] [NativeInheritance("ID2D1CommandSink3")] -public unsafe partial struct ID2D1CommandSink4 +public unsafe partial struct ID2D1CommandSink4 : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink4)); +#endif public void** lpVtbl; @@ -310,7 +314,7 @@ public unsafe partial struct ID2D1CommandSink4 return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1CommandSink4*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult SetPrimitiveBlend2(PrimitiveBlend primitiveBlend) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs index dd3583c..da0587b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1CommandSink5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1CommandSink5 [Guid("7047dd26-b1e7-44a7-959a-8349e2144fa8")] [NativeTypeName("struct ID2D1CommandSink5 : ID2D1CommandSink4")] [NativeInheritance("ID2D1CommandSink4")] -public unsafe partial struct ID2D1CommandSink5 +public unsafe partial struct ID2D1CommandSink5 : INativeGuid { public static ref readonly Guid IID_ID2D1CommandSink5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1CommandSink5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1CommandSink5)); +#endif public void** lpVtbl; @@ -318,7 +322,7 @@ public unsafe partial struct ID2D1CommandSink5 return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID2D1CommandSink5*)Unsafe.AsPointer(ref this), primitiveBlend); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult BlendImage(ID2D1Image* image, Common.BlendMode blendMode, System.Drawing.PointF* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeInfo.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeInfo.cs index 6ec381c..04f4b57 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ComputeInfo [Guid("5598b14b-9fd7-48b7-9bdb-8f0964eb38bc")] [NativeTypeName("struct ID2D1ComputeInfo : ID2D1RenderInfo")] [NativeInheritance("ID2D1RenderInfo")] -public unsafe partial struct ID2D1ComputeInfo +public unsafe partial struct ID2D1ComputeInfo : INativeGuid { public static ref readonly Guid IID_ID2D1ComputeInfo { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ComputeInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeInfo)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1ComputeInfo ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), instructionCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetComputeShaderConstantBuffer(byte* buffer, uint bufferCount) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1ComputeInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetComputeShader(Guid* shaderId) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1ComputeInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1ComputeInfo*)Unsafe.AsPointer(ref this), shaderId); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeTransform.cs index 877a9ad..328aef3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ComputeTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ComputeTransform [Guid("0d85573c-01e3-4f7d-bfd9-0d60608bf3c3")] [NativeTypeName("struct ID2D1ComputeTransform : ID2D1Transform")] [NativeInheritance("ID2D1Transform")] -public unsafe partial struct ID2D1ComputeTransform +public unsafe partial struct ID2D1ComputeTransform : INativeGuid { public static ref readonly Guid IID_ID2D1ComputeTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ComputeTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ComputeTransform)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1ComputeTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetComputeInfo(ID2D1ComputeInfo* computeInfo) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1ComputeTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ComputeTransform*)Unsafe.AsPointer(ref this), computeInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CalculateThreadgroups(RawRect* outputRect, uint* dimensionX, uint* dimensionY, uint* dimensionZ) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ConcreteTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ConcreteTransform.cs index 886f51d..bad5fd4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ConcreteTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ConcreteTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ConcreteTransform [Guid("1a799d8a-69f7-4e4c-9fed-437ccc6684cc")] [NativeTypeName("struct ID2D1ConcreteTransform : ID2D1TransformNode")] [NativeInheritance("ID2D1TransformNode")] -public unsafe partial struct ID2D1ConcreteTransform +public unsafe partial struct ID2D1ConcreteTransform : INativeGuid { public static ref readonly Guid IID_ID2D1ConcreteTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ConcreteTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ConcreteTransform)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1ConcreteTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1ConcreteTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ConcreteTransform*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void SetCached(Bool32 isCached) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs index 647b605..c1c7b94 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DCRenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DCRenderTarget [Guid("1c51bc64-de61-46fd-9899-63a5d8f03950")] [NativeTypeName("struct ID2D1DCRenderTarget : ID2D1RenderTarget")] [NativeInheritance("ID2D1RenderTarget")] -public unsafe partial struct ID2D1DCRenderTarget +public unsafe partial struct ID2D1DCRenderTarget : INativeGuid { public static ref readonly Guid IID_ID2D1DCRenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DCRenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DCRenderTarget)); +#endif public void** lpVtbl; @@ -505,7 +509,7 @@ public unsafe partial struct ID2D1DCRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID2D1DCRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public HResult BindDC(IntPtr hDC, RawRect* pSubRect) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device.cs index d61a8b3..4198f01 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device [Guid("47dd575d-ac05-4cdd-8049-9b02cd16f44c")] [NativeTypeName("struct ID2D1Device : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Device +public unsafe partial struct ID2D1Device : INativeGuid { public static ref readonly Guid IID_ID2D1Device { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Device ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Device*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext** deviceContext) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Device return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Device*)Unsafe.AsPointer(ref this), options, deviceContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void SetMaximumTextureMemory(ulong maximumInBytes) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Device ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Device*)Unsafe.AsPointer(ref this), maximumInBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public ulong GetMaximumTextureMemory() @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1Device return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Device*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void ClearResources(uint millisecondsSinceUse) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device1.cs index 674681b..71fbe55 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device1 [Guid("d21768e1-23a4-4823-a14b-7c3eba85d658")] [NativeTypeName("struct ID2D1Device1 : ID2D1Device")] [NativeInheritance("ID2D1Device")] -public unsafe partial struct ID2D1Device1 +public unsafe partial struct ID2D1Device1 : INativeGuid { public static ref readonly Guid IID_ID2D1Device1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1Device1 ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Device1*)Unsafe.AsPointer(ref this), millisecondsSinceUse); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public RenderingPriority GetRenderingPriority() @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1Device1 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Device1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetRenderingPriority(RenderingPriority renderingPriority) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1Device1 ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Device1*)Unsafe.AsPointer(ref this), renderingPriority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext1** deviceContext1) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device2.cs index 118dd3a..b93b870 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device2 [Guid("a44472e1-8dfb-4e60-8492-6e2861c9ca8b")] [NativeTypeName("struct ID2D1Device2 : ID2D1Device1")] [NativeInheritance("ID2D1Device1")] -public unsafe partial struct ID2D1Device2 +public unsafe partial struct ID2D1Device2 : INativeGuid { public static ref readonly Guid IID_ID2D1Device2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device2)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1Device2 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext1); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext2** deviceContext2) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1Device2 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Device2*)Unsafe.AsPointer(ref this), options, deviceContext2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public void FlushDeviceContexts(ID2D1Bitmap* bitmap) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1Device2 ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Device2*)Unsafe.AsPointer(ref this), bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetDxgiDevice(Graphics.Dxgi.IDXGIDevice** dxgiDevice) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device3.cs index cb7da25..a10f3f4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device3 [Guid("852f2087-802c-4037-ab60-ff2e7ee6fc01")] [NativeTypeName("struct ID2D1Device3 : ID2D1Device2")] [NativeInheritance("ID2D1Device2")] -public unsafe partial struct ID2D1Device3 +public unsafe partial struct ID2D1Device3 : INativeGuid { public static ref readonly Guid IID_ID2D1Device3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device3)); +#endif public void** lpVtbl; @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1Device3 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1Device3*)Unsafe.AsPointer(ref this), dxgiDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext3** deviceContext3) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device4.cs index d437d7f..b2ba6ba 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device4 [Guid("d7bdb159-5683-4a46-bc9c-72dc720b858b")] [NativeTypeName("struct ID2D1Device4 : ID2D1Device3")] [NativeInheritance("ID2D1Device3")] -public unsafe partial struct ID2D1Device4 +public unsafe partial struct ID2D1Device4 : INativeGuid { public static ref readonly Guid IID_ID2D1Device4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device4)); +#endif public void** lpVtbl; @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1Device4 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext3); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext4** deviceContext4) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1Device4 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Device4*)Unsafe.AsPointer(ref this), options, deviceContext4); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public void SetMaximumColorGlyphCacheMemory(ulong maximumInBytes) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1Device4 ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1Device4*)Unsafe.AsPointer(ref this), maximumInBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public ulong GetMaximumColorGlyphCacheMemory() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device5.cs index 24461c5..6d9734a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device5 [Guid("d55ba0a4-6405-4694-aef5-08ee1a4358b4")] [NativeTypeName("struct ID2D1Device5 : ID2D1Device4")] [NativeInheritance("ID2D1Device4")] -public unsafe partial struct ID2D1Device5 +public unsafe partial struct ID2D1Device5 : INativeGuid { public static ref readonly Guid IID_ID2D1Device5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device5)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1Device5 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1Device5*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext5** deviceContext5) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device6.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device6.cs index 4f4b558..41949a0 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Device6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Device6 [Guid("7bfef914-2d75-4bad-be87-e18ddb077b6d")] [NativeTypeName("struct ID2D1Device6 : ID2D1Device5")] [NativeInheritance("ID2D1Device5")] -public unsafe partial struct ID2D1Device6 +public unsafe partial struct ID2D1Device6 : INativeGuid { public static ref readonly Guid IID_ID2D1Device6 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Device6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Device6)); +#endif public void** lpVtbl; @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1Device6 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1Device6*)Unsafe.AsPointer(ref this), options, deviceContext5); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateDeviceContext(DeviceContextOptions options, ID2D1DeviceContext6** deviceContext6) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs index 2d31c7c..d4b7220 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext [Guid("e8f7fe7a-191c-466d-ad95-975678bda998")] [NativeTypeName("struct ID2D1DeviceContext : ID2D1RenderTarget")] [NativeInheritance("ID2D1RenderTarget")] -public unsafe partial struct ID2D1DeviceContext +public unsafe partial struct ID2D1DeviceContext : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext)); +#endif public void** lpVtbl; @@ -505,7 +509,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderTargetProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public HResult CreateBitmap(System.Drawing.Size size, void* sourceData, uint pitch, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap) @@ -513,7 +517,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), size, sourceData, pitch, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap) @@ -521,7 +525,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(59)] public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext) @@ -529,7 +533,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(60)] public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext) @@ -537,7 +541,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), filename, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(61)] public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext) @@ -545,7 +549,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), wicColorContext, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(62)] public HResult CreateBitmapFromDxgiSurface(Graphics.Dxgi.IDXGISurface* surface, BitmapProperties1* bitmapProperties, ID2D1Bitmap1** bitmap) @@ -553,7 +557,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), surface, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(63)] public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect) @@ -561,7 +565,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effectId, effect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(64)] public HResult CreateGradientStopCollection(GradientStop* straightAlphaGradientStops, uint straightAlphaGradientStopsCount, ColorSpace preInterpolationSpace, ColorSpace postInterpolationSpace, BufferPrecision bufferPrecision, ExtendMode extendMode, ColorInterpolationMode colorInterpolationMode, ID2D1GradientStopCollection1** gradientStopCollection1) @@ -569,7 +573,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), straightAlphaGradientStops, straightAlphaGradientStopsCount, preInterpolationSpace, postInterpolationSpace, bufferPrecision, extendMode, colorInterpolationMode, gradientStopCollection1); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(65)] public HResult CreateImageBrush(ID2D1Image* image, ImageBrushProperties* imageBrushProperties, BrushProperties* brushProperties, ID2D1ImageBrush** imageBrush) @@ -577,7 +581,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, imageBrushProperties, brushProperties, imageBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(66)] public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties1* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush1** bitmapBrush) @@ -585,7 +589,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] public HResult CreateCommandList(ID2D1CommandList** commandList) @@ -593,7 +597,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), commandList); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(68)] public Bool32 IsDxgiFormatSupported(Graphics.Dxgi.Common.Format format) @@ -601,7 +605,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), format); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(69)] public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision) @@ -609,7 +613,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bufferPrecision); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(70)] public HResult GetImageLocalBounds(ID2D1Image* image, Common.RectF* localBounds) @@ -617,7 +621,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, localBounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(71)] public HResult GetImageWorldBounds(ID2D1Image* image, Common.RectF* worldBounds) @@ -625,7 +629,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, worldBounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] public HResult GetGlyphRunWorldBounds(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, Common.RectF* bounds) @@ -633,7 +637,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, measuringMode, bounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] public void GetDevice(ID2D1Device** device) @@ -641,7 +645,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), device); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(74)] public void SetTarget(ID2D1Image* image) @@ -649,7 +653,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(75)] public void GetTarget(ID2D1Image** image) @@ -657,7 +661,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(76)] public void SetRenderingControls(RenderingControls* renderingControls) @@ -665,7 +669,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderingControls); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(77)] public void GetRenderingControls(RenderingControls* renderingControls) @@ -673,7 +677,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderingControls); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(78)] public void SetPrimitiveBlend(PrimitiveBlend primitiveBlend) @@ -681,7 +685,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), primitiveBlend); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(79)] public PrimitiveBlend GetPrimitiveBlend() @@ -689,7 +693,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(80)] public void SetUnitMode(UnitMode unitMode) @@ -697,7 +701,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), unitMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(81)] public UnitMode GetUnitMode() @@ -705,7 +709,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.GlyphRunDescription* glyphRunDescription, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -713,7 +717,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, foregroundBrush, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(83)] public void DrawImage(ID2D1Image* image, System.Drawing.PointF* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode, Common.CompositeMode compositeMode) @@ -721,7 +725,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(84)] public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, System.Drawing.PointF* targetOffset) @@ -729,7 +733,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), gdiMetafile, targetOffset); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(85)] public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, InterpolationMode interpolationMode, Common.RectF* sourceRectangle, Matrix4x4* perspectiveTransform) @@ -737,7 +741,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle, perspectiveTransform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(86)] public void PushLayer(LayerParameters1* layerParameters, ID2D1Layer* layer) @@ -745,7 +749,7 @@ public unsafe partial struct ID2D1DeviceContext ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), layerParameters, layer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(87)] public HResult InvalidateEffectInputRectangle(ID2D1Effect* effect, uint input, Common.RectF* inputRectangle) @@ -753,7 +757,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, input, inputRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(88)] public HResult GetEffectInvalidRectangleCount(ID2D1Effect* effect, uint* rectangleCount) @@ -761,7 +765,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[88]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, rectangleCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(89)] public HResult GetEffectInvalidRectangles(ID2D1Effect* effect, Common.RectF* rectangles, uint rectanglesCount) @@ -769,7 +773,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[89]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), effect, rectangles, rectanglesCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(90)] public HResult GetEffectRequiredInputRectangles(ID2D1Effect* renderEffect, Common.RectF* renderImageRectangle, EffectInputDescription* inputDescriptions, Common.RectF* requiredInputRects, uint inputCount) @@ -777,7 +781,7 @@ public unsafe partial struct ID2D1DeviceContext return ((delegate* unmanaged[Stdcall])(lpVtbl[90]))((ID2D1DeviceContext*)Unsafe.AsPointer(ref this), renderEffect, renderImageRectangle, inputDescriptions, requiredInputRects, inputCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(91)] public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs index ef8f9d2..53177eb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext1 [Guid("d37f57e4-6908-459f-a199-e72f24f79987")] [NativeTypeName("struct ID2D1DeviceContext1 : ID2D1DeviceContext")] [NativeInheritance("ID2D1DeviceContext")] -public unsafe partial struct ID2D1DeviceContext1 +public unsafe partial struct ID2D1DeviceContext1 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext1)); +#endif public void** lpVtbl; @@ -785,7 +789,7 @@ public unsafe partial struct ID2D1DeviceContext1 ((delegate* unmanaged[Stdcall])(lpVtbl[91]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), opacityMask, brush, destinationRectangle, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(92)] public HResult CreateFilledGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, ID2D1GeometryRealization** geometryRealization) @@ -793,7 +797,7 @@ public unsafe partial struct ID2D1DeviceContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[92]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, geometryRealization); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(93)] public HResult CreateStrokedGeometryRealization(ID2D1Geometry* geometry, float flatteningTolerance, float strokeWidth, ID2D1StrokeStyle* strokeStyle, ID2D1GeometryRealization** geometryRealization) @@ -801,7 +805,7 @@ public unsafe partial struct ID2D1DeviceContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[93]))((ID2D1DeviceContext1*)Unsafe.AsPointer(ref this), geometry, flatteningTolerance, strokeWidth, strokeStyle, geometryRealization); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(94)] public void DrawGeometryRealization(ID2D1GeometryRealization* geometryRealization, ID2D1Brush* brush) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs index 704f8c8..f8b1336 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext2 [Guid("394ea6a3-0c34-4321-950b-6ca20f0be6c7")] [NativeTypeName("struct ID2D1DeviceContext2 : ID2D1DeviceContext1")] [NativeInheritance("ID2D1DeviceContext1")] -public unsafe partial struct ID2D1DeviceContext2 +public unsafe partial struct ID2D1DeviceContext2 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext2)); +#endif public void** lpVtbl; @@ -809,7 +813,7 @@ public unsafe partial struct ID2D1DeviceContext2 ((delegate* unmanaged[Stdcall])(lpVtbl[94]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), geometryRealization, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(95)] public HResult CreateInk(InkPoint* startPoint, ID2D1Ink** ink) @@ -817,7 +821,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[95]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), startPoint, ink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(96)] public HResult CreateInkStyle(InkStyleProperties* inkStyleProperties, ID2D1InkStyle** inkStyle) @@ -825,7 +829,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[96]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), inkStyleProperties, inkStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(97)] public HResult CreateGradientMesh(GradientMeshPatch* patches, uint patchesCount, ID2D1GradientMesh** gradientMesh) @@ -833,7 +837,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[97]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), patches, patchesCount, gradientMesh); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(98)] public HResult CreateImageSourceFromWic(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, ImageSourceLoadingOptions loadingOptions, Common.AlphaMode alphaMode, ID2D1ImageSourceFromWic** imageSource) @@ -841,7 +845,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[98]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), wicBitmapSource, loadingOptions, alphaMode, imageSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(99)] public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable) @@ -849,7 +853,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[99]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(100)] public HResult CreateImageSourceFromDxgi(Graphics.Dxgi.IDXGISurface** surfaces, uint surfaceCount, Graphics.Dxgi.Common.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options, ID2D1ImageSource** imageSource) @@ -857,7 +861,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[100]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), surfaces, surfaceCount, colorSpace, options, imageSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(101)] public HResult GetGradientMeshWorldBounds(ID2D1GradientMesh* gradientMesh, Common.RectF* pBounds) @@ -865,7 +869,7 @@ public unsafe partial struct ID2D1DeviceContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[101]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientMesh, pBounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(102)] public void DrawInk(ID2D1Ink* ink, ID2D1Brush* brush, ID2D1InkStyle* inkStyle) @@ -873,7 +877,7 @@ public unsafe partial struct ID2D1DeviceContext2 ((delegate* unmanaged[Stdcall])(lpVtbl[102]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), ink, brush, inkStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(103)] public void DrawGradientMesh(ID2D1GradientMesh* gradientMesh) @@ -881,7 +885,7 @@ public unsafe partial struct ID2D1DeviceContext2 ((delegate* unmanaged[Stdcall])(lpVtbl[103]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gradientMesh); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(104)] public void DrawGdiMetafile(ID2D1GdiMetafile* gdiMetafile, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle) @@ -889,7 +893,7 @@ public unsafe partial struct ID2D1DeviceContext2 ((delegate* unmanaged[Stdcall])(lpVtbl[104]))((ID2D1DeviceContext2*)Unsafe.AsPointer(ref this), gdiMetafile, destinationRectangle, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(105)] public HResult CreateTransformedImageSource(ID2D1ImageSource* imageSource, TransformedImageSourceProperties* properties, ID2D1TransformedImageSource** transformedImageSource) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs index d4f3c20..4902c5e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext3 [Guid("235a7496-8351-414c-bcd4-6672ab2d8e00")] [NativeTypeName("struct ID2D1DeviceContext3 : ID2D1DeviceContext2")] [NativeInheritance("ID2D1DeviceContext2")] -public unsafe partial struct ID2D1DeviceContext3 +public unsafe partial struct ID2D1DeviceContext3 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext3)); +#endif public void** lpVtbl; @@ -897,7 +901,7 @@ public unsafe partial struct ID2D1DeviceContext3 return ((delegate* unmanaged[Stdcall])(lpVtbl[105]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), imageSource, properties, transformedImageSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(106)] public HResult CreateSpriteBatch(ID2D1SpriteBatch** spriteBatch) @@ -905,7 +909,7 @@ public unsafe partial struct ID2D1DeviceContext3 return ((delegate* unmanaged[Stdcall])(lpVtbl[106]))((ID2D1DeviceContext3*)Unsafe.AsPointer(ref this), spriteBatch); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(107)] public void DrawSpriteBatch(ID2D1SpriteBatch* spriteBatch, uint startIndex, uint spriteCount, ID2D1Bitmap* bitmap, BitmapInterpolationMode interpolationMode, SpriteOptions spriteOptions) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs index e69361d..47908e1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext4 [Guid("8c427831-3d90-4476-b647-c4fae349e4db")] [NativeTypeName("struct ID2D1DeviceContext4 : ID2D1DeviceContext3")] [NativeInheritance("ID2D1DeviceContext3")] -public unsafe partial struct ID2D1DeviceContext4 +public unsafe partial struct ID2D1DeviceContext4 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext4)); +#endif public void** lpVtbl; @@ -913,7 +917,7 @@ public unsafe partial struct ID2D1DeviceContext4 ((delegate* unmanaged[Stdcall])(lpVtbl[107]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), spriteBatch, startIndex, spriteCount, bitmap, interpolationMode, spriteOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(108)] public HResult CreateSvgGlyphStyle(ID2D1SvgGlyphStyle** svgGlyphStyle) @@ -921,7 +925,7 @@ public unsafe partial struct ID2D1DeviceContext4 return ((delegate* unmanaged[Stdcall])(lpVtbl[108]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), svgGlyphStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(109)] public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.RectF* layoutRect, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -929,7 +933,7 @@ public unsafe partial struct ID2D1DeviceContext4 ((delegate* unmanaged[Stdcall])(lpVtbl[109]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(110)] public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, DrawTextOptions options) @@ -937,7 +941,7 @@ public unsafe partial struct ID2D1DeviceContext4 ((delegate* unmanaged[Stdcall])(lpVtbl[110]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, options); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(111)] public void DrawColorBitmapGlyphRun(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, Graphics.DirectWrite.MeasuringMode measuringMode, ColorBitmapGlyphSnapOption bitmapSnapOption) @@ -945,7 +949,7 @@ public unsafe partial struct ID2D1DeviceContext4 ((delegate* unmanaged[Stdcall])(lpVtbl[111]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, baselineOrigin, glyphRun, measuringMode, bitmapSnapOption); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(112)] public void DrawSvgGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -953,7 +957,7 @@ public unsafe partial struct ID2D1DeviceContext4 ((delegate* unmanaged[Stdcall])(lpVtbl[112]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(113)] public HResult GetColorBitmapGlyphImage(Graphics.DirectWrite.GlyphImageFormats glyphImageFormat, System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, float dpiX, float dpiY, Matrix3x2* glyphTransform, ID2D1Image** glyphImage) @@ -961,7 +965,7 @@ public unsafe partial struct ID2D1DeviceContext4 return ((delegate* unmanaged[Stdcall])(lpVtbl[113]))((ID2D1DeviceContext4*)Unsafe.AsPointer(ref this), glyphImageFormat, glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, dpiX, dpiY, glyphTransform, glyphImage); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(114)] public HResult GetSvgGlyphImage(System.Drawing.PointF glyphOrigin, Graphics.DirectWrite.IDWriteFontFace* fontFace, float fontEmSize, ushort glyphIndex, Bool32 isSideways, Matrix3x2* worldTransform, ID2D1Brush* defaultFillBrush, ID2D1SvgGlyphStyle* svgGlyphStyle, uint colorPaletteIndex, Matrix3x2* glyphTransform, ID2D1CommandList** glyphImage) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs index d0bcced..69f7596 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext5 [Guid("7836d248-68cc-4df6-b9e8-de991bf62eb7")] [NativeTypeName("struct ID2D1DeviceContext5 : ID2D1DeviceContext4")] [NativeInheritance("ID2D1DeviceContext4")] -public unsafe partial struct ID2D1DeviceContext5 +public unsafe partial struct ID2D1DeviceContext5 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext5)); +#endif public void** lpVtbl; @@ -969,7 +973,7 @@ public unsafe partial struct ID2D1DeviceContext5 return ((delegate* unmanaged[Stdcall])(lpVtbl[114]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), glyphOrigin, fontFace, fontEmSize, glyphIndex, isSideways, worldTransform, defaultFillBrush, svgGlyphStyle, colorPaletteIndex, glyphTransform, glyphImage); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(115)] public HResult CreateSvgDocument(Com.IStream* inputXmlStream, System.Drawing.SizeF viewportSize, ID2D1SvgDocument** svgDocument) @@ -977,7 +981,7 @@ public unsafe partial struct ID2D1DeviceContext5 return ((delegate* unmanaged[Stdcall])(lpVtbl[115]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), inputXmlStream, viewportSize, svgDocument); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(116)] public void DrawSvgDocument(ID2D1SvgDocument* svgDocument) @@ -985,7 +989,7 @@ public unsafe partial struct ID2D1DeviceContext5 ((delegate* unmanaged[Stdcall])(lpVtbl[116]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), svgDocument); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(117)] public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext) @@ -993,7 +997,7 @@ public unsafe partial struct ID2D1DeviceContext5 return ((delegate* unmanaged[Stdcall])(lpVtbl[117]))((ID2D1DeviceContext5*)Unsafe.AsPointer(ref this), colorSpace, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(118)] public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs index 7079f6f..3c91101 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DeviceContext6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DeviceContext6 [Guid("985f7e37-4ed0-4a19-98a3-15b0edfde306")] [NativeTypeName("struct ID2D1DeviceContext6 : ID2D1DeviceContext5")] [NativeInheritance("ID2D1DeviceContext5")] -public unsafe partial struct ID2D1DeviceContext6 +public unsafe partial struct ID2D1DeviceContext6 : INativeGuid { public static ref readonly Guid IID_ID2D1DeviceContext6 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DeviceContext6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DeviceContext6)); +#endif public void** lpVtbl; @@ -1001,7 +1005,7 @@ public unsafe partial struct ID2D1DeviceContext6 return ((delegate* unmanaged[Stdcall])(lpVtbl[118]))((ID2D1DeviceContext6*)Unsafe.AsPointer(ref this), simpleProfile, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(119)] public void BlendImage(ID2D1Image* image, Common.BlendMode blendMode, System.Drawing.PointF* targetOffset, Common.RectF* imageRectangle, InterpolationMode interpolationMode) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawInfo.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawInfo.cs index ecea460..5d75ae2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DrawInfo [Guid("693ce632-7f2f-45de-93fe-18d88b37aa21")] [NativeTypeName("struct ID2D1DrawInfo : ID2D1RenderInfo")] [NativeInheritance("ID2D1RenderInfo")] -public unsafe partial struct ID2D1DrawInfo +public unsafe partial struct ID2D1DrawInfo : INativeGuid { public static ref readonly Guid IID_ID2D1DrawInfo { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DrawInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawInfo)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1DrawInfo ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), instructionCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetPixelShaderConstantBuffer(byte* buffer, uint bufferCount) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1DrawInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetResourceTexture(uint textureIndex, ID2D1ResourceTexture* resourceTexture) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1DrawInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), textureIndex, resourceTexture); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetVertexShaderConstantBuffer(byte* buffer, uint bufferCount) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1DrawInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), buffer, bufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetPixelShader(Guid* shaderId, PixelOptions pixelOptions) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1DrawInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1DrawInfo*)Unsafe.AsPointer(ref this), shaderId, pixelOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult SetVertexProcessing(ID2D1VertexBuffer* vertexBuffer, VertexOptions vertexOptions, BlendDescription* blendDescription, VertexRange* vertexRange, Guid* vertexShader) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawTransform.cs index 301de10..515f22a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DrawTransform [Guid("36bfdcb6-9739-435d-a30d-a653beff6a6f")] [NativeTypeName("struct ID2D1DrawTransform : ID2D1Transform")] [NativeInheritance("ID2D1Transform")] -public unsafe partial struct ID2D1DrawTransform +public unsafe partial struct ID2D1DrawTransform : INativeGuid { public static ref readonly Guid IID_ID2D1DrawTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DrawTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawTransform)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1DrawTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1DrawTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetDrawInfo(ID2D1DrawInfo* drawInfo) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock.cs index f7bc96b..4d7e2b9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DrawingStateBlock [Guid("28506e39-ebf6-46a1-bb47-fd85565ab957")] [NativeTypeName("struct ID2D1DrawingStateBlock : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1DrawingStateBlock +public unsafe partial struct ID2D1DrawingStateBlock : INativeGuid { public static ref readonly Guid IID_ID2D1DrawingStateBlock { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DrawingStateBlock } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1DrawingStateBlock ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void GetDescription(DrawingStateDescription* stateDescription) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1DrawingStateBlock ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void SetDescription(DrawingStateDescription* stateDescription) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1DrawingStateBlock ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), stateDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1DrawingStateBlock ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1DrawingStateBlock*)Unsafe.AsPointer(ref this), textRenderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock1.cs index 69acb98..3e0bb0c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1DrawingStateBlock1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1DrawingStateBlock1 [Guid("689f1f85-c72e-4e33-8f19-85754efd5ace")] [NativeTypeName("struct ID2D1DrawingStateBlock1 : ID2D1DrawingStateBlock")] [NativeInheritance("ID2D1DrawingStateBlock")] -public unsafe partial struct ID2D1DrawingStateBlock1 +public unsafe partial struct ID2D1DrawingStateBlock1 : INativeGuid { public static ref readonly Guid IID_ID2D1DrawingStateBlock1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1DrawingStateBlock1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1DrawingStateBlock1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), textRenderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetDescription(DrawingStateDescription1* stateDescription) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1DrawingStateBlock1 ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1DrawingStateBlock1*)Unsafe.AsPointer(ref this), stateDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetDescription(DrawingStateDescription1* stateDescription) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Effect.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Effect.cs index 5eae29a..b7d1e9e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Effect.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Effect.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Effect [Guid("28211a43-7d89-476f-8181-2d6159b220ad")] [NativeTypeName("struct ID2D1Effect : ID2D1Properties")] [NativeInheritance("ID2D1Properties")] -public unsafe partial struct ID2D1Effect +public unsafe partial struct ID2D1Effect : INativeGuid { public static ref readonly Guid IID_ID2D1Effect { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Effect } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Effect)); +#endif public void** lpVtbl; @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1Effect return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, subProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public void SetInput(uint index, ID2D1Image* input, Bool32 invalidate) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1Effect ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input, invalidate); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult SetInputCount(uint inputCount) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1Effect return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Effect*)Unsafe.AsPointer(ref this), inputCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public void GetInput(uint index, ID2D1Image** input) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1Effect ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1Effect*)Unsafe.AsPointer(ref this), index, input); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public uint GetInputCount() @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1Effect return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1Effect*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public void GetOutput(ID2D1Image** outputImage) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs index 3804a5c..57c98d7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1EffectContext [Guid("3d9f916b-27dc-4ad7-b4f1-64945340f563")] [NativeTypeName("struct ID2D1EffectContext : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1EffectContext +public unsafe partial struct ID2D1EffectContext : INativeGuid { public static ref readonly Guid IID_ID2D1EffectContext { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1EffectContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void GetDpi(float* dpiX, float* dpiY) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1EffectContext ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateEffect(Guid* effectId, ID2D1Effect** effect) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effectId, effect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetMaximumSupportedFeatureLevel(Graphics.Direct3D.FeatureLevel* featureLevels, uint featureLevelsCount, Graphics.Direct3D.FeatureLevel* maximumSupportedFeatureLevel) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), featureLevels, featureLevelsCount, maximumSupportedFeatureLevel); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateTransformNodeFromEffect(ID2D1Effect* effect, ID2D1TransformNode** transformNode) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), effect, transformNode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateBlendTransform(uint numInputs, BlendDescription* blendDescription, ID2D1BlendTransform** transform) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), numInputs, blendDescription, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateBorderTransform(ExtendMode extendModeX, ExtendMode extendModeY, ID2D1BorderTransform** transform) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), extendModeX, extendModeY, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateOffsetTransform(System.Drawing.Point offset, ID2D1OffsetTransform** transform) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), offset, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateBoundsAdjustmentTransform(RawRect* outputRectangle, ID2D1BoundsAdjustmentTransform** transform) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), outputRectangle, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult LoadPixelShader(Guid* shaderId, byte* shaderBuffer, uint shaderBufferCount) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId, shaderBuffer, shaderBufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult LoadVertexShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult LoadComputeShader(Guid* resourceId, byte* shaderBuffer, uint shaderBufferCount) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, shaderBuffer, shaderBufferCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public Bool32 IsShaderLoaded(Guid* shaderId) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), shaderId); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateResourceTexture(Guid* resourceId, ResourceTextureProperties* resourceTextureProperties, byte* data, uint* strides, uint dataSize, ID2D1ResourceTexture** resourceTexture) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTextureProperties, data, strides, dataSize, resourceTexture); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult FindResourceTexture(Guid* resourceId, ID2D1ResourceTexture** resourceTexture) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, resourceTexture); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult CreateVertexBuffer(VertexBufferProperties* vertexBufferProperties, Guid* resourceId, CustomVertexBufferProperties* customVertexBufferProperties, ID2D1VertexBuffer** buffer) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), vertexBufferProperties, resourceId, customVertexBufferProperties, buffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult FindVertexBuffer(Guid* resourceId, ID2D1VertexBuffer** buffer) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), resourceId, buffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateColorContext(ColorSpace space, byte* profile, uint profileSize, ID2D1ColorContext** colorContext) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), space, profile, profileSize, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult CreateColorContextFromFilename(ushort* filename, ID2D1ColorContext** colorContext) @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), filename, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult CreateColorContextFromWicColorContext(Graphics.Imaging.IWICColorContext* wicColorContext, ID2D1ColorContext** colorContext) @@ -222,7 +226,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), wicColorContext, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult CheckFeatureSupport(Feature feature, void* featureSupportData, uint featureSupportDataSize) @@ -230,7 +234,7 @@ public unsafe partial struct ID2D1EffectContext return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID2D1EffectContext*)Unsafe.AsPointer(ref this), feature, featureSupportData, featureSupportDataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public Bool32 IsBufferPrecisionSupported(BufferPrecision bufferPrecision) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs index 6485ebc..866b15c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1EffectContext1 [Guid("84ab595a-fc81-4546-bacd-e8ef4d8abe7a")] [NativeTypeName("struct ID2D1EffectContext1 : ID2D1EffectContext")] [NativeInheritance("ID2D1EffectContext")] -public unsafe partial struct ID2D1EffectContext1 +public unsafe partial struct ID2D1EffectContext1 : INativeGuid { public static ref readonly Guid IID_ID2D1EffectContext1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1EffectContext1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext1)); +#endif public void** lpVtbl; @@ -238,7 +242,7 @@ public unsafe partial struct ID2D1EffectContext1 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1EffectContext1*)Unsafe.AsPointer(ref this), bufferPrecision); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CreateLookupTable3D(BufferPrecision precision, uint* extents, byte* data, uint dataCount, uint* strides, ID2D1LookupTable3D** lookupTable) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs index a27dbfa..6e8f292 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectContext2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1EffectContext2 [Guid("577ad2a0-9fc7-4dda-8b18-dab810140052")] [NativeTypeName("struct ID2D1EffectContext2 : ID2D1EffectContext1")] [NativeInheritance("ID2D1EffectContext1")] -public unsafe partial struct ID2D1EffectContext2 +public unsafe partial struct ID2D1EffectContext2 : INativeGuid { public static ref readonly Guid IID_ID2D1EffectContext2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1EffectContext2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectContext2)); +#endif public void** lpVtbl; @@ -246,7 +250,7 @@ public unsafe partial struct ID2D1EffectContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), precision, extents, data, dataCount, strides, lookupTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CreateColorContextFromDxgiColorSpace(Graphics.Dxgi.Common.ColorSpaceType colorSpace, ID2D1ColorContext1** colorContext) @@ -254,7 +258,7 @@ public unsafe partial struct ID2D1EffectContext2 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1EffectContext2*)Unsafe.AsPointer(ref this), colorSpace, colorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult CreateColorContextFromSimpleColorProfile(SimpleColorProfile* simpleProfile, ID2D1ColorContext1** colorContext) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectImpl.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectImpl.cs index e50a5f6..91b2204 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectImpl.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EffectImpl.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1EffectImpl [Guid("a248fd3f-3e6c-4e63-9f03-7f68ecc91db9")] [NativeTypeName("struct ID2D1EffectImpl : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1EffectImpl +public unsafe partial struct ID2D1EffectImpl : INativeGuid { public static ref readonly Guid IID_ID2D1EffectImpl { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1EffectImpl } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EffectImpl)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1EffectImpl return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Initialize(ID2D1EffectContext* effectContext, ID2D1TransformGraph* transformGraph) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1EffectImpl return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), effectContext, transformGraph); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult PrepareForRender(ChangeType changeType) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1EffectImpl return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1EffectImpl*)Unsafe.AsPointer(ref this), changeType); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetGraph(ID2D1TransformGraph* transformGraph) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs index ded8741..01b5528 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1EllipseGeometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1EllipseGeometry [Guid("2cd906a4-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1EllipseGeometry : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1EllipseGeometry +public unsafe partial struct ID2D1EllipseGeometry : INativeGuid { public static ref readonly Guid IID_ID2D1EllipseGeometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1EllipseGeometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1EllipseGeometry)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1EllipseGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1EllipseGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void GetEllipse(Ellipse* ellipse) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory.cs index 8d38014..9635014 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory [Guid("06152247-6f50-465a-9245-118bfd3b6007")] [NativeTypeName("struct ID2D1Factory : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1Factory +public unsafe partial struct ID2D1Factory : INativeGuid { public static ref readonly Guid IID_ID2D1Factory { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult ReloadSystemMetrics() @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Factory*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void GetDesktopDpi(float* dpiX, float* dpiY) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Factory ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateRectangleGeometry(Common.RectF* rectangle, ID2D1RectangleGeometry** rectangleGeometry) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Factory*)Unsafe.AsPointer(ref this), rectangle, rectangleGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateRoundedRectangleGeometry(RoundedRect* roundedRectangle, ID2D1RoundedRectangleGeometry** roundedRectangleGeometry) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Factory*)Unsafe.AsPointer(ref this), roundedRectangle, roundedRectangleGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateEllipseGeometry(Ellipse* ellipse, ID2D1EllipseGeometry** ellipseGeometry) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Factory*)Unsafe.AsPointer(ref this), ellipse, ellipseGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateGeometryGroup(Common.FillMode fillMode, ID2D1Geometry** geometries, uint geometriesCount, ID2D1GeometryGroup** geometryGroup) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Factory*)Unsafe.AsPointer(ref this), fillMode, geometries, geometriesCount, geometryGroup); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateTransformedGeometry(ID2D1Geometry* sourceGeometry, Matrix3x2* transform, ID2D1TransformedGeometry** transformedGeometry) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Factory*)Unsafe.AsPointer(ref this), sourceGeometry, transform, transformedGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreatePathGeometry(ID2D1PathGeometry** pathGeometry) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Factory*)Unsafe.AsPointer(ref this), pathGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateStrokeStyle(StrokeStyleProperties* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle** strokeStyle) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Factory*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateDrawingStateBlock(DrawingStateDescription* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock** drawingStateBlock) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Factory*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateWicBitmapRenderTarget(Graphics.Imaging.IWICBitmap* target, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1Factory*)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreateHwndRenderTarget(RenderTargetProperties* renderTargetProperties, HwndRenderTargetProperties* hwndRenderTargetProperties, ID2D1HwndRenderTarget** hwndRenderTarget) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1Factory*)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateDxgiSurfaceRenderTarget(Graphics.Dxgi.IDXGISurface* dxgiSurface, RenderTargetProperties* renderTargetProperties, ID2D1RenderTarget** renderTarget) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1Factory return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Factory*)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult CreateDCRenderTarget(RenderTargetProperties* renderTargetProperties, ID2D1DCRenderTarget** dcRenderTarget) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory1.cs index 8c59043..b42461e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory1 [Guid("bb12d362-daee-4b9a-aa1d-14ba401cfa1f")] [NativeTypeName("struct ID2D1Factory1 : ID2D1Factory")] [NativeInheritance("ID2D1Factory")] -public unsafe partial struct ID2D1Factory1 +public unsafe partial struct ID2D1Factory1 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory1)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device** d2dDevice) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult CreateStrokeStyle(StrokeStyleProperties1* strokeStyleProperties, float* dashes, uint dashesCount, ID2D1StrokeStyle1** strokeStyle) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), strokeStyleProperties, dashes, dashesCount, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreatePathGeometry(ID2D1PathGeometry1** pathGeometry) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), pathGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult CreateDrawingStateBlock(DrawingStateDescription1* drawingStateDescription, Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams, ID2D1DrawingStateBlock1** drawingStateBlock) @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), drawingStateDescription, textRenderingParams, drawingStateBlock); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult CreateGdiMetafile(Com.IStream* metafileStream, ID2D1GdiMetafile** metafile) @@ -222,7 +226,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), metafileStream, metafile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult RegisterEffectFromStream(Guid* classId, Com.IStream* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall] effectFactory) @@ -230,7 +234,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall], int>)(lpVtbl[22]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult RegisterEffectFromString(Guid* classId, ushort* propertyXml, PropertyBinding* bindings, uint bindingsCount, delegate* unmanaged[Stdcall] effectFactory) @@ -238,7 +242,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall], int>)(lpVtbl[23]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId, propertyXml, bindings, bindingsCount, effectFactory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult UnregisterEffect(Guid* classId) @@ -246,7 +250,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), classId); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult GetRegisteredEffects(Guid* effects, uint effectsCount, uint* effectsReturned, uint* effectsRegistered) @@ -254,7 +258,7 @@ public unsafe partial struct ID2D1Factory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1Factory1*)Unsafe.AsPointer(ref this), effects, effectsCount, effectsReturned, effectsRegistered); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult GetEffectProperties(Guid* effectId, ID2D1Properties** properties) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory2.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory2.cs index 8aebccd..5171def 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory2 [Guid("94f81a73-9212-4376-9c58-b16a3a0d3992")] [NativeTypeName("struct ID2D1Factory2 : ID2D1Factory1")] [NativeInheritance("ID2D1Factory1")] -public unsafe partial struct ID2D1Factory2 +public unsafe partial struct ID2D1Factory2 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory2 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory2)); +#endif public void** lpVtbl; @@ -262,7 +266,7 @@ public unsafe partial struct ID2D1Factory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1Factory2*)Unsafe.AsPointer(ref this), effectId, properties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device1** d2dDevice1) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory3.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory3.cs index 74cc377..14ac5b2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory3 [Guid("0869759f-4f00-413f-b03e-2bda45404d0f")] [NativeTypeName("struct ID2D1Factory3 : ID2D1Factory2")] [NativeInheritance("ID2D1Factory2")] -public unsafe partial struct ID2D1Factory3 +public unsafe partial struct ID2D1Factory3 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory3 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory3)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct ID2D1Factory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1Factory3*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice1); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device2** d2dDevice2) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory4.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory4.cs index 1527410..ceeac1f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory4 [Guid("bd4ec2d2-0662-4bee-ba8e-6f29f032e096")] [NativeTypeName("struct ID2D1Factory4 : ID2D1Factory3")] [NativeInheritance("ID2D1Factory3")] -public unsafe partial struct ID2D1Factory4 +public unsafe partial struct ID2D1Factory4 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory4 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory4)); +#endif public void** lpVtbl; @@ -278,7 +282,7 @@ public unsafe partial struct ID2D1Factory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1Factory4*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device3** d2dDevice3) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory5.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory5.cs index d02ba6c..fb0bcd8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory5 [Guid("c4349994-838e-4b0f-8cab-44997d9eeacc")] [NativeTypeName("struct ID2D1Factory5 : ID2D1Factory4")] [NativeInheritance("ID2D1Factory4")] -public unsafe partial struct ID2D1Factory5 +public unsafe partial struct ID2D1Factory5 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory5 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory5)); +#endif public void** lpVtbl; @@ -286,7 +290,7 @@ public unsafe partial struct ID2D1Factory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1Factory5*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice3); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device4** d2dDevice4) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory6.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory6.cs index 62f7173..7334699 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory6 [Guid("f9976f46-f642-44c1-97ca-da32ea2a2635")] [NativeTypeName("struct ID2D1Factory6 : ID2D1Factory5")] [NativeInheritance("ID2D1Factory5")] -public unsafe partial struct ID2D1Factory6 +public unsafe partial struct ID2D1Factory6 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory6 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory6)); +#endif public void** lpVtbl; @@ -294,7 +298,7 @@ public unsafe partial struct ID2D1Factory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1Factory6*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice4); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device5** d2dDevice5) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory7.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory7.cs index 08f3ada..11dd733 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory7.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Factory7.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Factory7 [Guid("bdc2bdd3-b96c-4de6-bdf7-99d4745454de")] [NativeTypeName("struct ID2D1Factory7 : ID2D1Factory6")] [NativeInheritance("ID2D1Factory6")] -public unsafe partial struct ID2D1Factory7 +public unsafe partial struct ID2D1Factory7 : INativeGuid { public static ref readonly Guid IID_ID2D1Factory7 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Factory7 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Factory7)); +#endif public void** lpVtbl; @@ -302,7 +306,7 @@ public unsafe partial struct ID2D1Factory7 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1Factory7*)Unsafe.AsPointer(ref this), dxgiDevice, d2dDevice5); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult CreateDevice(Graphics.Dxgi.IDXGIDevice* dxgiDevice, ID2D1Device6** d2dDevice6) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiInteropRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiInteropRenderTarget.cs index c844226..26c8cd6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiInteropRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiInteropRenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GdiInteropRenderTarget [Guid("e0db51c3-6f77-4bae-b3d5-e47509b35838")] [NativeTypeName("struct ID2D1GdiInteropRenderTarget : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1GdiInteropRenderTarget +public unsafe partial struct ID2D1GdiInteropRenderTarget : INativeGuid { public static ref readonly Guid IID_ID2D1GdiInteropRenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiInteropRenderTarget)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetDC(DCInitializeMode mode, IntPtr* hdc) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1GdiInteropRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GdiInteropRenderTarget*)Unsafe.AsPointer(ref this), mode, hdc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult ReleaseDC(RawRect* update) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile.cs index 276f034..3d808f8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GdiMetafile [Guid("2f543dc3-cfc1-4211-864f-cfd91c6f3395")] [NativeTypeName("struct ID2D1GdiMetafile : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1GdiMetafile +public unsafe partial struct ID2D1GdiMetafile : INativeGuid { public static ref readonly Guid IID_ID2D1GdiMetafile { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GdiMetafile } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1GdiMetafile ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Stream(ID2D1GdiMetafileSink* sink) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1GdiMetafile return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1GdiMetafile*)Unsafe.AsPointer(ref this), sink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetBounds(Common.RectF* bounds) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile1.cs index e4035e0..53b46c8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafile1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GdiMetafile1 [Guid("2e69f9e8-dd3f-4bf9-95ba-c04f49d788df")] [NativeTypeName("struct ID2D1GdiMetafile1 : ID2D1GdiMetafile")] [NativeInheritance("ID2D1GdiMetafile")] -public unsafe partial struct ID2D1GdiMetafile1 +public unsafe partial struct ID2D1GdiMetafile1 : INativeGuid { public static ref readonly Guid IID_ID2D1GdiMetafile1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GdiMetafile1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafile1)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1GdiMetafile1 return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), bounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetDpi(float* dpiX, float* dpiY) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1GdiMetafile1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GdiMetafile1*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetSourceBounds(Common.RectF* bounds) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink.cs index 539b91e..1b073fb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GdiMetafileSink [Guid("82237326-8111-4f7c-bcf4-b5c1175564fe")] [NativeTypeName("struct ID2D1GdiMetafileSink : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1GdiMetafileSink +public unsafe partial struct ID2D1GdiMetafileSink : INativeGuid { public static ref readonly Guid IID_ID2D1GdiMetafileSink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GdiMetafileSink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1GdiMetafileSink return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink1.cs index 8eff53f..1a0bc6b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GdiMetafileSink1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GdiMetafileSink1 [Guid("fd0ecb6b-91e6-411e-8655-395e760f91b4")] [NativeTypeName("struct ID2D1GdiMetafileSink1 : ID2D1GdiMetafileSink")] [NativeInheritance("ID2D1GdiMetafileSink")] -public unsafe partial struct ID2D1GdiMetafileSink1 +public unsafe partial struct ID2D1GdiMetafileSink1 : INativeGuid { public static ref readonly Guid IID_ID2D1GdiMetafileSink1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GdiMetafileSink1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GdiMetafileSink1)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1GdiMetafileSink1 return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GdiMetafileSink1*)Unsafe.AsPointer(ref this), recordType, recordData, recordDataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult ProcessRecord(uint recordType, void* recordData, uint recordDataSize, uint flags) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs index 3feb8c6..d7bdf00 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Geometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Geometry [Guid("2cd906a1-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1Geometry : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Geometry +public unsafe partial struct ID2D1Geometry : INativeGuid { public static ref readonly Guid IID_ID2D1Geometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Geometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Geometry)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Geometry ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetBounds(Matrix3x2* worldTransform, Common.RectF* bounds) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, bounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetWidenedBounds(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.RectF* bounds) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, bounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult StrokeContainsPoint(System.Drawing.PointF point, float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, strokeWidth, strokeStyle, worldTransform, flatteningTolerance, contains); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult FillContainsPoint(System.Drawing.PointF point, Matrix3x2* worldTransform, float flatteningTolerance, Bool32* contains) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), point, worldTransform, flatteningTolerance, contains); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CompareWithGeometry(ID2D1Geometry* inputGeometry, Matrix3x2* inputGeometryTransform, float flatteningTolerance, GeometryRelation* relation) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, inputGeometryTransform, flatteningTolerance, relation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult Simplify(GeometrySimplificationOption simplificationOption, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), simplificationOption, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult Tessellate(Matrix3x2* worldTransform, float flatteningTolerance, ID2D1TessellationSink* tessellationSink) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, tessellationSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CombineWithGeometry(ID2D1Geometry* inputGeometry, CombineMode combineMode, Matrix3x2* inputGeometryTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), inputGeometry, combineMode, inputGeometryTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult Outline(Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult ComputeArea(Matrix3x2* worldTransform, float flatteningTolerance, float* area) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, area); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult ComputeLength(Matrix3x2* worldTransform, float flatteningTolerance, float* length) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), worldTransform, flatteningTolerance, length); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult ComputePointAtLength(float length, Matrix3x2* worldTransform, float flatteningTolerance, System.Drawing.PointF* point, System.Drawing.PointF* unitTangentVector) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1Geometry return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1Geometry*)Unsafe.AsPointer(ref this), length, worldTransform, flatteningTolerance, point, unitTangentVector); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult Widen(float strokeWidth, ID2D1StrokeStyle* strokeStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs index 42076f3..589eaf4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryGroup.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GeometryGroup [Guid("2cd906a6-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1GeometryGroup : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1GeometryGroup +public unsafe partial struct ID2D1GeometryGroup : INativeGuid { public static ref readonly Guid IID_ID2D1GeometryGroup { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GeometryGroup } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryGroup)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1GeometryGroup return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public Common.FillMode GetFillMode() @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1GeometryGroup return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public uint GetSourceGeometryCount() @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1GeometryGroup return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1GeometryGroup*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public void GetSourceGeometries(ID2D1Geometry** geometries, uint geometriesCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryRealization.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryRealization.cs index 03ddab1..ab14080 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryRealization.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometryRealization.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GeometryRealization [Guid("a16907d7-bc02-4801-99e8-8cf7f485f774")] [NativeTypeName("struct ID2D1GeometryRealization : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1GeometryRealization +public unsafe partial struct ID2D1GeometryRealization : INativeGuid { public static ref readonly Guid IID_ID2D1GeometryRealization { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GeometryRealization } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometryRealization)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs index bfeef51..3167bcd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GeometrySink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GeometrySink [Guid("2cd9069f-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1GeometrySink : ID2D1SimplifiedGeometrySink")] [NativeInheritance("ID2D1SimplifiedGeometrySink")] -public unsafe partial struct ID2D1GeometrySink +public unsafe partial struct ID2D1GeometrySink : INativeGuid { public static ref readonly Guid IID_ID2D1GeometrySink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GeometrySink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GeometrySink)); +#endif public void** lpVtbl; @@ -100,7 +104,7 @@ public unsafe partial struct ID2D1GeometrySink return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void AddLine(System.Drawing.PointF point) @@ -108,7 +112,7 @@ public unsafe partial struct ID2D1GeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), point); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void AddBezier(Common.BezierSegment* bezier) @@ -116,7 +120,7 @@ public unsafe partial struct ID2D1GeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void AddQuadraticBezier(QuadraticBezierSegment* bezier) @@ -124,7 +128,7 @@ public unsafe partial struct ID2D1GeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), bezier); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void AddQuadraticBeziers(QuadraticBezierSegment* beziers, uint beziersCount) @@ -132,7 +136,7 @@ public unsafe partial struct ID2D1GeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1GeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void AddArc(ArcSegment* arc) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientMesh.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientMesh.cs index 78b5fbe..7f4c020 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientMesh.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientMesh.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GradientMesh [Guid("f292e401-c050-4cde-83d7-04962d3b23c2")] [NativeTypeName("struct ID2D1GradientMesh : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1GradientMesh +public unsafe partial struct ID2D1GradientMesh : INativeGuid { public static ref readonly Guid IID_ID2D1GradientMesh { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GradientMesh } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientMesh)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1GradientMesh ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetPatchCount() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1GradientMesh return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1GradientMesh*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetPatches(uint startIndex, GradientMeshPatch* patches, uint patchesCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection.cs index 2d8b3a5..20dba59 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GradientStopCollection [Guid("2cd906a7-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1GradientStopCollection : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1GradientStopCollection +public unsafe partial struct ID2D1GradientStopCollection : INativeGuid { public static ref readonly Guid IID_ID2D1GradientStopCollection { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GradientStopCollection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1GradientStopCollection ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetGradientStopCount() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1GradientStopCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetGradientStops(GradientStop* gradientStops, uint gradientStopsCount) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1GradientStopCollection ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public Gamma GetColorInterpolationGamma() @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1GradientStopCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1GradientStopCollection*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public ExtendMode GetExtendMode() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection1.cs index a1f5d9c..ce26365 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1GradientStopCollection1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1GradientStopCollection1 [Guid("ae1572f4-5dd0-4777-998b-9279472ae63b")] [NativeTypeName("struct ID2D1GradientStopCollection1 : ID2D1GradientStopCollection")] [NativeInheritance("ID2D1GradientStopCollection")] -public unsafe partial struct ID2D1GradientStopCollection1 +public unsafe partial struct ID2D1GradientStopCollection1 : INativeGuid { public static ref readonly Guid IID_ID2D1GradientStopCollection1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1GradientStopCollection1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1GradientStopCollection1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetGradientStops1(GradientStop* gradientStops, uint gradientStopsCount) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public ColorSpace GetPreInterpolationSpace() @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public ColorSpace GetPostInterpolationSpace() @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public BufferPrecision GetBufferPrecision() @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1GradientStopCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1GradientStopCollection1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public ColorInterpolationMode GetColorInterpolationMode() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs index 1529044..123bdf6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1HwndRenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1HwndRenderTarget [Guid("2cd90698-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1HwndRenderTarget : ID2D1RenderTarget")] [NativeInheritance("ID2D1RenderTarget")] -public unsafe partial struct ID2D1HwndRenderTarget +public unsafe partial struct ID2D1HwndRenderTarget : INativeGuid { public static ref readonly Guid IID_ID2D1HwndRenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1HwndRenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1HwndRenderTarget)); +#endif public void** lpVtbl; @@ -505,7 +509,7 @@ public unsafe partial struct ID2D1HwndRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), renderTargetProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public WindowState CheckWindowState() @@ -513,7 +517,7 @@ public unsafe partial struct ID2D1HwndRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] public HResult Resize(System.Drawing.Size* pixelSize) @@ -521,7 +525,7 @@ public unsafe partial struct ID2D1HwndRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((ID2D1HwndRenderTarget*)Unsafe.AsPointer(ref this), pixelSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(59)] public IntPtr GetHwnd() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Image.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Image.cs index 6c6923f..146ae46 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Image.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Image.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Image [Guid("65019f75-8da2-497c-b32c-dfa34e48ede6")] [NativeTypeName("struct ID2D1Image : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Image +public unsafe partial struct ID2D1Image : INativeGuid { public static ref readonly Guid IID_ID2D1Image { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Image } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Image)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs index 66d70f9..b7aa8f2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageBrush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ImageBrush [Guid("fe9e984d-3f95-407c-b5db-cb94d4e8f87c")] [NativeTypeName("struct ID2D1ImageBrush : ID2D1Brush")] [NativeInheritance("ID2D1Brush")] -public unsafe partial struct ID2D1ImageBrush +public unsafe partial struct ID2D1ImageBrush : INativeGuid { public static ref readonly Guid IID_ID2D1ImageBrush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ImageBrush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageBrush)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void SetImage(ID2D1Image* image) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetExtendModeX(ExtendMode extendModeX) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeX); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void SetExtendModeY(ExtendMode extendModeY) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), extendModeY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void SetInterpolationMode(InterpolationMode interpolationMode) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), interpolationMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public void SetSourceRectangle(Common.RectF* sourceRectangle) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public void GetImage(ID2D1Image** image) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1ImageBrush ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this), image); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public ExtendMode GetExtendModeX() @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1ImageBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public ExtendMode GetExtendModeY() @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1ImageBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public InterpolationMode GetInterpolationMode() @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1ImageBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1ImageBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void GetSourceRectangle(Common.RectF* sourceRectangle) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSource.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSource.cs index 26a9713..4493eb4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSource.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ImageSource [Guid("c9b664e5-74a1-4378-9ac2-eefc37a3f4d8")] [NativeTypeName("struct ID2D1ImageSource : ID2D1Image")] [NativeInheritance("ID2D1Image")] -public unsafe partial struct ID2D1ImageSource +public unsafe partial struct ID2D1ImageSource : INativeGuid { public static ref readonly Guid IID_ID2D1ImageSource { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ImageSource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSource)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1ImageSource ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult OfferResources() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1ImageSource return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1ImageSource*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult TryReclaimResources(Bool32* resourcesDiscarded) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSourceFromWic.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSourceFromWic.cs index 2b6f2cc..1b3cd89 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSourceFromWic.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ImageSourceFromWic.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ImageSourceFromWic [Guid("77395441-1c8f-4555-8683-f50dab0fe792")] [NativeTypeName("struct ID2D1ImageSourceFromWic : ID2D1ImageSource")] [NativeInheritance("ID2D1ImageSource")] -public unsafe partial struct ID2D1ImageSourceFromWic +public unsafe partial struct ID2D1ImageSourceFromWic : INativeGuid { public static ref readonly Guid IID_ID2D1ImageSourceFromWic { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ImageSourceFromWic } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ImageSourceFromWic)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), resourcesDiscarded); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult EnsureCached(Common.RectU* rectangleToFill) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToFill); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult TrimCache(Common.RectU* rectangleToPreserve) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1ImageSourceFromWic return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1ImageSourceFromWic*)Unsafe.AsPointer(ref this), rectangleToPreserve); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetSource(Graphics.Imaging.IWICBitmapSource** wicBitmapSource) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Ink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Ink.cs index 971ddb0..267058a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Ink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Ink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Ink [Guid("b499923b-7029-478f-a8b3-432c7c5f5312")] [NativeTypeName("struct ID2D1Ink : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Ink +public unsafe partial struct ID2D1Ink : INativeGuid { public static ref readonly Guid IID_ID2D1Ink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Ink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Ink)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Ink ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Ink*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetStartPoint(InkPoint* startPoint) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Ink ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startPoint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public InkPoint GetStartPoint() @@ -95,7 +99,7 @@ public unsafe partial struct ID2D1Ink return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Ink*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult AddSegments(InkBezierSegment* segments, uint segmentsCount) @@ -103,7 +107,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segments, segmentsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult RemoveSegmentsAtEnd(uint segmentsCount) @@ -111,7 +115,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segmentsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount) @@ -119,7 +123,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetSegmentAtEnd(InkBezierSegment* segment) @@ -127,7 +131,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Ink*)Unsafe.AsPointer(ref this), segment); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public uint GetSegmentCount() @@ -135,7 +139,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Ink*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetSegments(uint startSegment, InkBezierSegment* segments, uint segmentsCount) @@ -143,7 +147,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Ink*)Unsafe.AsPointer(ref this), startSegment, segments, segmentsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult StreamAsGeometry(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, float flatteningTolerance, Common.ID2D1SimplifiedGeometrySink* geometrySink) @@ -151,7 +155,7 @@ public unsafe partial struct ID2D1Ink return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Ink*)Unsafe.AsPointer(ref this), inkStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetBounds(ID2D1InkStyle* inkStyle, Matrix3x2* worldTransform, Common.RectF* bounds) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs index a0f9991..623e5f9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1InkStyle.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1InkStyle [Guid("bae8b344-23fc-4071-8cb5-d05d6f073848")] [NativeTypeName("struct ID2D1InkStyle : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1InkStyle +public unsafe partial struct ID2D1InkStyle : INativeGuid { public static ref readonly Guid IID_ID2D1InkStyle { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1InkStyle } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1InkStyle)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1InkStyle ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetNibTransform(Matrix3x2* transform) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1InkStyle ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetNibTransform(Matrix3x2* transform) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1InkStyle ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void SetNibShape(InkNibShape nibShape) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1InkStyle ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1InkStyle*)Unsafe.AsPointer(ref this), nibShape); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public InkNibShape GetNibShape() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Layer.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Layer.cs index 0302095..cc8240d 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Layer.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Layer.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Layer [Guid("2cd9069b-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1Layer : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Layer +public unsafe partial struct ID2D1Layer : INativeGuid { public static ref readonly Guid IID_ID2D1Layer { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Layer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Layer)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Layer ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Layer*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public System.Drawing.SizeF GetSize() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs index 713f552..cf9358c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LinearGradientBrush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1LinearGradientBrush [Guid("2cd906ab-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1LinearGradientBrush : ID2D1Brush")] [NativeInheritance("ID2D1Brush")] -public unsafe partial struct ID2D1LinearGradientBrush +public unsafe partial struct ID2D1LinearGradientBrush : INativeGuid { public static ref readonly Guid IID_ID2D1LinearGradientBrush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1LinearGradientBrush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LinearGradientBrush)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1LinearGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void SetStartPoint(System.Drawing.PointF startPoint) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1LinearGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), startPoint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetEndPoint(System.Drawing.PointF endPoint) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1LinearGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), endPoint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public System.Drawing.PointF GetStartPoint() @@ -135,7 +139,7 @@ public unsafe partial struct ID2D1LinearGradientBrush return *((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public System.Drawing.PointF GetEndPoint() @@ -144,7 +148,7 @@ public unsafe partial struct ID2D1LinearGradientBrush return *((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1LinearGradientBrush*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LookupTable3D.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LookupTable3D.cs index 4cd3b61..fdce585 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LookupTable3D.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1LookupTable3D.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1LookupTable3D [Guid("53dd9855-a3b0-4d5b-82e1-26e25c5e5797")] [NativeTypeName("struct ID2D1LookupTable3D : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1LookupTable3D +public unsafe partial struct ID2D1LookupTable3D : INativeGuid { public static ref readonly Guid IID_ID2D1LookupTable3D { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1LookupTable3D } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1LookupTable3D)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Mesh.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Mesh.cs index ea81ce6..1067cea 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Mesh.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Mesh.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Mesh [Guid("2cd906c2-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1Mesh : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1Mesh +public unsafe partial struct ID2D1Mesh : INativeGuid { public static ref readonly Guid IID_ID2D1Mesh { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Mesh } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Mesh)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Mesh ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Mesh*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Open(ID2D1TessellationSink** tessellationSink) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Multithread.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Multithread.cs index fc6a8a0..2c06c95 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Multithread.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Multithread.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Multithread [Guid("31e6e7bc-e0ff-4d46-8c64-a0a8c41c15d3")] [NativeTypeName("struct ID2D1Multithread : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1Multithread +public unsafe partial struct ID2D1Multithread : INativeGuid { public static ref readonly Guid IID_ID2D1Multithread { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Multithread } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Multithread)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1Multithread return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public Bool32 GetMultithreadProtected() @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Multithread return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Multithread*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void Enter() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Multithread ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Multithread*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void Leave() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs index 817eb5a..fe9cce4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1OffsetTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1OffsetTransform [Guid("3fe6adea-7643-4f53-bd14-a0ce63f24042")] [NativeTypeName("struct ID2D1OffsetTransform : ID2D1TransformNode")] [NativeInheritance("ID2D1TransformNode")] -public unsafe partial struct ID2D1OffsetTransform +public unsafe partial struct ID2D1OffsetTransform : INativeGuid { public static ref readonly Guid IID_ID2D1OffsetTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1OffsetTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1OffsetTransform)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1OffsetTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetOffset(System.Drawing.Point offset) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1OffsetTransform ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1OffsetTransform*)Unsafe.AsPointer(ref this), offset); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public System.Drawing.Point GetOffset() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs index a1f7883..26a1066 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1PathGeometry [Guid("2cd906a5-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1PathGeometry : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1PathGeometry +public unsafe partial struct ID2D1PathGeometry : INativeGuid { public static ref readonly Guid IID_ID2D1PathGeometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1PathGeometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1PathGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult Open(ID2D1GeometrySink** geometrySink) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1PathGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult Stream(ID2D1GeometrySink* geometrySink) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1PathGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetSegmentCount(uint* count) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1PathGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1PathGeometry*)Unsafe.AsPointer(ref this), count); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult GetFigureCount(uint* count) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs index 385ed34..522e7b3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PathGeometry1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1PathGeometry1 [Guid("62baa2d2-ab54-41b7-b872-787e0106a421")] [NativeTypeName("struct ID2D1PathGeometry1 : ID2D1PathGeometry")] [NativeInheritance("ID2D1PathGeometry")] -public unsafe partial struct ID2D1PathGeometry1 +public unsafe partial struct ID2D1PathGeometry1 : INativeGuid { public static ref readonly Guid IID_ID2D1PathGeometry1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1PathGeometry1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PathGeometry1)); +#endif public void** lpVtbl; @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1PathGeometry1 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1PathGeometry1*)Unsafe.AsPointer(ref this), count); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult ComputePointAndSegmentAtLength(float length, uint startSegment, Matrix3x2* worldTransform, float flatteningTolerance, PointDescription* pointDescription) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PrintControl.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PrintControl.cs index 9649cb2..2a70bd9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PrintControl.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1PrintControl.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1PrintControl [Guid("2c1d867d-c290-41c8-ae7e-34a98702e9a5")] [NativeTypeName("struct ID2D1PrintControl : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1PrintControl +public unsafe partial struct ID2D1PrintControl : INativeGuid { public static ref readonly Guid IID_ID2D1PrintControl { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1PrintControl } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1PrintControl)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1PrintControl return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AddPage(ID2D1CommandList* commandList, System.Drawing.SizeF pageSize, Com.IStream* pagePrintTicketStream, ulong* tag1, ulong* tag2) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1PrintControl return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1PrintControl*)Unsafe.AsPointer(ref this), commandList, pageSize, pagePrintTicketStream, tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Close() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Properties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Properties.cs index 9484c94..434b3e6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Properties.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Properties.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Properties [Guid("483473d7-cd46-4f9d-9d3a-3112aa80159d")] [NativeTypeName("struct ID2D1Properties : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1Properties +public unsafe partial struct ID2D1Properties : INativeGuid { public static ref readonly Guid IID_ID2D1Properties { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Properties } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Properties)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetPropertyCount() @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Properties*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetPropertyName(uint index, ushort* name, uint nameCount) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, name, nameCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public uint GetPropertyNameLength(uint index) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public PropertyType GetType(uint index) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public uint GetPropertyIndex(ushort* name) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetValue(uint index, PropertyType type, byte* data, uint dataSize) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetValueByName(ushort* name, PropertyType type, byte* data, uint dataSize) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1Properties*)Unsafe.AsPointer(ref this), name, type, data, dataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetValue(uint index, PropertyType type, byte* data, uint dataSize) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index, type, data, dataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public uint GetValueSize(uint index) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1Properties return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1Properties*)Unsafe.AsPointer(ref this), index); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetSubProperties(uint index, ID2D1Properties** subProperties) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs index 8cc92bb..2297831 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RadialGradientBrush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1RadialGradientBrush [Guid("2cd906ac-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1RadialGradientBrush : ID2D1Brush")] [NativeInheritance("ID2D1Brush")] -public unsafe partial struct ID2D1RadialGradientBrush +public unsafe partial struct ID2D1RadialGradientBrush : INativeGuid { public static ref readonly Guid IID_ID2D1RadialGradientBrush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1RadialGradientBrush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RadialGradientBrush)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1RadialGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void SetCenter(System.Drawing.PointF center) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1RadialGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), center); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void SetGradientOriginOffset(System.Drawing.PointF gradientOriginOffset) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1RadialGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), gradientOriginOffset); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void SetRadiusX(float radiusX) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1RadialGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusX); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void SetRadiusY(float radiusY) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1RadialGradientBrush ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), radiusY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public System.Drawing.PointF GetCenter() @@ -151,7 +155,7 @@ public unsafe partial struct ID2D1RadialGradientBrush return *((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public System.Drawing.PointF GetGradientOriginOffset() @@ -160,7 +164,7 @@ public unsafe partial struct ID2D1RadialGradientBrush return *((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public float GetRadiusX() @@ -168,7 +172,7 @@ public unsafe partial struct ID2D1RadialGradientBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public float GetRadiusY() @@ -176,7 +180,7 @@ public unsafe partial struct ID2D1RadialGradientBrush return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RadialGradientBrush*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public void GetGradientStopCollection(ID2D1GradientStopCollection** gradientStopCollection) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs index 9f207c1..07a30b5 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RectangleGeometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1RectangleGeometry [Guid("2cd906a2-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1RectangleGeometry : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1RectangleGeometry +public unsafe partial struct ID2D1RectangleGeometry : INativeGuid { public static ref readonly Guid IID_ID2D1RectangleGeometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1RectangleGeometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RectangleGeometry)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1RectangleGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1RectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void GetRect(Common.RectF* rect) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderInfo.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderInfo.cs index fd04e9e..26b7ccd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1RenderInfo [Guid("519ae1bd-d19a-420d-b849-364f594776b7")] [NativeTypeName("struct ID2D1RenderInfo : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1RenderInfo +public unsafe partial struct ID2D1RenderInfo : INativeGuid { public static ref readonly Guid IID_ID2D1RenderInfo { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1RenderInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderInfo)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1RenderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetInputDescription(uint inputIndex, InputDescription* inputDescription) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1RenderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), inputIndex, inputDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetOutputBuffer(BufferPrecision bufferPrecision, ChannelDepth channelDepth) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1RenderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), bufferPrecision, channelDepth); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void SetCached(Bool32 isCached) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1RenderInfo ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1RenderInfo*)Unsafe.AsPointer(ref this), isCached); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void SetInstructionCountHint(uint instructionCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs index ca9ced0..c5db961 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1RenderTarget [Guid("2cd90694-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1RenderTarget : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1RenderTarget +public unsafe partial struct ID2D1RenderTarget : INativeGuid { public static ref readonly Guid IID_ID2D1RenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1RenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RenderTarget)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateBitmap(System.Drawing.Size size, void* srcData, uint pitch, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, srcData, pitch, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateBitmapFromWicBitmap(Graphics.Imaging.IWICBitmapSource* wicBitmapSource, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), wicBitmapSource, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateSharedBitmap(Guid* riid, void* data, BitmapProperties* bitmapProperties, ID2D1Bitmap** bitmap) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), riid, data, bitmapProperties, bitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateBitmapBrush(ID2D1Bitmap* bitmap, BitmapBrushProperties* bitmapBrushProperties, BrushProperties* brushProperties, ID2D1BitmapBrush** bitmapBrush) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, bitmapBrushProperties, brushProperties, bitmapBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateSolidColorBrush(Color4* color, BrushProperties* brushProperties, ID2D1SolidColorBrush** solidColorBrush) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), color, brushProperties, solidColorBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateGradientStopCollection(GradientStop* gradientStops, uint gradientStopsCount, Gamma colorInterpolationGamma, ExtendMode extendMode, ID2D1GradientStopCollection** gradientStopCollection) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), gradientStops, gradientStopsCount, colorInterpolationGamma, extendMode, gradientStopCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateLinearGradientBrush(LinearGradientBrushProperties* linearGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1LinearGradientBrush** linearGradientBrush) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), linearGradientBrushProperties, brushProperties, gradientStopCollection, linearGradientBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateRadialGradientBrush(RadialGradientBrushProperties* radialGradientBrushProperties, BrushProperties* brushProperties, ID2D1GradientStopCollection* gradientStopCollection, ID2D1RadialGradientBrush** radialGradientBrush) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), radialGradientBrushProperties, brushProperties, gradientStopCollection, radialGradientBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateCompatibleRenderTarget(System.Drawing.SizeF* desiredSize, System.Drawing.Size* desiredPixelSize, Common.PixelFormat* desiredFormat, CompatibleRenderTargetOptions options, ID2D1BitmapRenderTarget** bitmapRenderTarget) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateLayer(System.Drawing.SizeF* size, ID2D1Layer** layer) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), size, layer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreateMesh(ID2D1Mesh** mesh) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public void DrawLine(System.Drawing.PointF point0, System.Drawing.PointF point1, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), point0, point1, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public void DrawRectangle(Common.RectF* rect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void FillRectangle(Common.RectF* rect, ID2D1Brush* brush) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), rect, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public void DrawRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public void FillRoundedRectangle(RoundedRect* roundedRect, ID2D1Brush* brush) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), roundedRect, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public void DrawEllipse(Ellipse* ellipse, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public void FillEllipse(Ellipse* ellipse, ID2D1Brush* brush) @@ -222,7 +226,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), ellipse, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public void DrawGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, float strokeWidth, ID2D1StrokeStyle* strokeStyle) @@ -230,7 +234,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, strokeWidth, strokeStyle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public void FillGeometry(ID2D1Geometry* geometry, ID2D1Brush* brush, ID2D1Brush* opacityBrush) @@ -238,7 +242,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), geometry, brush, opacityBrush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public void FillMesh(ID2D1Mesh* mesh, ID2D1Brush* brush) @@ -246,7 +250,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), mesh, brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public void FillOpacityMask(ID2D1Bitmap* opacityMask, ID2D1Brush* brush, OpacityMaskContent content, Common.RectF* destinationRectangle, Common.RectF* sourceRectangle) @@ -254,7 +258,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public void DrawBitmap(ID2D1Bitmap* bitmap, Common.RectF* destinationRectangle, float opacity, BitmapInterpolationMode interpolationMode, Common.RectF* sourceRectangle) @@ -262,7 +266,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), bitmap, destinationRectangle, opacity, interpolationMode, sourceRectangle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public void DrawText(ushort* @string, uint stringLength, Graphics.DirectWrite.IDWriteTextFormat* textFormat, Common.RectF* layoutRect, ID2D1Brush* defaultFillBrush, DrawTextOptions options, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -270,7 +274,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutRect, defaultFillBrush, options, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public void DrawTextLayout(System.Drawing.PointF origin, Graphics.DirectWrite.IDWriteTextLayout* textLayout, ID2D1Brush* defaultFillBrush, DrawTextOptions options) @@ -278,7 +282,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), origin, textLayout, defaultFillBrush, options); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public void DrawGlyphRun(System.Drawing.PointF baselineOrigin, Graphics.DirectWrite.GlyphRun* glyphRun, ID2D1Brush* foregroundBrush, Graphics.DirectWrite.MeasuringMode measuringMode) @@ -286,7 +290,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, foregroundBrush, measuringMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public void SetTransform(Matrix3x2* transform) @@ -294,7 +298,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public void GetTransform(Matrix3x2* transform) @@ -302,7 +306,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public void SetAntialiasMode(AntialiasMode antialiasMode) @@ -310,7 +314,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), antialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public AntialiasMode GetAntialiasMode() @@ -318,7 +322,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public void SetTextAntialiasMode(TextAntialiasMode textAntialiasMode) @@ -326,7 +330,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textAntialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public TextAntialiasMode GetTextAntialiasMode() @@ -334,7 +338,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public void SetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams* textRenderingParams) @@ -342,7 +346,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public void GetTextRenderingParams(Graphics.DirectWrite.IDWriteRenderingParams** textRenderingParams) @@ -350,7 +354,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), textRenderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public void SetTags(ulong tag1, ulong tag2) @@ -358,7 +362,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public void GetTags(ulong* tag1, ulong* tag2) @@ -366,7 +370,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public void PushLayer(LayerParameters* layerParameters, ID2D1Layer* layer) @@ -374,7 +378,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), layerParameters, layer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public void PopLayer() @@ -382,7 +386,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public HResult Flush(ulong* tag1, ulong* tag2) @@ -390,7 +394,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] public void SaveDrawingState(ID2D1DrawingStateBlock* drawingStateBlock) @@ -398,7 +402,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] public void RestoreDrawingState(ID2D1DrawingStateBlock* drawingStateBlock) @@ -406,7 +410,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), drawingStateBlock); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] public void PushAxisAlignedClip(Common.RectF* clipRect, AntialiasMode antialiasMode) @@ -414,7 +418,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clipRect, antialiasMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] public void PopAxisAlignedClip() @@ -422,7 +426,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(47)] public void Clear(Color4* clearColor) @@ -430,7 +434,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), clearColor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] public void BeginDraw() @@ -438,7 +442,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] public HResult EndDraw(ulong* tag1 = null, ulong* tag2 = null) @@ -446,7 +450,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), tag1, tag2); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] public Common.PixelFormat GetPixelFormat() @@ -455,7 +459,7 @@ public unsafe partial struct ID2D1RenderTarget return *((delegate* unmanaged[Stdcall])(lpVtbl[50]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] public void SetDpi(float dpiX, float dpiY) @@ -463,7 +467,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] public void GetDpi(float* dpiX, float* dpiY) @@ -471,7 +475,7 @@ public unsafe partial struct ID2D1RenderTarget ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] public System.Drawing.SizeF GetSize() @@ -480,7 +484,7 @@ public unsafe partial struct ID2D1RenderTarget return *((delegate* unmanaged[Stdcall])(lpVtbl[53]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] public System.Drawing.Size GetPixelSize() @@ -489,7 +493,7 @@ public unsafe partial struct ID2D1RenderTarget return *((delegate* unmanaged[Stdcall])(lpVtbl[54]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] public uint GetMaximumBitmapSize() @@ -497,7 +501,7 @@ public unsafe partial struct ID2D1RenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((ID2D1RenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] public Bool32 IsSupported(RenderTargetProperties* renderTargetProperties) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Resource.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Resource.cs index 06589fe..b80074b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Resource.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Resource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Resource [Guid("2cd90691-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1Resource : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1Resource +public unsafe partial struct ID2D1Resource : INativeGuid { public static ref readonly Guid IID_ID2D1Resource { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Resource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Resource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Resource)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1Resource return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void GetFactory(ID2D1Factory** factory) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ResourceTexture.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ResourceTexture.cs index b2df159..da907d3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ResourceTexture.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1ResourceTexture.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1ResourceTexture [Guid("688d15c3-02b0-438d-b13a-d1b44c32c39a")] [NativeTypeName("struct ID2D1ResourceTexture : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1ResourceTexture +public unsafe partial struct ID2D1ResourceTexture : INativeGuid { public static ref readonly Guid IID_ID2D1ResourceTexture { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1ResourceTexture } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ResourceTexture)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1ResourceTexture)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1ResourceTexture return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Update(uint* minimumExtents, uint* maximimumExtents, uint* strides, uint dimensions, byte* data, uint dataCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs index 32e4d67..679cb0c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1RoundedRectangleGeometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1RoundedRectangleGeometry [Guid("2cd906a3-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1RoundedRectangleGeometry : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1RoundedRectangleGeometry +public unsafe partial struct ID2D1RoundedRectangleGeometry : INativeGuid { public static ref readonly Guid IID_ID2D1RoundedRectangleGeometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RoundedRectangleGeometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1RoundedRectangleGeometry)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1RoundedRectangleGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1RoundedRectangleGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void GetRoundedRect(RoundedRect* roundedRect) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs index ad21658..f8668c4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SimplifiedGeometrySink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D.Common; -/// +/// /// ID2D1SimplifiedGeometrySink [Guid("2cd9069e-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1SimplifiedGeometrySink : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1SimplifiedGeometrySink +public unsafe partial struct ID2D1SimplifiedGeometrySink : INativeGuid { public static ref readonly Guid IID_ID2D1SimplifiedGeometrySink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SimplifiedGeometrySink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SimplifiedGeometrySink)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void SetFillMode(FillMode fillMode) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), fillMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetSegmentFlags(PathSegment vertexFlags) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), vertexFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void BeginFigure(System.Drawing.PointF startPoint, FigureBegin figureBegin) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), startPoint, figureBegin); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public void AddLines(System.Drawing.PointF* points, uint pointsCount) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), points, pointsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void AddBeziers(BezierSegment* beziers, uint beziersCount) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), beziers, beziersCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void EndFigure(FigureEnd figureEnd) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SimplifiedGeometrySink ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SimplifiedGeometrySink*)Unsafe.AsPointer(ref this), figureEnd); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult Close() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs index 90c33ab..4e002d6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SolidColorBrush.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SolidColorBrush [Guid("2cd906a9-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1SolidColorBrush : ID2D1Brush")] [NativeInheritance("ID2D1Brush")] -public unsafe partial struct ID2D1SolidColorBrush +public unsafe partial struct ID2D1SolidColorBrush : INativeGuid { public static ref readonly Guid IID_ID2D1SolidColorBrush { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SolidColorBrush } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SolidColorBrush)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SolidColorBrush)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SolidColorBrush ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void SetColor(Color4* color) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SolidColorBrush ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SolidColorBrush*)Unsafe.AsPointer(ref this), color); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public Color4 GetColor() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs index 008c7df..328254c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SourceTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SourceTransform [Guid("db1800dd-0c34-4cf9-be90-31cc0a5653e1")] [NativeTypeName("struct ID2D1SourceTransform : ID2D1Transform")] [NativeInheritance("ID2D1Transform")] -public unsafe partial struct ID2D1SourceTransform +public unsafe partial struct ID2D1SourceTransform : INativeGuid { public static ref readonly Guid IID_ID2D1SourceTransform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SourceTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SourceTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SourceTransform)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), inputIndex, invalidInputRect, invalidOutputRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetRenderInfo(ID2D1RenderInfo* renderInfo) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SourceTransform*)Unsafe.AsPointer(ref this), renderInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Draw(ID2D1Bitmap1* target, RawRect* drawRect, System.Drawing.Point targetOrigin) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs index f26aa34..c3bedea 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SpriteBatch.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SpriteBatch [Guid("4dc583bf-3a10-438a-8722-e9765224f1f1")] [NativeTypeName("struct ID2D1SpriteBatch : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1SpriteBatch +public unsafe partial struct ID2D1SpriteBatch : INativeGuid { public static ref readonly Guid IID_ID2D1SpriteBatch { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SpriteBatch } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SpriteBatch)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SpriteBatch)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SpriteBatch ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult AddSprites(uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SpriteBatch return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4* colors, Matrix3x2* transforms, uint destinationRectanglesStride, uint sourceRectanglesStride, uint colorsStride, uint transformsStride) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SpriteBatch return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms, destinationRectanglesStride, sourceRectanglesStride, colorsStride, transformsStride); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetSprites(uint startIndex, uint spriteCount, Common.RectF* destinationRectangles, Common.RectU* sourceRectangles, Color4** colors, Matrix3x2* transforms) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SpriteBatch return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this), startIndex, spriteCount, destinationRectangles, sourceRectangles, colors, transforms); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public uint GetSpriteCount() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SpriteBatch return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SpriteBatch*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void Clear() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle.cs index 643c256..e9565e2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1StrokeStyle [Guid("2cd9069d-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1StrokeStyle : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1StrokeStyle +public unsafe partial struct ID2D1StrokeStyle : INativeGuid { public static ref readonly Guid IID_ID2D1StrokeStyle { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1StrokeStyle } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1StrokeStyle ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public CapStyle GetStartCap() @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public CapStyle GetEndCap() @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public CapStyle GetDashCap() @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public float GetMiterLimit() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public LineJoin GetLineJoin() @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public float GetDashOffset() @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public DashStyle GetDashStyle() @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public uint GetDashesCount() @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1StrokeStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1StrokeStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public void GetDashes(float* dashes, uint dashesCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle1.cs index 622af82..b70365c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1StrokeStyle1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1StrokeStyle1 [Guid("10a72a66-e91c-43f4-993f-ddf4b82b0b4a")] [NativeTypeName("struct ID2D1StrokeStyle1 : ID2D1StrokeStyle")] [NativeInheritance("ID2D1StrokeStyle")] -public unsafe partial struct ID2D1StrokeStyle1 +public unsafe partial struct ID2D1StrokeStyle1 : INativeGuid { public static ref readonly Guid IID_ID2D1StrokeStyle1 { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1StrokeStyle1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1StrokeStyle1)); +#endif public void** lpVtbl; @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1StrokeStyle1 ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1StrokeStyle1*)Unsafe.AsPointer(ref this), dashes, dashesCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public StrokeTransformType GetStrokeTransformType() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgAttribute.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgAttribute.cs index 7e66eee..8f404fa 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgAttribute.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgAttribute.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgAttribute [Guid("c9cdb0dd-f8c9-4e70-b7c2-301c80292c5e")] [NativeTypeName("struct ID2D1SvgAttribute : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1SvgAttribute +public unsafe partial struct ID2D1SvgAttribute : INativeGuid { public static ref readonly Guid IID_ID2D1SvgAttribute { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgAttribute } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgAttribute)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgAttribute)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SvgAttribute ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SvgAttribute*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void GetElement(ID2D1SvgElement** element) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SvgAttribute ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SvgAttribute*)Unsafe.AsPointer(ref this), element); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult Clone(ID2D1SvgAttribute** attribute) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs index 829ebfb..2167fa9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgDocument.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgDocument [Guid("86b88e4d-afa4-4d7b-88e4-68a51c4a0aec")] [NativeTypeName("struct ID2D1SvgDocument : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1SvgDocument +public unsafe partial struct ID2D1SvgDocument : INativeGuid { public static ref readonly Guid IID_ID2D1SvgDocument { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgDocument } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgDocument)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgDocument)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SvgDocument ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetViewportSize(System.Drawing.SizeF viewportSize) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), viewportSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public System.Drawing.SizeF GetViewportSize() @@ -95,7 +99,7 @@ public unsafe partial struct ID2D1SvgDocument return *((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), &result); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetRoot(ID2D1SvgElement* root) @@ -103,7 +107,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetRoot(ID2D1SvgElement** root) @@ -111,7 +115,7 @@ public unsafe partial struct ID2D1SvgDocument ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), root); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult FindElementById(ushort* id, ID2D1SvgElement** svgElement) @@ -119,7 +123,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), id, svgElement); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult Serialize(Com.IStream* outputXmlStream, ID2D1SvgElement* subtree) @@ -127,7 +131,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), outputXmlStream, subtree); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult Deserialize(Com.IStream* inputXmlStream, ID2D1SvgElement** subtree) @@ -135,7 +139,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), inputXmlStream, subtree); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreatePaint(SvgPaintType paintType, Color4* color, ushort* id, ID2D1SvgPaint** paint) @@ -143,7 +147,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), paintType, color, id, paint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateStrokeDashArray(SvgLength* dashes, uint dashesCount, ID2D1SvgStrokeDashArray** strokeDashArray) @@ -151,7 +155,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), dashes, dashesCount, strokeDashArray); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreatePointCollection(System.Drawing.PointF* points, uint pointsCount, ID2D1SvgPointCollection** pointCollection) @@ -159,7 +163,7 @@ public unsafe partial struct ID2D1SvgDocument return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1SvgDocument*)Unsafe.AsPointer(ref this), points, pointsCount, pointCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreatePathData(float* segmentData, uint segmentDataCount, SvgPathCommand* commands, uint commandsCount, ID2D1SvgPathData** pathData) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgElement.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgElement.cs index 7065436..b728f94 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgElement.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgElement.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgElement [Guid("ac7b67a6-183e-49c1-a823-0ebe40b0db29")] [NativeTypeName("struct ID2D1SvgElement : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1SvgElement +public unsafe partial struct ID2D1SvgElement : INativeGuid { public static ref readonly Guid IID_ID2D1SvgElement { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgElement } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgElement)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgElement)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SvgElement ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void GetDocument(ID2D1SvgDocument** document) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SvgElement ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), document); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetTagName(ushort* name, uint nameCount) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, nameCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public uint GetTagNameLength() @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public Bool32 IsTextContent() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetParent(ID2D1SvgElement** parent) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SvgElement ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), parent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public Bool32 HasChildren() @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void GetFirstChild(ID2D1SvgElement** child) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1SvgElement ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), child); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void GetLastChild(ID2D1SvgElement** child) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1SvgElement ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), child); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetPreviousChild(ID2D1SvgElement* referenceChild, ID2D1SvgElement** previousChild) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), referenceChild, previousChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetNextChild(ID2D1SvgElement* referenceChild, ID2D1SvgElement** nextChild) @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), referenceChild, nextChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult InsertChildBefore(ID2D1SvgElement* newChild, ID2D1SvgElement* referenceChild) @@ -166,7 +170,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), newChild, referenceChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult AppendChild(ID2D1SvgElement* newChild) @@ -174,7 +178,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), newChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult ReplaceChild(ID2D1SvgElement* newChild, ID2D1SvgElement* oldChild) @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), newChild, oldChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult RemoveChild(ID2D1SvgElement* oldChild) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), oldChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult CreateChild(ushort* tagName, ID2D1SvgElement** newChild) @@ -198,7 +202,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), tagName, newChild); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public Bool32 IsAttributeSpecified(ushort* name, Bool32* inherited) @@ -206,7 +210,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, inherited); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public uint GetSpecifiedAttributeCount() @@ -214,7 +218,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetSpecifiedAttributeName(uint index, ushort* name, uint nameCount, Bool32* inherited) @@ -222,7 +226,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), index, name, nameCount, inherited); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult GetSpecifiedAttributeNameLength(uint index, uint* nameLength, Bool32* inherited) @@ -230,7 +234,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), index, nameLength, inherited); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult RemoveAttribute(ushort* name) @@ -238,7 +242,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult SetTextValue(ushort* name, uint nameCount) @@ -246,7 +250,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, nameCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult GetTextValue(ushort* name, uint nameCount) @@ -254,7 +258,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, nameCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public uint GetTextValueLength() @@ -262,7 +266,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult SetAttributeValue(ushort* name, ID2D1SvgAttribute* value) @@ -270,7 +274,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, value); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult SetAttributeValue(ushort* name, SvgAttributePodType type, void* value, uint valueSizeInBytes) @@ -278,7 +282,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value, valueSizeInBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult SetAttributeValue(ushort* name, SvgAttributeStringType type, ushort* value) @@ -286,7 +290,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult GetAttributeValue(ushort* name, Guid* riid, void** value) @@ -294,7 +298,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, riid, value); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult GetAttributeValue(ushort* name, SvgAttributePodType type, void* value, uint valueSizeInBytes) @@ -302,7 +306,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value, valueSizeInBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult GetAttributeValue(ushort* name, SvgAttributeStringType type, ushort* value, uint valueCount) @@ -310,7 +314,7 @@ public unsafe partial struct ID2D1SvgElement return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID2D1SvgElement*)Unsafe.AsPointer(ref this), name, type, value, valueCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult GetAttributeValueLength(ushort* name, SvgAttributeStringType type, uint* valueLength) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgGlyphStyle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgGlyphStyle.cs index 063ed5d..87ce3d6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgGlyphStyle.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgGlyphStyle.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgGlyphStyle [Guid("af671749-d241-4db8-8e41-dcc2e5c1a438")] [NativeTypeName("struct ID2D1SvgGlyphStyle : ID2D1Resource")] [NativeInheritance("ID2D1Resource")] -public unsafe partial struct ID2D1SvgGlyphStyle +public unsafe partial struct ID2D1SvgGlyphStyle : INativeGuid { public static ref readonly Guid IID_ID2D1SvgGlyphStyle { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgGlyphStyle } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgGlyphStyle)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgGlyphStyle)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1SvgGlyphStyle ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetFill(ID2D1Brush* brush) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1SvgGlyphStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this), brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetFill(ID2D1Brush** brush) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgGlyphStyle ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this), brush); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetStroke(ID2D1Brush* brush, float strokeWidth, float* dashes, uint dashesCount, float dashOffset) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgGlyphStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this), brush, strokeWidth, dashes, dashesCount, dashOffset); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public uint GetStrokeDashesCount() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgGlyphStyle return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgGlyphStyle*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetStroke(ID2D1Brush** brush, float* strokeWidth, float* dashes, uint dashesCount, float* dashOffset) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPaint.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPaint.cs index 516ef89..0e4bea7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPaint.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPaint.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgPaint [Guid("d59bab0a-68a2-455b-a5dc-9eb2854e2490")] [NativeTypeName("struct ID2D1SvgPaint : ID2D1SvgAttribute")] [NativeInheritance("ID2D1SvgAttribute")] -public unsafe partial struct ID2D1SvgPaint +public unsafe partial struct ID2D1SvgPaint : INativeGuid { public static ref readonly Guid IID_ID2D1SvgPaint { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgPaint } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPaint)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPaint)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), attribute); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetPaintType(SvgPaintType paintType) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), paintType); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public SvgPaintType GetPaintType() @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetColor(Color4* color) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), color); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public void GetColor(Color4** color) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1SvgPaint ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), color); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetId(ushort* id) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), id); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetId(ushort* id, uint idCount) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1SvgPaint return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1SvgPaint*)Unsafe.AsPointer(ref this), id, idCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public uint GetIdLength() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPathData.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPathData.cs index 6528202..cd55a60 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPathData.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPathData.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgPathData [Guid("c095e4f4-bb98-43d6-9745-4d1b84ec9888")] [NativeTypeName("struct ID2D1SvgPathData : ID2D1SvgAttribute")] [NativeInheritance("ID2D1SvgAttribute")] -public unsafe partial struct ID2D1SvgPathData +public unsafe partial struct ID2D1SvgPathData : INativeGuid { public static ref readonly Guid IID_ID2D1SvgPathData { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgPathData } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPathData)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPathData)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), attribute); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult RemoveSegmentDataAtEnd(uint dataCount) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), dataCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult UpdateSegmentData(float* data, uint dataCount, uint startIndex) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), data, dataCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetSegmentData(float* data, uint dataCount, uint startIndex) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), data, dataCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public uint GetSegmentDataCount() @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult RemoveCommandsAtEnd(uint commandsCount) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), commandsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult UpdateCommands(SvgPathCommand* commands, uint commandsCount, uint startIndex) @@ -142,7 +146,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), commands, commandsCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetCommands(SvgPathCommand* commands, uint commandsCount, uint startIndex) @@ -150,7 +154,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this), commands, commandsCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public uint GetCommandsCount() @@ -158,7 +162,7 @@ public unsafe partial struct ID2D1SvgPathData return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID2D1SvgPathData*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreatePathGeometry(Common.FillMode fillMode, ID2D1PathGeometry1** pathGeometry) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs index 3e7a00e..92b1037 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgPointCollection.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgPointCollection [Guid("9dbe4c0d-3572-4dd9-9825-5530813bb712")] [NativeTypeName("struct ID2D1SvgPointCollection : ID2D1SvgAttribute")] [NativeInheritance("ID2D1SvgAttribute")] -public unsafe partial struct ID2D1SvgPointCollection +public unsafe partial struct ID2D1SvgPointCollection : INativeGuid { public static ref readonly Guid IID_ID2D1SvgPointCollection { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgPointCollection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPointCollection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgPointCollection)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgPointCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), attribute); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult RemovePointsAtEnd(uint pointsCount) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgPointCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), pointsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult UpdatePoints(System.Drawing.PointF* points, uint pointsCount, uint startIndex) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgPointCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetPoints(System.Drawing.PointF* points, uint pointsCount, uint startIndex) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SvgPointCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgPointCollection*)Unsafe.AsPointer(ref this), points, pointsCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public uint GetPointsCount() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgStrokeDashArray.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgStrokeDashArray.cs index 39aecf3..8ee7a99 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgStrokeDashArray.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1SvgStrokeDashArray.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1SvgStrokeDashArray [Guid("f1c0ca52-92a3-4f00-b4ce-f35691efd9d9")] [NativeTypeName("struct ID2D1SvgStrokeDashArray : ID2D1SvgAttribute")] [NativeInheritance("ID2D1SvgAttribute")] -public unsafe partial struct ID2D1SvgStrokeDashArray +public unsafe partial struct ID2D1SvgStrokeDashArray : INativeGuid { public static ref readonly Guid IID_ID2D1SvgStrokeDashArray { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1SvgStrokeDashArray } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgStrokeDashArray)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1SvgStrokeDashArray)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), attribute); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult RemoveDashesAtEnd(uint dashesCount) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), dashesCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult UpdateDashes(SvgLength* dashes, uint dashesCount, uint startIndex) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), dashes, dashesCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult UpdateDashes(float* dashes, uint dashesCount, uint startIndex) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), dashes, dashesCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetDashes(SvgLength* dashes, uint dashesCount, uint startIndex) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), dashes, dashesCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetDashes(float* dashes, uint dashesCount, uint startIndex) @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1SvgStrokeDashArray return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1SvgStrokeDashArray*)Unsafe.AsPointer(ref this), dashes, dashesCount, startIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public uint GetDashesCount() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TessellationSink.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TessellationSink.cs index 0dde065..426f37e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TessellationSink.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TessellationSink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1TessellationSink [Guid("2cd906c1-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1TessellationSink : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1TessellationSink +public unsafe partial struct ID2D1TessellationSink : INativeGuid { public static ref readonly Guid IID_ID2D1TessellationSink { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1TessellationSink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TessellationSink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TessellationSink)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1TessellationSink return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void AddTriangles(Triangle* triangles, uint trianglesCount) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1TessellationSink ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1TessellationSink*)Unsafe.AsPointer(ref this), triangles, trianglesCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Close() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Transform.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Transform.cs index 035f5ac..ea8fd82 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Transform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1Transform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1Transform [Guid("ef1a287d-342a-4f76-8fdb-da0d6ea9f92b")] [NativeTypeName("struct ID2D1Transform : ID2D1TransformNode")] [NativeInheritance("ID2D1TransformNode")] -public unsafe partial struct ID2D1Transform +public unsafe partial struct ID2D1Transform : INativeGuid { public static ref readonly Guid IID_ID2D1Transform { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1Transform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Transform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1Transform)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1Transform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1Transform*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult MapOutputRectToInputRects(RawRect* outputRect, RawRect* inputRects, uint inputRectsCount) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1Transform return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1Transform*)Unsafe.AsPointer(ref this), outputRect, inputRects, inputRectsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult MapInputRectsToOutputRect(RawRect* inputRects, RawRect* inputOpaqueSubRects, uint inputRectCount, RawRect* outputRect, RawRect* outputOpaqueSubRect) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1Transform return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1Transform*)Unsafe.AsPointer(ref this), inputRects, inputOpaqueSubRects, inputRectCount, outputRect, outputOpaqueSubRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult MapInvalidRect(uint inputIndex, RawRect* invalidInputRect, RawRect* invalidOutputRect) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformGraph.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformGraph.cs index 791cfa3..bca5a24 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformGraph.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformGraph.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1TransformGraph [Guid("13d29038-c3e6-4034-9081-13b53a417992")] [NativeTypeName("struct ID2D1TransformGraph : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1TransformGraph +public unsafe partial struct ID2D1TransformGraph : INativeGuid { public static ref readonly Guid IID_ID2D1TransformGraph { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1TransformGraph } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformGraph)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformGraph)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetInputCount() @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetSingleTransformNode(ID2D1TransformNode* node) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), node); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult AddNode(ID2D1TransformNode* node) @@ -94,7 +98,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), node); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult RemoveNode(ID2D1TransformNode* node) @@ -102,7 +106,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), node); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetOutputNode(ID2D1TransformNode* node) @@ -110,7 +114,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), node); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult ConnectNode(ID2D1TransformNode* fromNode, ID2D1TransformNode* toNode, uint toNodeInputIndex) @@ -118,7 +122,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), fromNode, toNode, toNodeInputIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult ConnectToEffectInput(uint toEffectInputIndex, ID2D1TransformNode* node, uint toNodeInputIndex) @@ -126,7 +130,7 @@ public unsafe partial struct ID2D1TransformGraph return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this), toEffectInputIndex, node, toNodeInputIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public void Clear() @@ -134,7 +138,7 @@ public unsafe partial struct ID2D1TransformGraph ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID2D1TransformGraph*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult SetPassthroughGraph(uint effectInputIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformNode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformNode.cs index 5c07407..02fe330 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformNode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformNode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1TransformNode [Guid("b2efe1e7-729f-4102-949f-505fa21bf666")] [NativeTypeName("struct ID2D1TransformNode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1TransformNode +public unsafe partial struct ID2D1TransformNode : INativeGuid { public static ref readonly Guid IID_ID2D1TransformNode { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1TransformNode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformNode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformNode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1TransformNode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetInputCount() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs index 37c3746..f9076ae 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedGeometry.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1TransformedGeometry [Guid("2cd906bb-12e2-11dc-9fed-001143a055f9")] [NativeTypeName("struct ID2D1TransformedGeometry : ID2D1Geometry")] [NativeInheritance("ID2D1Geometry")] -public unsafe partial struct ID2D1TransformedGeometry +public unsafe partial struct ID2D1TransformedGeometry : INativeGuid { public static ref readonly Guid IID_ID2D1TransformedGeometry { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1TransformedGeometry } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedGeometry)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedGeometry)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct ID2D1TransformedGeometry return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), strokeWidth, strokeStyle, worldTransform, flatteningTolerance, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void GetSourceGeometry(ID2D1Geometry** sourceGeometry) @@ -190,7 +194,7 @@ public unsafe partial struct ID2D1TransformedGeometry ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID2D1TransformedGeometry*)Unsafe.AsPointer(ref this), sourceGeometry); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public void GetTransform(Matrix3x2* transform) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedImageSource.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedImageSource.cs index bdefbd6..5e63afd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedImageSource.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1TransformedImageSource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1TransformedImageSource [Guid("7f1f79e5-2796-416c-8f55-700f911445e5")] [NativeTypeName("struct ID2D1TransformedImageSource : ID2D1Image")] [NativeInheritance("ID2D1Image")] -public unsafe partial struct ID2D1TransformedImageSource +public unsafe partial struct ID2D1TransformedImageSource : INativeGuid { public static ref readonly Guid IID_ID2D1TransformedImageSource { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1TransformedImageSource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedImageSource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1TransformedImageSource)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1TransformedImageSource ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1TransformedImageSource*)Unsafe.AsPointer(ref this), factory); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void GetSource(ID2D1ImageSource** imageSource) @@ -86,7 +90,7 @@ public unsafe partial struct ID2D1TransformedImageSource ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID2D1TransformedImageSource*)Unsafe.AsPointer(ref this), imageSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void GetProperties(TransformedImageSourceProperties* properties) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1VertexBuffer.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1VertexBuffer.cs index 0641522..ebc1792 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1VertexBuffer.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ID2D1VertexBuffer.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct2D; -/// +/// /// ID2D1VertexBuffer [Guid("9b8b1336-00a5-4668-92b7-ced5d8bf9b7b")] [NativeTypeName("struct ID2D1VertexBuffer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID2D1VertexBuffer +public unsafe partial struct ID2D1VertexBuffer : INativeGuid { public static ref readonly Guid IID_ID2D1VertexBuffer { @@ -40,7 +40,11 @@ public unsafe partial struct ID2D1VertexBuffer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1VertexBuffer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID2D1VertexBuffer)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID2D1VertexBuffer return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Map(byte** data, uint bufferSize) @@ -78,7 +82,7 @@ public unsafe partial struct ID2D1VertexBuffer return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID2D1VertexBuffer*)Unsafe.AsPointer(ref this), data, bufferSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Unmap() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageBrushProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageBrushProperties.cs new file mode 100644 index 0000000..c140560 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageBrushProperties.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_IMAGE_BRUSH_PROPERTIES +public partial struct ImageBrushProperties +{ + /// + public Common.RectF sourceRectangle; + + /// + public ExtendMode extendModeX; + + /// + public ExtendMode extendModeY; + + /// + public InterpolationMode interpolationMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceFromDxgiOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceFromDxgiOptions.cs new file mode 100644 index 0000000..ef64bf6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceFromDxgiOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS +[Flags] +public enum ImageSourceFromDxgiOptions : uint +{ + /// + /// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE + None = 0, + /// + /// D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_LOW_QUALITY_PRIMARY_CONVERSION + LowQualityPrimaryConversion = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceLoadingOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceLoadingOptions.cs new file mode 100644 index 0000000..a7c25f8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ImageSourceLoadingOptions.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_IMAGE_SOURCE_LOADING_OPTIONS +[Flags] +public enum ImageSourceLoadingOptions : uint +{ + /// + /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_NONE + None = 0, + /// + /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_RELEASE_SOURCE + ReleaseSource = 1, + /// + /// D2D1_IMAGE_SOURCE_LOADING_OPTIONS_CACHE_ON_DEMAND + CacheOnDemand = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InkBezierSegment.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkBezierSegment.cs new file mode 100644 index 0000000..6174485 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkBezierSegment.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INK_BEZIER_SEGMENT +public partial struct InkBezierSegment +{ + /// + public InkPoint point1; + + /// + public InkPoint point2; + + /// + public InkPoint point3; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InkNibShape.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkNibShape.cs new file mode 100644 index 0000000..eaa5f7c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkNibShape.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INK_NIB_SHAPE +public enum InkNibShape : uint +{ + /// + /// D2D1_INK_NIB_SHAPE_ROUND + Round = 0, + /// + /// D2D1_INK_NIB_SHAPE_SQUARE + Square = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InkPoint.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkPoint.cs new file mode 100644 index 0000000..13d6e18 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkPoint.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INK_POINT +public partial struct InkPoint +{ + /// + public float x; + + /// + public float y; + + /// + public float radius; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InkStyleProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkStyleProperties.cs new file mode 100644 index 0000000..0540260 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InkStyleProperties.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INK_STYLE_PROPERTIES +public partial struct InkStyleProperties +{ + /// + public InkNibShape nibShape; + + /// + public Matrix3x2 nibTransform; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InputDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InputDescription.cs new file mode 100644 index 0000000..6340eff --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InputDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INPUT_DESCRIPTION +public partial struct InputDescription +{ + /// + public Filter filter; + + /// + public uint levelOfDetailCount; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InputElementDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InputElementDescription.cs new file mode 100644 index 0000000..8119d48 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InputElementDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INPUT_ELEMENT_DESC +public partial struct InputElementDescription +{ + /// + public unsafe sbyte* semanticName; + + /// + public uint semanticIndex; + + /// + public Graphics.Dxgi.Common.Format format; + + /// + public uint inputSlot; + + /// + public uint alignedByteOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationMode.cs new file mode 100644 index 0000000..de20f6d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INTERPOLATION_MODE +public enum InterpolationMode : uint +{ + /// + /// D2D1_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationModeDefinition.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationModeDefinition.cs new file mode 100644 index 0000000..d4ddb81 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/InterpolationModeDefinition.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_INTERPOLATION_MODE_DEFINITION +public enum InterpolationModeDefinition : int +{ + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_LINEAR + Linear = 1, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_CUBIC + Cubic = 2, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_FANT + Fant = 6, + /// + /// D2D1_INTERPOLATION_MODE_DEFINITION_MIPMAP_LINEAR + MipmapLinear = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions.cs new file mode 100644 index 0000000..7d77e77 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LAYER_OPTIONS +[Flags] +public enum LayerOptions : uint +{ + /// + /// D2D1_LAYER_OPTIONS_NONE + None = 0, + /// + /// D2D1_LAYER_OPTIONS_INITIALIZE_FOR_CLEARTYPE + InitializeForCleartype = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions1.cs new file mode 100644 index 0000000..4ec2021 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerOptions1.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LAYER_OPTIONS1 +[Flags] +public enum LayerOptions1 : uint +{ + /// + /// D2D1_LAYER_OPTIONS1_NONE + None = 0, + /// + /// D2D1_LAYER_OPTIONS1_INITIALIZE_FROM_BACKGROUND + InitializeFromBackground = 1, + /// + /// D2D1_LAYER_OPTIONS1_IGNORE_ALPHA + IgnoreAlpha = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters.cs new file mode 100644 index 0000000..73f82d4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LAYER_PARAMETERS +public partial struct LayerParameters +{ + /// + public Common.RectF contentBounds; + + /// + public unsafe ID2D1Geometry* geometricMask; + + /// + public AntialiasMode maskAntialiasMode; + + /// + public Matrix3x2 maskTransform; + + /// + public float opacity; + + /// + public unsafe ID2D1Brush* opacityBrush; + + /// + public LayerOptions layerOptions; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters1.cs new file mode 100644 index 0000000..7ecebb5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LayerParameters1.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LAYER_PARAMETERS1 +public partial struct LayerParameters1 +{ + /// + public Common.RectF contentBounds; + + /// + public unsafe ID2D1Geometry* geometricMask; + + /// + public AntialiasMode maskAntialiasMode; + + /// + public Matrix3x2 maskTransform; + + /// + public float opacity; + + /// + public unsafe ID2D1Brush* opacityBrush; + + /// + public LayerOptions1 layerOptions; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LineJoin.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LineJoin.cs new file mode 100644 index 0000000..b79a9e4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LineJoin.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LINE_JOIN +public enum LineJoin : uint +{ + /// + /// D2D1_LINE_JOIN_MITER + Miter = 0, + /// + /// D2D1_LINE_JOIN_BEVEL + Bevel = 1, + /// + /// D2D1_LINE_JOIN_ROUND + Round = 2, + /// + /// D2D1_LINE_JOIN_MITER_OR_BEVEL + MiterOrBevel = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearGradientBrushProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearGradientBrushProperties.cs new file mode 100644 index 0000000..ffd5002 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearGradientBrushProperties.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES +public partial struct LinearGradientBrushProperties +{ + /// + public System.Drawing.PointF startPoint; + + /// + public System.Drawing.PointF endPoint; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearTransferProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearTransferProp.cs new file mode 100644 index 0000000..6bdf67f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LinearTransferProp.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LINEARTRANSFER_PROP +public enum LinearTransferProp : uint +{ + /// + /// D2D1_LINEARTRANSFER_PROP_RED_Y_INTERCEPT + RedYIntercept = 0, + /// + /// D2D1_LINEARTRANSFER_PROP_RED_SLOPE + RedSlope = 1, + /// + /// D2D1_LINEARTRANSFER_PROP_RED_DISABLE + RedDisable = 2, + /// + /// D2D1_LINEARTRANSFER_PROP_GREEN_Y_INTERCEPT + GreenYIntercept = 3, + /// + /// D2D1_LINEARTRANSFER_PROP_GREEN_SLOPE + GreenSlope = 4, + /// + /// D2D1_LINEARTRANSFER_PROP_GREEN_DISABLE + GreenDisable = 5, + /// + /// D2D1_LINEARTRANSFER_PROP_BLUE_Y_INTERCEPT + BlueYIntercept = 6, + /// + /// D2D1_LINEARTRANSFER_PROP_BLUE_SLOPE + BlueSlope = 7, + /// + /// D2D1_LINEARTRANSFER_PROP_BLUE_DISABLE + BlueDisable = 8, + /// + /// D2D1_LINEARTRANSFER_PROP_ALPHA_Y_INTERCEPT + AlphaYIntercept = 9, + /// + /// D2D1_LINEARTRANSFER_PROP_ALPHA_SLOPE + AlphaSlope = 10, + /// + /// D2D1_LINEARTRANSFER_PROP_ALPHA_DISABLE + AlphaDisable = 11, + /// + /// D2D1_LINEARTRANSFER_PROP_CLAMP_OUTPUT + ClampOutput = 12, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/LookupTable3DProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/LookupTable3DProp.cs new file mode 100644 index 0000000..2efe30d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/LookupTable3DProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_LOOKUPTABLE3D_PROP +public enum LookupTable3DProp : uint +{ + /// + /// D2D1_LOOKUPTABLE3D_PROP_LUT + Lut = 0, + /// + /// D2D1_LOOKUPTABLE3D_PROP_ALPHA_MODE + AlphaMode = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/MapOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/MapOptions.cs new file mode 100644 index 0000000..3842c77 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/MapOptions.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_MAP_OPTIONS +[Flags] +public enum MapOptions : uint +{ + /// + /// D2D1_MAP_OPTIONS_NONE + None = 0, + /// + /// D2D1_MAP_OPTIONS_READ + Read = 1, + /// + /// D2D1_MAP_OPTIONS_WRITE + Write = 2, + /// + /// D2D1_MAP_OPTIONS_DISCARD + Discard = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/MappedRect.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/MappedRect.cs new file mode 100644 index 0000000..bd77f4e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/MappedRect.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_MAPPED_RECT +public partial struct MappedRect +{ + /// + public uint pitch; + + /// + public unsafe byte* bits; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyMode.cs new file mode 100644 index 0000000..73d3d2b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_MORPHOLOGY_MODE +public enum MorphologyMode : uint +{ + /// + /// D2D1_MORPHOLOGY_MODE_ERODE + Erode = 0, + /// + /// D2D1_MORPHOLOGY_MODE_DILATE + Dilate = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyProp.cs new file mode 100644 index 0000000..4223e21 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/MorphologyProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_MORPHOLOGY_PROP +public enum MorphologyProp : uint +{ + /// + /// D2D1_MORPHOLOGY_PROP_MODE + Mode = 0, + /// + /// D2D1_MORPHOLOGY_PROP_WIDTH + Width = 1, + /// + /// D2D1_MORPHOLOGY_PROP_HEIGHT + Height = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMaskContent.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMaskContent.cs new file mode 100644 index 0000000..c1f37ec --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMaskContent.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_OPACITY_MASK_CONTENT +public enum OpacityMaskContent : uint +{ + /// + /// D2D1_OPACITY_MASK_CONTENT_GRAPHICS + Graphics = 0, + /// + /// D2D1_OPACITY_MASK_CONTENT_TEXT_NATURAL + TextNatural = 1, + /// + /// D2D1_OPACITY_MASK_CONTENT_TEXT_GDI_COMPATIBLE + TextGDICompatible = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMetadataProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMetadataProp.cs new file mode 100644 index 0000000..e754d1b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityMetadataProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_OPACITYMETADATA_PROP +public enum OpacityMetadataProp : uint +{ + /// + /// D2D1_OPACITYMETADATA_PROP_INPUT_OPAQUE_RECT + InputOpaqueRect = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityProp.cs new file mode 100644 index 0000000..2519613 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/OpacityProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_OPACITY_PROP +public enum OpacityProp : uint +{ + /// + /// D2D1_OPACITY_PROP_OPACITY + Opacity = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Orientation.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Orientation.cs new file mode 100644 index 0000000..9298de3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Orientation.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ORIENTATION +public enum Orientation : uint +{ + /// + /// D2D1_ORIENTATION_DEFAULT + Default = 1, + /// + /// D2D1_ORIENTATION_FLIP_HORIZONTAL + FlipHorizontal = 2, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE180 + RotateClockwise180 = 3, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE180_FLIP_HORIZONTAL + RotateClockwise180FlipHorizontal = 4, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE90_FLIP_HORIZONTAL + RotateClockwise90FlipHorizontal = 5, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE270 + RotateClockwise270 = 6, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE270_FLIP_HORIZONTAL + RotateClockwise270FlipHorizontal = 7, + /// + /// D2D1_ORIENTATION_ROTATE_CLOCKWISE90 + RotateClockwise90 = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PatchEdgeMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PatchEdgeMode.cs new file mode 100644 index 0000000..5ce5589 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PatchEdgeMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PATCH_EDGE_MODE +public enum PatchEdgeMode : uint +{ + /// + /// D2D1_PATCH_EDGE_MODE_ALIASED + Aliased = 0, + /// + /// D2D1_PATCH_EDGE_MODE_ANTIALIASED + Antialiased = 1, + /// + /// D2D1_PATCH_EDGE_MODE_ALIASED_INFLATED + AliasedInflated = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PathSegment.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PathSegment.cs new file mode 100644 index 0000000..b178bac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PathSegment.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_PATH_SEGMENT +[Flags] +public enum PathSegment : uint +{ + /// + /// D2D1_PATH_SEGMENT_NONE + None = 0, + /// + /// D2D1_PATH_SEGMENT_FORCE_UNSTROKED + ForceUnstroked = 1, + /// + /// D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN + ForceRoundLineJoin = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DInteroplationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DInteroplationMode.cs new file mode 100644 index 0000000..36478c4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DInteroplationMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE +public enum PerspectiveTransform3DInteroplationMode : uint +{ + /// + /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DProperties.cs new file mode 100644 index 0000000..3f1ecd9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PerspectiveTransform3DProperties.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_3DPERSPECTIVETRANSFORM_PROP +public enum PerspectiveTransform3DProperties : uint +{ + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_INTERPOLATION_MODE + InterpolationMode = 0, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_BORDER_MODE + BorderMode = 1, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_DEPTH + Depth = 2, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_PERSPECTIVE_ORIGIN + PerspectiveOrigin = 3, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_LOCAL_OFFSET + LocalOffset = 4, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_GLOBAL_OFFSET + GlobalOffset = 5, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION_ORIGIN + RotationOrigin = 6, + /// + /// D2D1_3DPERSPECTIVETRANSFORM_PROP_ROTATION + Rotation = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelFormat.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelFormat.cs new file mode 100644 index 0000000..ad5ee72 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelFormat.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_PIXEL_FORMAT +public partial struct PixelFormat +{ + /// + public Graphics.Dxgi.Common.Format format; + + /// + public AlphaMode alphaMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelOptions.cs new file mode 100644 index 0000000..63ba2de --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PixelOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PIXEL_OPTIONS +[Flags] +public enum PixelOptions : uint +{ + /// + /// D2D1_PIXEL_OPTIONS_NONE + None = 0, + /// + /// D2D1_PIXEL_OPTIONS_TRIVIAL_SAMPLING + TrivialSampling = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDescription.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDescription.cs new file mode 100644 index 0000000..7e6a483 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POINT_DESCRIPTION +public partial struct PointDescription +{ + /// + public System.Drawing.PointF point; + + /// + public System.Drawing.PointF unitTangentVector; + + /// + public uint endSegment; + + /// + public uint endFigure; + + /// + public float lengthToEndSegment; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseProp.cs new file mode 100644 index 0000000..224e71c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseProp.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POINTDIFFUSE_PROP +public enum PointDiffuseProp : uint +{ + /// + /// D2D1_POINTDIFFUSE_PROP_LIGHT_POSITION + LightPosition = 0, + /// + /// D2D1_POINTDIFFUSE_PROP_DIFFUSE_CONSTANT + DiffuseConstant = 1, + /// + /// D2D1_POINTDIFFUSE_PROP_SURFACE_SCALE + SurfaceScale = 2, + /// + /// D2D1_POINTDIFFUSE_PROP_COLOR + Color = 3, + /// + /// D2D1_POINTDIFFUSE_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 4, + /// + /// D2D1_POINTDIFFUSE_PROP_SCALE_MODE + ScaleMode = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseScaleMode.cs new file mode 100644 index 0000000..bb2536d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointDiffuseScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POINTDIFFUSE_SCALE_MODE +public enum PointDiffuseScaleMode : uint +{ + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_POINTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularProp.cs new file mode 100644 index 0000000..04d8c6a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularProp.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POINTSPECULAR_PROP +public enum PointSpecularProp : uint +{ + /// + /// D2D1_POINTSPECULAR_PROP_LIGHT_POSITION + LightPosition = 0, + /// + /// D2D1_POINTSPECULAR_PROP_SPECULAR_EXPONENT + SpecularExponent = 1, + /// + /// D2D1_POINTSPECULAR_PROP_SPECULAR_CONSTANT + SpecularConstant = 2, + /// + /// D2D1_POINTSPECULAR_PROP_SURFACE_SCALE + SurfaceScale = 3, + /// + /// D2D1_POINTSPECULAR_PROP_COLOR + Color = 4, + /// + /// D2D1_POINTSPECULAR_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 5, + /// + /// D2D1_POINTSPECULAR_PROP_SCALE_MODE + ScaleMode = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularScaleMode.cs new file mode 100644 index 0000000..6566cd6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PointSpecularScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POINTSPECULAR_SCALE_MODE +public enum PointSpecularScaleMode : uint +{ + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_POINTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PosterizeProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PosterizeProp.cs new file mode 100644 index 0000000..2197cce --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PosterizeProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_POSTERIZE_PROP +public enum PosterizeProp : uint +{ + /// + /// D2D1_POSTERIZE_PROP_RED_VALUE_COUNT + RedValueCount = 0, + /// + /// D2D1_POSTERIZE_PROP_GREEN_VALUE_COUNT + GreenValueCount = 1, + /// + /// D2D1_POSTERIZE_PROP_BLUE_VALUE_COUNT + BlueValueCount = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PresentOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PresentOptions.cs new file mode 100644 index 0000000..d0713eb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PresentOptions.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PRESENT_OPTIONS +[Flags] +public enum PresentOptions : uint +{ + /// + /// D2D1_PRESENT_OPTIONS_NONE + None = 0, + /// + /// D2D1_PRESENT_OPTIONS_RETAIN_CONTENTS + RetainContents = 1, + /// + /// D2D1_PRESENT_OPTIONS_IMMEDIATELY + Immediately = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PrimitiveBlend.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrimitiveBlend.cs new file mode 100644 index 0000000..add15ff --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrimitiveBlend.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PRIMITIVE_BLEND +public enum PrimitiveBlend : uint +{ + /// + /// D2D1_PRIMITIVE_BLEND_SOURCE_OVER + SourceOver = 0, + /// + /// D2D1_PRIMITIVE_BLEND_COPY + Copy = 1, + /// + /// D2D1_PRIMITIVE_BLEND_MIN + Min = 2, + /// + /// D2D1_PRIMITIVE_BLEND_ADD + Add = 3, + /// + /// D2D1_PRIMITIVE_BLEND_MAX + Max = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintControlProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintControlProperties.cs new file mode 100644 index 0000000..17ac917 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintControlProperties.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PRINT_CONTROL_PROPERTIES +public partial struct PrintControlProperties +{ + /// + public PrintFontSubsetMode fontSubset; + + /// + public float rasterDPI; + + /// + public ColorSpace colorSpace; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintFontSubsetMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintFontSubsetMode.cs new file mode 100644 index 0000000..7f3a71d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PrintFontSubsetMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PRINT_FONT_SUBSET_MODE +public enum PrintFontSubsetMode : uint +{ + /// + /// D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT + Default = 0, + /// + /// D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE + Eachpage = 1, + /// + /// D2D1_PRINT_FONT_SUBSET_MODE_NONE + None = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Property.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Property.cs new file mode 100644 index 0000000..9fad035 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Property.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PROPERTY +public enum Property : uint +{ + /// + /// D2D1_PROPERTY_CLSID + Clsid = 2147483648, + /// + /// D2D1_PROPERTY_DISPLAYNAME + Displayname = 2147483649, + /// + /// D2D1_PROPERTY_AUTHOR + Author = 2147483650, + /// + /// D2D1_PROPERTY_CATEGORY + Category = 2147483651, + /// + /// D2D1_PROPERTY_DESCRIPTION + Description = 2147483652, + /// + /// D2D1_PROPERTY_INPUTS + Inputs = 2147483653, + /// + /// D2D1_PROPERTY_CACHED + Cached = 2147483654, + /// + /// D2D1_PROPERTY_PRECISION + Precision = 2147483655, + /// + /// D2D1_PROPERTY_MIN_INPUTS + MinInputs = 2147483656, + /// + /// D2D1_PROPERTY_MAX_INPUTS + MaxInputs = 2147483657, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyBinding.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyBinding.cs new file mode 100644 index 0000000..21650e1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyBinding.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PROPERTY_BINDING +public partial struct PropertyBinding +{ + /// + public unsafe ushort* propertyName; + + /// + public unsafe delegate* unmanaged[Stdcall] setFunction; + + /// + public unsafe delegate* unmanaged[Stdcall] getFunction; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyType.cs new file mode 100644 index 0000000..2b6e9f7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/PropertyType.cs @@ -0,0 +1,73 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_PROPERTY_TYPE +public enum PropertyType : uint +{ + /// + /// D2D1_PROPERTY_TYPE_UNKNOWN + Unknown = 0, + /// + /// D2D1_PROPERTY_TYPE_STRING + String = 1, + /// + /// D2D1_PROPERTY_TYPE_BOOL + Bool = 2, + /// + /// D2D1_PROPERTY_TYPE_UINT32 + UInt32 = 3, + /// + /// D2D1_PROPERTY_TYPE_INT32 + Int32 = 4, + /// + /// D2D1_PROPERTY_TYPE_FLOAT + Float = 5, + /// + /// D2D1_PROPERTY_TYPE_VECTOR2 + Vector2 = 6, + /// + /// D2D1_PROPERTY_TYPE_VECTOR3 + Vector3 = 7, + /// + /// D2D1_PROPERTY_TYPE_VECTOR4 + Vector4 = 8, + /// + /// D2D1_PROPERTY_TYPE_BLOB + Blob = 9, + /// + /// D2D1_PROPERTY_TYPE_IUNKNOWN + IUnknown = 10, + /// + /// D2D1_PROPERTY_TYPE_ENUM + Enum = 11, + /// + /// D2D1_PROPERTY_TYPE_ARRAY + Array = 12, + /// + /// D2D1_PROPERTY_TYPE_CLSID + Clsid = 13, + /// + /// D2D1_PROPERTY_TYPE_MATRIX_3X2 + Matrix3x2 = 14, + /// + /// D2D1_PROPERTY_TYPE_MATRIX_4X3 + Matrix4x3 = 15, + /// + /// D2D1_PROPERTY_TYPE_MATRIX_4X4 + Matrix4x4 = 16, + /// + /// D2D1_PROPERTY_TYPE_MATRIX_5X4 + Matrix5x4 = 17, + /// + /// D2D1_PROPERTY_TYPE_COLOR_CONTEXT + ColorContext = 18, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/QuadraticBezierSegment.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/QuadraticBezierSegment.cs new file mode 100644 index 0000000..bc3ca44 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/QuadraticBezierSegment.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_QUADRATIC_BEZIER_SEGMENT +public partial struct QuadraticBezierSegment +{ + /// + public System.Drawing.PointF point1; + + /// + public System.Drawing.PointF point2; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RadialGradientBrushProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RadialGradientBrushProperties.cs new file mode 100644 index 0000000..3af09fa --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RadialGradientBrushProperties.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES +public partial struct RadialGradientBrushProperties +{ + /// + public System.Drawing.PointF center; + + /// + public System.Drawing.PointF gradientOriginOffset; + + /// + public float radiusX; + + /// + public float radiusY; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RectF.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RectF.cs new file mode 100644 index 0000000..25bf691 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RectF.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D_RECT_F +public partial struct RectF +{ + /// + public float left; + + /// + public float top; + + /// + public float right; + + /// + public float bottom; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RectU.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RectU.cs new file mode 100644 index 0000000..fb7de76 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RectU.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D_RECT_U +public partial struct RectU +{ + /// + public uint left; + + /// + public uint top; + + /// + public uint right; + + /// + public uint bottom; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetProperties.cs new file mode 100644 index 0000000..b275ad7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetProperties.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RENDER_TARGET_PROPERTIES +public partial struct RenderTargetProperties +{ + /// + public RenderTargetType type; + + /// + public Common.PixelFormat pixelFormat; + + /// + public float dpiX; + + /// + public float dpiY; + + /// + public RenderTargetUsage usage; + + /// + public FeatureLevel minLevel; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetType.cs new file mode 100644 index 0000000..777f4c4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RENDER_TARGET_TYPE +public enum RenderTargetType : uint +{ + /// + /// D2D1_RENDER_TARGET_TYPE_DEFAULT + Default = 0, + /// + /// D2D1_RENDER_TARGET_TYPE_SOFTWARE + Software = 1, + /// + /// D2D1_RENDER_TARGET_TYPE_HARDWARE + Hardware = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetUsage.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetUsage.cs new file mode 100644 index 0000000..8fc3654 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderTargetUsage.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RENDER_TARGET_USAGE +[Flags] +public enum RenderTargetUsage : uint +{ + /// + /// D2D1_RENDER_TARGET_USAGE_NONE + None = 0, + /// + /// D2D1_RENDER_TARGET_USAGE_FORCE_BITMAP_REMOTING + ForceBitmapRemoting = 1, + /// + /// D2D1_RENDER_TARGET_USAGE_GDI_COMPATIBLE + GDICompatible = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingControls.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingControls.cs new file mode 100644 index 0000000..cc0a99f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingControls.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RENDERING_CONTROLS +public partial struct RenderingControls +{ + /// + public BufferPrecision bufferPrecision; + + /// + public System.Drawing.Size tileSize; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingPriority.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingPriority.cs new file mode 100644 index 0000000..9431673 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RenderingPriority.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RENDERING_PRIORITY +public enum RenderingPriority : uint +{ + /// + /// D2D1_RENDERING_PRIORITY_NORMAL + Normal = 0, + /// + /// D2D1_RENDERING_PRIORITY_LOW + Low = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ResourceTextureProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ResourceTextureProperties.cs new file mode 100644 index 0000000..85ce9b0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ResourceTextureProperties.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RESOURCE_TEXTURE_PROPERTIES +public partial struct ResourceTextureProperties +{ + /// + public unsafe uint* extents; + + /// + public uint dimensions; + + /// + public BufferPrecision bufferPrecision; + + /// + public ChannelDepth channelDepth; + + /// + public Filter filter; + + /// + public unsafe ExtendMode* extendModes; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueOutputColorSpace.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueOutputColorSpace.cs new file mode 100644 index 0000000..63ac38b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueOutputColorSpace.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE +public enum RgbToHueOutputColorSpace : uint +{ + /// + /// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_VALUE + HueSaturationValue = 0, + /// + /// D2D1_RGBTOHUE_OUTPUT_COLOR_SPACE_HUE_SATURATION_LIGHTNESS + HueSaturationLightness = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueProp.cs new file mode 100644 index 0000000..8037b5a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RgbToHueProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_RGBTOHUE_PROP +public enum RgbToHueProp : uint +{ + /// + /// D2D1_RGBTOHUE_PROP_OUTPUT_COLOR_SPACE + OutputColorSpace = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/RoundedRect.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/RoundedRect.cs new file mode 100644 index 0000000..90ce916 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/RoundedRect.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_ROUNDED_RECT +public partial struct RoundedRect +{ + /// + public Common.RectF rect; + + /// + public float radiusX; + + /// + public float radiusY; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SaturationProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SaturationProp.cs new file mode 100644 index 0000000..9b6bba9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SaturationProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SATURATION_PROP +public enum SaturationProp : uint +{ + /// + /// D2D1_SATURATION_PROP_SATURATION + Saturation = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleInterpolationMode.cs new file mode 100644 index 0000000..94af2a4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleInterpolationMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SCALE_INTERPOLATION_MODE +public enum ScaleInterpolationMode : uint +{ + /// + /// D2D1_SCALE_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_SCALE_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_SCALE_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_SCALE_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_SCALE_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_SCALE_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleProp.cs new file mode 100644 index 0000000..9c1fb68 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ScaleProp.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SCALE_PROP +public enum ScaleProp : uint +{ + /// + /// D2D1_SCALE_PROP_SCALE + Scale = 0, + /// + /// D2D1_SCALE_PROP_CENTER_POINT + CenterPoint = 1, + /// + /// D2D1_SCALE_PROP_INTERPOLATION_MODE + InterpolationMode = 2, + /// + /// D2D1_SCALE_PROP_BORDER_MODE + BorderMode = 3, + /// + /// D2D1_SCALE_PROP_SHARPNESS + Sharpness = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SepiaProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SepiaProp.cs new file mode 100644 index 0000000..dad118f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SepiaProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SEPIA_PROP +public enum SepiaProp : uint +{ + /// + /// D2D1_SEPIA_PROP_INTENSITY + Intensity = 0, + /// + /// D2D1_SEPIA_PROP_ALPHA_MODE + AlphaMode = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowOptimization.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowOptimization.cs new file mode 100644 index 0000000..450b197 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowOptimization.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SHADOW_OPTIMIZATION +public enum ShadowOptimization : uint +{ + /// + /// D2D1_SHADOW_OPTIMIZATION_SPEED + Speed = 0, + /// + /// D2D1_SHADOW_OPTIMIZATION_BALANCED + Balanced = 1, + /// + /// D2D1_SHADOW_OPTIMIZATION_QUALITY + Quality = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowProp.cs new file mode 100644 index 0000000..6dd1cb3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ShadowProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SHADOW_PROP +public enum ShadowProp : uint +{ + /// + /// D2D1_SHADOW_PROP_BLUR_STANDARD_DEVIATION + BlurStandardDeviation = 0, + /// + /// D2D1_SHADOW_PROP_COLOR + Color = 1, + /// + /// D2D1_SHADOW_PROP_OPTIMIZATION + Optimization = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SharpenProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SharpenProp.cs new file mode 100644 index 0000000..46b9c42 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SharpenProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SHARPEN_PROP +public enum SharpenProp : uint +{ + /// + /// D2D1_SHARPEN_PROP_SHARPNESS + Sharpness = 0, + /// + /// D2D1_SHARPEN_PROP_THRESHOLD + Threshold = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SimpleColorProfile.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SimpleColorProfile.cs new file mode 100644 index 0000000..64d19c4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SimpleColorProfile.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SIMPLE_COLOR_PROFILE +public partial struct SimpleColorProfile +{ + /// + public System.Drawing.PointF redPrimary; + + /// + public System.Drawing.PointF greenPrimary; + + /// + public System.Drawing.PointF bluePrimary; + + /// + public System.Drawing.PointF whitePointXZ; + + /// + public Gamma1 gamma; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseProp.cs new file mode 100644 index 0000000..18aae1d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseProp.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SPOTDIFFUSE_PROP +public enum SpotDiffuseProp : uint +{ + /// + /// D2D1_SPOTDIFFUSE_PROP_LIGHT_POSITION + LightPosition = 0, + /// + /// D2D1_SPOTDIFFUSE_PROP_POINTS_AT + PointsAt = 1, + /// + /// D2D1_SPOTDIFFUSE_PROP_FOCUS + Focus = 2, + /// + /// D2D1_SPOTDIFFUSE_PROP_LIMITING_CONE_ANGLE + LimitingConeAngle = 3, + /// + /// D2D1_SPOTDIFFUSE_PROP_DIFFUSE_CONSTANT + DiffuseConstant = 4, + /// + /// D2D1_SPOTDIFFUSE_PROP_SURFACE_SCALE + SurfaceScale = 5, + /// + /// D2D1_SPOTDIFFUSE_PROP_COLOR + Color = 6, + /// + /// D2D1_SPOTDIFFUSE_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 7, + /// + /// D2D1_SPOTDIFFUSE_PROP_SCALE_MODE + ScaleMode = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseScaleMode.cs new file mode 100644 index 0000000..387366f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotDiffuseScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SPOTDIFFUSE_SCALE_MODE +public enum SpotDiffuseScaleMode : uint +{ + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_SPOTDIFFUSE_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularProp.cs new file mode 100644 index 0000000..8100a2b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularProp.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SPOTSPECULAR_PROP +public enum SpotSpecularProp : uint +{ + /// + /// D2D1_SPOTSPECULAR_PROP_LIGHT_POSITION + LightPosition = 0, + /// + /// D2D1_SPOTSPECULAR_PROP_POINTS_AT + PointsAt = 1, + /// + /// D2D1_SPOTSPECULAR_PROP_FOCUS + Focus = 2, + /// + /// D2D1_SPOTSPECULAR_PROP_LIMITING_CONE_ANGLE + LimitingConeAngle = 3, + /// + /// D2D1_SPOTSPECULAR_PROP_SPECULAR_EXPONENT + SpecularExponent = 4, + /// + /// D2D1_SPOTSPECULAR_PROP_SPECULAR_CONSTANT + SpecularConstant = 5, + /// + /// D2D1_SPOTSPECULAR_PROP_SURFACE_SCALE + SurfaceScale = 6, + /// + /// D2D1_SPOTSPECULAR_PROP_COLOR + Color = 7, + /// + /// D2D1_SPOTSPECULAR_PROP_KERNEL_UNIT_LENGTH + KernelUnitLength = 8, + /// + /// D2D1_SPOTSPECULAR_PROP_SCALE_MODE + ScaleMode = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularScaleMode.cs new file mode 100644 index 0000000..071221a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpotSpecularScaleMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SPOTSPECULAR_SCALE_MODE +public enum SpotSpecularScaleMode : uint +{ + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_SPOTSPECULAR_SCALE_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SpriteOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpriteOptions.cs new file mode 100644 index 0000000..587f753 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SpriteOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SPRITE_OPTIONS +[Flags] +public enum SpriteOptions : uint +{ + /// + /// D2D1_SPRITE_OPTIONS_NONE + None = 0, + /// + /// D2D1_SPRITE_OPTIONS_CLAMP_TO_SOURCE_RECTANGLE + ClampToSourceRectangle = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenProp.cs new file mode 100644 index 0000000..34b1b43 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_STRAIGHTEN_PROP +public enum StraightenProp : uint +{ + /// + /// D2D1_STRAIGHTEN_PROP_ANGLE + Angle = 0, + /// + /// D2D1_STRAIGHTEN_PROP_MAINTAIN_SIZE + MaintainSize = 1, + /// + /// D2D1_STRAIGHTEN_PROP_SCALE_MODE + ScaleMode = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenScaleMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenScaleMode.cs new file mode 100644 index 0000000..b75fde7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/StraightenScaleMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_STRAIGHTEN_SCALE_MODE +public enum StraightenScaleMode : uint +{ + /// + /// D2D1_STRAIGHTEN_SCALE_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_STRAIGHTEN_SCALE_MODE_LINEAR + Linear = 1, + /// + /// D2D1_STRAIGHTEN_SCALE_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_STRAIGHTEN_SCALE_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_STRAIGHTEN_SCALE_MODE_ANISOTROPIC + Anisotropic = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties.cs new file mode 100644 index 0000000..2066c2f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_STROKE_STYLE_PROPERTIES +public partial struct StrokeStyleProperties +{ + /// + public CapStyle startCap; + + /// + public CapStyle endCap; + + /// + public CapStyle dashCap; + + /// + public LineJoin lineJoin; + + /// + public float miterLimit; + + /// + public DashStyle dashStyle; + + /// + public float dashOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties1.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties1.cs new file mode 100644 index 0000000..34174ac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeStyleProperties1.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_STROKE_STYLE_PROPERTIES1 +public partial struct StrokeStyleProperties1 +{ + /// + public CapStyle startCap; + + /// + public CapStyle endCap; + + /// + public CapStyle dashCap; + + /// + public LineJoin lineJoin; + + /// + public float miterLimit; + + /// + public DashStyle dashStyle; + + /// + public float dashOffset; + + /// + public StrokeTransformType transformType; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeTransformType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeTransformType.cs new file mode 100644 index 0000000..628e0e4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/StrokeTransformType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_STROKE_TRANSFORM_TYPE +public enum StrokeTransformType : uint +{ + /// + /// D2D1_STROKE_TRANSFORM_TYPE_NORMAL + Normal = 0, + /// + /// D2D1_STROKE_TRANSFORM_TYPE_FIXED + Fixed = 1, + /// + /// D2D1_STROKE_TRANSFORM_TYPE_HAIRLINE + Hairline = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SubProperty.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SubProperty.cs new file mode 100644 index 0000000..1afb138 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SubProperty.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SUBPROPERTY +public enum SubProperty : uint +{ + /// + /// D2D1_SUBPROPERTY_DISPLAYNAME + Displayname = 2147483648, + /// + /// D2D1_SUBPROPERTY_ISREADONLY + Isreadonly = 2147483649, + /// + /// D2D1_SUBPROPERTY_MIN + Min = 2147483650, + /// + /// D2D1_SUBPROPERTY_MAX + Max = 2147483651, + /// + /// D2D1_SUBPROPERTY_DEFAULT + Default = 2147483652, + /// + /// D2D1_SUBPROPERTY_FIELDS + Fields = 2147483653, + /// + /// D2D1_SUBPROPERTY_INDEX + Index = 2147483654, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectAlign.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectAlign.cs new file mode 100644 index 0000000..72d65c8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectAlign.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_ASPECT_ALIGN +public enum SvgAspectAlign : uint +{ + /// + /// D2D1_SVG_ASPECT_ALIGN_NONE + None = 0, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MIN + XMinYMin = 1, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MIN + XMidYMin = 2, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MIN + XMaxYMin = 3, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MID + XMinYMid = 4, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MID + XMidYMid = 5, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MID + XMaxYMid = 6, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MIN_Y_MAX + XMinYMax = 7, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MID_Y_MAX + XMidYMax = 8, + /// + /// D2D1_SVG_ASPECT_ALIGN_X_MAX_Y_MAX + XMaxYMax = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectScaling.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectScaling.cs new file mode 100644 index 0000000..0cdbbcd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAspectScaling.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_ASPECT_SCALING +public enum SvgAspectScaling : uint +{ + /// + /// D2D1_SVG_ASPECT_SCALING_MEET + Meet = 0, + /// + /// D2D1_SVG_ASPECT_SCALING_SLICE + Slice = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributePodType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributePodType.cs new file mode 100644 index 0000000..d8fe21e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributePodType.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_ATTRIBUTE_POD_TYPE +public enum SvgAttributePodType : uint +{ + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_FLOAT + Float = 0, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_COLOR + Color = 1, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_FILL_MODE + FillMode = 2, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_DISPLAY + Display = 3, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_OVERFLOW + Overflow = 4, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_CAP + LineCap = 5, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LINE_JOIN + LineJoin = 6, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_VISIBILITY + Visibility = 7, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_MATRIX + Matrix = 8, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_UNIT_TYPE + UnitType = 9, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_EXTEND_MODE + ExtendMode = 10, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_PRESERVE_ASPECT_RATIO + PreserveAspectRatio = 11, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_VIEWBOX + Viewbox = 12, + /// + /// D2D1_SVG_ATTRIBUTE_POD_TYPE_LENGTH + Length = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributeStringType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributeStringType.cs new file mode 100644 index 0000000..a771416 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgAttributeStringType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_ATTRIBUTE_STRING_TYPE +public enum SvgAttributeStringType : uint +{ + /// + /// D2D1_SVG_ATTRIBUTE_STRING_TYPE_SVG + Svg = 0, + /// + /// D2D1_SVG_ATTRIBUTE_STRING_TYPE_ID + Id = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgDisplay.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgDisplay.cs new file mode 100644 index 0000000..2506278 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgDisplay.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_DISPLAY +public enum SvgDisplay : uint +{ + /// + /// D2D1_SVG_DISPLAY_INLINE + Inline = 0, + /// + /// D2D1_SVG_DISPLAY_NONE + None = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLength.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLength.cs new file mode 100644 index 0000000..8ac0afb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLength.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_LENGTH +public partial struct SvgLength +{ + /// + public float value; + + /// + public SvgLengthUnits units; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLengthUnits.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLengthUnits.cs new file mode 100644 index 0000000..3eb8f17 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLengthUnits.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_LENGTH_UNITS +public enum SvgLengthUnits : uint +{ + /// + /// D2D1_SVG_LENGTH_UNITS_NUMBER + Number = 0, + /// + /// D2D1_SVG_LENGTH_UNITS_PERCENTAGE + Percentage = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineCap.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineCap.cs new file mode 100644 index 0000000..52c5994 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineCap.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_LINE_CAP +public enum SvgLineCap : uint +{ + /// + /// D2D1_SVG_LINE_CAP_BUTT + Butt = 0, + /// + /// D2D1_SVG_LINE_CAP_SQUARE + Square = 1, + /// + /// D2D1_SVG_LINE_CAP_ROUND + Round = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineJoin.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineJoin.cs new file mode 100644 index 0000000..0373be6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgLineJoin.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_LINE_JOIN +public enum SvgLineJoin : uint +{ + /// + /// D2D1_SVG_LINE_JOIN_BEVEL + Bevel = 1, + /// + /// D2D1_SVG_LINE_JOIN_MITER + Miter = 3, + /// + /// D2D1_SVG_LINE_JOIN_ROUND + Round = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgOverflow.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgOverflow.cs new file mode 100644 index 0000000..6d445e1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgOverflow.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_OVERFLOW +public enum SvgOverflow : uint +{ + /// + /// D2D1_SVG_OVERFLOW_VISIBLE + Visible = 0, + /// + /// D2D1_SVG_OVERFLOW_HIDDEN + Hidden = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPaintType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPaintType.cs new file mode 100644 index 0000000..7884416 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPaintType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_PAINT_TYPE +public enum SvgPaintType : uint +{ + /// + /// D2D1_SVG_PAINT_TYPE_NONE + None = 0, + /// + /// D2D1_SVG_PAINT_TYPE_COLOR + Color = 1, + /// + /// D2D1_SVG_PAINT_TYPE_CURRENT_COLOR + CurrentColor = 2, + /// + /// D2D1_SVG_PAINT_TYPE_URI + Uri = 3, + /// + /// D2D1_SVG_PAINT_TYPE_URI_NONE + UriNone = 4, + /// + /// D2D1_SVG_PAINT_TYPE_URI_COLOR + UriColor = 5, + /// + /// D2D1_SVG_PAINT_TYPE_URI_CURRENT_COLOR + UriCurrentColor = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPathCommand.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPathCommand.cs new file mode 100644 index 0000000..b71c666 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPathCommand.cs @@ -0,0 +1,73 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_PATH_COMMAND +public enum SvgPathCommand : uint +{ + /// + /// D2D1_SVG_PATH_COMMAND_CLOSE_PATH + ClosePath = 0, + /// + /// D2D1_SVG_PATH_COMMAND_MOVE_ABSOLUTE + MoveAbsolute = 1, + /// + /// D2D1_SVG_PATH_COMMAND_MOVE_RELATIVE + MoveRelative = 2, + /// + /// D2D1_SVG_PATH_COMMAND_LINE_ABSOLUTE + LineAbsolute = 3, + /// + /// D2D1_SVG_PATH_COMMAND_LINE_RELATIVE + LineRelative = 4, + /// + /// D2D1_SVG_PATH_COMMAND_CUBIC_ABSOLUTE + CubicAbsolute = 5, + /// + /// D2D1_SVG_PATH_COMMAND_CUBIC_RELATIVE + CubicRelative = 6, + /// + /// D2D1_SVG_PATH_COMMAND_QUADRADIC_ABSOLUTE + QuadradicAbsolute = 7, + /// + /// D2D1_SVG_PATH_COMMAND_QUADRADIC_RELATIVE + QuadradicRelative = 8, + /// + /// D2D1_SVG_PATH_COMMAND_ARC_ABSOLUTE + ArcAbsolute = 9, + /// + /// D2D1_SVG_PATH_COMMAND_ARC_RELATIVE + ArcRelative = 10, + /// + /// D2D1_SVG_PATH_COMMAND_HORIZONTAL_ABSOLUTE + HorizontalAbsolute = 11, + /// + /// D2D1_SVG_PATH_COMMAND_HORIZONTAL_RELATIVE + HorizontalRelative = 12, + /// + /// D2D1_SVG_PATH_COMMAND_VERTICAL_ABSOLUTE + VerticalAbsolute = 13, + /// + /// D2D1_SVG_PATH_COMMAND_VERTICAL_RELATIVE + VerticalRelative = 14, + /// + /// D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_ABSOLUTE + CubicSmoothAbsolute = 15, + /// + /// D2D1_SVG_PATH_COMMAND_CUBIC_SMOOTH_RELATIVE + CubicSmoothRelative = 16, + /// + /// D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_ABSOLUTE + QuadradicSmoothAbsolute = 17, + /// + /// D2D1_SVG_PATH_COMMAND_QUADRADIC_SMOOTH_RELATIVE + QuadradicSmoothRelative = 18, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPreserveAspectRatio.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPreserveAspectRatio.cs new file mode 100644 index 0000000..bf3daf9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgPreserveAspectRatio.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_PRESERVE_ASPECT_RATIO +public partial struct SvgPreserveAspectRatio +{ + /// + public Bool32 defer; + + /// + public SvgAspectAlign align; + + /// + public SvgAspectScaling meetOrSlice; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgUnitType.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgUnitType.cs new file mode 100644 index 0000000..6a4ae93 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgUnitType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_UNIT_TYPE +public enum SvgUnitType : uint +{ + /// + /// D2D1_SVG_UNIT_TYPE_USER_SPACE_ON_USE + UserSpaceOnUse = 0, + /// + /// D2D1_SVG_UNIT_TYPE_OBJECT_BOUNDING_BOX + ObjectBoundingBox = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgViewbox.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgViewbox.cs new file mode 100644 index 0000000..55c44ef --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgViewbox.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_VIEWBOX +public partial struct SvgViewbox +{ + /// + public float x; + + /// + public float y; + + /// + public float width; + + /// + public float height; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgVisibility.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgVisibility.cs new file mode 100644 index 0000000..621c0bd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SvgVisibility.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SVG_VISIBILITY +public enum SvgVisibility : uint +{ + /// + /// D2D1_SVG_VISIBILITY_VISIBLE + Visible = 0, + /// + /// D2D1_SVG_VISIBILITY_HIDDEN + Hidden = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/SweepDirection.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/SweepDirection.cs new file mode 100644 index 0000000..00e0294 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/SweepDirection.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_SWEEP_DIRECTION +public enum SweepDirection : uint +{ + /// + /// D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE + CounterClockwise = 0, + /// + /// D2D1_SWEEP_DIRECTION_CLOCKWISE + Clockwise = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TableTransferProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TableTransferProp.cs new file mode 100644 index 0000000..63a86ab --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TableTransferProp.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TABLETRANSFER_PROP +public enum TableTransferProp : uint +{ + /// + /// D2D1_TABLETRANSFER_PROP_RED_TABLE + RedTable = 0, + /// + /// D2D1_TABLETRANSFER_PROP_RED_DISABLE + RedDisable = 1, + /// + /// D2D1_TABLETRANSFER_PROP_GREEN_TABLE + GreenTable = 2, + /// + /// D2D1_TABLETRANSFER_PROP_GREEN_DISABLE + GreenDisable = 3, + /// + /// D2D1_TABLETRANSFER_PROP_BLUE_TABLE + BlueTable = 4, + /// + /// D2D1_TABLETRANSFER_PROP_BLUE_DISABLE + BlueDisable = 5, + /// + /// D2D1_TABLETRANSFER_PROP_ALPHA_TABLE + AlphaTable = 6, + /// + /// D2D1_TABLETRANSFER_PROP_ALPHA_DISABLE + AlphaDisable = 7, + /// + /// D2D1_TABLETRANSFER_PROP_CLAMP_OUTPUT + ClampOutput = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TemperatureandtintProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TemperatureandtintProp.cs new file mode 100644 index 0000000..fd87dd9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TemperatureandtintProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TEMPERATUREANDTINT_PROP +public enum TemperatureandtintProp : uint +{ + /// + /// D2D1_TEMPERATUREANDTINT_PROP_TEMPERATURE + Temperature = 0, + /// + /// D2D1_TEMPERATUREANDTINT_PROP_TINT + Tint = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TextAntialiasMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TextAntialiasMode.cs new file mode 100644 index 0000000..7c530a1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TextAntialiasMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TEXT_ANTIALIAS_MODE +public enum TextAntialiasMode : uint +{ + /// + /// D2D1_TEXT_ANTIALIAS_MODE_DEFAULT + Default = 0, + /// + /// D2D1_TEXT_ANTIALIAS_MODE_CLEARTYPE + Cleartype = 1, + /// + /// D2D1_TEXT_ANTIALIAS_MODE_GRAYSCALE + Grayscale = 2, + /// + /// D2D1_TEXT_ANTIALIAS_MODE_ALIASED + Aliased = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/ThreadingMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/ThreadingMode.cs new file mode 100644 index 0000000..c0d5cc4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/ThreadingMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_THREADING_MODE +public enum ThreadingMode : uint +{ + /// + /// D2D1_THREADING_MODE_SINGLE_THREADED + SingleThreaded = 0, + /// + /// D2D1_THREADING_MODE_MULTI_THREADED + MultiThreaded = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TileProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TileProp.cs new file mode 100644 index 0000000..5accc87 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TileProp.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TILE_PROP +public enum TileProp : uint +{ + /// + /// D2D1_TILE_PROP_RECT + Rect = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TintProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TintProp.cs new file mode 100644 index 0000000..525062d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TintProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TINT_PROP +public enum TintProp : uint +{ + /// + /// D2D1_TINT_PROP_COLOR + Color = 0, + /// + /// D2D1_TINT_PROP_CLAMP_OUTPUT + ClampOutput = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DInterpolationMode.cs new file mode 100644 index 0000000..2f67234 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DInterpolationMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_3DTRANSFORM_INTERPOLATION_MODE +public enum Transform3DInterpolationMode : uint +{ + /// + /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_3DTRANSFORM_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DProperties.cs new file mode 100644 index 0000000..93aa7ea --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Transform3DProperties.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_3DTRANSFORM_PROP +public enum Transform3DProperties : uint +{ + /// + /// D2D1_3DTRANSFORM_PROP_INTERPOLATION_MODE + InterpolationMode = 0, + /// + /// D2D1_3DTRANSFORM_PROP_BORDER_MODE + BorderMode = 1, + /// + /// D2D1_3DTRANSFORM_PROP_TRANSFORM_MATRIX + TransformMatrix = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceOptions.cs new file mode 100644 index 0000000..f4ad205 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceOptions.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS +[Flags] +public enum TransformedImageSourceOptions : uint +{ + /// + /// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE + None = 0, + /// + /// D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_DISABLE_DPI_SCALE + DisableDpiScale = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceProperties.cs new file mode 100644 index 0000000..8508022 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TransformedImageSourceProperties.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES +public partial struct TransformedImageSourceProperties +{ + /// + public Orientation orientation; + + /// + public float scaleX; + + /// + public float scaleY; + + /// + public InterpolationMode interpolationMode; + + /// + public TransformedImageSourceOptions options; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/Triangle.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/Triangle.cs new file mode 100644 index 0000000..f90f82c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/Triangle.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TRIANGLE +public partial struct Triangle +{ + /// + public System.Drawing.PointF point1; + + /// + public System.Drawing.PointF point2; + + /// + public System.Drawing.PointF point3; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceNoise.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceNoise.cs new file mode 100644 index 0000000..be3ccec --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceNoise.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D.Common; + +/// +/// D2D1_TURBULENCE_NOISE +public enum TurbulenceNoise : uint +{ + /// + /// D2D1_TURBULENCE_NOISE_FRACTAL_SUM + FractalSum = 0, + /// + /// D2D1_TURBULENCE_NOISE_TURBULENCE + Turbulence = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceProp.cs new file mode 100644 index 0000000..e6286af --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/TurbulenceProp.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_TURBULENCE_PROP +public enum TurbulenceProp : uint +{ + /// + /// D2D1_TURBULENCE_PROP_OFFSET + Offset = 0, + /// + /// D2D1_TURBULENCE_PROP_SIZE + Size = 1, + /// + /// D2D1_TURBULENCE_PROP_BASE_FREQUENCY + BaseFrequency = 2, + /// + /// D2D1_TURBULENCE_PROP_NUM_OCTAVES + NumOctaves = 3, + /// + /// D2D1_TURBULENCE_PROP_SEED + Seed = 4, + /// + /// D2D1_TURBULENCE_PROP_NOISE + Noise = 5, + /// + /// D2D1_TURBULENCE_PROP_STITCHABLE + Stitchable = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/UnitMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/UnitMode.cs new file mode 100644 index 0000000..a4bb0e3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/UnitMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_UNIT_MODE +public enum UnitMode : uint +{ + /// + /// D2D1_UNIT_MODE_DIPS + Dips = 0, + /// + /// D2D1_UNIT_MODE_PIXELS + Pixels = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexBufferProperties.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexBufferProperties.cs new file mode 100644 index 0000000..7088fd2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexBufferProperties.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_VERTEX_BUFFER_PROPERTIES +public partial struct VertexBufferProperties +{ + /// + public uint inputCount; + + /// + public VertexUsage usage; + + /// + public unsafe byte* data; + + /// + public uint byteWidth; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexOptions.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexOptions.cs new file mode 100644 index 0000000..82bd905 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexOptions.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_VERTEX_OPTIONS +[Flags] +public enum VertexOptions : uint +{ + /// + /// D2D1_VERTEX_OPTIONS_NONE + None = 0, + /// + /// D2D1_VERTEX_OPTIONS_DO_NOT_CLEAR + DoNotClear = 1, + /// + /// D2D1_VERTEX_OPTIONS_USE_DEPTH_BUFFER + UseDepthBuffer = 2, + /// + /// D2D1_VERTEX_OPTIONS_ASSUME_NO_OVERLAP + AssumeNoOverlap = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexRange.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexRange.cs new file mode 100644 index 0000000..543b740 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexRange.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_VERTEX_RANGE +public partial struct VertexRange +{ + /// + public uint startVertex; + + /// + public uint vertexCount; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexUsage.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexUsage.cs new file mode 100644 index 0000000..a6711f2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/VertexUsage.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_VERTEX_USAGE +public enum VertexUsage : uint +{ + /// + /// D2D1_VERTEX_USAGE_STATIC + Static = 0, + /// + /// D2D1_VERTEX_USAGE_DYNAMIC + Dynamic = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/VignetteProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/VignetteProp.cs new file mode 100644 index 0000000..d929832 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/VignetteProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_VIGNETTE_PROP +public enum VignetteProp : uint +{ + /// + /// D2D1_VIGNETTE_PROP_COLOR + Color = 0, + /// + /// D2D1_VIGNETTE_PROP_TRANSITION_SIZE + TransitionSize = 1, + /// + /// D2D1_VIGNETTE_PROP_STRENGTH + Strength = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/WhiteLevelAdjustmentProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/WhiteLevelAdjustmentProp.cs new file mode 100644 index 0000000..d01ea45 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/WhiteLevelAdjustmentProp.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_WHITELEVELADJUSTMENT_PROP +public enum WhiteLevelAdjustmentProp : uint +{ + /// + /// D2D1_WHITELEVELADJUSTMENT_PROP_INPUT_WHITE_LEVEL + InputWhiteLevel = 0, + /// + /// D2D1_WHITELEVELADJUSTMENT_PROP_OUTPUT_WHITE_LEVEL + OutputWhiteLevel = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/WindowState.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/WindowState.cs new file mode 100644 index 0000000..68b471f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/WindowState.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_WINDOW_STATE +[Flags] +public enum WindowState : uint +{ + /// + /// D2D1_WINDOW_STATE_NONE + None = 0, + /// + /// D2D1_WINDOW_STATE_OCCLUDED + Occluded = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrChromaSubsampling.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrChromaSubsampling.cs new file mode 100644 index 0000000..4f2de6d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrChromaSubsampling.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_YCBCR_CHROMA_SUBSAMPLING +public enum YcbcrChromaSubsampling : uint +{ + /// + /// D2D1_YCBCR_CHROMA_SUBSAMPLING_AUTO + Auto = 0, + /// + /// D2D1_YCBCR_CHROMA_SUBSAMPLING_420 + _420 = 1, + /// + /// D2D1_YCBCR_CHROMA_SUBSAMPLING_422 + _422 = 2, + /// + /// D2D1_YCBCR_CHROMA_SUBSAMPLING_444 + _444 = 3, + /// + /// D2D1_YCBCR_CHROMA_SUBSAMPLING_440 + _440 = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrInterpolationMode.cs new file mode 100644 index 0000000..112b9b0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrInterpolationMode.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_YCBCR_INTERPOLATION_MODE +public enum YcbcrInterpolationMode : uint +{ + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_NEAREST_NEIGHBOR + NearestNeighbor = 0, + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_LINEAR + Linear = 1, + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_CUBIC + Cubic = 2, + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_MULTI_SAMPLE_LINEAR + MultiSampleLinear = 3, + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_ANISOTROPIC + Anisotropic = 4, + /// + /// D2D1_YCBCR_INTERPOLATION_MODE_HIGH_QUALITY_CUBIC + HighQualityCubic = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrProp.cs b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrProp.cs new file mode 100644 index 0000000..8ce191f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct2D/YcbcrProp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct2D; + +/// +/// D2D1_YCBCR_PROP +public enum YcbcrProp : uint +{ + /// + /// D2D1_YCBCR_PROP_CHROMA_SUBSAMPLING + ChromaSubsampling = 0, + /// + /// D2D1_YCBCR_PROP_TRANSFORM_MATRIX + TransformMatrix = 1, + /// + /// D2D1_YCBCR_PROP_INTERPOLATION_MODE + InterpolationMode = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs deleted file mode 100644 index 12e5d7b..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D.Dxc.cs +++ /dev/null @@ -1,480 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct3D.Dxc; - -public static partial class Apis -{ - public const string DXC_ARG_DEBUG = "-Zi"; - - public const string DXC_ARG_SKIP_VALIDATION = "-Vd"; - - public const string DXC_ARG_SKIP_OPTIMIZATIONS = "-Od"; - - public const string DXC_ARG_PACK_MATRIX_ROW_MAJOR = "-Zpr"; - - public const string DXC_ARG_PACK_MATRIX_COLUMN_MAJOR = "-Zpc"; - - public const string DXC_ARG_AVOID_FLOW_CONTROL = "-Gfa"; - - public const string DXC_ARG_PREFER_FLOW_CONTROL = "-Gfp"; - - public const string DXC_ARG_ENABLE_STRICTNESS = "-Ges"; - - public const string DXC_ARG_ENABLE_BACKWARDS_COMPATIBILITY = "-Gec"; - - public const string DXC_ARG_IEEE_STRICTNESS = "-Gis"; - - public const string DXC_ARG_OPTIMIZATION_LEVEL0 = "-O0"; - - public const string DXC_ARG_OPTIMIZATION_LEVEL1 = "-O1"; - - public const string DXC_ARG_OPTIMIZATION_LEVEL2 = "-O2"; - - public const string DXC_ARG_OPTIMIZATION_LEVEL3 = "-O3"; - - public const string DXC_ARG_WARNINGS_ARE_ERRORS = "-WX"; - - public const string DXC_ARG_RESOURCES_MAY_ALIAS = "-res_may_alias"; - - public const string DXC_ARG_ALL_RESOURCES_BOUND = "-all_resources_bound"; - - public const string DXC_ARG_DEBUG_NAME_FOR_SOURCE = "-Zss"; - - public const string DXC_ARG_DEBUG_NAME_FOR_BINARY = "-Zsb"; - - public const string DXC_EXTRA_OUTPUT_NAME_STDOUT = "*stdout*"; - - public const string DXC_EXTRA_OUTPUT_NAME_STDERR = "*stderr*"; - - public static ref readonly Guid CLSID_DxcCompiler - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x93, 0x2D, 0xE2, 0x73, - 0xCE, 0xE6, - 0xF3, 0x47, - 0xB5, - 0xBF, - 0xF0, - 0x66, - 0x4F, - 0x39, - 0xC1, - 0xB0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcLinker - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x87, 0x80, 0x6A, 0xEF, - 0xEA, 0xB0, - 0x56, 0x4D, - 0x9E, - 0x45, - 0xD0, - 0x7E, - 0x1A, - 0x8B, - 0x78, - 0x06 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcDiaDataSource - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x73, 0x6B, 0x1F, 0xCD, - 0xB0, 0x2A, - 0x4D, 0x48, - 0x8E, - 0xDC, - 0xEB, - 0xE7, - 0xA4, - 0x3C, - 0xA0, - 0x9F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcCompilerArgs - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x82, 0xAE, 0x56, 0x3E, - 0x4D, 0x22, - 0x0F, 0x47, - 0xA1, - 0xA1, - 0xFE, - 0x30, - 0x16, - 0xEE, - 0x9F, - 0x9D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcLibrary - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xAF, 0xD6, 0x45, 0x62, - 0xE0, 0x66, - 0xFD, 0x48, - 0x80, - 0xB4, - 0x4D, - 0x27, - 0x17, - 0x96, - 0x74, - 0x8C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcValidator - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x15, 0xE2, 0xA3, 0x8C, - 0x28, 0xF7, - 0xF3, 0x4C, - 0x8C, - 0xDD, - 0x88, - 0xAF, - 0x91, - 0x75, - 0x87, - 0xA1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcAssembler - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x68, 0xDB, 0x28, 0xD7, - 0x03, 0xF9, - 0x80, 0x4F, - 0x94, - 0xCD, - 0xDC, - 0xCF, - 0x76, - 0xEC, - 0x71, - 0x51 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcContainerReflection - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x89, 0x44, 0xF5, 0xB9, - 0xB8, 0x55, - 0x0C, 0x40, - 0xBA, - 0x3A, - 0x16, - 0x75, - 0xE4, - 0x72, - 0x8B, - 0x91 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcOptimizer - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9F, 0xD7, 0x2C, 0xAE, - 0x22, 0xCC, - 0x3F, 0x45, - 0x9B, - 0x6B, - 0xB1, - 0x24, - 0xE7, - 0xA5, - 0x20, - 0x4C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcContainerBuilder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x94, 0x42, 0x13, 0x94, - 0x1F, 0x41, - 0x74, 0x45, - 0xB4, - 0xD0, - 0x87, - 0x41, - 0xE2, - 0x52, - 0x40, - 0xD2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_DxcPdbUtils - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFB, 0x1D, 0x62, 0x54, - 0xCE, 0xF2, - 0x7E, 0x45, - 0xAE, - 0x8C, - 0xEC, - 0x35, - 0x5F, - 0xAE, - 0xEC, - 0x7C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - -} - -#region Enums -/// -/// DXC_CP -public enum DxcCp : uint -{ - /// - /// DXC_CP_ACP - Acp = 0, - /// - /// DXC_CP_UTF16 - Utf16 = 1200, - /// - /// DXC_CP_UTF8 - Utf8 = 65001, -} - -/// -/// DXC_OUT_KIND -public enum DxcOutKind : int -{ - /// - /// DXC_OUT_NONE - None = 0, - /// - /// DXC_OUT_OBJECT - Object = 1, - /// - /// DXC_OUT_ERRORS - Errors = 2, - /// - /// DXC_OUT_PDB - Pdb = 3, - /// - /// DXC_OUT_SHADER_HASH - ShaderHash = 4, - /// - /// DXC_OUT_DISASSEMBLY - Disassembly = 5, - /// - /// DXC_OUT_HLSL - Hlsl = 6, - /// - /// DXC_OUT_TEXT - Text = 7, - /// - /// DXC_OUT_REFLECTION - Reflection = 8, - /// - /// DXC_OUT_ROOT_SIGNATURE - RootSignature = 9, - /// - /// DXC_OUT_EXTRA_OUTPUTS - ExtraOutputs = 10, -} -#endregion Enums - -#region Generated Enums -/// DXC_HASHFLAG -[Flags] -public enum DxcHashFlags : uint -{ - None = 0, - /// DXC_HASHFLAG_INCLUDES_SOURCE - IncludesSource = 1, -} - -/// DxcValidatorFlags -[Flags] -public enum DxcValidatorFlags : uint -{ - None = 0, - /// DxcValidatorFlags_Default - Default = 0, - /// DxcValidatorFlags_InPlaceEdit - InPlaceEdit = 1, - /// DxcValidatorFlags_RootSignatureOnly - RootSignatureOnly = 2, - /// DxcValidatorFlags_ModuleOnly - ModuleOnly = 4, - /// DxcValidatorFlags_ValidMask - ValidMask = 7, -} - -/// DxcVersionInfoFlags -[Flags] -public enum DxcVersionInfoFlags : uint -{ - /// DxcVersionInfoFlags_None - None = 0, - /// DxcVersionInfoFlags_Debug - Debug = 1, - /// DxcVersionInfoFlags_Internal - Internal = 2, -} -#endregion Generated Enums - -#region Structs - -/// -/// DxcShaderHash -public partial struct DxcShaderHash -{ - /// - public DxcHashFlags Flags; - - /// - public unsafe fixed byte HashDigest[16]; -} - -/// -/// DxcBuffer -public partial struct DxcBuffer -{ - /// - public unsafe void* Ptr; - - /// - public nuint Size; - - /// - public uint Encoding; -} - -/// -/// DxcDefine -public partial struct DxcDefine -{ - /// - public unsafe ushort* Name; - - /// - public unsafe ushort* Value; -} - -/// -/// DxcArgPair -public partial struct DxcArgPair -{ - /// - public unsafe ushort* pName; - - /// - public unsafe ushort* pValue; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("dxcompiler.dll", ExactSpelling = true)] - public static extern HResult DxcCreateInstance(Guid* rclsid, Guid* riid, void** ppv); - - [DllImport("dxcompiler.dll", ExactSpelling = true)] - public static extern HResult DxcCreateInstance2(Com.IMalloc* pMalloc, Guid* rclsid, Guid* riid, void** ppv); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D.Fxc.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D.Fxc.cs deleted file mode 100644 index f9523ce..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D.Fxc.cs +++ /dev/null @@ -1,312 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct3D.Fxc; - -public static partial class Apis -{ - public const uint D3D_COMPILER_VERSION = 47; - - public const uint D3D_GET_INST_OFFSETS_INCLUDE_NON_EXECUTABLE = 1; - -} - -#region Enums -/// -/// D3DCOMPILER_STRIP_FLAGS -[Flags] -public enum StripFlags : int -{ - None = 0, - /// - /// D3DCOMPILER_STRIP_REFLECTION_DATA - ReflectionData = 1, - /// - /// D3DCOMPILER_STRIP_DEBUG_INFO - DebugInfo = 2, - /// - /// D3DCOMPILER_STRIP_TEST_BLOBS - TestBlobs = 4, - /// - /// D3DCOMPILER_STRIP_PRIVATE_DATA - PrivateData = 8, - /// - /// D3DCOMPILER_STRIP_ROOT_SIGNATURE - RootSignature = 16, -} - -/// -/// D3D_BLOB_PART -public enum BlobPart : int -{ - /// - /// D3D_BLOB_INPUT_SIGNATURE_BLOB - InputSignatureBlob = 0, - /// - /// D3D_BLOB_OUTPUT_SIGNATURE_BLOB - OutputSignatureBlob = 1, - /// - /// D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB - InputAndOutputSignatureBlob = 2, - /// - /// D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB - PatchConstantSignatureBlob = 3, - /// - /// D3D_BLOB_ALL_SIGNATURE_BLOB - AllSignatureBlob = 4, - /// - /// D3D_BLOB_DEBUG_INFO - DebugInfo = 5, - /// - /// D3D_BLOB_LEGACY_SHADER - LegacyShader = 6, - /// - /// D3D_BLOB_XNA_PREPASS_SHADER - XNAPrepassShader = 7, - /// - /// D3D_BLOB_XNA_SHADER - XNAShader = 8, - /// - /// D3D_BLOB_PDB - Pdb = 9, - /// - /// D3D_BLOB_PRIVATE_DATA - PrivateData = 10, - /// - /// D3D_BLOB_ROOT_SIGNATURE - RootSignature = 11, - /// - /// D3D_BLOB_DEBUG_NAME - DebugName = 12, - /// - /// D3D_BLOB_TEST_ALTERNATE_SHADER - TestAlternateShader = 32768, - /// - /// D3D_BLOB_TEST_COMPILE_DETAILS - TestCompileDetails = 32769, - /// - /// D3D_BLOB_TEST_COMPILE_PERF - TestCompilePerf = 32770, - /// - /// D3D_BLOB_TEST_COMPILE_REPORT - TestCompileReport = 32771, -} -#endregion Enums - -#region Generated Enums -/// D3DCOMPILE -[Flags] -public enum CompileFlags : uint -{ - None = 0, - /// D3DCOMPILE_DEBUG - Debug = 1, - /// D3DCOMPILE_SKIP_VALIDATION - SkipValidation = 2, - /// D3DCOMPILE_SKIP_OPTIMIZATION - SkipOptimization = 4, - /// D3DCOMPILE_PACK_MATRIX_ROW_MAJOR - PackMatrixRowMajor = 8, - /// D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR - PackMatrixColumnMajor = 16, - /// D3DCOMPILE_PARTIAL_PRECISION - PartialPrecision = 32, - /// D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT - ForceVSSoftwareNoOpt = 64, - /// D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT - ForcePSSoftwareNoOpt = 128, - /// D3DCOMPILE_NO_PRESHADER - NoPreshader = 256, - /// D3DCOMPILE_AVOID_FLOW_CONTROL - AvoidFlowControl = 512, - /// D3DCOMPILE_PREFER_FLOW_CONTROL - PreferFlowControl = 1024, - /// D3DCOMPILE_ENABLE_STRICTNESS - EnableStrictness = 2048, - /// D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY - EnableBackwardsCompatibility = 4096, - /// D3DCOMPILE_IEEE_STRICTNESS - IeeeStrictness = 8192, - /// D3DCOMPILE_OPTIMIZATION_LEVEL0 - OptimizationLevel0 = 16384, - /// D3DCOMPILE_OPTIMIZATION_LEVEL1 - OptimizationLevel1 = 0, - /// D3DCOMPILE_OPTIMIZATION_LEVEL2 - OptimizationLevel2 = 49152, - /// D3DCOMPILE_OPTIMIZATION_LEVEL3 - OptimizationLevel3 = 32768, - /// D3DCOMPILE_RESERVED16 - Reserved16 = 65536, - /// D3DCOMPILE_RESERVED17 - Reserved17 = 131072, - /// D3DCOMPILE_WARNINGS_ARE_ERRORS - WarningsAreErrors = 262144, - /// D3DCOMPILE_RESOURCES_MAY_ALIAS - ResourcesMayAlias = 524288, - /// D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES - EnableUnboundedDescriptorTables = 1048576, - /// D3DCOMPILE_ALL_RESOURCES_BOUND - AllResourcesBound = 2097152, - /// D3DCOMPILE_DEBUG_NAME_FOR_SOURCE - DebugNameForSource = 4194304, - /// D3DCOMPILE_DEBUG_NAME_FOR_BINARY - DebugNameForBinary = 8388608, -} - -/// D3DCOMPILE_EFFECT -[Flags] -public enum CompileEffectFlags : uint -{ - None = 0, - /// D3DCOMPILE_EFFECT_CHILD_EFFECT - ChildEffect = 1, - /// D3DCOMPILE_EFFECT_ALLOW_SLOW_OPS - AllowSlowOps = 2, -} - -/// D3DCOMPILE_FLAGS2 -[Flags] -public enum CompileFlags2 : uint -{ - None = 0, - /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_LATEST - ForceRootSignatureLatest = 0, - /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_0 - ForceRootSignature10 = 16, - /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_1 - ForceRootSignature11 = 32, -} - -/// D3DCOMPILE_SECDATA -[Flags] -public enum CompileSecondaryFlags : uint -{ - None = 0, - /// D3DCOMPILE_SECDATA_MERGE_UAV_SLOTS - MergeUavSlots = 1, - /// D3DCOMPILE_SECDATA_PRESERVE_TEMPLATE_SLOTS - PreserveTemplateSlots = 2, - /// D3DCOMPILE_SECDATA_REQUIRE_TEMPLATE_MATCH - RequireTemplateMatch = 4, -} - -/// D3D_DISASM -[Flags] -public enum DisasmFlags : uint -{ - None = 0, - /// D3D_DISASM_ENABLE_COLOR_CODE - EnableColorCode = 1, - /// D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTS - EnableDefaultValuePrints = 2, - /// D3D_DISASM_ENABLE_INSTRUCTION_NUMBERING - EnableInstructionNumbering = 4, - /// D3D_DISASM_ENABLE_INSTRUCTION_CYCLE - EnableInstructionCycle = 8, - /// D3D_DISASM_DISABLE_DEBUG_INFO - DisableDebugInfo = 16, - /// D3D_DISASM_ENABLE_INSTRUCTION_OFFSET - EnableInstructionOffset = 32, - /// D3D_DISASM_INSTRUCTION_ONLY - InstructionOnly = 64, - /// D3D_DISASM_PRINT_HEX_LITERALS - PrintHexLiterals = 128, -} - -/// D3D_COMPRESS_SHADER -[Flags] -public enum CompressShaderFlags : uint -{ - None = 0, - /// D3D_COMPRESS_SHADER_KEEP_ALL_PARTS - KeepAllParts = 1, -} -#endregion Generated Enums - -#region Structs - -/// -/// D3D_SHADER_DATA -public partial struct ShaderData -{ - /// - public unsafe void* pBytecode; - - /// - public nuint BytecodeLength; -} -#endregion Structs - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DReadFileToBlob(ushort* pFileName, Graphics.Direct3D.ID3DBlob** ppContents); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DWriteBlobToFile(Graphics.Direct3D.ID3DBlob* pBlob, ushort* pFileName, Bool32 bOverwrite); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DCompile(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DCompile2(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, uint SecondaryDataFlags, void* pSecondaryData, nuint SecondaryDataSize, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DCompileFromFile(ushort* pFileName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DPreprocess(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, Graphics.Direct3D.ID3DBlob** ppCodeText, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetDebugInfo(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppDebugInfo); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DReflect(void* pSrcData, nuint SrcDataSize, Guid* pInterface, void** ppReflector); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DReflectLibrary(void* pSrcData, nuint SrcDataSize, Guid* riid, void** ppReflector); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DDisassemble(void* pSrcData, nuint SrcDataSize, DisasmFlags Flags, sbyte* szComments, Graphics.Direct3D.ID3DBlob** ppDisassembly); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DDisassembleRegion(void* pSrcData, nuint SrcDataSize, uint Flags, sbyte* szComments, nuint StartByteOffset, nuint NumInsts, nuint* pFinishByteOffset, Graphics.Direct3D.ID3DBlob** ppDisassembly); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetTraceInstructionOffsets(void* pSrcData, nuint SrcDataSize, uint Flags, nuint StartInstIndex, nuint NumInsts, nuint* pOffsets, nuint* pTotalInsts); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetInputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetOutputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetInputAndOutputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DStripShader(void* pShaderBytecode, nuint BytecodeLength, uint uStripFlags, Graphics.Direct3D.ID3DBlob** ppStrippedBlob); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DGetBlobPart(void* pSrcData, nuint SrcDataSize, BlobPart Part, uint Flags, Graphics.Direct3D.ID3DBlob** ppPart); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DSetBlobPart(void* pSrcData, nuint SrcDataSize, BlobPart Part, uint Flags, void* pPart, nuint PartSize, Graphics.Direct3D.ID3DBlob** ppNewShader); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DCreateBlob(nuint Size, Graphics.Direct3D.ID3DBlob** ppBlob); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DCompressShaders(uint uNumShaders, ShaderData* pShaderData, CompressShaderFlags uFlags, Graphics.Direct3D.ID3DBlob** ppCompressedData); - - [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] - public static extern HResult D3DDecompressShaders(void* pSrcData, nuint SrcDataSize, uint uNumShaders, uint uStartIndex, uint* pIndices, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaders, uint* pTotalShaders); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D.cs deleted file mode 100644 index 971964a..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D.cs +++ /dev/null @@ -1,1262 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Direct3D; - -public static partial class Apis -{ - public const uint D3D_FL9_1_REQ_TEXTURE1D_U_DIMENSION = 2048; - - public const uint D3D_FL9_3_REQ_TEXTURE1D_U_DIMENSION = 4096; - - public const uint D3D_FL9_1_REQ_TEXTURE2D_U_OR_V_DIMENSION = 2048; - - public const uint D3D_FL9_3_REQ_TEXTURE2D_U_OR_V_DIMENSION = 4096; - - public const uint D3D_FL9_1_REQ_TEXTURECUBE_DIMENSION = 512; - - public const uint D3D_FL9_3_REQ_TEXTURECUBE_DIMENSION = 4096; - - public const uint D3D_FL9_1_REQ_TEXTURE3D_U_V_OR_W_DIMENSION = 256; - - public const uint D3D_FL9_1_DEFAULT_MAX_ANISOTROPY = 2; - - public const uint D3D_FL9_1_IA_PRIMITIVE_MAX_COUNT = 65535; - - public const uint D3D_FL9_2_IA_PRIMITIVE_MAX_COUNT = 1048575; - - public const uint D3D_FL9_1_SIMULTANEOUS_RENDER_TARGET_COUNT = 1; - - public const uint D3D_FL9_3_SIMULTANEOUS_RENDER_TARGET_COUNT = 4; - - public const uint D3D_FL9_1_MAX_TEXTURE_REPEAT = 128; - - public const uint D3D_FL9_2_MAX_TEXTURE_REPEAT = 2048; - - public const uint D3D_FL9_3_MAX_TEXTURE_REPEAT = 8192; - - public const uint D3D_SHADER_FEATURE_DOUBLES = 1; - - public const uint D3D_SHADER_FEATURE_COMPUTE_SHADERS_PLUS_RAW_AND_STRUCTURED_BUFFERS_VIA_SHADER_4_X = 2; - - public const uint D3D_SHADER_FEATURE_UAVS_AT_EVERY_STAGE = 4; - - public const uint D3D_SHADER_FEATURE_64_UAVS = 8; - - public const uint D3D_SHADER_FEATURE_MINIMUM_PRECISION = 16; - - public const uint D3D_SHADER_FEATURE_11_1_DOUBLE_EXTENSIONS = 32; - - public const uint D3D_SHADER_FEATURE_11_1_SHADER_EXTENSIONS = 64; - - public const uint D3D_SHADER_FEATURE_LEVEL_9_COMPARISON_FILTERING = 128; - - public const uint D3D_SHADER_FEATURE_TILED_RESOURCES = 256; - - public const uint D3D_SHADER_FEATURE_STENCIL_REF = 512; - - public const uint D3D_SHADER_FEATURE_INNER_COVERAGE = 1024; - - public const uint D3D_SHADER_FEATURE_TYPED_UAV_LOAD_ADDITIONAL_FORMATS = 2048; - - public const uint D3D_SHADER_FEATURE_ROVS = 4096; - - public const uint D3D_SHADER_FEATURE_VIEWPORT_AND_RT_ARRAY_INDEX_FROM_ANY_SHADER_FEEDING_RASTERIZER = 8192; - - public const uint D3D_SHADER_FEATURE_WAVE_OPS = 16384; - - public const uint D3D_SHADER_FEATURE_INT64_OPS = 32768; - - public const uint D3D_SHADER_FEATURE_VIEW_ID = 65536; - - public const uint D3D_SHADER_FEATURE_BARYCENTRICS = 131072; - - public const uint D3D_SHADER_FEATURE_NATIVE_16BIT_OPS = 262144; - - public const uint D3D_SHADER_FEATURE_SHADING_RATE = 524288; - - public const uint D3D_SHADER_FEATURE_RAYTRACING_TIER_1_1 = 1048576; - - public const uint D3D_SHADER_FEATURE_SAMPLER_FEEDBACK = 2097152; - - public const uint D3D_SHADER_FEATURE_ATOMIC_INT64_ON_TYPED_RESOURCE = 4194304; - - public const uint D3D_SHADER_FEATURE_ATOMIC_INT64_ON_GROUP_SHARED = 8388608; - - public const uint D3D_SHADER_FEATURE_DERIVATIVES_IN_MESH_AND_AMPLIFICATION_SHADERS = 16777216; - - public const uint D3D_SHADER_FEATURE_RESOURCE_DESCRIPTOR_HEAP_INDEXING = 33554432; - - public const uint D3D_SHADER_FEATURE_SAMPLER_DESCRIPTOR_HEAP_INDEXING = 67108864; - - public const uint D3D_SHADER_FEATURE_WAVE_MMA = 134217728; - - public const uint D3D_SHADER_FEATURE_ATOMIC_INT64_ON_DESCRIPTOR_HEAP_RESOURCE = 268435456; - - public static ref readonly Guid WKPDID_D3DDebugObjectName - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x22, 0x8C, 0x9B, 0x42, - 0x88, 0x91, - 0x0C, 0x4B, - 0x87, - 0x42, - 0xAC, - 0xB0, - 0xBF, - 0x85, - 0xC2, - 0x00 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid WKPDID_D3DDebugObjectNameW - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD8, 0x5F, 0xCA, 0x4C, - 0x1F, 0x92, - 0xC8, 0x42, - 0x85, - 0x66, - 0x70, - 0xCA, - 0xF2, - 0xA9, - 0xB7, - 0x41 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid WKPDID_CommentStringW - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC0, 0x9D, 0x14, 0xD0, - 0xE8, 0x90, - 0xC8, 0x4E, - 0x81, - 0x44, - 0xE9, - 0x00, - 0xAD, - 0x26, - 0x6B, - 0xB2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid WKPDID_D3D12UniqueObjectId - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x15, 0xDE, 0x39, 0x1B, - 0x04, 0xEC, - 0xAE, 0x4B, - 0xBA, - 0x4D, - 0x8C, - 0xEF, - 0x79, - 0xFC, - 0x04, - 0xC1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint D3D_COMPONENT_MASK_X = 1; - - public const uint D3D_COMPONENT_MASK_Y = 2; - - public const uint D3D_COMPONENT_MASK_Z = 4; - - public const uint D3D_COMPONENT_MASK_W = 8; - - public static ref readonly Guid D3D_TEXTURE_LAYOUT_ROW_MAJOR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4F, 0x23, 0xDC, 0xB5, - 0xBB, 0x72, - 0xEC, 0x4B, - 0x97, - 0x05, - 0x8C, - 0xF2, - 0x58, - 0xDF, - 0x6B, - 0x6C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid D3D_TEXTURE_LAYOUT_64KB_STANDARD_SWIZZLE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE3, 0x29, 0x0F, 0x4C, - 0x5F, 0x3F, - 0x35, 0x4D, - 0x84, - 0xC9, - 0xBC, - 0x09, - 0x83, - 0xB6, - 0x2C, - 0x28 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - -} - -#region Enums -/// -/// D3D_DRIVER_TYPE -public enum DriverType : int -{ - /// - /// D3D_DRIVER_TYPE_UNKNOWN - Unknown = 0, - /// - /// D3D_DRIVER_TYPE_HARDWARE - Hardware = 1, - /// - /// D3D_DRIVER_TYPE_REFERENCE - Reference = 2, - /// - /// D3D_DRIVER_TYPE_NULL - Null = 3, - /// - /// D3D_DRIVER_TYPE_SOFTWARE - Software = 4, - /// - /// D3D_DRIVER_TYPE_WARP - Warp = 5, -} - -/// -/// D3D_FEATURE_LEVEL -public enum FeatureLevel : int -{ - /// - /// D3D_FEATURE_LEVEL_1_0_CORE - Level_1_0_Core = 4096, - /// - /// D3D_FEATURE_LEVEL_9_1 - Level_9_1 = 37120, - /// - /// D3D_FEATURE_LEVEL_9_2 - Level_9_2 = 37376, - /// - /// D3D_FEATURE_LEVEL_9_3 - Level_9_3 = 37632, - /// - /// D3D_FEATURE_LEVEL_10_0 - Level_10_0 = 40960, - /// - /// D3D_FEATURE_LEVEL_10_1 - Level_10_1 = 41216, - /// - /// D3D_FEATURE_LEVEL_11_0 - Level_11_0 = 45056, - /// - /// D3D_FEATURE_LEVEL_11_1 - Level_11_1 = 45312, - /// - /// D3D_FEATURE_LEVEL_12_0 - Level_12_0 = 49152, - /// - /// D3D_FEATURE_LEVEL_12_1 - Level_12_1 = 49408, - /// - /// D3D_FEATURE_LEVEL_12_2 - Level_12_2 = 49664, -} - -/// -/// D3D_PRIMITIVE_TOPOLOGY -public enum PrimitiveTopology : int -{ - /// - /// D3D_PRIMITIVE_TOPOLOGY_UNDEFINED - Undefined = 0, - /// - /// D3D_PRIMITIVE_TOPOLOGY_POINTLIST - PointList = 1, - /// - /// D3D_PRIMITIVE_TOPOLOGY_LINELIST - LineList = 2, - /// - /// D3D_PRIMITIVE_TOPOLOGY_LINESTRIP - LineStrip = 3, - /// - /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST - TriangleList = 4, - /// - /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP - TriangleStrip = 5, - /// - /// D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ - LineListAdj = 10, - /// - /// D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ - LineStripAdj = 11, - /// - /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ - TriangleListAdj = 12, - /// - /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ - TriangleStripAdj = 13, - /// - /// D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST - P1ControlPointPatchList = 33, - /// - /// D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST - P2ControlPointPatchList = 34, - /// - /// D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST - P3ControlPointPatchList = 35, - /// - /// D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST - P4ControlPointPatchList = 36, - /// - /// D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST - P5ControlPointPatchList = 37, - /// - /// D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST - P6ControlPointPatchList = 38, - /// - /// D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST - P7ControlPointPatchList = 39, - /// - /// D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST - P8ControlPointPatchList = 40, - /// - /// D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST - P9ControlPointPatchList = 41, - /// - /// D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST - P10ControlPointPatchList = 42, - /// - /// D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST - P11ControlPointPatchList = 43, - /// - /// D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST - P12ControlPointPatchList = 44, - /// - /// D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST - P13ControlPointPatchList = 45, - /// - /// D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST - P14ControlPointPatchList = 46, - /// - /// D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST - P15ControlPointPatchList = 47, - /// - /// D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST - P16ControlPointPatchList = 48, - /// - /// D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST - P17ControlPointPatchList = 49, - /// - /// D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST - P18ControlPointPatchList = 50, - /// - /// D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST - P19ControlPointPatchList = 51, - /// - /// D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST - P20ControlPointPatchList = 52, - /// - /// D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST - P21ControlPointPatchList = 53, - /// - /// D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST - P22ControlPointPatchList = 54, - /// - /// D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST - P23ControlPointPatchList = 55, - /// - /// D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST - P24ControlPointPatchList = 56, - /// - /// D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST - P25ControlPointPatchList = 57, - /// - /// D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST - P26ControlPointPatchList = 58, - /// - /// D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST - P27ControlPointPatchList = 59, - /// - /// D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST - P28ControlPointPatchList = 60, - /// - /// D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST - P29ControlPointPatchList = 61, - /// - /// D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST - P30ControlPointPatchList = 62, - /// - /// D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST - P31ControlPointPatchList = 63, - /// - /// D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST - P32ControlPointPatchList = 64, -} - -/// -/// D3D_PRIMITIVE -public enum Primitive : int -{ - /// - /// D3D_PRIMITIVE_UNDEFINED - Undefined = 0, - /// - /// D3D_PRIMITIVE_POINT - Point = 1, - /// - /// D3D_PRIMITIVE_LINE - Line = 2, - /// - /// D3D_PRIMITIVE_TRIANGLE - Triangle = 3, - /// - /// D3D_PRIMITIVE_LINE_ADJ - LineAdj = 6, - /// - /// D3D_PRIMITIVE_TRIANGLE_ADJ - TriangleAdj = 7, - /// - /// D3D_PRIMITIVE_1_CONTROL_POINT_PATCH - P1ControlPointPatch = 8, - /// - /// D3D_PRIMITIVE_2_CONTROL_POINT_PATCH - P2ControlPointPatch = 9, - /// - /// D3D_PRIMITIVE_3_CONTROL_POINT_PATCH - P3ControlPointPatch = 10, - /// - /// D3D_PRIMITIVE_4_CONTROL_POINT_PATCH - P4ControlPointPatch = 11, - /// - /// D3D_PRIMITIVE_5_CONTROL_POINT_PATCH - P5ControlPointPatch = 12, - /// - /// D3D_PRIMITIVE_6_CONTROL_POINT_PATCH - P6ControlPointPatch = 13, - /// - /// D3D_PRIMITIVE_7_CONTROL_POINT_PATCH - P7ControlPointPatch = 14, - /// - /// D3D_PRIMITIVE_8_CONTROL_POINT_PATCH - P8ControlPointPatch = 15, - /// - /// D3D_PRIMITIVE_9_CONTROL_POINT_PATCH - P9ControlPointPatch = 16, - /// - /// D3D_PRIMITIVE_10_CONTROL_POINT_PATCH - P10ControlPointPatch = 17, - /// - /// D3D_PRIMITIVE_11_CONTROL_POINT_PATCH - P11ControlPointPatch = 18, - /// - /// D3D_PRIMITIVE_12_CONTROL_POINT_PATCH - P12ControlPointPatch = 19, - /// - /// D3D_PRIMITIVE_13_CONTROL_POINT_PATCH - P13ControlPointPatch = 20, - /// - /// D3D_PRIMITIVE_14_CONTROL_POINT_PATCH - P14ControlPointPatch = 21, - /// - /// D3D_PRIMITIVE_15_CONTROL_POINT_PATCH - P15ControlPointPatch = 22, - /// - /// D3D_PRIMITIVE_16_CONTROL_POINT_PATCH - P16ControlPointPatch = 23, - /// - /// D3D_PRIMITIVE_17_CONTROL_POINT_PATCH - P17ControlPointPatch = 24, - /// - /// D3D_PRIMITIVE_18_CONTROL_POINT_PATCH - P18ControlPointPatch = 25, - /// - /// D3D_PRIMITIVE_19_CONTROL_POINT_PATCH - P19ControlPointPatch = 26, - /// - /// D3D_PRIMITIVE_20_CONTROL_POINT_PATCH - P20ControlPointPatch = 27, - /// - /// D3D_PRIMITIVE_21_CONTROL_POINT_PATCH - P21ControlPointPatch = 28, - /// - /// D3D_PRIMITIVE_22_CONTROL_POINT_PATCH - P22ControlPointPatch = 29, - /// - /// D3D_PRIMITIVE_23_CONTROL_POINT_PATCH - P23ControlPointPatch = 30, - /// - /// D3D_PRIMITIVE_24_CONTROL_POINT_PATCH - P24ControlPointPatch = 31, - /// - /// D3D_PRIMITIVE_25_CONTROL_POINT_PATCH - P25ControlPointPatch = 32, - /// - /// D3D_PRIMITIVE_26_CONTROL_POINT_PATCH - P26ControlPointPatch = 33, - /// - /// D3D_PRIMITIVE_27_CONTROL_POINT_PATCH - P27ControlPointPatch = 34, - /// - /// D3D_PRIMITIVE_28_CONTROL_POINT_PATCH - P28ControlPointPatch = 35, - /// - /// D3D_PRIMITIVE_29_CONTROL_POINT_PATCH - P29ControlPointPatch = 36, - /// - /// D3D_PRIMITIVE_30_CONTROL_POINT_PATCH - P30ControlPointPatch = 37, - /// - /// D3D_PRIMITIVE_31_CONTROL_POINT_PATCH - P31ControlPointPatch = 38, - /// - /// D3D_PRIMITIVE_32_CONTROL_POINT_PATCH - P32ControlPointPatch = 39, -} - -/// -/// D3D_SRV_DIMENSION -public enum SrvDimension : int -{ - /// - /// D3D_SRV_DIMENSION_UNKNOWN - Unknown = 0, - /// - /// D3D_SRV_DIMENSION_BUFFER - Buffer = 1, - /// - /// D3D_SRV_DIMENSION_TEXTURE1D - Texture1D = 2, - /// - /// D3D_SRV_DIMENSION_TEXTURE1DARRAY - Texture1DArray = 3, - /// - /// D3D_SRV_DIMENSION_TEXTURE2D - Texture2D = 4, - /// - /// D3D_SRV_DIMENSION_TEXTURE2DARRAY - Texture2DArray = 5, - /// - /// D3D_SRV_DIMENSION_TEXTURE2DMS - Texture2DMs = 6, - /// - /// D3D_SRV_DIMENSION_TEXTURE2DMSARRAY - Texture2DMsArray = 7, - /// - /// D3D_SRV_DIMENSION_TEXTURE3D - Texture3D = 8, - /// - /// D3D_SRV_DIMENSION_TEXTURECUBE - TextureCube = 9, - /// - /// D3D_SRV_DIMENSION_TEXTURECUBEARRAY - TextureCubeArray = 10, - /// - /// D3D_SRV_DIMENSION_BUFFEREX - BufferExtended = 11, -} - -/// -/// D3D_INCLUDE_TYPE -public enum IncludeType : int -{ - /// - /// D3D_INCLUDE_LOCAL - Local = 0, - /// - /// D3D_INCLUDE_SYSTEM - System = 1, -} - -/// -/// D3D_SHADER_VARIABLE_CLASS -public enum ShaderVariableClass : int -{ - /// - /// D3D_SVC_SCALAR - Scalar = 0, - /// - /// D3D_SVC_VECTOR - Vector = 1, - /// - /// D3D_SVC_MATRIX_ROWS - MatrixRows = 2, - /// - /// D3D_SVC_MATRIX_COLUMNS - MatrixColumns = 3, - /// - /// D3D_SVC_OBJECT - Object = 4, - /// - /// D3D_SVC_STRUCT - Struct = 5, - /// - /// D3D_SVC_INTERFACE_CLASS - InterfaceClass = 6, - /// - /// D3D_SVC_INTERFACE_POINTER - InterfacePointer = 7, -} - -/// -/// D3D_SHADER_VARIABLE_FLAGS -[Flags] -public enum ShaderVariableFlags : int -{ - None = 0, - /// - /// D3D_SVF_USERPACKED - UserPacked = 1, - /// - /// D3D_SVF_USED - Used = 2, - /// - /// D3D_SVF_INTERFACE_POINTER - InterfacePointer = 4, - /// - /// D3D_SVF_INTERFACE_PARAMETER - InterfaceParameter = 8, -} - -/// -/// D3D_SHADER_VARIABLE_TYPE -public enum ShaderVariableType : int -{ - /// - /// D3D_SVT_VOID - Void = 0, - /// - /// D3D_SVT_BOOL - Bool = 1, - /// - /// D3D_SVT_INT - Int = 2, - /// - /// D3D_SVT_FLOAT - Float = 3, - /// - /// D3D_SVT_STRING - String = 4, - /// - /// D3D_SVT_TEXTURE - Texture = 5, - /// - /// D3D_SVT_TEXTURE1D - Texture1D = 6, - /// - /// D3D_SVT_TEXTURE2D - Texture2D = 7, - /// - /// D3D_SVT_TEXTURE3D - Texture3D = 8, - /// - /// D3D_SVT_TEXTURECUBE - TextureCube = 9, - /// - /// D3D_SVT_SAMPLER - Sampler = 10, - /// - /// D3D_SVT_SAMPLER1D - Sampler1D = 11, - /// - /// D3D_SVT_SAMPLER2D - Sampler2D = 12, - /// - /// D3D_SVT_SAMPLER3D - Sampler3D = 13, - /// - /// D3D_SVT_SAMPLERCUBE - SamplerCube = 14, - /// - /// D3D_SVT_PIXELSHADER - PixelShader = 15, - /// - /// D3D_SVT_VERTEXSHADER - VertexShader = 16, - /// - /// D3D_SVT_PIXELFRAGMENT - PixelFragment = 17, - /// - /// D3D_SVT_VERTEXFRAGMENT - VertexFragment = 18, - /// - /// D3D_SVT_UINT - Uint = 19, - /// - /// D3D_SVT_UINT8 - Uint8 = 20, - /// - /// D3D_SVT_GEOMETRYSHADER - GeometryShader = 21, - /// - /// D3D_SVT_RASTERIZER - Rasterizer = 22, - /// - /// D3D_SVT_DEPTHSTENCIL - DepthStencil = 23, - /// - /// D3D_SVT_BLEND - Blend = 24, - /// - /// D3D_SVT_BUFFER - Buffer = 25, - /// - /// D3D_SVT_CBUFFER - CBuffer = 26, - /// - /// D3D_SVT_TBUFFER - TBuffer = 27, - /// - /// D3D_SVT_TEXTURE1DARRAY - Texture1DArray = 28, - /// - /// D3D_SVT_TEXTURE2DARRAY - Texture2DArray = 29, - /// - /// D3D_SVT_RENDERTARGETVIEW - RenderTargetView = 30, - /// - /// D3D_SVT_DEPTHSTENCILVIEW - DepthStencilView = 31, - /// - /// D3D_SVT_TEXTURE2DMS - Texture2DMs = 32, - /// - /// D3D_SVT_TEXTURE2DMSARRAY - Texture2DMsArray = 33, - /// - /// D3D_SVT_TEXTURECUBEARRAY - TextureCubeArray = 34, - /// - /// D3D_SVT_HULLSHADER - Hullshader = 35, - /// - /// D3D_SVT_DOMAINSHADER - DomainShader = 36, - /// - /// D3D_SVT_INTERFACE_POINTER - InterfacePointer = 37, - /// - /// D3D_SVT_COMPUTESHADER - ComputeShader = 38, - /// - /// D3D_SVT_DOUBLE - Double = 39, - /// - /// D3D_SVT_RWTEXTURE1D - RwTexture1D = 40, - /// - /// D3D_SVT_RWTEXTURE1DARRAY - RwTexture1DArray = 41, - /// - /// D3D_SVT_RWTEXTURE2D - RwTexture2D = 42, - /// - /// D3D_SVT_RWTEXTURE2DARRAY - RwTexture2DArray = 43, - /// - /// D3D_SVT_RWTEXTURE3D - RwTexture3D = 44, - /// - /// D3D_SVT_RWBUFFER - RwBuffer = 45, - /// - /// D3D_SVT_BYTEADDRESS_BUFFER - ByteAddressBuffer = 46, - /// - /// D3D_SVT_RWBYTEADDRESS_BUFFER - RwByteAddressBuffer = 47, - /// - /// D3D_SVT_STRUCTURED_BUFFER - StructuredBuffer = 48, - /// - /// D3D_SVT_RWSTRUCTURED_BUFFER - RwStructuredBuffer = 49, - /// - /// D3D_SVT_APPEND_STRUCTURED_BUFFER - AppendStructuredBuffer = 50, - /// - /// D3D_SVT_CONSUME_STRUCTURED_BUFFER - ConsumeStructuredBuffer = 51, - /// - /// D3D_SVT_MIN8FLOAT - Min8Float = 52, - /// - /// D3D_SVT_MIN10FLOAT - Min10Float = 53, - /// - /// D3D_SVT_MIN16FLOAT - Min16Float = 54, - /// - /// D3D_SVT_MIN12INT - Min12Int = 55, - /// - /// D3D_SVT_MIN16INT - Min16Int = 56, - /// - /// D3D_SVT_MIN16UINT - Min16Uint = 57, - /// - /// D3D_SVT_INT16 - Int16 = 58, - /// - /// D3D_SVT_UINT16 - UInt16 = 59, - /// - /// D3D_SVT_FLOAT16 - Float16 = 60, - /// - /// D3D_SVT_INT64 - Int64 = 61, - /// - /// D3D_SVT_UINT64 - UInt64 = 62, -} - -/// -/// D3D_SHADER_INPUT_FLAGS -[Flags] -public enum ShaderInputFlags : int -{ - None = 0, - /// - /// D3D_SIF_USERPACKED - UserPacked = 1, - /// - /// D3D_SIF_COMPARISON_SAMPLER - ComparisonSampler = 2, - /// - /// D3D_SIF_TEXTURE_COMPONENT_0 - TextureComponent0 = 4, - /// - /// D3D_SIF_TEXTURE_COMPONENT_1 - TextureComponent1 = 8, - /// - /// D3D_SIF_TEXTURE_COMPONENTS - TextureComponents = 12, - /// - /// D3D_SIF_UNUSED - Unused = 16, -} - -/// -/// D3D_SHADER_INPUT_TYPE -public enum ShaderInputType : int -{ - /// - /// D3D_SIT_CBUFFER - CBuffer = 0, - /// - /// D3D_SIT_TBUFFER - TBuffer = 1, - /// - /// D3D_SIT_TEXTURE - Texture = 2, - /// - /// D3D_SIT_SAMPLER - Sampler = 3, - /// - /// D3D_SIT_UAV_RWTYPED - UavRwTyped = 4, - /// - /// D3D_SIT_STRUCTURED - Structured = 5, - /// - /// D3D_SIT_UAV_RWSTRUCTURED - UavRwStructured = 6, - /// - /// D3D_SIT_BYTEADDRESS - ByteAddress = 7, - /// - /// D3D_SIT_UAV_RWBYTEADDRESS - UavRwByteAddress = 8, - /// - /// D3D_SIT_UAV_APPEND_STRUCTURED - UavAppendStructured = 9, - /// - /// D3D_SIT_UAV_CONSUME_STRUCTURED - UavConsumeStructured = 10, - /// - /// D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER - UavRwStructuredWithCounter = 11, - /// - /// D3D_SIT_RTACCELERATIONSTRUCTURE - RtAccelerationStructure = 12, - /// - /// D3D_SIT_UAV_FEEDBACKTEXTURE - UavFeedbackTexture = 13, -} - -/// -/// D3D_SHADER_CBUFFER_FLAGS -[Flags] -public enum ShaderCBufferFlags : int -{ - None = 0, - /// - /// D3D_CBF_USERPACKED - UserPacked = 1, -} - -/// -/// D3D_CBUFFER_TYPE -public enum CBufferType : int -{ - /// - /// D3D_CT_CBUFFER - CBuffer = 0, - /// - /// D3D_CT_TBUFFER - TBuffer = 1, - /// - /// D3D_CT_INTERFACE_POINTERS - InterfacePointers = 2, - /// - /// D3D_CT_RESOURCE_BIND_INFO - ResourceBindInfo = 3, -} - -/// -/// D3D_NAME -public enum Name : int -{ - /// - /// D3D_NAME_UNDEFINED - Undefined = 0, - /// - /// D3D_NAME_POSITION - Position = 1, - /// - /// D3D_NAME_CLIP_DISTANCE - ClipDistance = 2, - /// - /// D3D_NAME_CULL_DISTANCE - CullDistance = 3, - /// - /// D3D_NAME_RENDER_TARGET_ARRAY_INDEX - RenderTargetArrayIndex = 4, - /// - /// D3D_NAME_VIEWPORT_ARRAY_INDEX - ViewportArrayIndex = 5, - /// - /// D3D_NAME_VERTEX_ID - VertexId = 6, - /// - /// D3D_NAME_PRIMITIVE_ID - PrimitiveId = 7, - /// - /// D3D_NAME_INSTANCE_ID - InstanceId = 8, - /// - /// D3D_NAME_IS_FRONT_FACE - IsFrontFace = 9, - /// - /// D3D_NAME_SAMPLE_INDEX - SampleIndex = 10, - /// - /// D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR - FinalQuadEdgeTessFactor = 11, - /// - /// D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR - FinalQuadInsideTessFactor = 12, - /// - /// D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR - FinalTriEdgeTessFactor = 13, - /// - /// D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR - FinalTriInsideTessFactor = 14, - /// - /// D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR - FinalLineDetailTessFactor = 15, - /// - /// D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR - FinalLineDensityTessFactor = 16, - /// - /// D3D_NAME_BARYCENTRICS - Barycentrics = 23, - /// - /// D3D_NAME_SHADINGRATE - ShadingRate = 24, - /// - /// D3D_NAME_CULLPRIMITIVE - CullPrimitive = 25, - /// - /// D3D_NAME_TARGET - Target = 64, - /// - /// D3D_NAME_DEPTH - Depth = 65, - /// - /// D3D_NAME_COVERAGE - Coverage = 66, - /// - /// D3D_NAME_DEPTH_GREATER_EQUAL - DepthGreaterEqual = 67, - /// - /// D3D_NAME_DEPTH_LESS_EQUAL - DepthLessEqual = 68, - /// - /// D3D_NAME_STENCIL_REF - StencilRef = 69, - /// - /// D3D_NAME_INNER_COVERAGE - InnerCoverage = 70, -} - -/// -/// D3D_RESOURCE_RETURN_TYPE -public enum ResourceReturnType : int -{ - /// - /// D3D_RETURN_TYPE_UNORM - Unorm = 1, - /// - /// D3D_RETURN_TYPE_SNORM - Snorm = 2, - /// - /// D3D_RETURN_TYPE_SINT - Sint = 3, - /// - /// D3D_RETURN_TYPE_UINT - Uint = 4, - /// - /// D3D_RETURN_TYPE_FLOAT - Float = 5, - /// - /// D3D_RETURN_TYPE_MIXED - Mixed = 6, - /// - /// D3D_RETURN_TYPE_DOUBLE - Double = 7, - /// - /// D3D_RETURN_TYPE_CONTINUED - Continued = 8, -} - -/// -/// D3D_REGISTER_COMPONENT_TYPE -public enum RegisterComponentType : int -{ - /// - /// D3D_REGISTER_COMPONENT_UNKNOWN - Unknown = 0, - /// - /// D3D_REGISTER_COMPONENT_UINT32 - UInt32 = 1, - /// - /// D3D_REGISTER_COMPONENT_SINT32 - Sint32 = 2, - /// - /// D3D_REGISTER_COMPONENT_FLOAT32 - Float32 = 3, -} - -/// -/// D3D_TESSELLATOR_DOMAIN -public enum TessellatorDomain : int -{ - /// - /// D3D_TESSELLATOR_DOMAIN_UNDEFINED - Undefined = 0, - /// - /// D3D_TESSELLATOR_DOMAIN_ISOLINE - Isoline = 1, - /// - /// D3D_TESSELLATOR_DOMAIN_TRI - Tri = 2, - /// - /// D3D_TESSELLATOR_DOMAIN_QUAD - Quad = 3, -} - -/// -/// D3D_TESSELLATOR_PARTITIONING -public enum TessellatorPartitioning : int -{ - /// - /// D3D_TESSELLATOR_PARTITIONING_UNDEFINED - Undefined = 0, - /// - /// D3D_TESSELLATOR_PARTITIONING_INTEGER - Integer = 1, - /// - /// D3D_TESSELLATOR_PARTITIONING_POW2 - Pow2 = 2, - /// - /// D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD - FractionalOdd = 3, - /// - /// D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN - FractionalEven = 4, -} - -/// -/// D3D_TESSELLATOR_OUTPUT_PRIMITIVE -public enum TessellatorOutputPrimitive : int -{ - /// - /// D3D_TESSELLATOR_OUTPUT_UNDEFINED - Undefined = 0, - /// - /// D3D_TESSELLATOR_OUTPUT_POINT - Point = 1, - /// - /// D3D_TESSELLATOR_OUTPUT_LINE - Line = 2, - /// - /// D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW - TriangleCw = 3, - /// - /// D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW - TriangleCcw = 4, -} - -/// -/// D3D_MIN_PRECISION -public enum MinPrecision : int -{ - /// - /// D3D_MIN_PRECISION_DEFAULT - Default = 0, - /// - /// D3D_MIN_PRECISION_FLOAT_16 - Float16 = 1, - /// - /// D3D_MIN_PRECISION_FLOAT_2_8 - Float28 = 2, - /// - /// D3D_MIN_PRECISION_RESERVED - Reserved = 3, - /// - /// D3D_MIN_PRECISION_SINT_16 - Sint16 = 4, - /// - /// D3D_MIN_PRECISION_UINT_16 - Uint16 = 5, - /// - /// D3D_MIN_PRECISION_ANY_16 - Any16 = 240, - /// - /// D3D_MIN_PRECISION_ANY_10 - Any10 = 241, -} - -/// -/// D3D_INTERPOLATION_MODE -public enum InterpolationMode : int -{ - /// - /// D3D_INTERPOLATION_UNDEFINED - Undefined = 0, - /// - /// D3D_INTERPOLATION_CONSTANT - Constant = 1, - /// - /// D3D_INTERPOLATION_LINEAR - Linear = 2, - /// - /// D3D_INTERPOLATION_LINEAR_CENTROID - LinearCentroid = 3, - /// - /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE - LinearNoPerspective = 4, - /// - /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID - LinearNoPerspectiveCentroid = 5, - /// - /// D3D_INTERPOLATION_LINEAR_SAMPLE - LinearSample = 6, - /// - /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE - LinearNoPerspectiveSample = 7, -} - -/// -/// D3D_PARAMETER_FLAGS -[Flags] -public enum ParameterFlags : int -{ - /// - /// D3D_PF_NONE - None = 0, - /// - /// D3D_PF_IN - In = 1, - /// - /// D3D_PF_OUT - Out = 2, -} -#endregion Enums - -#region Structs - -/// -/// D3D_SHADER_MACRO -public partial struct ShaderMacro -{ - /// - public unsafe sbyte* Name; - - /// - public unsafe sbyte* Definition; -} -#endregion Structs - -#region COM Types -#endregion Com Types - diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.Functions.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.Functions.cs new file mode 100644 index 0000000..6707655 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.Functions.cs @@ -0,0 +1,76 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +public static unsafe partial class Apis +{ + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DReadFileToBlob(ushort* pFileName, Graphics.Direct3D.ID3DBlob** ppContents); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DWriteBlobToFile(Graphics.Direct3D.ID3DBlob* pBlob, ushort* pFileName, Bool32 bOverwrite); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DCompile(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DCompile2(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, uint SecondaryDataFlags, void* pSecondaryData, nuint SecondaryDataSize, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DCompileFromFile(ushort* pFileName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DPreprocess(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, Graphics.Direct3D.ID3DBlob** ppCodeText, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetDebugInfo(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppDebugInfo); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DReflect(void* pSrcData, nuint SrcDataSize, Guid* pInterface, void** ppReflector); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DReflectLibrary(void* pSrcData, nuint SrcDataSize, Guid* riid, void** ppReflector); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DDisassemble(void* pSrcData, nuint SrcDataSize, DisasmFlags Flags, sbyte* szComments, Graphics.Direct3D.ID3DBlob** ppDisassembly); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DDisassembleRegion(void* pSrcData, nuint SrcDataSize, uint Flags, sbyte* szComments, nuint StartByteOffset, nuint NumInsts, nuint* pFinishByteOffset, Graphics.Direct3D.ID3DBlob** ppDisassembly); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetTraceInstructionOffsets(void* pSrcData, nuint SrcDataSize, uint Flags, nuint StartInstIndex, nuint NumInsts, nuint* pOffsets, nuint* pTotalInsts); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetInputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetOutputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetInputAndOutputSignatureBlob(void* pSrcData, nuint SrcDataSize, Graphics.Direct3D.ID3DBlob** ppSignatureBlob); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DStripShader(void* pShaderBytecode, nuint BytecodeLength, uint uStripFlags, Graphics.Direct3D.ID3DBlob** ppStrippedBlob); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DGetBlobPart(void* pSrcData, nuint SrcDataSize, BlobPart Part, uint Flags, Graphics.Direct3D.ID3DBlob** ppPart); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DSetBlobPart(void* pSrcData, nuint SrcDataSize, BlobPart Part, uint Flags, void* pPart, nuint PartSize, Graphics.Direct3D.ID3DBlob** ppNewShader); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DCreateBlob(nuint Size, Graphics.Direct3D.ID3DBlob** ppBlob); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DCompressShaders(uint uNumShaders, ShaderData* pShaderData, CompressShaderFlags uFlags, Graphics.Direct3D.ID3DBlob** ppCompressedData); + + [DllImport("D3DCOMPILER_47.dll", ExactSpelling = true)] + public static extern HResult D3DDecompressShaders(void* pSrcData, nuint SrcDataSize, uint uNumShaders, uint uStartIndex, uint* pIndices, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaders, uint* pTotalShaders); +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.cs new file mode 100644 index 0000000..977f148 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/Apis.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +public static partial class Apis +{ + public const uint D3D_COMPILER_VERSION = 47; + + public const uint D3D_GET_INST_OFFSETS_INCLUDE_NON_EXECUTABLE = 1; + +} + diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/BlobPart.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/BlobPart.cs new file mode 100644 index 0000000..2c4ca3c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/BlobPart.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// +/// D3D_BLOB_PART +public enum BlobPart : int +{ + /// + /// D3D_BLOB_INPUT_SIGNATURE_BLOB + InputSignatureBlob = 0, + /// + /// D3D_BLOB_OUTPUT_SIGNATURE_BLOB + OutputSignatureBlob = 1, + /// + /// D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB + InputAndOutputSignatureBlob = 2, + /// + /// D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB + PatchConstantSignatureBlob = 3, + /// + /// D3D_BLOB_ALL_SIGNATURE_BLOB + AllSignatureBlob = 4, + /// + /// D3D_BLOB_DEBUG_INFO + DebugInfo = 5, + /// + /// D3D_BLOB_LEGACY_SHADER + LegacyShader = 6, + /// + /// D3D_BLOB_XNA_PREPASS_SHADER + XNAPrepassShader = 7, + /// + /// D3D_BLOB_XNA_SHADER + XNAShader = 8, + /// + /// D3D_BLOB_PDB + Pdb = 9, + /// + /// D3D_BLOB_PRIVATE_DATA + PrivateData = 10, + /// + /// D3D_BLOB_ROOT_SIGNATURE + RootSignature = 11, + /// + /// D3D_BLOB_DEBUG_NAME + DebugName = 12, + /// + /// D3D_BLOB_TEST_ALTERNATE_SHADER + TestAlternateShader = 32768, + /// + /// D3D_BLOB_TEST_COMPILE_DETAILS + TestCompileDetails = 32769, + /// + /// D3D_BLOB_TEST_COMPILE_PERF + TestCompilePerf = 32770, + /// + /// D3D_BLOB_TEST_COMPILE_REPORT + TestCompileReport = 32771, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CBufferType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CBufferType.cs new file mode 100644 index 0000000..c0af300 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CBufferType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_CBUFFER_TYPE +public enum CBufferType : int +{ + /// + /// D3D_CT_CBUFFER + CBuffer = 0, + /// + /// D3D_CT_TBUFFER + TBuffer = 1, + /// + /// D3D_CT_INTERFACE_POINTERS + InterfacePointers = 2, + /// + /// D3D_CT_RESOURCE_BIND_INFO + ResourceBindInfo = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileEffectFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileEffectFlags.cs new file mode 100644 index 0000000..0a35b04 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileEffectFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3DCOMPILE_EFFECT +[Flags] +public enum CompileEffectFlags : uint +{ + None = 0, + /// D3DCOMPILE_EFFECT_CHILD_EFFECT + ChildEffect = 1, + /// D3DCOMPILE_EFFECT_ALLOW_SLOW_OPS + AllowSlowOps = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags.cs new file mode 100644 index 0000000..17e0449 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags.cs @@ -0,0 +1,69 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3DCOMPILE +[Flags] +public enum CompileFlags : uint +{ + None = 0, + /// D3DCOMPILE_DEBUG + Debug = 1, + /// D3DCOMPILE_SKIP_VALIDATION + SkipValidation = 2, + /// D3DCOMPILE_SKIP_OPTIMIZATION + SkipOptimization = 4, + /// D3DCOMPILE_PACK_MATRIX_ROW_MAJOR + PackMatrixRowMajor = 8, + /// D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR + PackMatrixColumnMajor = 16, + /// D3DCOMPILE_PARTIAL_PRECISION + PartialPrecision = 32, + /// D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT + ForceVSSoftwareNoOpt = 64, + /// D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT + ForcePSSoftwareNoOpt = 128, + /// D3DCOMPILE_NO_PRESHADER + NoPreshader = 256, + /// D3DCOMPILE_AVOID_FLOW_CONTROL + AvoidFlowControl = 512, + /// D3DCOMPILE_PREFER_FLOW_CONTROL + PreferFlowControl = 1024, + /// D3DCOMPILE_ENABLE_STRICTNESS + EnableStrictness = 2048, + /// D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY + EnableBackwardsCompatibility = 4096, + /// D3DCOMPILE_IEEE_STRICTNESS + IeeeStrictness = 8192, + /// D3DCOMPILE_OPTIMIZATION_LEVEL0 + OptimizationLevel0 = 16384, + /// D3DCOMPILE_OPTIMIZATION_LEVEL1 + OptimizationLevel1 = 0, + /// D3DCOMPILE_OPTIMIZATION_LEVEL2 + OptimizationLevel2 = 49152, + /// D3DCOMPILE_OPTIMIZATION_LEVEL3 + OptimizationLevel3 = 32768, + /// D3DCOMPILE_RESERVED16 + Reserved16 = 65536, + /// D3DCOMPILE_RESERVED17 + Reserved17 = 131072, + /// D3DCOMPILE_WARNINGS_ARE_ERRORS + WarningsAreErrors = 262144, + /// D3DCOMPILE_RESOURCES_MAY_ALIAS + ResourcesMayAlias = 524288, + /// D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES + EnableUnboundedDescriptorTables = 1048576, + /// D3DCOMPILE_ALL_RESOURCES_BOUND + AllResourcesBound = 2097152, + /// D3DCOMPILE_DEBUG_NAME_FOR_SOURCE + DebugNameForSource = 4194304, + /// D3DCOMPILE_DEBUG_NAME_FOR_BINARY + DebugNameForBinary = 8388608, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags2.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags2.cs new file mode 100644 index 0000000..5c7865c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileFlags2.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3DCOMPILE_FLAGS2 +[Flags] +public enum CompileFlags2 : uint +{ + None = 0, + /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_LATEST + ForceRootSignatureLatest = 0, + /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_0 + ForceRootSignature10 = 16, + /// D3DCOMPILE_FLAGS2_FORCE_ROOT_SIGNATURE_1_1 + ForceRootSignature11 = 32, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileSecondaryFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileSecondaryFlags.cs new file mode 100644 index 0000000..129619f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompileSecondaryFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3DCOMPILE_SECDATA +[Flags] +public enum CompileSecondaryFlags : uint +{ + None = 0, + /// D3DCOMPILE_SECDATA_MERGE_UAV_SLOTS + MergeUavSlots = 1, + /// D3DCOMPILE_SECDATA_PRESERVE_TEMPLATE_SLOTS + PreserveTemplateSlots = 2, + /// D3DCOMPILE_SECDATA_REQUIRE_TEMPLATE_MATCH + RequireTemplateMatch = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/CompressShaderFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompressShaderFlags.cs new file mode 100644 index 0000000..9c1df7e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/CompressShaderFlags.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3D_COMPRESS_SHADER +[Flags] +public enum CompressShaderFlags : uint +{ + None = 0, + /// D3D_COMPRESS_SHADER_KEEP_ALL_PARTS + KeepAllParts = 1, +} diff --git a/src/Vortice.Win32/Generated/Direct3D.xml b/src/Vortice.Win32/Generated/Graphics/Direct3D/Direct3D.xml similarity index 100% rename from src/Vortice.Win32/Generated/Direct3D.xml rename to src/Vortice.Win32/Generated/Graphics/Direct3D/Direct3D.xml diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DisasmFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DisasmFlags.cs new file mode 100644 index 0000000..a336c4a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DisasmFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// D3D_DISASM +[Flags] +public enum DisasmFlags : uint +{ + None = 0, + /// D3D_DISASM_ENABLE_COLOR_CODE + EnableColorCode = 1, + /// D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTS + EnableDefaultValuePrints = 2, + /// D3D_DISASM_ENABLE_INSTRUCTION_NUMBERING + EnableInstructionNumbering = 4, + /// D3D_DISASM_ENABLE_INSTRUCTION_CYCLE + EnableInstructionCycle = 8, + /// D3D_DISASM_DISABLE_DEBUG_INFO + DisableDebugInfo = 16, + /// D3D_DISASM_ENABLE_INSTRUCTION_OFFSET + EnableInstructionOffset = 32, + /// D3D_DISASM_INSTRUCTION_ONLY + InstructionOnly = 64, + /// D3D_DISASM_PRINT_HEX_LITERALS + PrintHexLiterals = 128, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DriverType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DriverType.cs new file mode 100644 index 0000000..70e9b35 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DriverType.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_DRIVER_TYPE +public enum DriverType : int +{ + /// + /// D3D_DRIVER_TYPE_UNKNOWN + Unknown = 0, + /// + /// D3D_DRIVER_TYPE_HARDWARE + Hardware = 1, + /// + /// D3D_DRIVER_TYPE_REFERENCE + Reference = 2, + /// + /// D3D_DRIVER_TYPE_NULL + Null = 3, + /// + /// D3D_DRIVER_TYPE_SOFTWARE + Software = 4, + /// + /// D3D_DRIVER_TYPE_WARP + Warp = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcArgPair.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcArgPair.cs new file mode 100644 index 0000000..0b9a324 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcArgPair.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DxcArgPair +public partial struct DxcArgPair +{ + /// + public unsafe ushort* pName; + + /// + public unsafe ushort* pValue; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcBuffer.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcBuffer.cs new file mode 100644 index 0000000..9b3fe86 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcBuffer.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DxcBuffer +public partial struct DxcBuffer +{ + /// + public unsafe void* Ptr; + + /// + public nuint Size; + + /// + public uint Encoding; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcCp.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcCp.cs new file mode 100644 index 0000000..a63e52a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcCp.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DXC_CP +public enum DxcCp : uint +{ + /// + /// DXC_CP_ACP + Acp = 0, + /// + /// DXC_CP_UTF16 + Utf16 = 1200, + /// + /// DXC_CP_UTF8 + Utf8 = 65001, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcDefine.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcDefine.cs new file mode 100644 index 0000000..5b502f1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcDefine.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DxcDefine +public partial struct DxcDefine +{ + /// + public unsafe ushort* Name; + + /// + public unsafe ushort* Value; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcHashFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcHashFlags.cs new file mode 100644 index 0000000..1f16682 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcHashFlags.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// DXC_HASHFLAG +[Flags] +public enum DxcHashFlags : uint +{ + None = 0, + /// DXC_HASHFLAG_INCLUDES_SOURCE + IncludesSource = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcOutKind.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcOutKind.cs new file mode 100644 index 0000000..5833f95 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcOutKind.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DXC_OUT_KIND +public enum DxcOutKind : int +{ + /// + /// DXC_OUT_NONE + None = 0, + /// + /// DXC_OUT_OBJECT + Object = 1, + /// + /// DXC_OUT_ERRORS + Errors = 2, + /// + /// DXC_OUT_PDB + Pdb = 3, + /// + /// DXC_OUT_SHADER_HASH + ShaderHash = 4, + /// + /// DXC_OUT_DISASSEMBLY + Disassembly = 5, + /// + /// DXC_OUT_HLSL + Hlsl = 6, + /// + /// DXC_OUT_TEXT + Text = 7, + /// + /// DXC_OUT_REFLECTION + Reflection = 8, + /// + /// DXC_OUT_ROOT_SIGNATURE + RootSignature = 9, + /// + /// DXC_OUT_EXTRA_OUTPUTS + ExtraOutputs = 10, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcShaderHash.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcShaderHash.cs new file mode 100644 index 0000000..f9481c5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcShaderHash.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// +/// DxcShaderHash +public partial struct DxcShaderHash +{ + /// + public DxcHashFlags Flags; + + /// + public unsafe fixed byte HashDigest[16]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcValidatorFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcValidatorFlags.cs new file mode 100644 index 0000000..d1e55c4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcValidatorFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// DxcValidatorFlags +[Flags] +public enum DxcValidatorFlags : uint +{ + None = 0, + /// DxcValidatorFlags_Default + Default = 0, + /// DxcValidatorFlags_InPlaceEdit + InPlaceEdit = 1, + /// DxcValidatorFlags_RootSignatureOnly + RootSignatureOnly = 2, + /// DxcValidatorFlags_ModuleOnly + ModuleOnly = 4, + /// DxcValidatorFlags_ValidMask + ValidMask = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcVersionInfoFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcVersionInfoFlags.cs new file mode 100644 index 0000000..02e67a1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/DxcVersionInfoFlags.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Dxc; + +/// DxcVersionInfoFlags +[Flags] +public enum DxcVersionInfoFlags : uint +{ + /// DxcVersionInfoFlags_None + None = 0, + /// DxcVersionInfoFlags_Debug + Debug = 1, + /// DxcVersionInfoFlags_Internal + Internal = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/FeatureLevel.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/FeatureLevel.cs new file mode 100644 index 0000000..6ad12b4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/FeatureLevel.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_FEATURE_LEVEL +public enum FeatureLevel : int +{ + /// + /// D3D_FEATURE_LEVEL_1_0_CORE + Level_1_0_Core = 4096, + /// + /// D3D_FEATURE_LEVEL_9_1 + Level_9_1 = 37120, + /// + /// D3D_FEATURE_LEVEL_9_2 + Level_9_2 = 37376, + /// + /// D3D_FEATURE_LEVEL_9_3 + Level_9_3 = 37632, + /// + /// D3D_FEATURE_LEVEL_10_0 + Level_10_0 = 40960, + /// + /// D3D_FEATURE_LEVEL_10_1 + Level_10_1 = 41216, + /// + /// D3D_FEATURE_LEVEL_11_0 + Level_11_0 = 45056, + /// + /// D3D_FEATURE_LEVEL_11_1 + Level_11_1 = 45312, + /// + /// D3D_FEATURE_LEVEL_12_0 + Level_12_0 = 49152, + /// + /// D3D_FEATURE_LEVEL_12_1 + Level_12_1 = 49408, + /// + /// D3D_FEATURE_LEVEL_12_2 + Level_12_2 = 49664, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DBlob.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DBlob.cs index bd12694..5d256d6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DBlob.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DBlob.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D; -/// +/// /// ID3DBlob [Guid("8ba5fb08-5195-40e2-ac58-0d989c3a0102")] [NativeTypeName("struct ID3DBlob : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DBlob +public unsafe partial struct ID3DBlob : INativeGuid { public static ref readonly Guid IID_ID3DBlob { @@ -40,7 +40,11 @@ public unsafe partial struct ID3DBlob } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DBlob)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DBlob)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID3DBlob return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void* GetBufferPointer() @@ -78,7 +82,7 @@ public unsafe partial struct ID3DBlob return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3DBlob*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public nuint GetBufferSize() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DDestructionNotifier.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DDestructionNotifier.cs index 7cc1590..4b56878 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DDestructionNotifier.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DDestructionNotifier.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D; -/// +/// /// ID3DDestructionNotifier [Guid("a06eb39a-50da-425b-8c31-4eecd6c270f3")] [NativeTypeName("struct ID3DDestructionNotifier : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct ID3DDestructionNotifier +public unsafe partial struct ID3DDestructionNotifier : INativeGuid { public static ref readonly Guid IID_ID3DDestructionNotifier { @@ -40,7 +40,11 @@ public unsafe partial struct ID3DDestructionNotifier } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDestructionNotifier)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3DDestructionNotifier)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct ID3DDestructionNotifier return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult RegisterDestructionCallback(delegate* unmanaged[Stdcall] callbackFn, void* pData, uint* pCallbackID) @@ -78,7 +82,7 @@ public unsafe partial struct ID3DDestructionNotifier return ((delegate* unmanaged[Stdcall], void*, uint*, int>)(lpVtbl[3]))((ID3DDestructionNotifier*)Unsafe.AsPointer(ref this), callbackFn, pData, pCallbackID); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult UnregisterDestructionCallback(uint callbackID) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs index 3e9cdad..a6d94ce 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs @@ -9,13 +9,13 @@ namespace Win32.Graphics.Direct3D; -/// +/// /// ID3DInclude public unsafe partial struct ID3DInclude { public void** lpVtbl; - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult Open(IncludeType IncludeType, sbyte* pFileName, void* pParentData, void** ppData, uint* pBytes) @@ -23,7 +23,7 @@ public unsafe partial struct ID3DInclude return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] public HResult Close(void* pData) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcAssembler.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcAssembler.cs index 84be792..f1bb0eb 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcAssembler.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcAssembler.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcAssembler [Guid("091f7a26-1c1f-4948-904b-e6e3a8a771d5")] [NativeTypeName("struct IDxcAssembler : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcAssembler +public unsafe partial struct IDxcAssembler : INativeGuid { public static ref readonly Guid IID_IDxcAssembler { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcAssembler } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcAssembler)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcAssembler)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcAssembler return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AssembleToContainer(IDxcBlob* pShader, IDxcOperationResult** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlob.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlob.cs index 93c40a2..969372d 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlob.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlob.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcBlob [Guid("8ba5fb08-5195-40e2-ac58-0d989c3a0102")] [NativeTypeName("struct IDxcBlob : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcBlob +public unsafe partial struct IDxcBlob : INativeGuid { public static ref readonly Guid IID_IDxcBlob { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcBlob } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlob)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlob)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcBlob return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void* GetBufferPointer() @@ -78,7 +82,7 @@ public unsafe partial struct IDxcBlob return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcBlob*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public nuint GetBufferSize() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobEncoding.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobEncoding.cs index c1c9f42..641fbea 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobEncoding.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobEncoding.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcBlobEncoding [Guid("7241d424-2646-4191-97c0-98e96e42fc68")] [NativeTypeName("struct IDxcBlobEncoding : IDxcBlob")] [NativeInheritance("IDxcBlob")] -public unsafe partial struct IDxcBlobEncoding +public unsafe partial struct IDxcBlobEncoding : INativeGuid { public static ref readonly Guid IID_IDxcBlobEncoding { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcBlobEncoding } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobEncoding)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobEncoding)); +#endif public void** lpVtbl; @@ -86,7 +90,7 @@ public unsafe partial struct IDxcBlobEncoding return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcBlobEncoding*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetEncoding(Bool32* pKnown, DxcCp* pCodePage) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf16.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf16.cs index 9abf5e1..2482e05 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf16.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf16.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcBlobUtf16 [Guid("a3f84eab-0faa-497e-a39c-ee6ed60b2d84")] [NativeTypeName("struct IDxcBlobUtf16 : IDxcBlobEncoding")] [NativeInheritance("IDxcBlobEncoding")] -public unsafe partial struct IDxcBlobUtf16 +public unsafe partial struct IDxcBlobUtf16 : INativeGuid { public static ref readonly Guid IID_IDxcBlobUtf16 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcBlobUtf16 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf16)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf16)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDxcBlobUtf16 return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcBlobUtf16*)Unsafe.AsPointer(ref this), pKnown, pCodePage); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public ushort* GetStringPointer() @@ -102,7 +106,7 @@ public unsafe partial struct IDxcBlobUtf16 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcBlobUtf16*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public nuint GetStringLength() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf8.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf8.cs index 89df934..b0cdca5 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf8.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcBlobUtf8.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcBlobUtf8 [Guid("3da636c9-ba71-4024-a301-30cbf125305b")] [NativeTypeName("struct IDxcBlobUtf8 : IDxcBlobEncoding")] [NativeInheritance("IDxcBlobEncoding")] -public unsafe partial struct IDxcBlobUtf8 +public unsafe partial struct IDxcBlobUtf8 : INativeGuid { public static ref readonly Guid IID_IDxcBlobUtf8 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcBlobUtf8 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf8)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcBlobUtf8)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDxcBlobUtf8 return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcBlobUtf8*)Unsafe.AsPointer(ref this), pKnown, pCodePage); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public sbyte* GetStringPointer() @@ -102,7 +106,7 @@ public unsafe partial struct IDxcBlobUtf8 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcBlobUtf8*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public nuint GetStringLength() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler.cs index b3c6fb8..f8a53e4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcCompiler [Guid("8c210bf3-011f-4422-8d70-6f9acb8db617")] [NativeTypeName("struct IDxcCompiler : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcCompiler +public unsafe partial struct IDxcCompiler : INativeGuid { public static ref readonly Guid IID_IDxcCompiler { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcCompiler } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcCompiler return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Compile(IDxcBlob* pSource, ushort* pSourceName, ushort* pEntryPoint, ushort* pTargetProfile, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcIncludeHandler* pIncludeHandler, IDxcOperationResult** ppResult) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcCompiler return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcCompiler*)Unsafe.AsPointer(ref this), pSource, pSourceName, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Preprocess(IDxcBlob* pSource, ushort* pSourceName, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcIncludeHandler* pIncludeHandler, IDxcOperationResult** ppResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcCompiler return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcCompiler*)Unsafe.AsPointer(ref this), pSource, pSourceName, pArguments, argCount, pDefines, defineCount, pIncludeHandler, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult Disassemble(IDxcBlob* pSource, IDxcBlobEncoding** ppDisassembly) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler2.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler2.cs index 0b5e440..0897e19 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcCompiler2 [Guid("a005a9d9-b8bb-4594-b5c9-0e633bec4d37")] [NativeTypeName("struct IDxcCompiler2 : IDxcCompiler")] [NativeInheritance("IDxcCompiler")] -public unsafe partial struct IDxcCompiler2 +public unsafe partial struct IDxcCompiler2 : INativeGuid { public static ref readonly Guid IID_IDxcCompiler2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcCompiler2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler2)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDxcCompiler2 return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcCompiler2*)Unsafe.AsPointer(ref this), pSource, ppDisassembly); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public 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) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler3.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler3.cs index dc17881..38a5f3f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompiler3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcCompiler3 [Guid("228b4687-5a6a-4730-900c-9702b2203f54")] [NativeTypeName("struct IDxcCompiler3 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcCompiler3 +public unsafe partial struct IDxcCompiler3 : INativeGuid { public static ref readonly Guid IID_IDxcCompiler3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcCompiler3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompiler3)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcCompiler3 return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Compile(DxcBuffer* pSource, ushort** pArguments, uint argCount, IDxcIncludeHandler* pIncludeHandler, Guid* riid, void** ppResult) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcCompiler3 return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcCompiler3*)Unsafe.AsPointer(ref this), pSource, pArguments, argCount, pIncludeHandler, riid, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Disassemble(DxcBuffer* pObject, Guid* riid, void** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompilerArgs.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompilerArgs.cs index d43f6f5..8f48fbd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompilerArgs.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcCompilerArgs.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcCompilerArgs [Guid("73effe2a-70dc-45f8-9690-eff64c02429d")] [NativeTypeName("struct IDxcCompilerArgs : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcCompilerArgs +public unsafe partial struct IDxcCompilerArgs : INativeGuid { public static ref readonly Guid IID_IDxcCompilerArgs { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcCompilerArgs } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompilerArgs)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcCompilerArgs)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcCompilerArgs return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public ushort** GetArguments() @@ -78,7 +82,7 @@ public unsafe partial struct IDxcCompilerArgs return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetCount() @@ -86,7 +90,7 @@ public unsafe partial struct IDxcCompilerArgs return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult AddArguments(ushort** pArguments, uint argCount) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcCompilerArgs return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this), pArguments, argCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult AddArgumentsUTF8(sbyte** pArguments, uint argCount) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcCompilerArgs return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this), pArguments, argCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult AddDefines(DxcDefine* pDefines, uint defineCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerBuilder.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerBuilder.cs index a3cb0c0..4744266 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerBuilder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerBuilder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcContainerBuilder [Guid("334b1f50-2292-4b35-99a1-25588d8c17fe")] [NativeTypeName("struct IDxcContainerBuilder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcContainerBuilder +public unsafe partial struct IDxcContainerBuilder : INativeGuid { public static ref readonly Guid IID_IDxcContainerBuilder { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcContainerBuilder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerBuilder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerBuilder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcContainerBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Load(IDxcBlob* pDxilContainerHeader) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcContainerBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcContainerBuilder*)Unsafe.AsPointer(ref this), pDxilContainerHeader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult AddPart(uint fourCC, IDxcBlob* pSource) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcContainerBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcContainerBuilder*)Unsafe.AsPointer(ref this), fourCC, pSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult RemovePart(uint fourCC) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcContainerBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcContainerBuilder*)Unsafe.AsPointer(ref this), fourCC); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SerializeContainer(IDxcOperationResult** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerReflection.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerReflection.cs index cd63f02..893e776 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerReflection.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcContainerReflection.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcContainerReflection [Guid("d2c21b26-8350-4bdc-976a-331ce6f4c54c")] [NativeTypeName("struct IDxcContainerReflection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcContainerReflection +public unsafe partial struct IDxcContainerReflection : INativeGuid { public static ref readonly Guid IID_IDxcContainerReflection { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcContainerReflection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerReflection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcContainerReflection)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Load(IDxcBlob* pContainer) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), pContainer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetPartCount(uint* pResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetPartKind(uint idx, uint* pResult) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), idx, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetPartContent(uint idx, IDxcBlob** ppResult) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), idx, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult FindFirstPartKind(uint kind, uint* pResult) @@ -110,7 +114,7 @@ public unsafe partial struct IDxcContainerReflection return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDxcContainerReflection*)Unsafe.AsPointer(ref this), kind, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetPartReflection(uint idx, Guid* iid, void** ppvObject) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcExtraOutputs.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcExtraOutputs.cs index c8b8ade..b4859a6 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcExtraOutputs.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcExtraOutputs.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcExtraOutputs [Guid("319b37a2-a5c2-494a-a5de-4801b2faf989")] [NativeTypeName("struct IDxcExtraOutputs : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcExtraOutputs +public unsafe partial struct IDxcExtraOutputs : INativeGuid { public static ref readonly Guid IID_IDxcExtraOutputs { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcExtraOutputs } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcExtraOutputs)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcExtraOutputs)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcExtraOutputs return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetOutputCount() @@ -78,7 +82,7 @@ public unsafe partial struct IDxcExtraOutputs return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcExtraOutputs*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetOutput(uint uIndex, Guid* iid, void** ppvObject, IDxcBlobUtf16** ppOutputType, IDxcBlobUtf16** ppOutputName) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcIncludeHandler.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcIncludeHandler.cs index 7041274..75f83ee 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcIncludeHandler.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcIncludeHandler.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcIncludeHandler [Guid("7f61fc7d-950d-467f-b3e3-3c02fb49187c")] [NativeTypeName("struct IDxcIncludeHandler : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcIncludeHandler +public unsafe partial struct IDxcIncludeHandler : INativeGuid { public static ref readonly Guid IID_IDxcIncludeHandler { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcIncludeHandler } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcIncludeHandler)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcIncludeHandler)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcIncludeHandler return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult LoadSource(ushort* pFilename, IDxcBlob** ppIncludeSource) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLibrary.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLibrary.cs index b5ae598..c4d8430 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLibrary.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLibrary.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcLibrary [Guid("e5204dc7-d18c-4c3c-bdfb-851673980fe7")] [NativeTypeName("struct IDxcLibrary : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcLibrary +public unsafe partial struct IDxcLibrary : INativeGuid { public static ref readonly Guid IID_IDxcLibrary { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcLibrary } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLibrary)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLibrary)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetMalloc(Com.IMalloc* pMalloc) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pMalloc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateBlobFromBlob(IDxcBlob* pBlob, uint offset, uint length, IDxcBlob** ppResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pBlob, offset, length, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateBlobFromFile(ushort* pFileName, DxcCp* codePage, IDxcBlobEncoding** pBlobEncoding) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pFileName, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateBlobWithEncodingFromPinned(void* pText, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pText, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateBlobWithEncodingOnHeapCopy(void* pText, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -110,7 +114,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pText, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateBlobWithEncodingOnMalloc(void* pText, Com.IMalloc* pIMalloc, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -118,7 +122,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pText, pIMalloc, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateIncludeHandler(IDxcIncludeHandler** ppResult) @@ -126,7 +130,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcLibrary*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateStreamFromBlobReadOnly(IDxcBlob* pBlob, Com.IStream** ppStream) @@ -134,7 +138,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pBlob, ppStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetBlobAsUtf8(IDxcBlob* pBlob, IDxcBlobEncoding** pBlobEncoding) @@ -142,7 +146,7 @@ public unsafe partial struct IDxcLibrary return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDxcLibrary*)Unsafe.AsPointer(ref this), pBlob, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetBlobAsUtf16(IDxcBlob* pBlob, IDxcBlobEncoding** pBlobEncoding) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLinker.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLinker.cs index b81391c..61d088a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLinker.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcLinker.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcLinker [Guid("f1b5be2a-62dd-4327-a1c2-42ac1e1e78e6")] [NativeTypeName("struct IDxcLinker : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcLinker +public unsafe partial struct IDxcLinker : INativeGuid { public static ref readonly Guid IID_IDxcLinker { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcLinker } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLinker)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcLinker)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcLinker return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult RegisterLibrary(ushort* pLibName, IDxcBlob* pLib) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcLinker return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcLinker*)Unsafe.AsPointer(ref this), pLibName, pLib); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Link(ushort* pEntryName, ushort* pTargetProfile, ushort** pLibNames, uint libCount, ushort** pArguments, uint argCount, IDxcOperationResult** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOperationResult.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOperationResult.cs index 2d021f5..9ccfe87 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOperationResult.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOperationResult.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcOperationResult [Guid("cedb484a-d4e9-445a-b991-ca21ca157dc2")] [NativeTypeName("struct IDxcOperationResult : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcOperationResult +public unsafe partial struct IDxcOperationResult : INativeGuid { public static ref readonly Guid IID_IDxcOperationResult { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcOperationResult } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOperationResult)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOperationResult)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcOperationResult return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetStatus(HResult* pStatus) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcOperationResult return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcOperationResult*)Unsafe.AsPointer(ref this), pStatus); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetResult(IDxcBlob** ppResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcOperationResult return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcOperationResult*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetErrorBuffer(IDxcBlobEncoding** ppErrors) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizer.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizer.cs index 786c13d..09af91a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizer.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizer.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcOptimizer [Guid("25740e2e-9cba-401b-9119-4fb42f39f270")] [NativeTypeName("struct IDxcOptimizer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcOptimizer +public unsafe partial struct IDxcOptimizer : INativeGuid { public static ref readonly Guid IID_IDxcOptimizer { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcOptimizer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizer)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcOptimizer return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetAvailablePassCount(uint* pCount) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcOptimizer return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcOptimizer*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetAvailablePass(uint index, IDxcOptimizerPass** ppResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcOptimizer return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcOptimizer*)Unsafe.AsPointer(ref this), index, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult RunOptimizer(IDxcBlob* pBlob, ushort** ppOptions, uint optionCount, IDxcBlob** pOutputModule, IDxcBlobEncoding** ppOutputText) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizerPass.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizerPass.cs index 3d917e6..d08b142 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizerPass.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcOptimizerPass.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcOptimizerPass [Guid("ae2cd79f-cc22-453f-9b6b-b124e7a5204c")] [NativeTypeName("struct IDxcOptimizerPass : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcOptimizerPass +public unsafe partial struct IDxcOptimizerPass : INativeGuid { public static ref readonly Guid IID_IDxcOptimizerPass { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcOptimizerPass } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizerPass)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcOptimizerPass)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcOptimizerPass return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetOptionName(ushort** ppResult) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcOptimizerPass return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcOptimizerPass*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetDescription(ushort** ppResult) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcOptimizerPass return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcOptimizerPass*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetOptionArgCount(uint* pCount) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcOptimizerPass return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcOptimizerPass*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetOptionArgName(uint argIndex, ushort** ppResult) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcOptimizerPass return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcOptimizerPass*)Unsafe.AsPointer(ref this), argIndex, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetOptionArgDescription(uint argIndex, ushort** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcPdbUtils.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcPdbUtils.cs index a67b44e..627c1a1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcPdbUtils.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcPdbUtils.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcPdbUtils [Guid("e6c9647e-9d6a-4c3b-b94c-524b5a6c343d")] [NativeTypeName("struct IDxcPdbUtils : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcPdbUtils +public unsafe partial struct IDxcPdbUtils : INativeGuid { public static ref readonly Guid IID_IDxcPdbUtils { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcPdbUtils } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcPdbUtils)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcPdbUtils)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Load(IDxcBlob* pPdbOrDxil) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pPdbOrDxil); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetSourceCount(uint* pCount) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetSource(uint uIndex, IDxcBlobEncoding** ppResult) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetSourceName(uint uIndex, char** pResult) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetFlagCount(uint* pCount) @@ -110,7 +114,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFlag(uint uIndex, char** pResult) @@ -118,7 +122,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetArgCount(uint* pCount) @@ -126,7 +130,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetArg(uint uIndex, char** pResult) @@ -134,7 +138,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetArgPairCount(uint* pCount) @@ -142,7 +146,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetArgPair(uint uIndex, char** pName, char** pValue) @@ -150,7 +154,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, pName, pValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetDefineCount(uint* pCount) @@ -158,7 +162,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetDefine(uint uIndex, char** pResult) @@ -166,7 +170,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), uIndex, pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetTargetProfile(char** pResult) @@ -174,7 +178,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetEntryPoint(char** pResult) @@ -182,7 +186,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetMainFileName(char** pResult) @@ -190,7 +194,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetHash(IDxcBlob** ppResult) @@ -198,7 +202,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetName(char** pResult) @@ -206,7 +210,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public Bool32 IsFullPDB() @@ -214,7 +218,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetFullPDB(IDxcBlob** ppFullPDB) @@ -222,7 +226,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), ppFullPDB); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult GetVersionInfo(IDxcVersionInfo** ppVersionInfo) @@ -230,7 +234,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), ppVersionInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult SetCompiler(IDxcCompiler3* pCompiler) @@ -238,7 +242,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pCompiler); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CompileForFullPDB(IDxcResult** ppResult) @@ -246,7 +250,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult OverrideArgs(DxcArgPair* pArgPairs, uint uNumArgPairs) @@ -254,7 +258,7 @@ public unsafe partial struct IDxcPdbUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDxcPdbUtils*)Unsafe.AsPointer(ref this), pArgPairs, uNumArgPairs); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult OverrideRootSignature(ushort* pRootSignature) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcResult.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcResult.cs index 61ad5a1..f2361da 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcResult.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcResult.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcResult [Guid("58346cda-dde7-4497-9461-6f87af5e0659")] [NativeTypeName("struct IDxcResult : IDxcOperationResult")] [NativeInheritance("IDxcOperationResult")] -public unsafe partial struct IDxcResult +public unsafe partial struct IDxcResult : INativeGuid { public static ref readonly Guid IID_IDxcResult { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcResult } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcResult)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcResult)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDxcResult return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcResult*)Unsafe.AsPointer(ref this), ppErrors); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public Bool32 HasOutput(DxcOutKind dxcOutKind) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcResult return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcResult*)Unsafe.AsPointer(ref this), dxcOutKind); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetOutput(DxcOutKind dxcOutKind, Guid* iid, void** ppvObject, IDxcBlobUtf16** ppOutputName) @@ -110,7 +114,7 @@ public unsafe partial struct IDxcResult return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDxcResult*)Unsafe.AsPointer(ref this), dxcOutKind, iid, ppvObject, ppOutputName); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public uint GetNumOutputs() @@ -118,7 +122,7 @@ public unsafe partial struct IDxcResult return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDxcResult*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public DxcOutKind GetOutputByIndex(uint Index) @@ -126,7 +130,7 @@ public unsafe partial struct IDxcResult return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcResult*)Unsafe.AsPointer(ref this), Index); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public DxcOutKind PrimaryOutput() diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcUtils.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcUtils.cs index c0b902b..81548dd 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcUtils.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcUtils.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcUtils [Guid("4605c4cb-2019-492a-ada4-65f20bb7d67f")] [NativeTypeName("struct IDxcUtils : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcUtils +public unsafe partial struct IDxcUtils : INativeGuid { public static ref readonly Guid IID_IDxcUtils { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcUtils } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcUtils)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcUtils)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateBlobFromBlob(IDxcBlob* pBlob, uint offset, uint length, IDxcBlob** ppResult) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcUtils*)Unsafe.AsPointer(ref this), pBlob, offset, length, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateBlobFromPinned(void* pData, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -86,7 +90,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcUtils*)Unsafe.AsPointer(ref this), pData, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult MoveToBlob(void* pData, Com.IMalloc* pIMalloc, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -94,7 +98,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDxcUtils*)Unsafe.AsPointer(ref this), pData, pIMalloc, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateBlob(void* pData, uint size, DxcCp codePage, IDxcBlobEncoding** pBlobEncoding) @@ -102,7 +106,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDxcUtils*)Unsafe.AsPointer(ref this), pData, size, codePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult LoadFile(ushort* pFileName, DxcCp* pCodePage, IDxcBlobEncoding** pBlobEncoding) @@ -110,7 +114,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDxcUtils*)Unsafe.AsPointer(ref this), pFileName, pCodePage, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateReadOnlyStreamFromBlob(IDxcBlob* pBlob, Com.IStream** ppStream) @@ -118,7 +122,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDxcUtils*)Unsafe.AsPointer(ref this), pBlob, ppStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateDefaultIncludeHandler(IDxcIncludeHandler** ppResult) @@ -126,7 +130,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDxcUtils*)Unsafe.AsPointer(ref this), ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetBlobAsUtf8(IDxcBlob* pBlob, IDxcBlobUtf8** pBlobEncoding) @@ -134,7 +138,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDxcUtils*)Unsafe.AsPointer(ref this), pBlob, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetBlobAsUtf16(IDxcBlob* pBlob, IDxcBlobUtf16** pBlobEncoding) @@ -142,7 +146,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDxcUtils*)Unsafe.AsPointer(ref this), pBlob, pBlobEncoding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetDxilContainerPart(DxcBuffer* pShader, uint DxcPart, void** ppPartData, uint* pPartSizeInBytes) @@ -150,7 +154,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDxcUtils*)Unsafe.AsPointer(ref this), pShader, DxcPart, ppPartData, pPartSizeInBytes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateReflection(DxcBuffer* pData, Guid* iid, void** ppvReflection) @@ -158,7 +162,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDxcUtils*)Unsafe.AsPointer(ref this), pData, iid, ppvReflection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult BuildArguments(ushort* pSourceName, ushort* pEntryPoint, ushort* pTargetProfile, ushort** pArguments, uint argCount, DxcDefine* pDefines, uint defineCount, IDxcCompilerArgs** ppArgs) @@ -166,7 +170,7 @@ public unsafe partial struct IDxcUtils return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDxcUtils*)Unsafe.AsPointer(ref this), pSourceName, pEntryPoint, pTargetProfile, pArguments, argCount, pDefines, defineCount, ppArgs); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetPDBContents(IDxcBlob* pPDBBlob, IDxcBlob** ppHash, IDxcBlob** ppContainer) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator.cs index a3eb142..dbae67e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcValidator [Guid("a6e82bd2-1fd7-4826-9811-2857e797f49a")] [NativeTypeName("struct IDxcValidator : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcValidator +public unsafe partial struct IDxcValidator : INativeGuid { public static ref readonly Guid IID_IDxcValidator { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcValidator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcValidator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcValidator)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcValidator return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Validate(IDxcBlob* pShader, DxcValidatorFlags Flags, IDxcOperationResult** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator2.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator2.cs index 171829e..f453b5f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcValidator2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcValidator2 [Guid("458e1fd1-b1b2-4750-a6e1-9c10f03bed92")] [NativeTypeName("struct IDxcValidator2 : IDxcValidator")] [NativeInheritance("IDxcValidator")] -public unsafe partial struct IDxcValidator2 +public unsafe partial struct IDxcValidator2 : INativeGuid { public static ref readonly Guid IID_IDxcValidator2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcValidator2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcValidator2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcValidator2)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDxcValidator2 return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcValidator2*)Unsafe.AsPointer(ref this), pShader, Flags, ppResult); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult ValidateWithDebug(IDxcBlob* pShader, DxcValidatorFlags Flags, DxcBuffer* pOptDebugBitcode, IDxcOperationResult** ppResult) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo.cs index eb6d148..fd5a5ac 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcVersionInfo [Guid("b04f5b50-2059-4f12-a8ff-a1e0cde1cc7e")] [NativeTypeName("struct IDxcVersionInfo : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcVersionInfo +public unsafe partial struct IDxcVersionInfo : INativeGuid { public static ref readonly Guid IID_IDxcVersionInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcVersionInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcVersionInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetVersion(uint* pMajor, uint* pMinor) @@ -78,7 +82,7 @@ public unsafe partial struct IDxcVersionInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDxcVersionInfo*)Unsafe.AsPointer(ref this), pMajor, pMinor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFlags(DxcVersionInfoFlags* pFlags) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo2.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo2.cs index 3b7175b..0b62a18 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcVersionInfo2 [Guid("fb6904c4-42f0-4b62-9c46-983af7da7c83")] [NativeTypeName("struct IDxcVersionInfo2 : IDxcVersionInfo")] [NativeInheritance("IDxcVersionInfo")] -public unsafe partial struct IDxcVersionInfo2 +public unsafe partial struct IDxcVersionInfo2 : INativeGuid { public static ref readonly Guid IID_IDxcVersionInfo2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcVersionInfo2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo2)); +#endif public void** lpVtbl; @@ -86,7 +90,7 @@ public unsafe partial struct IDxcVersionInfo2 return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDxcVersionInfo2*)Unsafe.AsPointer(ref this), pFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetCommitInfo(uint* pCommitCount, sbyte** pCommitHash) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo3.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo3.cs index c2710b8..f508ab8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IDxcVersionInfo3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Direct3D.Dxc; -/// +/// /// IDxcVersionInfo3 [Guid("5e13e843-9d25-473c-9ad2-03b2d0b44b1e")] [NativeTypeName("struct IDxcVersionInfo3 : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDxcVersionInfo3 +public unsafe partial struct IDxcVersionInfo3 : INativeGuid { public static ref readonly Guid IID_IDxcVersionInfo3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDxcVersionInfo3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDxcVersionInfo3)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDxcVersionInfo3 return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetCustomVersionString(sbyte** pVersionString) diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/IncludeType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/IncludeType.cs new file mode 100644 index 0000000..9d17c74 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/IncludeType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_INCLUDE_TYPE +public enum IncludeType : int +{ + /// + /// D3D_INCLUDE_LOCAL + Local = 0, + /// + /// D3D_INCLUDE_SYSTEM + System = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/InterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/InterpolationMode.cs new file mode 100644 index 0000000..ef6d120 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/InterpolationMode.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_INTERPOLATION_MODE +public enum InterpolationMode : int +{ + /// + /// D3D_INTERPOLATION_UNDEFINED + Undefined = 0, + /// + /// D3D_INTERPOLATION_CONSTANT + Constant = 1, + /// + /// D3D_INTERPOLATION_LINEAR + Linear = 2, + /// + /// D3D_INTERPOLATION_LINEAR_CENTROID + LinearCentroid = 3, + /// + /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE + LinearNoPerspective = 4, + /// + /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_CENTROID + LinearNoPerspectiveCentroid = 5, + /// + /// D3D_INTERPOLATION_LINEAR_SAMPLE + LinearSample = 6, + /// + /// D3D_INTERPOLATION_LINEAR_NOPERSPECTIVE_SAMPLE + LinearNoPerspectiveSample = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/MinPrecision.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/MinPrecision.cs new file mode 100644 index 0000000..63070a9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/MinPrecision.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_MIN_PRECISION +public enum MinPrecision : int +{ + /// + /// D3D_MIN_PRECISION_DEFAULT + Default = 0, + /// + /// D3D_MIN_PRECISION_FLOAT_16 + Float16 = 1, + /// + /// D3D_MIN_PRECISION_FLOAT_2_8 + Float28 = 2, + /// + /// D3D_MIN_PRECISION_RESERVED + Reserved = 3, + /// + /// D3D_MIN_PRECISION_SINT_16 + Sint16 = 4, + /// + /// D3D_MIN_PRECISION_UINT_16 + Uint16 = 5, + /// + /// D3D_MIN_PRECISION_ANY_16 + Any16 = 240, + /// + /// D3D_MIN_PRECISION_ANY_10 + Any10 = 241, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/Name.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/Name.cs new file mode 100644 index 0000000..214bcab --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/Name.cs @@ -0,0 +1,97 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_NAME +public enum Name : int +{ + /// + /// D3D_NAME_UNDEFINED + Undefined = 0, + /// + /// D3D_NAME_POSITION + Position = 1, + /// + /// D3D_NAME_CLIP_DISTANCE + ClipDistance = 2, + /// + /// D3D_NAME_CULL_DISTANCE + CullDistance = 3, + /// + /// D3D_NAME_RENDER_TARGET_ARRAY_INDEX + RenderTargetArrayIndex = 4, + /// + /// D3D_NAME_VIEWPORT_ARRAY_INDEX + ViewportArrayIndex = 5, + /// + /// D3D_NAME_VERTEX_ID + VertexId = 6, + /// + /// D3D_NAME_PRIMITIVE_ID + PrimitiveId = 7, + /// + /// D3D_NAME_INSTANCE_ID + InstanceId = 8, + /// + /// D3D_NAME_IS_FRONT_FACE + IsFrontFace = 9, + /// + /// D3D_NAME_SAMPLE_INDEX + SampleIndex = 10, + /// + /// D3D_NAME_FINAL_QUAD_EDGE_TESSFACTOR + FinalQuadEdgeTessFactor = 11, + /// + /// D3D_NAME_FINAL_QUAD_INSIDE_TESSFACTOR + FinalQuadInsideTessFactor = 12, + /// + /// D3D_NAME_FINAL_TRI_EDGE_TESSFACTOR + FinalTriEdgeTessFactor = 13, + /// + /// D3D_NAME_FINAL_TRI_INSIDE_TESSFACTOR + FinalTriInsideTessFactor = 14, + /// + /// D3D_NAME_FINAL_LINE_DETAIL_TESSFACTOR + FinalLineDetailTessFactor = 15, + /// + /// D3D_NAME_FINAL_LINE_DENSITY_TESSFACTOR + FinalLineDensityTessFactor = 16, + /// + /// D3D_NAME_BARYCENTRICS + Barycentrics = 23, + /// + /// D3D_NAME_SHADINGRATE + ShadingRate = 24, + /// + /// D3D_NAME_CULLPRIMITIVE + CullPrimitive = 25, + /// + /// D3D_NAME_TARGET + Target = 64, + /// + /// D3D_NAME_DEPTH + Depth = 65, + /// + /// D3D_NAME_COVERAGE + Coverage = 66, + /// + /// D3D_NAME_DEPTH_GREATER_EQUAL + DepthGreaterEqual = 67, + /// + /// D3D_NAME_DEPTH_LESS_EQUAL + DepthLessEqual = 68, + /// + /// D3D_NAME_STENCIL_REF + StencilRef = 69, + /// + /// D3D_NAME_INNER_COVERAGE + InnerCoverage = 70, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ParameterFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ParameterFlags.cs new file mode 100644 index 0000000..8d14bf0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ParameterFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_PARAMETER_FLAGS +[Flags] +public enum ParameterFlags : int +{ + /// + /// D3D_PF_NONE + None = 0, + /// + /// D3D_PF_IN + In = 1, + /// + /// D3D_PF_OUT + Out = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/Primitive.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/Primitive.cs new file mode 100644 index 0000000..11d7db3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/Primitive.cs @@ -0,0 +1,130 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_PRIMITIVE +public enum Primitive : int +{ + /// + /// D3D_PRIMITIVE_UNDEFINED + Undefined = 0, + /// + /// D3D_PRIMITIVE_POINT + Point = 1, + /// + /// D3D_PRIMITIVE_LINE + Line = 2, + /// + /// D3D_PRIMITIVE_TRIANGLE + Triangle = 3, + /// + /// D3D_PRIMITIVE_LINE_ADJ + LineAdj = 6, + /// + /// D3D_PRIMITIVE_TRIANGLE_ADJ + TriangleAdj = 7, + /// + /// D3D_PRIMITIVE_1_CONTROL_POINT_PATCH + P1ControlPointPatch = 8, + /// + /// D3D_PRIMITIVE_2_CONTROL_POINT_PATCH + P2ControlPointPatch = 9, + /// + /// D3D_PRIMITIVE_3_CONTROL_POINT_PATCH + P3ControlPointPatch = 10, + /// + /// D3D_PRIMITIVE_4_CONTROL_POINT_PATCH + P4ControlPointPatch = 11, + /// + /// D3D_PRIMITIVE_5_CONTROL_POINT_PATCH + P5ControlPointPatch = 12, + /// + /// D3D_PRIMITIVE_6_CONTROL_POINT_PATCH + P6ControlPointPatch = 13, + /// + /// D3D_PRIMITIVE_7_CONTROL_POINT_PATCH + P7ControlPointPatch = 14, + /// + /// D3D_PRIMITIVE_8_CONTROL_POINT_PATCH + P8ControlPointPatch = 15, + /// + /// D3D_PRIMITIVE_9_CONTROL_POINT_PATCH + P9ControlPointPatch = 16, + /// + /// D3D_PRIMITIVE_10_CONTROL_POINT_PATCH + P10ControlPointPatch = 17, + /// + /// D3D_PRIMITIVE_11_CONTROL_POINT_PATCH + P11ControlPointPatch = 18, + /// + /// D3D_PRIMITIVE_12_CONTROL_POINT_PATCH + P12ControlPointPatch = 19, + /// + /// D3D_PRIMITIVE_13_CONTROL_POINT_PATCH + P13ControlPointPatch = 20, + /// + /// D3D_PRIMITIVE_14_CONTROL_POINT_PATCH + P14ControlPointPatch = 21, + /// + /// D3D_PRIMITIVE_15_CONTROL_POINT_PATCH + P15ControlPointPatch = 22, + /// + /// D3D_PRIMITIVE_16_CONTROL_POINT_PATCH + P16ControlPointPatch = 23, + /// + /// D3D_PRIMITIVE_17_CONTROL_POINT_PATCH + P17ControlPointPatch = 24, + /// + /// D3D_PRIMITIVE_18_CONTROL_POINT_PATCH + P18ControlPointPatch = 25, + /// + /// D3D_PRIMITIVE_19_CONTROL_POINT_PATCH + P19ControlPointPatch = 26, + /// + /// D3D_PRIMITIVE_20_CONTROL_POINT_PATCH + P20ControlPointPatch = 27, + /// + /// D3D_PRIMITIVE_21_CONTROL_POINT_PATCH + P21ControlPointPatch = 28, + /// + /// D3D_PRIMITIVE_22_CONTROL_POINT_PATCH + P22ControlPointPatch = 29, + /// + /// D3D_PRIMITIVE_23_CONTROL_POINT_PATCH + P23ControlPointPatch = 30, + /// + /// D3D_PRIMITIVE_24_CONTROL_POINT_PATCH + P24ControlPointPatch = 31, + /// + /// D3D_PRIMITIVE_25_CONTROL_POINT_PATCH + P25ControlPointPatch = 32, + /// + /// D3D_PRIMITIVE_26_CONTROL_POINT_PATCH + P26ControlPointPatch = 33, + /// + /// D3D_PRIMITIVE_27_CONTROL_POINT_PATCH + P27ControlPointPatch = 34, + /// + /// D3D_PRIMITIVE_28_CONTROL_POINT_PATCH + P28ControlPointPatch = 35, + /// + /// D3D_PRIMITIVE_29_CONTROL_POINT_PATCH + P29ControlPointPatch = 36, + /// + /// D3D_PRIMITIVE_30_CONTROL_POINT_PATCH + P30ControlPointPatch = 37, + /// + /// D3D_PRIMITIVE_31_CONTROL_POINT_PATCH + P31ControlPointPatch = 38, + /// + /// D3D_PRIMITIVE_32_CONTROL_POINT_PATCH + P32ControlPointPatch = 39, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/PrimitiveTopology.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/PrimitiveTopology.cs new file mode 100644 index 0000000..141cf44 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/PrimitiveTopology.cs @@ -0,0 +1,142 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_PRIMITIVE_TOPOLOGY +public enum PrimitiveTopology : int +{ + /// + /// D3D_PRIMITIVE_TOPOLOGY_UNDEFINED + Undefined = 0, + /// + /// D3D_PRIMITIVE_TOPOLOGY_POINTLIST + PointList = 1, + /// + /// D3D_PRIMITIVE_TOPOLOGY_LINELIST + LineList = 2, + /// + /// D3D_PRIMITIVE_TOPOLOGY_LINESTRIP + LineStrip = 3, + /// + /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST + TriangleList = 4, + /// + /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP + TriangleStrip = 5, + /// + /// D3D_PRIMITIVE_TOPOLOGY_LINELIST_ADJ + LineListAdj = 10, + /// + /// D3D_PRIMITIVE_TOPOLOGY_LINESTRIP_ADJ + LineStripAdj = 11, + /// + /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST_ADJ + TriangleListAdj = 12, + /// + /// D3D_PRIMITIVE_TOPOLOGY_TRIANGLESTRIP_ADJ + TriangleStripAdj = 13, + /// + /// D3D_PRIMITIVE_TOPOLOGY_1_CONTROL_POINT_PATCHLIST + P1ControlPointPatchList = 33, + /// + /// D3D_PRIMITIVE_TOPOLOGY_2_CONTROL_POINT_PATCHLIST + P2ControlPointPatchList = 34, + /// + /// D3D_PRIMITIVE_TOPOLOGY_3_CONTROL_POINT_PATCHLIST + P3ControlPointPatchList = 35, + /// + /// D3D_PRIMITIVE_TOPOLOGY_4_CONTROL_POINT_PATCHLIST + P4ControlPointPatchList = 36, + /// + /// D3D_PRIMITIVE_TOPOLOGY_5_CONTROL_POINT_PATCHLIST + P5ControlPointPatchList = 37, + /// + /// D3D_PRIMITIVE_TOPOLOGY_6_CONTROL_POINT_PATCHLIST + P6ControlPointPatchList = 38, + /// + /// D3D_PRIMITIVE_TOPOLOGY_7_CONTROL_POINT_PATCHLIST + P7ControlPointPatchList = 39, + /// + /// D3D_PRIMITIVE_TOPOLOGY_8_CONTROL_POINT_PATCHLIST + P8ControlPointPatchList = 40, + /// + /// D3D_PRIMITIVE_TOPOLOGY_9_CONTROL_POINT_PATCHLIST + P9ControlPointPatchList = 41, + /// + /// D3D_PRIMITIVE_TOPOLOGY_10_CONTROL_POINT_PATCHLIST + P10ControlPointPatchList = 42, + /// + /// D3D_PRIMITIVE_TOPOLOGY_11_CONTROL_POINT_PATCHLIST + P11ControlPointPatchList = 43, + /// + /// D3D_PRIMITIVE_TOPOLOGY_12_CONTROL_POINT_PATCHLIST + P12ControlPointPatchList = 44, + /// + /// D3D_PRIMITIVE_TOPOLOGY_13_CONTROL_POINT_PATCHLIST + P13ControlPointPatchList = 45, + /// + /// D3D_PRIMITIVE_TOPOLOGY_14_CONTROL_POINT_PATCHLIST + P14ControlPointPatchList = 46, + /// + /// D3D_PRIMITIVE_TOPOLOGY_15_CONTROL_POINT_PATCHLIST + P15ControlPointPatchList = 47, + /// + /// D3D_PRIMITIVE_TOPOLOGY_16_CONTROL_POINT_PATCHLIST + P16ControlPointPatchList = 48, + /// + /// D3D_PRIMITIVE_TOPOLOGY_17_CONTROL_POINT_PATCHLIST + P17ControlPointPatchList = 49, + /// + /// D3D_PRIMITIVE_TOPOLOGY_18_CONTROL_POINT_PATCHLIST + P18ControlPointPatchList = 50, + /// + /// D3D_PRIMITIVE_TOPOLOGY_19_CONTROL_POINT_PATCHLIST + P19ControlPointPatchList = 51, + /// + /// D3D_PRIMITIVE_TOPOLOGY_20_CONTROL_POINT_PATCHLIST + P20ControlPointPatchList = 52, + /// + /// D3D_PRIMITIVE_TOPOLOGY_21_CONTROL_POINT_PATCHLIST + P21ControlPointPatchList = 53, + /// + /// D3D_PRIMITIVE_TOPOLOGY_22_CONTROL_POINT_PATCHLIST + P22ControlPointPatchList = 54, + /// + /// D3D_PRIMITIVE_TOPOLOGY_23_CONTROL_POINT_PATCHLIST + P23ControlPointPatchList = 55, + /// + /// D3D_PRIMITIVE_TOPOLOGY_24_CONTROL_POINT_PATCHLIST + P24ControlPointPatchList = 56, + /// + /// D3D_PRIMITIVE_TOPOLOGY_25_CONTROL_POINT_PATCHLIST + P25ControlPointPatchList = 57, + /// + /// D3D_PRIMITIVE_TOPOLOGY_26_CONTROL_POINT_PATCHLIST + P26ControlPointPatchList = 58, + /// + /// D3D_PRIMITIVE_TOPOLOGY_27_CONTROL_POINT_PATCHLIST + P27ControlPointPatchList = 59, + /// + /// D3D_PRIMITIVE_TOPOLOGY_28_CONTROL_POINT_PATCHLIST + P28ControlPointPatchList = 60, + /// + /// D3D_PRIMITIVE_TOPOLOGY_29_CONTROL_POINT_PATCHLIST + P29ControlPointPatchList = 61, + /// + /// D3D_PRIMITIVE_TOPOLOGY_30_CONTROL_POINT_PATCHLIST + P30ControlPointPatchList = 62, + /// + /// D3D_PRIMITIVE_TOPOLOGY_31_CONTROL_POINT_PATCHLIST + P31ControlPointPatchList = 63, + /// + /// D3D_PRIMITIVE_TOPOLOGY_32_CONTROL_POINT_PATCHLIST + P32ControlPointPatchList = 64, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/RegisterComponentType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/RegisterComponentType.cs new file mode 100644 index 0000000..b8de6d5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/RegisterComponentType.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_REGISTER_COMPONENT_TYPE +public enum RegisterComponentType : int +{ + /// + /// D3D_REGISTER_COMPONENT_UNKNOWN + Unknown = 0, + /// + /// D3D_REGISTER_COMPONENT_UINT32 + UInt32 = 1, + /// + /// D3D_REGISTER_COMPONENT_SINT32 + Sint32 = 2, + /// + /// D3D_REGISTER_COMPONENT_FLOAT32 + Float32 = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ResourceReturnType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ResourceReturnType.cs new file mode 100644 index 0000000..5d26249 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ResourceReturnType.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_RESOURCE_RETURN_TYPE +public enum ResourceReturnType : int +{ + /// + /// D3D_RETURN_TYPE_UNORM + Unorm = 1, + /// + /// D3D_RETURN_TYPE_SNORM + Snorm = 2, + /// + /// D3D_RETURN_TYPE_SINT + Sint = 3, + /// + /// D3D_RETURN_TYPE_UINT + Uint = 4, + /// + /// D3D_RETURN_TYPE_FLOAT + Float = 5, + /// + /// D3D_RETURN_TYPE_MIXED + Mixed = 6, + /// + /// D3D_RETURN_TYPE_DOUBLE + Double = 7, + /// + /// D3D_RETURN_TYPE_CONTINUED + Continued = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderCBufferFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderCBufferFlags.cs new file mode 100644 index 0000000..38d443e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderCBufferFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_CBUFFER_FLAGS +[Flags] +public enum ShaderCBufferFlags : int +{ + None = 0, + /// + /// D3D_CBF_USERPACKED + UserPacked = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderData.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderData.cs new file mode 100644 index 0000000..33608f4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderData.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// +/// D3D_SHADER_DATA +public partial struct ShaderData +{ + /// + public unsafe void* pBytecode; + + /// + public nuint BytecodeLength; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputFlags.cs new file mode 100644 index 0000000..acb52c9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputFlags.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_INPUT_FLAGS +[Flags] +public enum ShaderInputFlags : int +{ + None = 0, + /// + /// D3D_SIF_USERPACKED + UserPacked = 1, + /// + /// D3D_SIF_COMPARISON_SAMPLER + ComparisonSampler = 2, + /// + /// D3D_SIF_TEXTURE_COMPONENT_0 + TextureComponent0 = 4, + /// + /// D3D_SIF_TEXTURE_COMPONENT_1 + TextureComponent1 = 8, + /// + /// D3D_SIF_TEXTURE_COMPONENTS + TextureComponents = 12, + /// + /// D3D_SIF_UNUSED + Unused = 16, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputType.cs new file mode 100644 index 0000000..c153bbc --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderInputType.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_INPUT_TYPE +public enum ShaderInputType : int +{ + /// + /// D3D_SIT_CBUFFER + CBuffer = 0, + /// + /// D3D_SIT_TBUFFER + TBuffer = 1, + /// + /// D3D_SIT_TEXTURE + Texture = 2, + /// + /// D3D_SIT_SAMPLER + Sampler = 3, + /// + /// D3D_SIT_UAV_RWTYPED + UavRwTyped = 4, + /// + /// D3D_SIT_STRUCTURED + Structured = 5, + /// + /// D3D_SIT_UAV_RWSTRUCTURED + UavRwStructured = 6, + /// + /// D3D_SIT_BYTEADDRESS + ByteAddress = 7, + /// + /// D3D_SIT_UAV_RWBYTEADDRESS + UavRwByteAddress = 8, + /// + /// D3D_SIT_UAV_APPEND_STRUCTURED + UavAppendStructured = 9, + /// + /// D3D_SIT_UAV_CONSUME_STRUCTURED + UavConsumeStructured = 10, + /// + /// D3D_SIT_UAV_RWSTRUCTURED_WITH_COUNTER + UavRwStructuredWithCounter = 11, + /// + /// D3D_SIT_RTACCELERATIONSTRUCTURE + RtAccelerationStructure = 12, + /// + /// D3D_SIT_UAV_FEEDBACKTEXTURE + UavFeedbackTexture = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderMacro.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderMacro.cs new file mode 100644 index 0000000..98d120c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderMacro.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_MACRO +public partial struct ShaderMacro +{ + /// + public unsafe sbyte* Name; + + /// + public unsafe sbyte* Definition; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableClass.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableClass.cs new file mode 100644 index 0000000..a633755 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableClass.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_VARIABLE_CLASS +public enum ShaderVariableClass : int +{ + /// + /// D3D_SVC_SCALAR + Scalar = 0, + /// + /// D3D_SVC_VECTOR + Vector = 1, + /// + /// D3D_SVC_MATRIX_ROWS + MatrixRows = 2, + /// + /// D3D_SVC_MATRIX_COLUMNS + MatrixColumns = 3, + /// + /// D3D_SVC_OBJECT + Object = 4, + /// + /// D3D_SVC_STRUCT + Struct = 5, + /// + /// D3D_SVC_INTERFACE_CLASS + InterfaceClass = 6, + /// + /// D3D_SVC_INTERFACE_POINTER + InterfacePointer = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableFlags.cs new file mode 100644 index 0000000..b9cfb2c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableFlags.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_VARIABLE_FLAGS +[Flags] +public enum ShaderVariableFlags : int +{ + None = 0, + /// + /// D3D_SVF_USERPACKED + UserPacked = 1, + /// + /// D3D_SVF_USED + Used = 2, + /// + /// D3D_SVF_INTERFACE_POINTER + InterfacePointer = 4, + /// + /// D3D_SVF_INTERFACE_PARAMETER + InterfaceParameter = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableType.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableType.cs new file mode 100644 index 0000000..e54443a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ShaderVariableType.cs @@ -0,0 +1,205 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SHADER_VARIABLE_TYPE +public enum ShaderVariableType : int +{ + /// + /// D3D_SVT_VOID + Void = 0, + /// + /// D3D_SVT_BOOL + Bool = 1, + /// + /// D3D_SVT_INT + Int = 2, + /// + /// D3D_SVT_FLOAT + Float = 3, + /// + /// D3D_SVT_STRING + String = 4, + /// + /// D3D_SVT_TEXTURE + Texture = 5, + /// + /// D3D_SVT_TEXTURE1D + Texture1D = 6, + /// + /// D3D_SVT_TEXTURE2D + Texture2D = 7, + /// + /// D3D_SVT_TEXTURE3D + Texture3D = 8, + /// + /// D3D_SVT_TEXTURECUBE + TextureCube = 9, + /// + /// D3D_SVT_SAMPLER + Sampler = 10, + /// + /// D3D_SVT_SAMPLER1D + Sampler1D = 11, + /// + /// D3D_SVT_SAMPLER2D + Sampler2D = 12, + /// + /// D3D_SVT_SAMPLER3D + Sampler3D = 13, + /// + /// D3D_SVT_SAMPLERCUBE + SamplerCube = 14, + /// + /// D3D_SVT_PIXELSHADER + PixelShader = 15, + /// + /// D3D_SVT_VERTEXSHADER + VertexShader = 16, + /// + /// D3D_SVT_PIXELFRAGMENT + PixelFragment = 17, + /// + /// D3D_SVT_VERTEXFRAGMENT + VertexFragment = 18, + /// + /// D3D_SVT_UINT + Uint = 19, + /// + /// D3D_SVT_UINT8 + Uint8 = 20, + /// + /// D3D_SVT_GEOMETRYSHADER + GeometryShader = 21, + /// + /// D3D_SVT_RASTERIZER + Rasterizer = 22, + /// + /// D3D_SVT_DEPTHSTENCIL + DepthStencil = 23, + /// + /// D3D_SVT_BLEND + Blend = 24, + /// + /// D3D_SVT_BUFFER + Buffer = 25, + /// + /// D3D_SVT_CBUFFER + CBuffer = 26, + /// + /// D3D_SVT_TBUFFER + TBuffer = 27, + /// + /// D3D_SVT_TEXTURE1DARRAY + Texture1DArray = 28, + /// + /// D3D_SVT_TEXTURE2DARRAY + Texture2DArray = 29, + /// + /// D3D_SVT_RENDERTARGETVIEW + RenderTargetView = 30, + /// + /// D3D_SVT_DEPTHSTENCILVIEW + DepthStencilView = 31, + /// + /// D3D_SVT_TEXTURE2DMS + Texture2DMs = 32, + /// + /// D3D_SVT_TEXTURE2DMSARRAY + Texture2DMsArray = 33, + /// + /// D3D_SVT_TEXTURECUBEARRAY + TextureCubeArray = 34, + /// + /// D3D_SVT_HULLSHADER + Hullshader = 35, + /// + /// D3D_SVT_DOMAINSHADER + DomainShader = 36, + /// + /// D3D_SVT_INTERFACE_POINTER + InterfacePointer = 37, + /// + /// D3D_SVT_COMPUTESHADER + ComputeShader = 38, + /// + /// D3D_SVT_DOUBLE + Double = 39, + /// + /// D3D_SVT_RWTEXTURE1D + RwTexture1D = 40, + /// + /// D3D_SVT_RWTEXTURE1DARRAY + RwTexture1DArray = 41, + /// + /// D3D_SVT_RWTEXTURE2D + RwTexture2D = 42, + /// + /// D3D_SVT_RWTEXTURE2DARRAY + RwTexture2DArray = 43, + /// + /// D3D_SVT_RWTEXTURE3D + RwTexture3D = 44, + /// + /// D3D_SVT_RWBUFFER + RwBuffer = 45, + /// + /// D3D_SVT_BYTEADDRESS_BUFFER + ByteAddressBuffer = 46, + /// + /// D3D_SVT_RWBYTEADDRESS_BUFFER + RwByteAddressBuffer = 47, + /// + /// D3D_SVT_STRUCTURED_BUFFER + StructuredBuffer = 48, + /// + /// D3D_SVT_RWSTRUCTURED_BUFFER + RwStructuredBuffer = 49, + /// + /// D3D_SVT_APPEND_STRUCTURED_BUFFER + AppendStructuredBuffer = 50, + /// + /// D3D_SVT_CONSUME_STRUCTURED_BUFFER + ConsumeStructuredBuffer = 51, + /// + /// D3D_SVT_MIN8FLOAT + Min8Float = 52, + /// + /// D3D_SVT_MIN10FLOAT + Min10Float = 53, + /// + /// D3D_SVT_MIN16FLOAT + Min16Float = 54, + /// + /// D3D_SVT_MIN12INT + Min12Int = 55, + /// + /// D3D_SVT_MIN16INT + Min16Int = 56, + /// + /// D3D_SVT_MIN16UINT + Min16Uint = 57, + /// + /// D3D_SVT_INT16 + Int16 = 58, + /// + /// D3D_SVT_UINT16 + UInt16 = 59, + /// + /// D3D_SVT_FLOAT16 + Float16 = 60, + /// + /// D3D_SVT_INT64 + Int64 = 61, + /// + /// D3D_SVT_UINT64 + UInt64 = 62, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/SrvDimension.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/SrvDimension.cs new file mode 100644 index 0000000..46a107c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/SrvDimension.cs @@ -0,0 +1,52 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_SRV_DIMENSION +public enum SrvDimension : int +{ + /// + /// D3D_SRV_DIMENSION_UNKNOWN + Unknown = 0, + /// + /// D3D_SRV_DIMENSION_BUFFER + Buffer = 1, + /// + /// D3D_SRV_DIMENSION_TEXTURE1D + Texture1D = 2, + /// + /// D3D_SRV_DIMENSION_TEXTURE1DARRAY + Texture1DArray = 3, + /// + /// D3D_SRV_DIMENSION_TEXTURE2D + Texture2D = 4, + /// + /// D3D_SRV_DIMENSION_TEXTURE2DARRAY + Texture2DArray = 5, + /// + /// D3D_SRV_DIMENSION_TEXTURE2DMS + Texture2DMs = 6, + /// + /// D3D_SRV_DIMENSION_TEXTURE2DMSARRAY + Texture2DMsArray = 7, + /// + /// D3D_SRV_DIMENSION_TEXTURE3D + Texture3D = 8, + /// + /// D3D_SRV_DIMENSION_TEXTURECUBE + TextureCube = 9, + /// + /// D3D_SRV_DIMENSION_TEXTURECUBEARRAY + TextureCubeArray = 10, + /// + /// D3D_SRV_DIMENSION_BUFFEREX + BufferExtended = 11, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/StripFlags.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/StripFlags.cs new file mode 100644 index 0000000..8ea2b48 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/StripFlags.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D.Fxc; + +/// +/// D3DCOMPILER_STRIP_FLAGS +[Flags] +public enum StripFlags : int +{ + None = 0, + /// + /// D3DCOMPILER_STRIP_REFLECTION_DATA + ReflectionData = 1, + /// + /// D3DCOMPILER_STRIP_DEBUG_INFO + DebugInfo = 2, + /// + /// D3DCOMPILER_STRIP_TEST_BLOBS + TestBlobs = 4, + /// + /// D3DCOMPILER_STRIP_PRIVATE_DATA + PrivateData = 8, + /// + /// D3DCOMPILER_STRIP_ROOT_SIGNATURE + RootSignature = 16, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorDomain.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorDomain.cs new file mode 100644 index 0000000..cab77fe --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorDomain.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_TESSELLATOR_DOMAIN +public enum TessellatorDomain : int +{ + /// + /// D3D_TESSELLATOR_DOMAIN_UNDEFINED + Undefined = 0, + /// + /// D3D_TESSELLATOR_DOMAIN_ISOLINE + Isoline = 1, + /// + /// D3D_TESSELLATOR_DOMAIN_TRI + Tri = 2, + /// + /// D3D_TESSELLATOR_DOMAIN_QUAD + Quad = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorOutputPrimitive.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorOutputPrimitive.cs new file mode 100644 index 0000000..4f670a4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorOutputPrimitive.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_TESSELLATOR_OUTPUT_PRIMITIVE +public enum TessellatorOutputPrimitive : int +{ + /// + /// D3D_TESSELLATOR_OUTPUT_UNDEFINED + Undefined = 0, + /// + /// D3D_TESSELLATOR_OUTPUT_POINT + Point = 1, + /// + /// D3D_TESSELLATOR_OUTPUT_LINE + Line = 2, + /// + /// D3D_TESSELLATOR_OUTPUT_TRIANGLE_CW + TriangleCw = 3, + /// + /// D3D_TESSELLATOR_OUTPUT_TRIANGLE_CCW + TriangleCcw = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorPartitioning.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorPartitioning.cs new file mode 100644 index 0000000..4ef38fa --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/TessellatorPartitioning.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Direct3D; + +/// +/// D3D_TESSELLATOR_PARTITIONING +public enum TessellatorPartitioning : int +{ + /// + /// D3D_TESSELLATOR_PARTITIONING_UNDEFINED + Undefined = 0, + /// + /// D3D_TESSELLATOR_PARTITIONING_INTEGER + Integer = 1, + /// + /// D3D_TESSELLATOR_PARTITIONING_POW2 + Pow2 = 2, + /// + /// D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_ODD + FractionalOdd = 3, + /// + /// D3D_TESSELLATOR_PARTITIONING_FRACTIONAL_EVEN + FractionalEven = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs deleted file mode 100644 index 79e105d..0000000 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite.cs +++ /dev/null @@ -1,3035 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.DirectWrite; - -public static partial class Apis -{ - public const uint DWRITE_ALPHA_MAX = 255; - - public const uint FACILITY_DWRITE = 2200; - - public const uint DWRITE_ERR_BASE = 20480; - - public static readonly HResult DWRITE_E_REMOTEFONT = -2003283955; - - public static readonly HResult DWRITE_E_DOWNLOADCANCELLED = -2003283954; - - public static readonly HResult DWRITE_E_DOWNLOADFAILED = -2003283953; - - public static readonly HResult DWRITE_E_TOOMANYDOWNLOADS = -2003283952; - -} - -#region Enums -/// -/// DWRITE_FONT_AXIS_TAG -public enum FontAxisTag : uint -{ - /// - /// DWRITE_FONT_AXIS_TAG_WEIGHT - Weight = 1952999287, - /// - /// DWRITE_FONT_AXIS_TAG_WIDTH - Width = 1752458359, - /// - /// DWRITE_FONT_AXIS_TAG_SLANT - Slant = 1953393779, - /// - /// DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE - OpticalSize = 2054385775, - /// - /// DWRITE_FONT_AXIS_TAG_ITALIC - Italic = 1818326121, -} - -/// -/// DWRITE_MEASURING_MODE -public enum MeasuringMode : int -{ - /// - /// DWRITE_MEASURING_MODE_NATURAL - Natural = 0, - /// - /// DWRITE_MEASURING_MODE_GDI_CLASSIC - GDIClassic = 1, - /// - /// DWRITE_MEASURING_MODE_GDI_NATURAL - GDINatural = 2, -} - -/// -/// DWRITE_GLYPH_IMAGE_FORMATS -[Flags] -public enum GlyphImageFormats : uint -{ - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_NONE - None = 0, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE - Truetype = 1, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_CFF - Cff = 2, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_COLR - Colr = 4, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_SVG - Svg = 8, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_PNG - Png = 16, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_JPEG - Jpeg = 32, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_TIFF - Tiff = 64, - /// - /// DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 - PremultipliedB8g8r8a8 = 128, -} - -/// -/// DWRITE_FONT_FILE_TYPE -public enum FontFileType : int -{ - /// - /// DWRITE_FONT_FILE_TYPE_UNKNOWN - Unknown = 0, - /// - /// DWRITE_FONT_FILE_TYPE_CFF - Cff = 1, - /// - /// DWRITE_FONT_FILE_TYPE_TRUETYPE - Truetype = 2, - /// - /// DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION - OpentypeCollection = 3, - /// - /// DWRITE_FONT_FILE_TYPE_TYPE1_PFM - Type1Pfm = 4, - /// - /// DWRITE_FONT_FILE_TYPE_TYPE1_PFB - Type1Pfb = 5, - /// - /// DWRITE_FONT_FILE_TYPE_VECTOR - Vector = 6, - /// - /// DWRITE_FONT_FILE_TYPE_BITMAP - Bitmap = 7, - /// - /// DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION - TruetypeCollection = 3, -} - -/// -/// DWRITE_FONT_FACE_TYPE -public enum FontFaceType : int -{ - /// - /// DWRITE_FONT_FACE_TYPE_CFF - Cff = 0, - /// - /// DWRITE_FONT_FACE_TYPE_TRUETYPE - Truetype = 1, - /// - /// DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION - OpentypeCollection = 2, - /// - /// DWRITE_FONT_FACE_TYPE_TYPE1 - Type1 = 3, - /// - /// DWRITE_FONT_FACE_TYPE_VECTOR - Vector = 4, - /// - /// DWRITE_FONT_FACE_TYPE_BITMAP - Bitmap = 5, - /// - /// DWRITE_FONT_FACE_TYPE_UNKNOWN - Unknown = 6, - /// - /// DWRITE_FONT_FACE_TYPE_RAW_CFF - RawCff = 7, - /// - /// DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION - TruetypeCollection = 2, -} - -/// -/// DWRITE_FONT_SIMULATIONS -[Flags] -public enum FontSimulations : uint -{ - /// - /// DWRITE_FONT_SIMULATIONS_NONE - None = 0, - /// - /// DWRITE_FONT_SIMULATIONS_BOLD - Bold = 1, - /// - /// DWRITE_FONT_SIMULATIONS_OBLIQUE - Oblique = 2, -} - -/// -/// DWRITE_FONT_WEIGHT -public enum FontWeight : int -{ - /// - /// DWRITE_FONT_WEIGHT_THIN - Thin = 100, - /// - /// DWRITE_FONT_WEIGHT_EXTRA_LIGHT - ExtraLight = 200, - /// - /// DWRITE_FONT_WEIGHT_ULTRA_LIGHT - UltraLight = 200, - /// - /// DWRITE_FONT_WEIGHT_LIGHT - Light = 300, - /// - /// DWRITE_FONT_WEIGHT_SEMI_LIGHT - SemiLight = 350, - /// - /// DWRITE_FONT_WEIGHT_NORMAL - Normal = 400, - /// - /// DWRITE_FONT_WEIGHT_REGULAR - Regular = 400, - /// - /// DWRITE_FONT_WEIGHT_MEDIUM - Medium = 500, - /// - /// DWRITE_FONT_WEIGHT_DEMI_BOLD - DemiBold = 600, - /// - /// DWRITE_FONT_WEIGHT_SEMI_BOLD - SemiBold = 600, - /// - /// DWRITE_FONT_WEIGHT_BOLD - Bold = 700, - /// - /// DWRITE_FONT_WEIGHT_EXTRA_BOLD - ExtraBold = 800, - /// - /// DWRITE_FONT_WEIGHT_ULTRA_BOLD - UltraBold = 800, - /// - /// DWRITE_FONT_WEIGHT_BLACK - Black = 900, - /// - /// DWRITE_FONT_WEIGHT_HEAVY - Heavy = 900, - /// - /// DWRITE_FONT_WEIGHT_EXTRA_BLACK - ExtraBlack = 950, - /// - /// DWRITE_FONT_WEIGHT_ULTRA_BLACK - UltraBlack = 950, -} - -/// -/// DWRITE_FONT_STRETCH -public enum FontStretch : int -{ - /// - /// DWRITE_FONT_STRETCH_UNDEFINED - Undefined = 0, - /// - /// DWRITE_FONT_STRETCH_ULTRA_CONDENSED - UltraCondensed = 1, - /// - /// DWRITE_FONT_STRETCH_EXTRA_CONDENSED - ExtraCondensed = 2, - /// - /// DWRITE_FONT_STRETCH_CONDENSED - Condensed = 3, - /// - /// DWRITE_FONT_STRETCH_SEMI_CONDENSED - SemiCondensed = 4, - /// - /// DWRITE_FONT_STRETCH_NORMAL - Normal = 5, - /// - /// DWRITE_FONT_STRETCH_MEDIUM - Medium = 5, - /// - /// DWRITE_FONT_STRETCH_SEMI_EXPANDED - SemiExpanded = 6, - /// - /// DWRITE_FONT_STRETCH_EXPANDED - Expanded = 7, - /// - /// DWRITE_FONT_STRETCH_EXTRA_EXPANDED - ExtraExpanded = 8, - /// - /// DWRITE_FONT_STRETCH_ULTRA_EXPANDED - UltraExpanded = 9, -} - -/// -/// DWRITE_FONT_STYLE -public enum FontStyle : int -{ - /// - /// DWRITE_FONT_STYLE_NORMAL - Normal = 0, - /// - /// DWRITE_FONT_STYLE_OBLIQUE - Oblique = 1, - /// - /// DWRITE_FONT_STYLE_ITALIC - Italic = 2, -} - -/// -/// DWRITE_INFORMATIONAL_STRING_ID -public enum InformationalStringId : int -{ - /// - /// DWRITE_INFORMATIONAL_STRING_NONE - DWRITE_INFORMATIONAL_STRING_NONE = 0, - /// - /// DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE - DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE = 1, - /// - /// DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS - DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS = 2, - /// - /// DWRITE_INFORMATIONAL_STRING_TRADEMARK - DWRITE_INFORMATIONAL_STRING_TRADEMARK = 3, - /// - /// DWRITE_INFORMATIONAL_STRING_MANUFACTURER - DWRITE_INFORMATIONAL_STRING_MANUFACTURER = 4, - /// - /// DWRITE_INFORMATIONAL_STRING_DESIGNER - DWRITE_INFORMATIONAL_STRING_DESIGNER = 5, - /// - /// DWRITE_INFORMATIONAL_STRING_DESIGNER_URL - DWRITE_INFORMATIONAL_STRING_DESIGNER_URL = 6, - /// - /// DWRITE_INFORMATIONAL_STRING_DESCRIPTION - DWRITE_INFORMATIONAL_STRING_DESCRIPTION = 7, - /// - /// DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL - DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL = 8, - /// - /// DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION - DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION = 9, - /// - /// DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL - DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL = 10, - /// - /// DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES = 11, - /// - /// DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES = 12, - /// - /// DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES = 13, - /// - /// DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES = 14, - /// - /// DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT - DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT = 15, - /// - /// DWRITE_INFORMATIONAL_STRING_FULL_NAME - DWRITE_INFORMATIONAL_STRING_FULL_NAME = 16, - /// - /// DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME - DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME = 17, - /// - /// DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME - DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME = 18, - /// - /// DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME - DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME = 19, - /// - /// DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG - DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG = 20, - /// - /// DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG - DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG = 21, - /// - /// DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES = 13, - /// - /// DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES - DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES = 14, - /// - /// DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME - DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME = 19, -} - -/// -/// DWRITE_FACTORY_TYPE -public enum FactoryType : int -{ - /// - /// DWRITE_FACTORY_TYPE_SHARED - Shared = 0, - /// - /// DWRITE_FACTORY_TYPE_ISOLATED - Isolated = 1, -} - -/// -/// DWRITE_PIXEL_GEOMETRY -public enum PixelGeometry : int -{ - /// - /// DWRITE_PIXEL_GEOMETRY_FLAT - Flat = 0, - /// - /// DWRITE_PIXEL_GEOMETRY_RGB - Rgb = 1, - /// - /// DWRITE_PIXEL_GEOMETRY_BGR - Bgr = 2, -} - -/// -/// DWRITE_RENDERING_MODE -public enum RenderingMode : int -{ - /// - /// DWRITE_RENDERING_MODE_DEFAULT - Default = 0, - /// - /// DWRITE_RENDERING_MODE_ALIASED - Aliased = 1, - /// - /// DWRITE_RENDERING_MODE_GDI_CLASSIC - GDIClassic = 2, - /// - /// DWRITE_RENDERING_MODE_GDI_NATURAL - GDINatural = 3, - /// - /// DWRITE_RENDERING_MODE_NATURAL - Natural = 4, - /// - /// DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC - NaturalSymmetric = 5, - /// - /// DWRITE_RENDERING_MODE_OUTLINE - Outline = 6, - /// - /// DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC - CleartypeGDIClassic = 2, - /// - /// DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL - CleartypeGDINatural = 3, - /// - /// DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL - CleartypeNatural = 4, - /// - /// DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC - CleartypeNaturalSymmetric = 5, -} - -/// -/// DWRITE_READING_DIRECTION -public enum ReadingDirection : int -{ - /// - /// DWRITE_READING_DIRECTION_LEFT_TO_RIGHT - LeftToRight = 0, - /// - /// DWRITE_READING_DIRECTION_RIGHT_TO_LEFT - RightToLeft = 1, - /// - /// DWRITE_READING_DIRECTION_TOP_TO_BOTTOM - TopToBottom = 2, - /// - /// DWRITE_READING_DIRECTION_BOTTOM_TO_TOP - BottomToTop = 3, -} - -/// -/// DWRITE_FLOW_DIRECTION -public enum FlowDirection : int -{ - /// - /// DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM - TopToBottom = 0, - /// - /// DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP - BottomToTop = 1, - /// - /// DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT - LeftToRight = 2, - /// - /// DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT - RightToLeft = 3, -} - -/// -/// DWRITE_TEXT_ALIGNMENT -public enum TextAlignment : int -{ - /// - /// DWRITE_TEXT_ALIGNMENT_LEADING - Leading = 0, - /// - /// DWRITE_TEXT_ALIGNMENT_TRAILING - Trailing = 1, - /// - /// DWRITE_TEXT_ALIGNMENT_CENTER - Center = 2, - /// - /// DWRITE_TEXT_ALIGNMENT_JUSTIFIED - Justified = 3, -} - -/// -/// DWRITE_PARAGRAPH_ALIGNMENT -public enum ParagraphAlignment : int -{ - /// - /// DWRITE_PARAGRAPH_ALIGNMENT_NEAR - Near = 0, - /// - /// DWRITE_PARAGRAPH_ALIGNMENT_FAR - Far = 1, - /// - /// DWRITE_PARAGRAPH_ALIGNMENT_CENTER - Center = 2, -} - -/// -/// DWRITE_WORD_WRAPPING -public enum WordWrapping : int -{ - /// - /// DWRITE_WORD_WRAPPING_WRAP - Wrap = 0, - /// - /// DWRITE_WORD_WRAPPING_NO_WRAP - NoWrap = 1, - /// - /// DWRITE_WORD_WRAPPING_EMERGENCY_BREAK - EmergencyBreak = 2, - /// - /// DWRITE_WORD_WRAPPING_WHOLE_WORD - WholeWord = 3, - /// - /// DWRITE_WORD_WRAPPING_CHARACTER - Character = 4, -} - -/// -/// DWRITE_LINE_SPACING_METHOD -public enum LineSpacingMethod : int -{ - /// - /// DWRITE_LINE_SPACING_METHOD_DEFAULT - Default = 0, - /// - /// DWRITE_LINE_SPACING_METHOD_UNIFORM - Uniform = 1, - /// - /// DWRITE_LINE_SPACING_METHOD_PROPORTIONAL - Proportional = 2, -} - -/// -/// DWRITE_TRIMMING_GRANULARITY -public enum TrimmingGranularity : int -{ - /// - /// DWRITE_TRIMMING_GRANULARITY_NONE - None = 0, - /// - /// DWRITE_TRIMMING_GRANULARITY_CHARACTER - Character = 1, - /// - /// DWRITE_TRIMMING_GRANULARITY_WORD - Word = 2, -} - -/// -/// DWRITE_FONT_FEATURE_TAG -public enum FontFeatureTag : uint -{ - /// - /// DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS - AlternativeFractions = 1668441697, - /// - /// DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS - PetiteCapitalsFromCapitals = 1668297315, - /// - /// DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS - SmallCapitalsFromCapitals = 1668493923, - /// - /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES - ContextualAlternates = 1953259875, - /// - /// DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS - CaseSensitiveForms = 1702060387, - /// - /// DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION - GlyphCompositionDecomposition = 1886217059, - /// - /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES - ContextualLigatures = 1734962275, - /// - /// DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING - CapitalSpacing = 1886613603, - /// - /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH - ContextualSwash = 1752658787, - /// - /// DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING - CursivePositioning = 1936880995, - /// - /// DWRITE_FONT_FEATURE_TAG_DEFAULT - Default = 1953261156, - /// - /// DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES - DiscretionaryLigatures = 1734962276, - /// - /// DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS - ExpertForms = 1953527909, - /// - /// DWRITE_FONT_FEATURE_TAG_FRACTIONS - Fractions = 1667330662, - /// - /// DWRITE_FONT_FEATURE_TAG_FULL_WIDTH - FullWidth = 1684633446, - /// - /// DWRITE_FONT_FEATURE_TAG_HALF_FORMS - HalfForms = 1718378856, - /// - /// DWRITE_FONT_FEATURE_TAG_HALANT_FORMS - HalantForms = 1852596584, - /// - /// DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH - AlternateHalfWidth = 1953259880, - /// - /// DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS - HistoricalForms = 1953720680, - /// - /// DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES - HorizontalKanaAlternates = 1634626408, - /// - /// DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES - HistoricalLigatures = 1734962280, - /// - /// DWRITE_FONT_FEATURE_TAG_HALF_WIDTH - HalfWidth = 1684633448, - /// - /// DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS - HojoKanjiForms = 1869246312, - /// - /// DWRITE_FONT_FEATURE_TAG_JIS04_FORMS - Jis04Forms = 875589738, - /// - /// DWRITE_FONT_FEATURE_TAG_JIS78_FORMS - Jis78Forms = 943157354, - /// - /// DWRITE_FONT_FEATURE_TAG_JIS83_FORMS - Jis83Forms = 859336810, - /// - /// DWRITE_FONT_FEATURE_TAG_JIS90_FORMS - Jis90Forms = 809070698, - /// - /// DWRITE_FONT_FEATURE_TAG_KERNING - Kerning = 1852990827, - /// - /// DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES - StandardLigatures = 1634167148, - /// - /// DWRITE_FONT_FEATURE_TAG_LINING_FIGURES - LiningFigures = 1836412524, - /// - /// DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS - LocalizedForms = 1818455916, - /// - /// DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING - MarkPositioning = 1802658157, - /// - /// DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK - MathematicalGreek = 1802659693, - /// - /// DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING - MarkToMarkPositioning = 1802333037, - /// - /// DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS - AlternateAnnotationForms = 1953259886, - /// - /// DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS - NlcKanjiForms = 1801677934, - /// - /// DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES - OldStyleFigures = 1836412527, - /// - /// DWRITE_FONT_FEATURE_TAG_ORDINALS - Ordinals = 1852076655, - /// - /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH - ProportionalAlternateWidth = 1953259888, - /// - /// DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS - PetiteCapitals = 1885430640, - /// - /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES - ProportionalFigures = 1836412528, - /// - /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS - ProportionalWidths = 1684633456, - /// - /// DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS - QuarterWidths = 1684633457, - /// - /// DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES - RequiredLigatures = 1734962290, - /// - /// DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS - RubyNotationForms = 2036495730, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES - StylisticAlternates = 1953259891, - /// - /// DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS - ScientificInferiors = 1718511987, - /// - /// DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS - SmallCapitals = 1885564275, - /// - /// DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS - SimplifiedForms = 1819307379, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1 - StylisticSet1 = 825258867, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2 - StylisticSet2 = 842036083, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3 - StylisticSet3 = 858813299, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4 - StylisticSet4 = 875590515, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5 - StylisticSet5 = 892367731, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6 - StylisticSet6 = 909144947, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7 - StylisticSet7 = 925922163, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8 - StylisticSet8 = 942699379, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9 - StylisticSet9 = 959476595, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10 - StylisticSet10 = 808547187, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11 - StylisticSet11 = 825324403, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12 - StylisticSet12 = 842101619, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13 - StylisticSet13 = 858878835, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14 - StylisticSet14 = 875656051, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15 - StylisticSet15 = 892433267, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16 - StylisticSet16 = 909210483, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17 - StylisticSet17 = 925987699, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18 - StylisticSet18 = 942764915, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19 - StylisticSet19 = 959542131, - /// - /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20 - StylisticSet20 = 808612723, - /// - /// DWRITE_FONT_FEATURE_TAG_SUBSCRIPT - Subscript = 1935832435, - /// - /// DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT - Superscript = 1936749939, - /// - /// DWRITE_FONT_FEATURE_TAG_SWASH - Swash = 1752397683, - /// - /// DWRITE_FONT_FEATURE_TAG_TITLING - Titling = 1819568500, - /// - /// DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS - TraditionalNameForms = 1835101812, - /// - /// DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES - TabularFigures = 1836412532, - /// - /// DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS - TraditionalForms = 1684107892, - /// - /// DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS - ThirdWidths = 1684633460, - /// - /// DWRITE_FONT_FEATURE_TAG_UNICASE - Unicase = 1667853941, - /// - /// DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING - VerticalWriting = 1953654134, - /// - /// DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION - VerticalAlternatesAndRotation = 846492278, - /// - /// DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO - SlashedZero = 1869768058, -} - -/// -/// DWRITE_SCRIPT_SHAPES -[Flags] -public enum ScriptShapes : uint -{ - None = 0, - /// - /// DWRITE_SCRIPT_SHAPES_DEFAULT - Default = 0, - /// - /// DWRITE_SCRIPT_SHAPES_NO_VISUAL - NoVisual = 1, -} - -/// -/// DWRITE_BREAK_CONDITION -public enum BreakCondition : int -{ - /// - /// DWRITE_BREAK_CONDITION_NEUTRAL - Neutral = 0, - /// - /// DWRITE_BREAK_CONDITION_CAN_BREAK - CanBreak = 1, - /// - /// DWRITE_BREAK_CONDITION_MAY_NOT_BREAK - MayNotBreak = 2, - /// - /// DWRITE_BREAK_CONDITION_MUST_BREAK - MustBreak = 3, -} - -/// -/// DWRITE_NUMBER_SUBSTITUTION_METHOD -public enum NumberSubstitutionMethod : int -{ - /// - /// DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE - FromCulture = 0, - /// - /// DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL - Contextual = 1, - /// - /// DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE - None = 2, - /// - /// DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL - National = 3, - /// - /// DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL - Traditional = 4, -} - -/// -/// DWRITE_TEXTURE_TYPE -public enum TextureType : int -{ - /// - /// DWRITE_TEXTURE_ALIASED_1x1 - DWRITE_TEXTURE_ALIASED_1x1 = 0, - /// - /// DWRITE_TEXTURE_CLEARTYPE_3x1 - DWRITE_TEXTURE_CLEARTYPE_3x1 = 1, -} - -/// -/// DWRITE_PANOSE_FAMILY -public enum PanoseFamily : int -{ - /// - /// DWRITE_PANOSE_FAMILY_ANY - Any = 0, - /// - /// DWRITE_PANOSE_FAMILY_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_FAMILY_TEXT_DISPLAY - TextDisplay = 2, - /// - /// DWRITE_PANOSE_FAMILY_SCRIPT - Script = 3, - /// - /// DWRITE_PANOSE_FAMILY_DECORATIVE - Decorative = 4, - /// - /// DWRITE_PANOSE_FAMILY_SYMBOL - Symbol = 5, - /// - /// DWRITE_PANOSE_FAMILY_PICTORIAL - Pictorial = 5, -} - -/// -/// DWRITE_PANOSE_SERIF_STYLE -public enum PanoseSerifStyle : int -{ - /// - /// DWRITE_PANOSE_SERIF_STYLE_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SERIF_STYLE_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SERIF_STYLE_COVE - Cove = 2, - /// - /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE - ObtuseCove = 3, - /// - /// DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE - SquareCove = 4, - /// - /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE - ObtuseSquareCove = 5, - /// - /// DWRITE_PANOSE_SERIF_STYLE_SQUARE - Square = 6, - /// - /// DWRITE_PANOSE_SERIF_STYLE_THIN - Thin = 7, - /// - /// DWRITE_PANOSE_SERIF_STYLE_OVAL - Oval = 8, - /// - /// DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED - Exaggerated = 9, - /// - /// DWRITE_PANOSE_SERIF_STYLE_TRIANGLE - Triangle = 10, - /// - /// DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS - NormalSans = 11, - /// - /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS - ObtuseSans = 12, - /// - /// DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS - PerpendicularSans = 13, - /// - /// DWRITE_PANOSE_SERIF_STYLE_FLARED - Flared = 14, - /// - /// DWRITE_PANOSE_SERIF_STYLE_ROUNDED - Rounded = 15, - /// - /// DWRITE_PANOSE_SERIF_STYLE_SCRIPT - Script = 16, - /// - /// DWRITE_PANOSE_SERIF_STYLE_PERP_SANS - PerpSans = 13, - /// - /// DWRITE_PANOSE_SERIF_STYLE_BONE - Bone = 8, -} - -/// -/// DWRITE_PANOSE_WEIGHT -public enum PanoseWeight : int -{ - /// - /// DWRITE_PANOSE_WEIGHT_ANY - Any = 0, - /// - /// DWRITE_PANOSE_WEIGHT_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_WEIGHT_VERY_LIGHT - VeryLight = 2, - /// - /// DWRITE_PANOSE_WEIGHT_LIGHT - Light = 3, - /// - /// DWRITE_PANOSE_WEIGHT_THIN - Thin = 4, - /// - /// DWRITE_PANOSE_WEIGHT_BOOK - Book = 5, - /// - /// DWRITE_PANOSE_WEIGHT_MEDIUM - Medium = 6, - /// - /// DWRITE_PANOSE_WEIGHT_DEMI - Demi = 7, - /// - /// DWRITE_PANOSE_WEIGHT_BOLD - Bold = 8, - /// - /// DWRITE_PANOSE_WEIGHT_HEAVY - Heavy = 9, - /// - /// DWRITE_PANOSE_WEIGHT_BLACK - Black = 10, - /// - /// DWRITE_PANOSE_WEIGHT_EXTRA_BLACK - ExtraBlack = 11, - /// - /// DWRITE_PANOSE_WEIGHT_NORD - Nord = 11, -} - -/// -/// DWRITE_PANOSE_PROPORTION -public enum PanoseProportion : int -{ - /// - /// DWRITE_PANOSE_PROPORTION_ANY - Any = 0, - /// - /// DWRITE_PANOSE_PROPORTION_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_PROPORTION_OLD_STYLE - OldStyle = 2, - /// - /// DWRITE_PANOSE_PROPORTION_MODERN - Modern = 3, - /// - /// DWRITE_PANOSE_PROPORTION_EVEN_WIDTH - EvenWidth = 4, - /// - /// DWRITE_PANOSE_PROPORTION_EXPANDED - Expanded = 5, - /// - /// DWRITE_PANOSE_PROPORTION_CONDENSED - Condensed = 6, - /// - /// DWRITE_PANOSE_PROPORTION_VERY_EXPANDED - VeryExpanded = 7, - /// - /// DWRITE_PANOSE_PROPORTION_VERY_CONDENSED - VeryCondensed = 8, - /// - /// DWRITE_PANOSE_PROPORTION_MONOSPACED - Monospaced = 9, -} - -/// -/// DWRITE_PANOSE_CONTRAST -public enum PanoseContrast : int -{ - /// - /// DWRITE_PANOSE_CONTRAST_ANY - Any = 0, - /// - /// DWRITE_PANOSE_CONTRAST_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_CONTRAST_NONE - None = 2, - /// - /// DWRITE_PANOSE_CONTRAST_VERY_LOW - VeryLow = 3, - /// - /// DWRITE_PANOSE_CONTRAST_LOW - Low = 4, - /// - /// DWRITE_PANOSE_CONTRAST_MEDIUM_LOW - MediumLow = 5, - /// - /// DWRITE_PANOSE_CONTRAST_MEDIUM - Medium = 6, - /// - /// DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH - MediumHigh = 7, - /// - /// DWRITE_PANOSE_CONTRAST_HIGH - High = 8, - /// - /// DWRITE_PANOSE_CONTRAST_VERY_HIGH - VeryHigh = 9, - /// - /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW - HorizontalLow = 10, - /// - /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM - HorizontalMedium = 11, - /// - /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH - HorizontalHigh = 12, - /// - /// DWRITE_PANOSE_CONTRAST_BROKEN - Broken = 13, -} - -/// -/// DWRITE_PANOSE_STROKE_VARIATION -public enum PanoseStrokeVariation : int -{ - /// - /// DWRITE_PANOSE_STROKE_VARIATION_ANY - Any = 0, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION - NoVariation = 2, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL - GradualDiagonal = 3, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL - GradualTransitional = 4, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL - GradualVertical = 5, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL - GradualHorizontal = 6, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL - RapidVertical = 7, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL - RapidHorizontal = 8, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL - InstantVertical = 9, - /// - /// DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL - InstantHorizontal = 10, -} - -/// -/// DWRITE_PANOSE_ARM_STYLE -public enum PanoseArmStyle : int -{ - /// - /// DWRITE_PANOSE_ARM_STYLE_ANY - Any = 0, - /// - /// DWRITE_PANOSE_ARM_STYLE_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL - StraightArmsHorizontal = 2, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE - StraightArmsWedge = 3, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL - StraightArmsVertical = 4, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF - StraightArmsSingleSerif = 5, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF - StraightArmsDoubleSerif = 6, - /// - /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL - NonstraightArmsHorizontal = 7, - /// - /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE - NonstraightArmsWedge = 8, - /// - /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL - NonstraightArmsVertical = 9, - /// - /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF - NonstraightArmsSingleSerif = 10, - /// - /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF - NonstraightArmsDoubleSerif = 11, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ - StraightArmsHorz = 2, - /// - /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT - StraightArmsVert = 4, - /// - /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ - BentArmsHorz = 7, - /// - /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE - BentArmsWedge = 8, - /// - /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT - BentArmsVert = 9, - /// - /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF - BentArmsSingleSerif = 10, - /// - /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF - BentArmsDoubleSerif = 11, -} - -/// -/// DWRITE_PANOSE_LETTERFORM -public enum PanoseLetterform : int -{ - /// - /// DWRITE_PANOSE_LETTERFORM_ANY - Any = 0, - /// - /// DWRITE_PANOSE_LETTERFORM_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT - NormalContact = 2, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED - NormalWeighted = 3, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED - NormalBoxed = 4, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED - NormalFlattened = 5, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED - NormalRounded = 6, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER - NormalOffCenter = 7, - /// - /// DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE - NormalSquare = 8, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT - ObliqueContact = 9, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED - ObliqueWeighted = 10, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED - ObliqueBoxed = 11, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED - ObliqueFlattened = 12, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED - ObliqueRounded = 13, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER - ObliqueOffCenter = 14, - /// - /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE - ObliqueSquare = 15, -} - -/// -/// DWRITE_PANOSE_MIDLINE -public enum PanoseMidline : int -{ - /// - /// DWRITE_PANOSE_MIDLINE_ANY - Any = 0, - /// - /// DWRITE_PANOSE_MIDLINE_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED - StandardTrimmed = 2, - /// - /// DWRITE_PANOSE_MIDLINE_STANDARD_POINTED - StandardPointed = 3, - /// - /// DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED - StandardSerifed = 4, - /// - /// DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED - HighTrimmed = 5, - /// - /// DWRITE_PANOSE_MIDLINE_HIGH_POINTED - HighPointed = 6, - /// - /// DWRITE_PANOSE_MIDLINE_HIGH_SERIFED - HighSerifed = 7, - /// - /// DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED - ConstantTrimmed = 8, - /// - /// DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED - ConstantPointed = 9, - /// - /// DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED - ConstantSerifed = 10, - /// - /// DWRITE_PANOSE_MIDLINE_LOW_TRIMMED - LowTrimmed = 11, - /// - /// DWRITE_PANOSE_MIDLINE_LOW_POINTED - LowPointed = 12, - /// - /// DWRITE_PANOSE_MIDLINE_LOW_SERIFED - LowSerifed = 13, -} - -/// -/// DWRITE_PANOSE_XHEIGHT -public enum PanoseXheight : int -{ - /// - /// DWRITE_PANOSE_XHEIGHT_ANY - Any = 0, - /// - /// DWRITE_PANOSE_XHEIGHT_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL - ConstantSmall = 2, - /// - /// DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD - ConstantStandard = 3, - /// - /// DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE - ConstantLarge = 4, - /// - /// DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL - DuckingSmall = 5, - /// - /// DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD - DuckingStandard = 6, - /// - /// DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE - DuckingLarge = 7, - /// - /// DWRITE_PANOSE_XHEIGHT_CONSTANT_STD - ConstantStd = 3, - /// - /// DWRITE_PANOSE_XHEIGHT_DUCKING_STD - DuckingStd = 6, -} - -/// -/// DWRITE_PANOSE_TOOL_KIND -public enum PanoseToolKind : int -{ - /// - /// DWRITE_PANOSE_TOOL_KIND_ANY - Any = 0, - /// - /// DWRITE_PANOSE_TOOL_KIND_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_TOOL_KIND_FLAT_NIB - FlatNib = 2, - /// - /// DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT - PressurePoint = 3, - /// - /// DWRITE_PANOSE_TOOL_KIND_ENGRAVED - Engraved = 4, - /// - /// DWRITE_PANOSE_TOOL_KIND_BALL - Ball = 5, - /// - /// DWRITE_PANOSE_TOOL_KIND_BRUSH - Brush = 6, - /// - /// DWRITE_PANOSE_TOOL_KIND_ROUGH - Rough = 7, - /// - /// DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP - FeltPenBrushTip = 8, - /// - /// DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH - WildBrush = 9, -} - -/// -/// DWRITE_PANOSE_SPACING -public enum PanoseSpacing : int -{ - /// - /// DWRITE_PANOSE_SPACING_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SPACING_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED - ProportionalSpaced = 2, - /// - /// DWRITE_PANOSE_SPACING_MONOSPACED - Monospaced = 3, -} - -/// -/// DWRITE_PANOSE_ASPECT_RATIO -public enum PanoseAspectRatio : int -{ - /// - /// DWRITE_PANOSE_ASPECT_RATIO_ANY - Any = 0, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED - VeryCondensed = 2, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_CONDENSED - Condensed = 3, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_NORMAL - Normal = 4, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_EXPANDED - Expanded = 5, - /// - /// DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED - VeryExpanded = 6, -} - -/// -/// DWRITE_PANOSE_SCRIPT_TOPOLOGY -public enum PanoseScriptTopology : int -{ - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED - RomanDisconnected = 2, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING - RomanTrailing = 3, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED - RomanConnected = 4, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED - CursiveDisconnected = 5, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING - CursiveTrailing = 6, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED - CursiveConnected = 7, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED - BlackletterDisconnected = 8, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING - BlackletterTrailing = 9, - /// - /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED - BlackletterConnected = 10, -} - -/// -/// DWRITE_PANOSE_SCRIPT_FORM -public enum PanoseScriptForm : int -{ - /// - /// DWRITE_PANOSE_SCRIPT_FORM_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING - UprightNoWrapping = 2, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING - UprightSomeWrapping = 3, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING - UprightMoreWrapping = 4, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING - UprightExtremeWrapping = 5, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING - ObliqueNoWrapping = 6, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING - ObliqueSomeWrapping = 7, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING - ObliqueMoreWrapping = 8, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING - ObliqueExtremeWrapping = 9, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING - ExaggeratedNoWrapping = 10, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING - ExaggeratedSomeWrapping = 11, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING - ExaggeratedMoreWrapping = 12, - /// - /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING - ExaggeratedExtremeWrapping = 13, -} - -/// -/// DWRITE_PANOSE_FINIALS -public enum PanoseFinials : int -{ - /// - /// DWRITE_PANOSE_FINIALS_ANY - Any = 0, - /// - /// DWRITE_PANOSE_FINIALS_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS - NoneNoLoops = 2, - /// - /// DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS - NoneClosedLoops = 3, - /// - /// DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS - NoneOpenLoops = 4, - /// - /// DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS - SharpNoLoops = 5, - /// - /// DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS - SharpClosedLoops = 6, - /// - /// DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS - SharpOpenLoops = 7, - /// - /// DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS - TaperedNoLoops = 8, - /// - /// DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS - TaperedClosedLoops = 9, - /// - /// DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS - TaperedOpenLoops = 10, - /// - /// DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS - RoundNoLoops = 11, - /// - /// DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS - RoundClosedLoops = 12, - /// - /// DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS - RoundOpenLoops = 13, -} - -/// -/// DWRITE_PANOSE_XASCENT -public enum PanoseXascent : int -{ - /// - /// DWRITE_PANOSE_XASCENT_ANY - Any = 0, - /// - /// DWRITE_PANOSE_XASCENT_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_XASCENT_VERY_LOW - VeryLow = 2, - /// - /// DWRITE_PANOSE_XASCENT_LOW - Low = 3, - /// - /// DWRITE_PANOSE_XASCENT_MEDIUM - Medium = 4, - /// - /// DWRITE_PANOSE_XASCENT_HIGH - High = 5, - /// - /// DWRITE_PANOSE_XASCENT_VERY_HIGH - VeryHigh = 6, -} - -/// -/// DWRITE_PANOSE_DECORATIVE_CLASS -public enum PanoseDecorativeClass : int -{ - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_ANY - Any = 0, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE - Derivative = 2, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY - NonstandardTopology = 3, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS - NonstandardElements = 4, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT - NonstandardAspect = 5, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS - Initials = 6, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON - Cartoon = 7, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS - PictureStems = 8, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED - Ornamented = 9, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND - TextAndBackground = 10, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE - Collage = 11, - /// - /// DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE - Montage = 12, -} - -/// -/// DWRITE_PANOSE_ASPECT -public enum PanoseAspect : int -{ - /// - /// DWRITE_PANOSE_ASPECT_ANY - Any = 0, - /// - /// DWRITE_PANOSE_ASPECT_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_ASPECT_SUPER_CONDENSED - SuperCondensed = 2, - /// - /// DWRITE_PANOSE_ASPECT_VERY_CONDENSED - VeryCondensed = 3, - /// - /// DWRITE_PANOSE_ASPECT_CONDENSED - Condensed = 4, - /// - /// DWRITE_PANOSE_ASPECT_NORMAL - Normal = 5, - /// - /// DWRITE_PANOSE_ASPECT_EXTENDED - Extended = 6, - /// - /// DWRITE_PANOSE_ASPECT_VERY_EXTENDED - VeryExtended = 7, - /// - /// DWRITE_PANOSE_ASPECT_SUPER_EXTENDED - SuperExtended = 8, - /// - /// DWRITE_PANOSE_ASPECT_MONOSPACED - Monospaced = 9, -} - -/// -/// DWRITE_PANOSE_FILL -public enum PanoseFill : int -{ - /// - /// DWRITE_PANOSE_FILL_ANY - Any = 0, - /// - /// DWRITE_PANOSE_FILL_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL - StandardSolidFill = 2, - /// - /// DWRITE_PANOSE_FILL_NO_FILL - NoFill = 3, - /// - /// DWRITE_PANOSE_FILL_PATTERNED_FILL - PatternedFill = 4, - /// - /// DWRITE_PANOSE_FILL_COMPLEX_FILL - ComplexFill = 5, - /// - /// DWRITE_PANOSE_FILL_SHAPED_FILL - ShapedFill = 6, - /// - /// DWRITE_PANOSE_FILL_DRAWN_DISTRESSED - DrawnDistressed = 7, -} - -/// -/// DWRITE_PANOSE_LINING -public enum PanoseLining : int -{ - /// - /// DWRITE_PANOSE_LINING_ANY - Any = 0, - /// - /// DWRITE_PANOSE_LINING_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_LINING_NONE - None = 2, - /// - /// DWRITE_PANOSE_LINING_INLINE - Inline = 3, - /// - /// DWRITE_PANOSE_LINING_OUTLINE - Outline = 4, - /// - /// DWRITE_PANOSE_LINING_ENGRAVED - Engraved = 5, - /// - /// DWRITE_PANOSE_LINING_SHADOW - Shadow = 6, - /// - /// DWRITE_PANOSE_LINING_RELIEF - Relief = 7, - /// - /// DWRITE_PANOSE_LINING_BACKDROP - Backdrop = 8, -} - -/// -/// DWRITE_PANOSE_DECORATIVE_TOPOLOGY -public enum PanoseDecorativeTopology : int -{ - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY - Any = 0, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD - Standard = 2, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE - Square = 3, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT - MultipleSegment = 4, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO - ArtDeco = 5, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING - UnevenWeighting = 6, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS - DiverseArms = 7, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS - DiverseForms = 8, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS - LombardicForms = 9, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE - UpperCaseInLowerCase = 10, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY - ImpliedTopology = 11, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A - HorseshoeEAndA = 12, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE - Cursive = 13, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER - Blackletter = 14, - /// - /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE - SwashVariance = 15, -} - -/// -/// DWRITE_PANOSE_CHARACTER_RANGES -public enum PanoseCharacterRanges : int -{ - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_ANY - Any = 0, - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION - ExtendedCollection = 2, - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_LITERALS - Literals = 3, - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE - NoLowerCase = 4, - /// - /// DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS - SmallCaps = 5, -} - -/// -/// DWRITE_PANOSE_SYMBOL_KIND -public enum PanoseSymbolKind : int -{ - /// - /// DWRITE_PANOSE_SYMBOL_KIND_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_MONTAGES - Montages = 2, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_PICTURES - Pictures = 3, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_SHAPES - Shapes = 4, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC - Scientific = 5, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_MUSIC - Music = 6, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_EXPERT - Expert = 7, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_PATTERNS - Patterns = 8, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_BOARDERS - Boarders = 9, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_ICONS - Icons = 10, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_LOGOS - Logos = 11, - /// - /// DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC - IndustrySpecific = 12, -} - -/// -/// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO -public enum PanoseSymbolAspectRatio : int -{ - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY - Any = 0, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT - NoFit = 1, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH - NoWidth = 2, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE - ExceptionallyWide = 3, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE - SuperWide = 4, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE - VeryWide = 5, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE - Wide = 6, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL - Normal = 7, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW - Narrow = 8, - /// - /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW - VeryNarrow = 9, -} - -/// -/// DWRITE_OUTLINE_THRESHOLD -public enum OutlineThreshold : int -{ - /// - /// DWRITE_OUTLINE_THRESHOLD_ANTIALIASED - Antialiased = 0, - /// - /// DWRITE_OUTLINE_THRESHOLD_ALIASED - Aliased = 1, -} - -/// -/// DWRITE_BASELINE -public enum Baseline : int -{ - /// - /// DWRITE_BASELINE_DEFAULT - Default = 0, - /// - /// DWRITE_BASELINE_ROMAN - Roman = 1, - /// - /// DWRITE_BASELINE_CENTRAL - Central = 2, - /// - /// DWRITE_BASELINE_MATH - Math = 3, - /// - /// DWRITE_BASELINE_HANGING - Hanging = 4, - /// - /// DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM - IdeographicBottom = 5, - /// - /// DWRITE_BASELINE_IDEOGRAPHIC_TOP - IdeographicTop = 6, - /// - /// DWRITE_BASELINE_MINIMUM - Minimum = 7, - /// - /// DWRITE_BASELINE_MAXIMUM - Maximum = 8, -} - -/// -/// DWRITE_VERTICAL_GLYPH_ORIENTATION -public enum VerticalGlyphOrientation : int -{ - /// - /// DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT - Default = 0, - /// - /// DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED - Stacked = 1, -} - -/// -/// DWRITE_GLYPH_ORIENTATION_ANGLE -public enum GlyphOrientationAngle : int -{ - /// - /// DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES - _0Degrees = 0, - /// - /// DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES - _90Degrees = 1, - /// - /// DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES - _180Degrees = 2, - /// - /// DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES - _270Degrees = 3, -} - -/// -/// DWRITE_TEXT_ANTIALIAS_MODE -public enum TextAntialiasMode : int -{ - /// - /// DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE - Cleartype = 0, - /// - /// DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE - Grayscale = 1, -} - -/// -/// DWRITE_OPTICAL_ALIGNMENT -public enum OpticalAlignment : int -{ - /// - /// DWRITE_OPTICAL_ALIGNMENT_NONE - None = 0, - /// - /// DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS - NoSideBearings = 1, -} - -/// -/// DWRITE_GRID_FIT_MODE -public enum GridFitMode : int -{ - /// - /// DWRITE_GRID_FIT_MODE_DEFAULT - Default = 0, - /// - /// DWRITE_GRID_FIT_MODE_DISABLED - Disabled = 1, - /// - /// DWRITE_GRID_FIT_MODE_ENABLED - Enabled = 2, -} - -/// -/// DWRITE_FONT_PROPERTY_ID -public enum FontPropertyId : int -{ - /// - /// DWRITE_FONT_PROPERTY_ID_NONE - None = 0, - /// - /// DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME - WeightStretchStyleFamilyName = 1, - /// - /// DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME - TypographicFamilyName = 2, - /// - /// DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME - WeightStretchStyleFaceName = 3, - /// - /// DWRITE_FONT_PROPERTY_ID_FULL_NAME - FullName = 4, - /// - /// DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME - Win32FamilyName = 5, - /// - /// DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME - PostscriptName = 6, - /// - /// DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG - DesignScriptLanguageTag = 7, - /// - /// DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG - SupportedScriptLanguageTag = 8, - /// - /// DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG - SemanticTag = 9, - /// - /// DWRITE_FONT_PROPERTY_ID_WEIGHT - Weight = 10, - /// - /// DWRITE_FONT_PROPERTY_ID_STRETCH - Stretch = 11, - /// - /// DWRITE_FONT_PROPERTY_ID_STYLE - Style = 12, - /// - /// DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME - TypographicFaceName = 13, - /// - /// DWRITE_FONT_PROPERTY_ID_TOTAL - Total = 13, - /// - /// DWRITE_FONT_PROPERTY_ID_TOTAL_RS3 - TotalRs3 = 14, - /// - /// DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME - PreferredFamilyName = 2, - /// - /// DWRITE_FONT_PROPERTY_ID_FAMILY_NAME - FamilyName = 1, - /// - /// DWRITE_FONT_PROPERTY_ID_FACE_NAME - FaceName = 3, -} - -/// -/// DWRITE_LOCALITY -public enum Locality : int -{ - /// - /// DWRITE_LOCALITY_REMOTE - Remote = 0, - /// - /// DWRITE_LOCALITY_PARTIAL - Partial = 1, - /// - /// DWRITE_LOCALITY_LOCAL - Local = 2, -} - -/// -/// DWRITE_RENDERING_MODE1 -public enum RenderingMode1 : int -{ - /// - /// DWRITE_RENDERING_MODE1_DEFAULT - Default = 0, - /// - /// DWRITE_RENDERING_MODE1_ALIASED - Aliased = 1, - /// - /// DWRITE_RENDERING_MODE1_GDI_CLASSIC - GDIClassic = 2, - /// - /// DWRITE_RENDERING_MODE1_GDI_NATURAL - GDINatural = 3, - /// - /// DWRITE_RENDERING_MODE1_NATURAL - Natural = 4, - /// - /// DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC - NaturalSymmetric = 5, - /// - /// DWRITE_RENDERING_MODE1_OUTLINE - Outline = 6, - /// - /// DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED - NaturalSymmetricDownsampled = 7, -} - -/// -/// DWRITE_FONT_LINE_GAP_USAGE -public enum FontLineGapUsage : int -{ - /// - /// DWRITE_FONT_LINE_GAP_USAGE_DEFAULT - Default = 0, - /// - /// DWRITE_FONT_LINE_GAP_USAGE_DISABLED - Disabled = 1, - /// - /// DWRITE_FONT_LINE_GAP_USAGE_ENABLED - Enabled = 2, -} - -/// -/// DWRITE_CONTAINER_TYPE -public enum ContainerType : int -{ - /// - /// DWRITE_CONTAINER_TYPE_UNKNOWN - Unknown = 0, - /// - /// DWRITE_CONTAINER_TYPE_WOFF - Woff = 1, - /// - /// DWRITE_CONTAINER_TYPE_WOFF2 - Woff2 = 2, -} - -/// -/// DWRITE_FONT_FAMILY_MODEL -public enum FontFamilyModel : int -{ - /// - /// DWRITE_FONT_FAMILY_MODEL_TYPOGRAPHIC - Typographic = 0, - /// - /// DWRITE_FONT_FAMILY_MODEL_WEIGHT_STRETCH_STYLE - WeightStretchStyle = 1, -} - -/// -/// DWRITE_AUTOMATIC_FONT_AXES -[Flags] -public enum AutomaticFontAxes : uint -{ - /// - /// DWRITE_AUTOMATIC_FONT_AXES_NONE - None = 0, - /// - /// DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE - OpticalSize = 1, -} - -/// -/// DWRITE_FONT_AXIS_ATTRIBUTES -[Flags] -public enum FontAxisAttributes : uint -{ - /// - /// DWRITE_FONT_AXIS_ATTRIBUTES_NONE - None = 0, - /// - /// DWRITE_FONT_AXIS_ATTRIBUTES_VARIABLE - Variable = 1, - /// - /// DWRITE_FONT_AXIS_ATTRIBUTES_HIDDEN - Hidden = 2, -} - -/// -/// DWRITE_FONT_SOURCE_TYPE -public enum FontSourceType : int -{ - /// - /// DWRITE_FONT_SOURCE_TYPE_UNKNOWN - Unknown = 0, - /// - /// DWRITE_FONT_SOURCE_TYPE_PER_MACHINE - PerMachine = 1, - /// - /// DWRITE_FONT_SOURCE_TYPE_PER_USER - PerUser = 2, - /// - /// DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE - AppxPackage = 3, - /// - /// DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER - RemoteFontProvider = 4, -} -#endregion Enums - -#region Unions - -/// -/// DWRITE_PANOSE -[StructLayout(LayoutKind.Explicit)] -public partial struct Panose -{ - /// - [FieldOffset(0)] - public unsafe fixed byte values[10]; - - /// - [FieldOffset(0)] - public byte familyKind; - - /// - [FieldOffset(0)] - public _text_e__Struct text; - - /// - [FieldOffset(0)] - public _script_e__Struct script; - - /// - [FieldOffset(0)] - public _decorative_e__Struct decorative; - - /// - [FieldOffset(0)] - public _symbol_e__Struct symbol; - - public partial struct _decorative_e__Struct - { - /// - public byte familyKind; - - /// - public byte decorativeClass; - - /// - public byte weight; - - /// - public byte aspect; - - /// - public byte contrast; - - /// - public byte serifVariant; - - /// - public byte fill; - - /// - public byte lining; - - /// - public byte decorativeTopology; - - /// - public byte characterRange; - } - public partial struct _text_e__Struct - { - /// - public byte familyKind; - - /// - public byte serifStyle; - - /// - public byte weight; - - /// - public byte proportion; - - /// - public byte contrast; - - /// - public byte strokeVariation; - - /// - public byte armStyle; - - /// - public byte letterform; - - /// - public byte midline; - - /// - public byte xHeight; - } - public partial struct _symbol_e__Struct - { - /// - public byte familyKind; - - /// - public byte symbolKind; - - /// - public byte weight; - - /// - public byte spacing; - - /// - public byte aspectRatioAndContrast; - - /// - public byte aspectRatio94; - - /// - public byte aspectRatio119; - - /// - public byte aspectRatio157; - - /// - public byte aspectRatio163; - - /// - public byte aspectRatio211; - } - public partial struct _script_e__Struct - { - /// - public byte familyKind; - - /// - public byte toolKind; - - /// - public byte weight; - - /// - public byte spacing; - - /// - public byte aspectRatio; - - /// - public byte contrast; - - /// - public byte scriptTopology; - - /// - public byte scriptForm; - - /// - public byte finials; - - /// - public byte xAscent; - } -} -#endregion Unions - -#region Structs - -/// -/// DWRITE_FONT_METRICS -public partial struct FontMetrics -{ - /// - public ushort designUnitsPerEm; - - /// - public ushort ascent; - - /// - public ushort descent; - - /// - public short lineGap; - - /// - public ushort capHeight; - - /// - public ushort xHeight; - - /// - public short underlinePosition; - - /// - public ushort underlineThickness; - - /// - public short strikethroughPosition; - - /// - public ushort strikethroughThickness; -} - -/// -/// DWRITE_GLYPH_METRICS -public partial struct GlyphMetrics -{ - /// - public int leftSideBearing; - - /// - public uint advanceWidth; - - /// - public int rightSideBearing; - - /// - public int topSideBearing; - - /// - public uint advanceHeight; - - /// - public int bottomSideBearing; - - /// - public int verticalOriginY; -} - -/// -/// DWRITE_GLYPH_OFFSET -public partial struct GlyphOffset -{ - /// - public float advanceOffset; - - /// - public float ascenderOffset; -} - -/// -/// DWRITE_TEXT_RANGE -public partial struct TextRange -{ - /// - public uint startPosition; - - /// - public uint length; -} - -/// -/// DWRITE_FONT_FEATURE -public partial struct FontFeature -{ - /// - public FontFeatureTag nameTag; - - /// - public uint parameter; -} - -/// -/// DWRITE_TYPOGRAPHIC_FEATURES -public partial struct TypographicFeatures -{ - /// - public unsafe FontFeature* features; - - /// - public uint featureCount; -} - -/// -/// DWRITE_TRIMMING -public partial struct Trimming -{ - /// - public TrimmingGranularity granularity; - - /// - public uint delimiter; - - /// - public uint delimiterCount; -} - -/// -/// DWRITE_SCRIPT_ANALYSIS -public partial struct ScriptAnalysis -{ - /// - public ushort script; - - /// - public ScriptShapes shapes; -} - -/// -/// DWRITE_LINE_BREAKPOINT -public partial struct LineBreakpoint -{ - /// - public byte _bitfield; -} - -/// -/// DWRITE_SHAPING_TEXT_PROPERTIES -public partial struct ShapingTextProperties -{ - /// - public ushort _bitfield; -} - -/// -/// DWRITE_SHAPING_GLYPH_PROPERTIES -public partial struct ShapingGlyphProperties -{ - /// - public ushort _bitfield; -} - -/// -/// DWRITE_GLYPH_RUN -public partial struct GlyphRun -{ - /// - public unsafe IDWriteFontFace* fontFace; - - /// - public float fontEmSize; - - /// - public uint glyphCount; - - /// - public unsafe ushort* glyphIndices; - - /// - public unsafe float* glyphAdvances; - - /// - public unsafe GlyphOffset* glyphOffsets; - - /// - public Bool32 isSideways; - - /// - public uint bidiLevel; -} - -/// -/// DWRITE_GLYPH_RUN_DESCRIPTION -public partial struct GlyphRunDescription -{ - /// - public unsafe ushort* localeName; - - /// - public unsafe ushort* @string; - - /// - public uint stringLength; - - /// - public unsafe ushort* clusterMap; - - /// - public uint textPosition; -} - -/// -/// DWRITE_UNDERLINE -public partial struct Underline -{ - /// - public float width; - - /// - public float thickness; - - /// - public float offset; - - /// - public float runHeight; - - /// - public ReadingDirection readingDirection; - - /// - public FlowDirection flowDirection; - - /// - public unsafe ushort* localeName; - - /// - public MeasuringMode measuringMode; -} - -/// -/// DWRITE_STRIKETHROUGH -public partial struct Strikethrough -{ - /// - public float width; - - /// - public float thickness; - - /// - public float offset; - - /// - public ReadingDirection readingDirection; - - /// - public FlowDirection flowDirection; - - /// - public unsafe ushort* localeName; - - /// - public MeasuringMode measuringMode; -} - -/// -/// DWRITE_LINE_METRICS -public partial struct LineMetrics -{ - /// - public uint length; - - /// - public uint trailingWhitespaceLength; - - /// - public uint newlineLength; - - /// - public float height; - - /// - public float baseline; - - /// - public Bool32 isTrimmed; -} - -/// -/// DWRITE_CLUSTER_METRICS -public partial struct ClusterMetrics -{ - /// - public float width; - - /// - public ushort length; - - /// - public ushort _bitfield; -} - -/// -/// DWRITE_TEXT_METRICS -public partial struct TextMetrics -{ - /// - public float left; - - /// - public float top; - - /// - public float width; - - /// - public float widthIncludingTrailingWhitespace; - - /// - public float height; - - /// - public float layoutWidth; - - /// - public float layoutHeight; - - /// - public uint maxBidiReorderingDepth; - - /// - public uint lineCount; -} - -/// -/// DWRITE_INLINE_OBJECT_METRICS -public partial struct InlineObjectMetrics -{ - /// - public float width; - - /// - public float height; - - /// - public float baseline; - - /// - public Bool32 supportsSideways; -} - -/// -/// DWRITE_OVERHANG_METRICS -public partial struct OverhangMetrics -{ - /// - public float left; - - /// - public float top; - - /// - public float right; - - /// - public float bottom; -} - -/// -/// DWRITE_HIT_TEST_METRICS -public partial struct HitTestMetrics -{ - /// - public uint textPosition; - - /// - public uint length; - - /// - public float left; - - /// - public float top; - - /// - public float width; - - /// - public float height; - - /// - public uint bidiLevel; - - /// - public Bool32 isText; - - /// - public Bool32 isTrimmed; -} - -/// -/// DWRITE_FONT_METRICS1 -public partial struct FontMetrics1 -{ - /// - public FontMetrics Base; - - /// - public short glyphBoxLeft; - - /// - public short glyphBoxTop; - - /// - public short glyphBoxRight; - - /// - public short glyphBoxBottom; - - /// - public short subscriptPositionX; - - /// - public short subscriptPositionY; - - /// - public short subscriptSizeX; - - /// - public short subscriptSizeY; - - /// - public short superscriptPositionX; - - /// - public short superscriptPositionY; - - /// - public short superscriptSizeX; - - /// - public short superscriptSizeY; - - /// - public Bool32 hasTypographicMetrics; -} - -/// -/// DWRITE_CARET_METRICS -public partial struct CaretMetrics -{ - /// - public short slopeRise; - - /// - public short slopeRun; - - /// - public short offset; -} - -/// -/// DWRITE_UNICODE_RANGE -public partial struct UnicodeRange -{ - /// - public uint first; - - /// - public uint last; -} - -/// -/// DWRITE_SCRIPT_PROPERTIES -public partial struct ScriptProperties -{ - /// - public uint isoScriptCode; - - /// - public uint isoScriptNumber; - - /// - public uint clusterLookahead; - - /// - public uint justificationCharacter; - - /// - public uint _bitfield; -} - -/// -/// DWRITE_JUSTIFICATION_OPPORTUNITY -public partial struct JustificationOpportunity -{ - /// - public float expansionMinimum; - - /// - public float expansionMaximum; - - /// - public float compressionMaximum; - - /// - public uint _bitfield; -} - -/// -/// DWRITE_TEXT_METRICS1 -public partial struct TextMetrics1 -{ - /// - public TextMetrics Base; - - /// - public float heightIncludingTrailingWhitespace; -} - -/// -/// DWRITE_COLOR_GLYPH_RUN -public partial struct ColorGlyphRun -{ - /// - public GlyphRun glyphRun; - - /// - public unsafe GlyphRunDescription* glyphRunDescription; - - /// - public float baselineOriginX; - - /// - public float baselineOriginY; - - /// - public Color4 runColor; - - /// - public ushort paletteIndex; -} - -/// -/// DWRITE_FONT_PROPERTY -public partial struct FontProperty -{ - /// - public FontPropertyId propertyId; - - /// - public unsafe ushort* propertyValue; - - /// - public unsafe ushort* localeName; -} - -/// -/// DWRITE_LINE_METRICS1 -public partial struct LineMetrics1 -{ - /// - public LineMetrics Base; - - /// - public float leadingBefore; - - /// - public float leadingAfter; -} - -/// -/// DWRITE_LINE_SPACING -public partial struct LineSpacing -{ - /// - public LineSpacingMethod method; - - /// - public float height; - - /// - public float baseline; - - /// - public float leadingBefore; - - /// - public FontLineGapUsage fontLineGapUsage; -} - -/// -/// DWRITE_COLOR_GLYPH_RUN1 -public partial struct ColorGlyphRun1 -{ - /// - public ColorGlyphRun Base; - - /// - public GlyphImageFormats glyphImageFormat; - - /// - public MeasuringMode measuringMode; -} - -/// -/// DWRITE_GLYPH_IMAGE_DATA -public partial struct GlyphImageData -{ - /// - public unsafe void* imageData; - - /// - public uint imageDataSize; - - /// - public uint uniqueDataId; - - /// - public uint pixelsPerEm; - - /// - public System.Drawing.Size pixelSize; - - /// - public System.Drawing.Point horizontalLeftOrigin; - - /// - public System.Drawing.Point horizontalRightOrigin; - - /// - public System.Drawing.Point verticalTopOrigin; - - /// - public System.Drawing.Point verticalBottomOrigin; -} - -/// -/// DWRITE_FILE_FRAGMENT -public partial struct FileFragment -{ - /// - public ulong fileOffset; - - /// - public ulong fragmentSize; -} - -/// -/// DWRITE_FONT_AXIS_VALUE -public partial struct FontAxisValue -{ - /// - public FontAxisTag axisTag; - - /// - public float value; -} - -/// -/// DWRITE_FONT_AXIS_RANGE -public partial struct FontAxisRange -{ - /// - public FontAxisTag axisTag; - - /// - public float minValue; - - /// - public float maxValue; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("DWrite.dll", ExactSpelling = true)] - public static extern HResult DWriteCreateFactory(FactoryType factoryType, Guid* iid, IUnknown** factory); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.Functions.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.Functions.cs new file mode 100644 index 0000000..4f77761 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.Functions.cs @@ -0,0 +1,16 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public static unsafe partial class Apis +{ + [DllImport("DWrite.dll", ExactSpelling = true)] + public static extern HResult DWriteCreateFactory(FactoryType factoryType, Guid* iid, IUnknown** factory); +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.cs new file mode 100644 index 0000000..bd97894 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Apis.cs @@ -0,0 +1,29 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public static partial class Apis +{ + public const uint DWRITE_ALPHA_MAX = 255; + + public const uint FACILITY_DWRITE = 2200; + + public const uint DWRITE_ERR_BASE = 20480; + + public static readonly HResult DWRITE_E_REMOTEFONT = -2003283955; + + public static readonly HResult DWRITE_E_DOWNLOADCANCELLED = -2003283954; + + public static readonly HResult DWRITE_E_DOWNLOADFAILED = -2003283953; + + public static readonly HResult DWRITE_E_TOOMANYDOWNLOADS = -2003283952; + +} + diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/AutomaticFontAxes.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/AutomaticFontAxes.cs new file mode 100644 index 0000000..963a276 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/AutomaticFontAxes.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_AUTOMATIC_FONT_AXES +[Flags] +public enum AutomaticFontAxes : uint +{ + /// + /// DWRITE_AUTOMATIC_FONT_AXES_NONE + None = 0, + /// + /// DWRITE_AUTOMATIC_FONT_AXES_OPTICAL_SIZE + OpticalSize = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Baseline.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Baseline.cs new file mode 100644 index 0000000..50e30d5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Baseline.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_BASELINE +public enum Baseline : int +{ + /// + /// DWRITE_BASELINE_DEFAULT + Default = 0, + /// + /// DWRITE_BASELINE_ROMAN + Roman = 1, + /// + /// DWRITE_BASELINE_CENTRAL + Central = 2, + /// + /// DWRITE_BASELINE_MATH + Math = 3, + /// + /// DWRITE_BASELINE_HANGING + Hanging = 4, + /// + /// DWRITE_BASELINE_IDEOGRAPHIC_BOTTOM + IdeographicBottom = 5, + /// + /// DWRITE_BASELINE_IDEOGRAPHIC_TOP + IdeographicTop = 6, + /// + /// DWRITE_BASELINE_MINIMUM + Minimum = 7, + /// + /// DWRITE_BASELINE_MAXIMUM + Maximum = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/BreakCondition.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/BreakCondition.cs new file mode 100644 index 0000000..77063e0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/BreakCondition.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_BREAK_CONDITION +public enum BreakCondition : int +{ + /// + /// DWRITE_BREAK_CONDITION_NEUTRAL + Neutral = 0, + /// + /// DWRITE_BREAK_CONDITION_CAN_BREAK + CanBreak = 1, + /// + /// DWRITE_BREAK_CONDITION_MAY_NOT_BREAK + MayNotBreak = 2, + /// + /// DWRITE_BREAK_CONDITION_MUST_BREAK + MustBreak = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/CaretMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/CaretMetrics.cs new file mode 100644 index 0000000..4220911 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/CaretMetrics.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_CARET_METRICS +public partial struct CaretMetrics +{ + /// + public short slopeRise; + + /// + public short slopeRun; + + /// + public short offset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ClusterMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ClusterMetrics.cs new file mode 100644 index 0000000..a234b5a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ClusterMetrics.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_CLUSTER_METRICS +public partial struct ClusterMetrics +{ + /// + public float width; + + /// + public ushort length; + + /// + public ushort _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun.cs new file mode 100644 index 0000000..fcfc191 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_COLOR_GLYPH_RUN +public partial struct ColorGlyphRun +{ + /// + public GlyphRun glyphRun; + + /// + public unsafe GlyphRunDescription* glyphRunDescription; + + /// + public float baselineOriginX; + + /// + public float baselineOriginY; + + /// + public Color4 runColor; + + /// + public ushort paletteIndex; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun1.cs new file mode 100644 index 0000000..442aca0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ColorGlyphRun1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_COLOR_GLYPH_RUN1 +public partial struct ColorGlyphRun1 +{ + /// + public ColorGlyphRun Base; + + /// + public GlyphImageFormats glyphImageFormat; + + /// + public MeasuringMode measuringMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ContainerType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ContainerType.cs new file mode 100644 index 0000000..8334f63 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ContainerType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_CONTAINER_TYPE +public enum ContainerType : int +{ + /// + /// DWRITE_CONTAINER_TYPE_UNKNOWN + Unknown = 0, + /// + /// DWRITE_CONTAINER_TYPE_WOFF + Woff = 1, + /// + /// DWRITE_CONTAINER_TYPE_WOFF2 + Woff2 = 2, +} diff --git a/src/Vortice.Win32/Generated/DirectWrite.xml b/src/Vortice.Win32/Generated/Graphics/DirectWrite/DirectWrite.xml similarity index 100% rename from src/Vortice.Win32/Generated/DirectWrite.xml rename to src/Vortice.Win32/Generated/Graphics/DirectWrite/DirectWrite.xml diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FactoryType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FactoryType.cs new file mode 100644 index 0000000..dfb4f38 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FactoryType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FACTORY_TYPE +public enum FactoryType : int +{ + /// + /// DWRITE_FACTORY_TYPE_SHARED + Shared = 0, + /// + /// DWRITE_FACTORY_TYPE_ISOLATED + Isolated = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FileFragment.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FileFragment.cs new file mode 100644 index 0000000..9fc6145 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FileFragment.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FILE_FRAGMENT +public partial struct FileFragment +{ + /// + public ulong fileOffset; + + /// + public ulong fragmentSize; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FlowDirection.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FlowDirection.cs new file mode 100644 index 0000000..3d72315 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FlowDirection.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FLOW_DIRECTION +public enum FlowDirection : int +{ + /// + /// DWRITE_FLOW_DIRECTION_TOP_TO_BOTTOM + TopToBottom = 0, + /// + /// DWRITE_FLOW_DIRECTION_BOTTOM_TO_TOP + BottomToTop = 1, + /// + /// DWRITE_FLOW_DIRECTION_LEFT_TO_RIGHT + LeftToRight = 2, + /// + /// DWRITE_FLOW_DIRECTION_RIGHT_TO_LEFT + RightToLeft = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisAttributes.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisAttributes.cs new file mode 100644 index 0000000..d5a5dea --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisAttributes.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_AXIS_ATTRIBUTES +[Flags] +public enum FontAxisAttributes : uint +{ + /// + /// DWRITE_FONT_AXIS_ATTRIBUTES_NONE + None = 0, + /// + /// DWRITE_FONT_AXIS_ATTRIBUTES_VARIABLE + Variable = 1, + /// + /// DWRITE_FONT_AXIS_ATTRIBUTES_HIDDEN + Hidden = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisRange.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisRange.cs new file mode 100644 index 0000000..4155c74 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisRange.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_AXIS_RANGE +public partial struct FontAxisRange +{ + /// + public FontAxisTag axisTag; + + /// + public float minValue; + + /// + public float maxValue; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisTag.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisTag.cs new file mode 100644 index 0000000..ad01cdd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisTag.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_AXIS_TAG +public enum FontAxisTag : uint +{ + /// + /// DWRITE_FONT_AXIS_TAG_WEIGHT + Weight = 1952999287, + /// + /// DWRITE_FONT_AXIS_TAG_WIDTH + Width = 1752458359, + /// + /// DWRITE_FONT_AXIS_TAG_SLANT + Slant = 1953393779, + /// + /// DWRITE_FONT_AXIS_TAG_OPTICAL_SIZE + OpticalSize = 2054385775, + /// + /// DWRITE_FONT_AXIS_TAG_ITALIC + Italic = 1818326121, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisValue.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisValue.cs new file mode 100644 index 0000000..c5bd17f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontAxisValue.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_AXIS_VALUE +public partial struct FontAxisValue +{ + /// + public FontAxisTag axisTag; + + /// + public float value; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFaceType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFaceType.cs new file mode 100644 index 0000000..9764964 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFaceType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_FACE_TYPE +public enum FontFaceType : int +{ + /// + /// DWRITE_FONT_FACE_TYPE_CFF + Cff = 0, + /// + /// DWRITE_FONT_FACE_TYPE_TRUETYPE + Truetype = 1, + /// + /// DWRITE_FONT_FACE_TYPE_OPENTYPE_COLLECTION + OpentypeCollection = 2, + /// + /// DWRITE_FONT_FACE_TYPE_TYPE1 + Type1 = 3, + /// + /// DWRITE_FONT_FACE_TYPE_VECTOR + Vector = 4, + /// + /// DWRITE_FONT_FACE_TYPE_BITMAP + Bitmap = 5, + /// + /// DWRITE_FONT_FACE_TYPE_UNKNOWN + Unknown = 6, + /// + /// DWRITE_FONT_FACE_TYPE_RAW_CFF + RawCff = 7, + /// + /// DWRITE_FONT_FACE_TYPE_TRUETYPE_COLLECTION + TruetypeCollection = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFamilyModel.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFamilyModel.cs new file mode 100644 index 0000000..1c507ac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFamilyModel.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_FAMILY_MODEL +public enum FontFamilyModel : int +{ + /// + /// DWRITE_FONT_FAMILY_MODEL_TYPOGRAPHIC + Typographic = 0, + /// + /// DWRITE_FONT_FAMILY_MODEL_WEIGHT_STRETCH_STYLE + WeightStretchStyle = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeature.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeature.cs new file mode 100644 index 0000000..278d929 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeature.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_FEATURE +public partial struct FontFeature +{ + /// + public FontFeatureTag nameTag; + + /// + public uint parameter; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeatureTag.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeatureTag.cs new file mode 100644 index 0000000..2965b36 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFeatureTag.cs @@ -0,0 +1,259 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_FEATURE_TAG +public enum FontFeatureTag : uint +{ + /// + /// DWRITE_FONT_FEATURE_TAG_ALTERNATIVE_FRACTIONS + AlternativeFractions = 1668441697, + /// + /// DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS_FROM_CAPITALS + PetiteCapitalsFromCapitals = 1668297315, + /// + /// DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS_FROM_CAPITALS + SmallCapitalsFromCapitals = 1668493923, + /// + /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_ALTERNATES + ContextualAlternates = 1953259875, + /// + /// DWRITE_FONT_FEATURE_TAG_CASE_SENSITIVE_FORMS + CaseSensitiveForms = 1702060387, + /// + /// DWRITE_FONT_FEATURE_TAG_GLYPH_COMPOSITION_DECOMPOSITION + GlyphCompositionDecomposition = 1886217059, + /// + /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_LIGATURES + ContextualLigatures = 1734962275, + /// + /// DWRITE_FONT_FEATURE_TAG_CAPITAL_SPACING + CapitalSpacing = 1886613603, + /// + /// DWRITE_FONT_FEATURE_TAG_CONTEXTUAL_SWASH + ContextualSwash = 1752658787, + /// + /// DWRITE_FONT_FEATURE_TAG_CURSIVE_POSITIONING + CursivePositioning = 1936880995, + /// + /// DWRITE_FONT_FEATURE_TAG_DEFAULT + Default = 1953261156, + /// + /// DWRITE_FONT_FEATURE_TAG_DISCRETIONARY_LIGATURES + DiscretionaryLigatures = 1734962276, + /// + /// DWRITE_FONT_FEATURE_TAG_EXPERT_FORMS + ExpertForms = 1953527909, + /// + /// DWRITE_FONT_FEATURE_TAG_FRACTIONS + Fractions = 1667330662, + /// + /// DWRITE_FONT_FEATURE_TAG_FULL_WIDTH + FullWidth = 1684633446, + /// + /// DWRITE_FONT_FEATURE_TAG_HALF_FORMS + HalfForms = 1718378856, + /// + /// DWRITE_FONT_FEATURE_TAG_HALANT_FORMS + HalantForms = 1852596584, + /// + /// DWRITE_FONT_FEATURE_TAG_ALTERNATE_HALF_WIDTH + AlternateHalfWidth = 1953259880, + /// + /// DWRITE_FONT_FEATURE_TAG_HISTORICAL_FORMS + HistoricalForms = 1953720680, + /// + /// DWRITE_FONT_FEATURE_TAG_HORIZONTAL_KANA_ALTERNATES + HorizontalKanaAlternates = 1634626408, + /// + /// DWRITE_FONT_FEATURE_TAG_HISTORICAL_LIGATURES + HistoricalLigatures = 1734962280, + /// + /// DWRITE_FONT_FEATURE_TAG_HALF_WIDTH + HalfWidth = 1684633448, + /// + /// DWRITE_FONT_FEATURE_TAG_HOJO_KANJI_FORMS + HojoKanjiForms = 1869246312, + /// + /// DWRITE_FONT_FEATURE_TAG_JIS04_FORMS + Jis04Forms = 875589738, + /// + /// DWRITE_FONT_FEATURE_TAG_JIS78_FORMS + Jis78Forms = 943157354, + /// + /// DWRITE_FONT_FEATURE_TAG_JIS83_FORMS + Jis83Forms = 859336810, + /// + /// DWRITE_FONT_FEATURE_TAG_JIS90_FORMS + Jis90Forms = 809070698, + /// + /// DWRITE_FONT_FEATURE_TAG_KERNING + Kerning = 1852990827, + /// + /// DWRITE_FONT_FEATURE_TAG_STANDARD_LIGATURES + StandardLigatures = 1634167148, + /// + /// DWRITE_FONT_FEATURE_TAG_LINING_FIGURES + LiningFigures = 1836412524, + /// + /// DWRITE_FONT_FEATURE_TAG_LOCALIZED_FORMS + LocalizedForms = 1818455916, + /// + /// DWRITE_FONT_FEATURE_TAG_MARK_POSITIONING + MarkPositioning = 1802658157, + /// + /// DWRITE_FONT_FEATURE_TAG_MATHEMATICAL_GREEK + MathematicalGreek = 1802659693, + /// + /// DWRITE_FONT_FEATURE_TAG_MARK_TO_MARK_POSITIONING + MarkToMarkPositioning = 1802333037, + /// + /// DWRITE_FONT_FEATURE_TAG_ALTERNATE_ANNOTATION_FORMS + AlternateAnnotationForms = 1953259886, + /// + /// DWRITE_FONT_FEATURE_TAG_NLC_KANJI_FORMS + NlcKanjiForms = 1801677934, + /// + /// DWRITE_FONT_FEATURE_TAG_OLD_STYLE_FIGURES + OldStyleFigures = 1836412527, + /// + /// DWRITE_FONT_FEATURE_TAG_ORDINALS + Ordinals = 1852076655, + /// + /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_ALTERNATE_WIDTH + ProportionalAlternateWidth = 1953259888, + /// + /// DWRITE_FONT_FEATURE_TAG_PETITE_CAPITALS + PetiteCapitals = 1885430640, + /// + /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_FIGURES + ProportionalFigures = 1836412528, + /// + /// DWRITE_FONT_FEATURE_TAG_PROPORTIONAL_WIDTHS + ProportionalWidths = 1684633456, + /// + /// DWRITE_FONT_FEATURE_TAG_QUARTER_WIDTHS + QuarterWidths = 1684633457, + /// + /// DWRITE_FONT_FEATURE_TAG_REQUIRED_LIGATURES + RequiredLigatures = 1734962290, + /// + /// DWRITE_FONT_FEATURE_TAG_RUBY_NOTATION_FORMS + RubyNotationForms = 2036495730, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_ALTERNATES + StylisticAlternates = 1953259891, + /// + /// DWRITE_FONT_FEATURE_TAG_SCIENTIFIC_INFERIORS + ScientificInferiors = 1718511987, + /// + /// DWRITE_FONT_FEATURE_TAG_SMALL_CAPITALS + SmallCapitals = 1885564275, + /// + /// DWRITE_FONT_FEATURE_TAG_SIMPLIFIED_FORMS + SimplifiedForms = 1819307379, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_1 + StylisticSet1 = 825258867, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_2 + StylisticSet2 = 842036083, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_3 + StylisticSet3 = 858813299, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_4 + StylisticSet4 = 875590515, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_5 + StylisticSet5 = 892367731, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_6 + StylisticSet6 = 909144947, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_7 + StylisticSet7 = 925922163, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_8 + StylisticSet8 = 942699379, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_9 + StylisticSet9 = 959476595, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_10 + StylisticSet10 = 808547187, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_11 + StylisticSet11 = 825324403, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_12 + StylisticSet12 = 842101619, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_13 + StylisticSet13 = 858878835, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_14 + StylisticSet14 = 875656051, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_15 + StylisticSet15 = 892433267, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_16 + StylisticSet16 = 909210483, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_17 + StylisticSet17 = 925987699, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_18 + StylisticSet18 = 942764915, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_19 + StylisticSet19 = 959542131, + /// + /// DWRITE_FONT_FEATURE_TAG_STYLISTIC_SET_20 + StylisticSet20 = 808612723, + /// + /// DWRITE_FONT_FEATURE_TAG_SUBSCRIPT + Subscript = 1935832435, + /// + /// DWRITE_FONT_FEATURE_TAG_SUPERSCRIPT + Superscript = 1936749939, + /// + /// DWRITE_FONT_FEATURE_TAG_SWASH + Swash = 1752397683, + /// + /// DWRITE_FONT_FEATURE_TAG_TITLING + Titling = 1819568500, + /// + /// DWRITE_FONT_FEATURE_TAG_TRADITIONAL_NAME_FORMS + TraditionalNameForms = 1835101812, + /// + /// DWRITE_FONT_FEATURE_TAG_TABULAR_FIGURES + TabularFigures = 1836412532, + /// + /// DWRITE_FONT_FEATURE_TAG_TRADITIONAL_FORMS + TraditionalForms = 1684107892, + /// + /// DWRITE_FONT_FEATURE_TAG_THIRD_WIDTHS + ThirdWidths = 1684633460, + /// + /// DWRITE_FONT_FEATURE_TAG_UNICASE + Unicase = 1667853941, + /// + /// DWRITE_FONT_FEATURE_TAG_VERTICAL_WRITING + VerticalWriting = 1953654134, + /// + /// DWRITE_FONT_FEATURE_TAG_VERTICAL_ALTERNATES_AND_ROTATION + VerticalAlternatesAndRotation = 846492278, + /// + /// DWRITE_FONT_FEATURE_TAG_SLASHED_ZERO + SlashedZero = 1869768058, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFileType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFileType.cs new file mode 100644 index 0000000..52c0f29 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontFileType.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_FILE_TYPE +public enum FontFileType : int +{ + /// + /// DWRITE_FONT_FILE_TYPE_UNKNOWN + Unknown = 0, + /// + /// DWRITE_FONT_FILE_TYPE_CFF + Cff = 1, + /// + /// DWRITE_FONT_FILE_TYPE_TRUETYPE + Truetype = 2, + /// + /// DWRITE_FONT_FILE_TYPE_OPENTYPE_COLLECTION + OpentypeCollection = 3, + /// + /// DWRITE_FONT_FILE_TYPE_TYPE1_PFM + Type1Pfm = 4, + /// + /// DWRITE_FONT_FILE_TYPE_TYPE1_PFB + Type1Pfb = 5, + /// + /// DWRITE_FONT_FILE_TYPE_VECTOR + Vector = 6, + /// + /// DWRITE_FONT_FILE_TYPE_BITMAP + Bitmap = 7, + /// + /// DWRITE_FONT_FILE_TYPE_TRUETYPE_COLLECTION + TruetypeCollection = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontLineGapUsage.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontLineGapUsage.cs new file mode 100644 index 0000000..cefc02a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontLineGapUsage.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_LINE_GAP_USAGE +public enum FontLineGapUsage : int +{ + /// + /// DWRITE_FONT_LINE_GAP_USAGE_DEFAULT + Default = 0, + /// + /// DWRITE_FONT_LINE_GAP_USAGE_DISABLED + Disabled = 1, + /// + /// DWRITE_FONT_LINE_GAP_USAGE_ENABLED + Enabled = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics.cs new file mode 100644 index 0000000..514e82b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_METRICS +public partial struct FontMetrics +{ + /// + public ushort designUnitsPerEm; + + /// + public ushort ascent; + + /// + public ushort descent; + + /// + public short lineGap; + + /// + public ushort capHeight; + + /// + public ushort xHeight; + + /// + public short underlinePosition; + + /// + public ushort underlineThickness; + + /// + public short strikethroughPosition; + + /// + public ushort strikethroughThickness; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics1.cs new file mode 100644 index 0000000..22806d5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontMetrics1.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_METRICS1 +public partial struct FontMetrics1 +{ + /// + public FontMetrics Base; + + /// + public short glyphBoxLeft; + + /// + public short glyphBoxTop; + + /// + public short glyphBoxRight; + + /// + public short glyphBoxBottom; + + /// + public short subscriptPositionX; + + /// + public short subscriptPositionY; + + /// + public short subscriptSizeX; + + /// + public short subscriptSizeY; + + /// + public short superscriptPositionX; + + /// + public short superscriptPositionY; + + /// + public short superscriptSizeX; + + /// + public short superscriptSizeY; + + /// + public Bool32 hasTypographicMetrics; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontProperty.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontProperty.cs new file mode 100644 index 0000000..c5b17d4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontProperty.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_PROPERTY +public partial struct FontProperty +{ + /// + public FontPropertyId propertyId; + + /// + public unsafe ushort* propertyValue; + + /// + public unsafe ushort* localeName; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontPropertyId.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontPropertyId.cs new file mode 100644 index 0000000..f2c9008 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontPropertyId.cs @@ -0,0 +1,73 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_PROPERTY_ID +public enum FontPropertyId : int +{ + /// + /// DWRITE_FONT_PROPERTY_ID_NONE + None = 0, + /// + /// DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FAMILY_NAME + WeightStretchStyleFamilyName = 1, + /// + /// DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FAMILY_NAME + TypographicFamilyName = 2, + /// + /// DWRITE_FONT_PROPERTY_ID_WEIGHT_STRETCH_STYLE_FACE_NAME + WeightStretchStyleFaceName = 3, + /// + /// DWRITE_FONT_PROPERTY_ID_FULL_NAME + FullName = 4, + /// + /// DWRITE_FONT_PROPERTY_ID_WIN32_FAMILY_NAME + Win32FamilyName = 5, + /// + /// DWRITE_FONT_PROPERTY_ID_POSTSCRIPT_NAME + PostscriptName = 6, + /// + /// DWRITE_FONT_PROPERTY_ID_DESIGN_SCRIPT_LANGUAGE_TAG + DesignScriptLanguageTag = 7, + /// + /// DWRITE_FONT_PROPERTY_ID_SUPPORTED_SCRIPT_LANGUAGE_TAG + SupportedScriptLanguageTag = 8, + /// + /// DWRITE_FONT_PROPERTY_ID_SEMANTIC_TAG + SemanticTag = 9, + /// + /// DWRITE_FONT_PROPERTY_ID_WEIGHT + Weight = 10, + /// + /// DWRITE_FONT_PROPERTY_ID_STRETCH + Stretch = 11, + /// + /// DWRITE_FONT_PROPERTY_ID_STYLE + Style = 12, + /// + /// DWRITE_FONT_PROPERTY_ID_TYPOGRAPHIC_FACE_NAME + TypographicFaceName = 13, + /// + /// DWRITE_FONT_PROPERTY_ID_TOTAL + Total = 13, + /// + /// DWRITE_FONT_PROPERTY_ID_TOTAL_RS3 + TotalRs3 = 14, + /// + /// DWRITE_FONT_PROPERTY_ID_PREFERRED_FAMILY_NAME + PreferredFamilyName = 2, + /// + /// DWRITE_FONT_PROPERTY_ID_FAMILY_NAME + FamilyName = 1, + /// + /// DWRITE_FONT_PROPERTY_ID_FACE_NAME + FaceName = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSimulations.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSimulations.cs new file mode 100644 index 0000000..198400b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSimulations.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_SIMULATIONS +[Flags] +public enum FontSimulations : uint +{ + /// + /// DWRITE_FONT_SIMULATIONS_NONE + None = 0, + /// + /// DWRITE_FONT_SIMULATIONS_BOLD + Bold = 1, + /// + /// DWRITE_FONT_SIMULATIONS_OBLIQUE + Oblique = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSourceType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSourceType.cs new file mode 100644 index 0000000..a91ea51 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontSourceType.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_SOURCE_TYPE +public enum FontSourceType : int +{ + /// + /// DWRITE_FONT_SOURCE_TYPE_UNKNOWN + Unknown = 0, + /// + /// DWRITE_FONT_SOURCE_TYPE_PER_MACHINE + PerMachine = 1, + /// + /// DWRITE_FONT_SOURCE_TYPE_PER_USER + PerUser = 2, + /// + /// DWRITE_FONT_SOURCE_TYPE_APPX_PACKAGE + AppxPackage = 3, + /// + /// DWRITE_FONT_SOURCE_TYPE_REMOTE_FONT_PROVIDER + RemoteFontProvider = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStretch.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStretch.cs new file mode 100644 index 0000000..1a22acf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStretch.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_STRETCH +public enum FontStretch : int +{ + /// + /// DWRITE_FONT_STRETCH_UNDEFINED + Undefined = 0, + /// + /// DWRITE_FONT_STRETCH_ULTRA_CONDENSED + UltraCondensed = 1, + /// + /// DWRITE_FONT_STRETCH_EXTRA_CONDENSED + ExtraCondensed = 2, + /// + /// DWRITE_FONT_STRETCH_CONDENSED + Condensed = 3, + /// + /// DWRITE_FONT_STRETCH_SEMI_CONDENSED + SemiCondensed = 4, + /// + /// DWRITE_FONT_STRETCH_NORMAL + Normal = 5, + /// + /// DWRITE_FONT_STRETCH_MEDIUM + Medium = 5, + /// + /// DWRITE_FONT_STRETCH_SEMI_EXPANDED + SemiExpanded = 6, + /// + /// DWRITE_FONT_STRETCH_EXPANDED + Expanded = 7, + /// + /// DWRITE_FONT_STRETCH_EXTRA_EXPANDED + ExtraExpanded = 8, + /// + /// DWRITE_FONT_STRETCH_ULTRA_EXPANDED + UltraExpanded = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStyle.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStyle.cs new file mode 100644 index 0000000..e4bea38 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontStyle.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_STYLE +public enum FontStyle : int +{ + /// + /// DWRITE_FONT_STYLE_NORMAL + Normal = 0, + /// + /// DWRITE_FONT_STYLE_OBLIQUE + Oblique = 1, + /// + /// DWRITE_FONT_STYLE_ITALIC + Italic = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontWeight.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontWeight.cs new file mode 100644 index 0000000..d66f747 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/FontWeight.cs @@ -0,0 +1,67 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_FONT_WEIGHT +public enum FontWeight : int +{ + /// + /// DWRITE_FONT_WEIGHT_THIN + Thin = 100, + /// + /// DWRITE_FONT_WEIGHT_EXTRA_LIGHT + ExtraLight = 200, + /// + /// DWRITE_FONT_WEIGHT_ULTRA_LIGHT + UltraLight = 200, + /// + /// DWRITE_FONT_WEIGHT_LIGHT + Light = 300, + /// + /// DWRITE_FONT_WEIGHT_SEMI_LIGHT + SemiLight = 350, + /// + /// DWRITE_FONT_WEIGHT_NORMAL + Normal = 400, + /// + /// DWRITE_FONT_WEIGHT_REGULAR + Regular = 400, + /// + /// DWRITE_FONT_WEIGHT_MEDIUM + Medium = 500, + /// + /// DWRITE_FONT_WEIGHT_DEMI_BOLD + DemiBold = 600, + /// + /// DWRITE_FONT_WEIGHT_SEMI_BOLD + SemiBold = 600, + /// + /// DWRITE_FONT_WEIGHT_BOLD + Bold = 700, + /// + /// DWRITE_FONT_WEIGHT_EXTRA_BOLD + ExtraBold = 800, + /// + /// DWRITE_FONT_WEIGHT_ULTRA_BOLD + UltraBold = 800, + /// + /// DWRITE_FONT_WEIGHT_BLACK + Black = 900, + /// + /// DWRITE_FONT_WEIGHT_HEAVY + Heavy = 900, + /// + /// DWRITE_FONT_WEIGHT_EXTRA_BLACK + ExtraBlack = 950, + /// + /// DWRITE_FONT_WEIGHT_ULTRA_BLACK + UltraBlack = 950, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageData.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageData.cs new file mode 100644 index 0000000..0fd9982 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageData.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_IMAGE_DATA +public partial struct GlyphImageData +{ + /// + public unsafe void* imageData; + + /// + public uint imageDataSize; + + /// + public uint uniqueDataId; + + /// + public uint pixelsPerEm; + + /// + public System.Drawing.Size pixelSize; + + /// + public System.Drawing.Point horizontalLeftOrigin; + + /// + public System.Drawing.Point horizontalRightOrigin; + + /// + public System.Drawing.Point verticalTopOrigin; + + /// + public System.Drawing.Point verticalBottomOrigin; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageFormats.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageFormats.cs new file mode 100644 index 0000000..906952e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphImageFormats.cs @@ -0,0 +1,44 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_IMAGE_FORMATS +[Flags] +public enum GlyphImageFormats : uint +{ + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_NONE + None = 0, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_TRUETYPE + Truetype = 1, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_CFF + Cff = 2, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_COLR + Colr = 4, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_SVG + Svg = 8, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_PNG + Png = 16, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_JPEG + Jpeg = 32, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_TIFF + Tiff = 64, + /// + /// DWRITE_GLYPH_IMAGE_FORMATS_PREMULTIPLIED_B8G8R8A8 + PremultipliedB8g8r8a8 = 128, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphMetrics.cs new file mode 100644 index 0000000..9a8429f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphMetrics.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_METRICS +public partial struct GlyphMetrics +{ + /// + public int leftSideBearing; + + /// + public uint advanceWidth; + + /// + public int rightSideBearing; + + /// + public int topSideBearing; + + /// + public uint advanceHeight; + + /// + public int bottomSideBearing; + + /// + public int verticalOriginY; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOffset.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOffset.cs new file mode 100644 index 0000000..1ba1a75 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOffset.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_OFFSET +public partial struct GlyphOffset +{ + /// + public float advanceOffset; + + /// + public float ascenderOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOrientationAngle.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOrientationAngle.cs new file mode 100644 index 0000000..9f1380a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphOrientationAngle.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_ORIENTATION_ANGLE +public enum GlyphOrientationAngle : int +{ + /// + /// DWRITE_GLYPH_ORIENTATION_ANGLE_0_DEGREES + _0Degrees = 0, + /// + /// DWRITE_GLYPH_ORIENTATION_ANGLE_90_DEGREES + _90Degrees = 1, + /// + /// DWRITE_GLYPH_ORIENTATION_ANGLE_180_DEGREES + _180Degrees = 2, + /// + /// DWRITE_GLYPH_ORIENTATION_ANGLE_270_DEGREES + _270Degrees = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRun.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRun.cs new file mode 100644 index 0000000..c27ae06 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRun.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_RUN +public partial struct GlyphRun +{ + /// + public unsafe IDWriteFontFace* fontFace; + + /// + public float fontEmSize; + + /// + public uint glyphCount; + + /// + public unsafe ushort* glyphIndices; + + /// + public unsafe float* glyphAdvances; + + /// + public unsafe GlyphOffset* glyphOffsets; + + /// + public Bool32 isSideways; + + /// + public uint bidiLevel; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRunDescription.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRunDescription.cs new file mode 100644 index 0000000..038599e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GlyphRunDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GLYPH_RUN_DESCRIPTION +public partial struct GlyphRunDescription +{ + /// + public unsafe ushort* localeName; + + /// + public unsafe ushort* @string; + + /// + public uint stringLength; + + /// + public unsafe ushort* clusterMap; + + /// + public uint textPosition; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/GridFitMode.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GridFitMode.cs new file mode 100644 index 0000000..e3a9492 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/GridFitMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_GRID_FIT_MODE +public enum GridFitMode : int +{ + /// + /// DWRITE_GRID_FIT_MODE_DEFAULT + Default = 0, + /// + /// DWRITE_GRID_FIT_MODE_DISABLED + Disabled = 1, + /// + /// DWRITE_GRID_FIT_MODE_ENABLED + Enabled = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/HitTestMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/HitTestMetrics.cs new file mode 100644 index 0000000..8cfca07 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/HitTestMetrics.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_HIT_TEST_METRICS +public partial struct HitTestMetrics +{ + /// + public uint textPosition; + + /// + public uint length; + + /// + public float left; + + /// + public float top; + + /// + public float width; + + /// + public float height; + + /// + public uint bidiLevel; + + /// + public Bool32 isText; + + /// + public Bool32 isTrimmed; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteAsyncResult.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteAsyncResult.cs index 82e1164..8b0d634 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteAsyncResult.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteAsyncResult.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteAsyncResult [Guid("ce25f8fd-863b-4d13-9651-c1f88dc73fe2")] [NativeTypeName("struct IDWriteAsyncResult : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteAsyncResult +public unsafe partial struct IDWriteAsyncResult : INativeGuid { public static ref readonly Guid IID_IDWriteAsyncResult { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteAsyncResult } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteAsyncResult)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteAsyncResult)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteAsyncResult return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public Handle GetWaitHandle() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteAsyncResult return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteAsyncResult*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetResult() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget.cs index bbe1a58..c628b2e 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteBitmapRenderTarget [Guid("5e5a32a3-8dff-4773-9ff6-0696eab77267")] [NativeTypeName("struct IDWriteBitmapRenderTarget : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteBitmapRenderTarget +public unsafe partial struct IDWriteBitmapRenderTarget : INativeGuid { public static ref readonly Guid IID_IDWriteBitmapRenderTarget { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteBitmapRenderTarget } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult DrawGlyphRun(float baselineOriginX, float baselineOriginY, MeasuringMode measuringMode, GlyphRun* glyphRun, IDWriteRenderingParams* renderingParams, uint textColor, RawRect* blackBoxRect) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), baselineOriginX, baselineOriginY, measuringMode, glyphRun, renderingParams, textColor, blackBoxRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public IntPtr GetMemoryDC() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public float GetPixelsPerDip() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetPixelsPerDip(float pixelsPerDip) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), pixelsPerDip); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetCurrentTransform(Matrix3x2* transform) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetCurrentTransform(Matrix3x2* transform) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetSize(System.Drawing.Size* size) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteBitmapRenderTarget*)Unsafe.AsPointer(ref this), size); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult Resize(uint width, uint height) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget1.cs index 91f44f4..8041612 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteBitmapRenderTarget1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteBitmapRenderTarget1 [Guid("791e8298-3ef3-4230-9880-c9bdecc42064")] [NativeTypeName("struct IDWriteBitmapRenderTarget1 : IDWriteBitmapRenderTarget")] [NativeInheritance("IDWriteBitmapRenderTarget")] -public unsafe partial struct IDWriteBitmapRenderTarget1 +public unsafe partial struct IDWriteBitmapRenderTarget1 : INativeGuid { public static ref readonly Guid IID_IDWriteBitmapRenderTarget1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteBitmapRenderTarget1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteBitmapRenderTarget1)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this), width, height); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public TextAntialiasMode GetTextAntialiasMode() @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteBitmapRenderTarget1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteBitmapRenderTarget1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult SetTextAntialiasMode(TextAntialiasMode antialiasMode) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator.cs index b2badae..bc352eb 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteColorGlyphRunEnumerator [Guid("d31fbe17-f157-41a2-8d24-cb779e0560e8")] [NativeTypeName("struct IDWriteColorGlyphRunEnumerator : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteColorGlyphRunEnumerator +public unsafe partial struct IDWriteColorGlyphRunEnumerator : INativeGuid { public static ref readonly Guid IID_IDWriteColorGlyphRunEnumerator { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteColorGlyphRunEnumerator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteColorGlyphRunEnumerator return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult MoveNext(Bool32* hasRun) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteColorGlyphRunEnumerator return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteColorGlyphRunEnumerator*)Unsafe.AsPointer(ref this), hasRun); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCurrentRun(ColorGlyphRun** colorGlyphRun) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator1.cs index 969fc44..d9a4341 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteColorGlyphRunEnumerator1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteColorGlyphRunEnumerator1 [Guid("7c5f86da-c7a1-4f05-b8e1-55a179fe5a35")] [NativeTypeName("struct IDWriteColorGlyphRunEnumerator1 : IDWriteColorGlyphRunEnumerator")] [NativeInheritance("IDWriteColorGlyphRunEnumerator")] -public unsafe partial struct IDWriteColorGlyphRunEnumerator1 +public unsafe partial struct IDWriteColorGlyphRunEnumerator1 : INativeGuid { public static ref readonly Guid IID_IDWriteColorGlyphRunEnumerator1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteColorGlyphRunEnumerator1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteColorGlyphRunEnumerator1)); +#endif public void** lpVtbl; @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteColorGlyphRunEnumerator1 return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteColorGlyphRunEnumerator1*)Unsafe.AsPointer(ref this), colorGlyphRun); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetCurrentRun(ColorGlyphRun1** colorGlyphRun) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory.cs index ccecf58..1eb6772 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory [Guid("b859ee5a-d838-4b5b-a2e8-1adc7d93db48")] [NativeTypeName("struct IDWriteFactory : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFactory +public unsafe partial struct IDWriteFactory : INativeGuid { public static ref readonly Guid IID_IDWriteFactory { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetSystemFontCollection(IDWriteFontCollection** fontCollection, Bool32 checkForUpdates) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontCollection, checkForUpdates); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateCustomFontCollection(IDWriteFontCollectionLoader* collectionLoader, void* collectionKey, uint collectionKeySize, IDWriteFontCollection** fontCollection) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFactory*)Unsafe.AsPointer(ref this), collectionLoader, collectionKey, collectionKeySize, fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult RegisterFontCollectionLoader(IDWriteFontCollectionLoader* fontCollectionLoader) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontCollectionLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult UnregisterFontCollectionLoader(IDWriteFontCollectionLoader* fontCollectionLoader) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontCollectionLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateFontFileReference(ushort* filePath, ulong* lastWriteTime, IDWriteFontFile** fontFile) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFactory*)Unsafe.AsPointer(ref this), filePath, lastWriteTime, fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateCustomFontFileReference(void* fontFileReferenceKey, uint fontFileReferenceKeySize, IDWriteFontFileLoader* fontFileLoader, IDWriteFontFile** fontFile) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, fontFileLoader, fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreateFontFace(FontFaceType fontFaceType, uint numberOfFiles, IDWriteFontFile** fontFiles, uint faceIndex, FontSimulations fontFaceSimulationFlags, IDWriteFontFace** fontFace) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontFaceType, numberOfFiles, fontFiles, faceIndex, fontFaceSimulationFlags, fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateRenderingParams(IDWriteRenderingParams** renderingParams) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFactory*)Unsafe.AsPointer(ref this), renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateMonitorRenderingParams(IntPtr monitor, IDWriteRenderingParams** renderingParams) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFactory*)Unsafe.AsPointer(ref this), monitor, renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateCustomRenderingParams(float gamma, float enhancedContrast, float clearTypeLevel, PixelGeometry pixelGeometry, RenderingMode renderingMode, IDWriteRenderingParams** renderingParams) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFactory*)Unsafe.AsPointer(ref this), gamma, enhancedContrast, clearTypeLevel, pixelGeometry, renderingMode, renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult RegisterFontFileLoader(IDWriteFontFileLoader* fontFileLoader) @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontFileLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult UnregisterFontFileLoader(IDWriteFontFileLoader* fontFileLoader) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontFileLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateTextFormat(ushort* fontFamilyName, IDWriteFontCollection* fontCollection, FontWeight fontWeight, FontStyle fontStyle, FontStretch fontStretch, float fontSize, ushort* localeName, IDWriteTextFormat** textFormat) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFactory*)Unsafe.AsPointer(ref this), fontFamilyName, fontCollection, fontWeight, fontStyle, fontStretch, fontSize, localeName, textFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult CreateTypography(IDWriteTypography** typography) @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFactory*)Unsafe.AsPointer(ref this), typography); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetGdiInterop(IDWriteGdiInterop** gdiInterop) @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteFactory*)Unsafe.AsPointer(ref this), gdiInterop); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult CreateTextLayout(ushort* @string, uint stringLength, IDWriteTextFormat* textFormat, float maxWidth, float maxHeight, IDWriteTextLayout** textLayout) @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFactory*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, maxWidth, maxHeight, textLayout); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateGdiCompatibleTextLayout(ushort* @string, uint stringLength, IDWriteTextFormat* textFormat, float layoutWidth, float layoutHeight, float pixelsPerDip, Matrix3x2* transform, Bool32 useGdiNatural, IDWriteTextLayout** textLayout) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteFactory*)Unsafe.AsPointer(ref this), @string, stringLength, textFormat, layoutWidth, layoutHeight, pixelsPerDip, transform, useGdiNatural, textLayout); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult CreateEllipsisTrimmingSign(IDWriteTextFormat* textFormat, IDWriteInlineObject** trimmingSign) @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFactory*)Unsafe.AsPointer(ref this), textFormat, trimmingSign); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult CreateTextAnalyzer(IDWriteTextAnalyzer** textAnalyzer) @@ -222,7 +226,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteFactory*)Unsafe.AsPointer(ref this), textAnalyzer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult CreateNumberSubstitution(NumberSubstitutionMethod substitutionMethod, ushort* localeName, Bool32 ignoreUserOverride, IDWriteNumberSubstitution** numberSubstitution) @@ -230,7 +234,7 @@ public unsafe partial struct IDWriteFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteFactory*)Unsafe.AsPointer(ref this), substitutionMethod, localeName, ignoreUserOverride, numberSubstitution); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult CreateGlyphRunAnalysis(GlyphRun* glyphRun, float pixelsPerDip, Matrix3x2* transform, RenderingMode renderingMode, MeasuringMode measuringMode, float baselineOriginX, float baselineOriginY, IDWriteGlyphRunAnalysis** glyphRunAnalysis) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory1.cs index 6eef9e2..218ae69 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory1 [Guid("30572f99-dac6-41db-a16e-0486307e606a")] [NativeTypeName("struct IDWriteFactory1 : IDWriteFactory")] [NativeInheritance("IDWriteFactory")] -public unsafe partial struct IDWriteFactory1 +public unsafe partial struct IDWriteFactory1 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory1)); +#endif public void** lpVtbl; @@ -238,7 +242,7 @@ public unsafe partial struct IDWriteFactory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFactory1*)Unsafe.AsPointer(ref this), glyphRun, pixelsPerDip, transform, renderingMode, measuringMode, baselineOriginX, baselineOriginY, glyphRunAnalysis); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult GetEudcFontCollection(IDWriteFontCollection** fontCollection, Bool32 checkForUpdates) @@ -246,7 +250,7 @@ public unsafe partial struct IDWriteFactory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteFactory1*)Unsafe.AsPointer(ref this), fontCollection, checkForUpdates); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CreateCustomRenderingParams(float gamma, float enhancedContrast, float enhancedContrastGrayscale, float clearTypeLevel, PixelGeometry pixelGeometry, RenderingMode renderingMode, IDWriteRenderingParams1** renderingParams) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory2.cs index 27fcd5e..35938d1 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory2 [Guid("0439fc60-ca44-4994-8dee-3a9af7b732ec")] [NativeTypeName("struct IDWriteFactory2 : IDWriteFactory1")] [NativeInheritance("IDWriteFactory1")] -public unsafe partial struct IDWriteFactory2 +public unsafe partial struct IDWriteFactory2 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory2)); +#endif public void** lpVtbl; @@ -254,7 +258,7 @@ public unsafe partial struct IDWriteFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteFactory2*)Unsafe.AsPointer(ref this), gamma, enhancedContrast, enhancedContrastGrayscale, clearTypeLevel, pixelGeometry, renderingMode, renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult GetSystemFontFallback(IDWriteFontFallback** fontFallback) @@ -262,7 +266,7 @@ public unsafe partial struct IDWriteFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDWriteFactory2*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult CreateFontFallbackBuilder(IDWriteFontFallbackBuilder** fontFallbackBuilder) @@ -270,7 +274,7 @@ public unsafe partial struct IDWriteFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteFactory2*)Unsafe.AsPointer(ref this), fontFallbackBuilder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult TranslateColorGlyphRun(float baselineOriginX, float baselineOriginY, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, MeasuringMode measuringMode, Matrix3x2* worldToDeviceTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator** colorLayers) @@ -278,7 +282,7 @@ public unsafe partial struct IDWriteFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDWriteFactory2*)Unsafe.AsPointer(ref this), baselineOriginX, baselineOriginY, glyphRun, glyphRunDescription, measuringMode, worldToDeviceTransform, colorPaletteIndex, colorLayers); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult CreateCustomRenderingParams(float gamma, float enhancedContrast, float grayscaleEnhancedContrast, float clearTypeLevel, PixelGeometry pixelGeometry, RenderingMode renderingMode, GridFitMode gridFitMode, IDWriteRenderingParams2** renderingParams) @@ -286,7 +290,7 @@ public unsafe partial struct IDWriteFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteFactory2*)Unsafe.AsPointer(ref this), gamma, enhancedContrast, grayscaleEnhancedContrast, clearTypeLevel, pixelGeometry, renderingMode, gridFitMode, renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult CreateGlyphRunAnalysis(GlyphRun* glyphRun, Matrix3x2* transform, RenderingMode renderingMode, MeasuringMode measuringMode, GridFitMode gridFitMode, TextAntialiasMode antialiasMode, float baselineOriginX, float baselineOriginY, IDWriteGlyphRunAnalysis** glyphRunAnalysis) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory3.cs index 7f5724a..e9f0dc2 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory3 [Guid("9a1b41c3-d3bb-466a-87fc-fe67556a3b65")] [NativeTypeName("struct IDWriteFactory3 : IDWriteFactory2")] [NativeInheritance("IDWriteFactory2")] -public unsafe partial struct IDWriteFactory3 +public unsafe partial struct IDWriteFactory3 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory3)); +#endif public void** lpVtbl; @@ -294,7 +298,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), glyphRun, transform, renderingMode, measuringMode, gridFitMode, antialiasMode, baselineOriginX, baselineOriginY, glyphRunAnalysis); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult CreateGlyphRunAnalysis(GlyphRun* glyphRun, Matrix3x2* transform, RenderingMode1 renderingMode, MeasuringMode measuringMode, GridFitMode gridFitMode, TextAntialiasMode antialiasMode, float baselineOriginX, float baselineOriginY, IDWriteGlyphRunAnalysis** glyphRunAnalysis) @@ -302,7 +306,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), glyphRun, transform, renderingMode, measuringMode, gridFitMode, antialiasMode, baselineOriginX, baselineOriginY, glyphRunAnalysis); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult CreateCustomRenderingParams(float gamma, float enhancedContrast, float grayscaleEnhancedContrast, float clearTypeLevel, PixelGeometry pixelGeometry, RenderingMode1 renderingMode, GridFitMode gridFitMode, IDWriteRenderingParams3** renderingParams) @@ -310,7 +314,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), gamma, enhancedContrast, grayscaleEnhancedContrast, clearTypeLevel, pixelGeometry, renderingMode, gridFitMode, renderingParams); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult CreateFontFaceReference(IDWriteFontFile* fontFile, uint faceIndex, FontSimulations fontSimulations, IDWriteFontFaceReference** fontFaceReference) @@ -318,7 +322,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), fontFile, faceIndex, fontSimulations, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult CreateFontFaceReference(ushort* filePath, ulong* lastWriteTime, uint faceIndex, FontSimulations fontSimulations, IDWriteFontFaceReference** fontFaceReference) @@ -326,7 +330,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), filePath, lastWriteTime, faceIndex, fontSimulations, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult GetSystemFontSet(IDWriteFontSet** fontSet) @@ -334,7 +338,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public HResult CreateFontSetBuilder(IDWriteFontSetBuilder** fontSetBuilder) @@ -342,7 +346,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), fontSetBuilder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public HResult CreateFontCollectionFromFontSet(IDWriteFontSet* fontSet, IDWriteFontCollection1** fontCollection) @@ -350,7 +354,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), fontSet, fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public HResult GetSystemFontCollection(Bool32 includeDownloadableFonts, IDWriteFontCollection1** fontCollection, Bool32 checkForUpdates) @@ -358,7 +362,7 @@ public unsafe partial struct IDWriteFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFactory3*)Unsafe.AsPointer(ref this), includeDownloadableFonts, fontCollection, checkForUpdates); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public HResult GetFontDownloadQueue(IDWriteFontDownloadQueue** fontDownloadQueue) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs index 602b92b..a9acc89 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory4 [Guid("4b0b5bd3-0797-4549-8ac5-fe915cc53856")] [NativeTypeName("struct IDWriteFactory4 : IDWriteFactory3")] [NativeInheritance("IDWriteFactory3")] -public unsafe partial struct IDWriteFactory4 +public unsafe partial struct IDWriteFactory4 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory4)); +#endif public void** lpVtbl; @@ -366,7 +370,7 @@ public unsafe partial struct IDWriteFactory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), fontDownloadQueue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult TranslateColorGlyphRun(System.Drawing.PointF baselineOrigin, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, GlyphImageFormats desiredGlyphImageFormats, MeasuringMode measuringMode, Matrix3x2* worldAndDpiTransform, uint colorPaletteIndex, IDWriteColorGlyphRunEnumerator1** colorLayers) @@ -374,7 +378,7 @@ public unsafe partial struct IDWriteFactory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), baselineOrigin, glyphRun, glyphRunDescription, desiredGlyphImageFormats, measuringMode, worldAndDpiTransform, colorPaletteIndex, colorLayers); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, System.Drawing.PointF baselineOrigin, System.Drawing.PointF* glyphOrigins) @@ -382,7 +386,7 @@ public unsafe partial struct IDWriteFactory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFactory4*)Unsafe.AsPointer(ref this), glyphRun, baselineOrigin, glyphOrigins); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public HResult ComputeGlyphOrigins(GlyphRun* glyphRun, MeasuringMode measuringMode, System.Drawing.PointF baselineOrigin, Matrix3x2* worldAndDpiTransform, System.Drawing.PointF* glyphOrigins) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs index dcb79d0..0526997 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory5 [Guid("958db99a-be2a-4f09-af7d-65189803d1d3")] [NativeTypeName("struct IDWriteFactory5 : IDWriteFactory4")] [NativeInheritance("IDWriteFactory4")] -public unsafe partial struct IDWriteFactory5 +public unsafe partial struct IDWriteFactory5 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory5 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory5)); +#endif public void** lpVtbl; @@ -390,7 +394,7 @@ public unsafe partial struct IDWriteFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), glyphRun, measuringMode, baselineOrigin, worldAndDpiTransform, glyphOrigins); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] public HResult CreateFontSetBuilder(IDWriteFontSetBuilder1** fontSetBuilder) @@ -398,7 +402,7 @@ public unsafe partial struct IDWriteFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), fontSetBuilder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] public HResult CreateInMemoryFontFileLoader(IDWriteInMemoryFontFileLoader** newLoader) @@ -406,7 +410,7 @@ public unsafe partial struct IDWriteFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), newLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] public HResult CreateHttpFontFileLoader(ushort* referrerUrl, ushort* extraHeaders, IDWriteRemoteFontFileLoader** newLoader) @@ -414,7 +418,7 @@ public unsafe partial struct IDWriteFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), referrerUrl, extraHeaders, newLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] public ContainerType AnalyzeContainerType(void* fileData, uint fileDataSize) @@ -422,7 +426,7 @@ public unsafe partial struct IDWriteFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFactory5*)Unsafe.AsPointer(ref this), fileData, fileDataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(47)] public HResult UnpackFontFile(ContainerType containerType, void* fileData, uint fileDataSize, IDWriteFontFileStream** unpackedFontStream) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs index 5739278..276dc49 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory6 [Guid("f3744d80-21f7-42eb-b35d-995bc72fc223")] [NativeTypeName("struct IDWriteFactory6 : IDWriteFactory5")] [NativeInheritance("IDWriteFactory5")] -public unsafe partial struct IDWriteFactory6 +public unsafe partial struct IDWriteFactory6 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory6 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory6)); +#endif public void** lpVtbl; @@ -430,7 +434,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), containerType, fileData, fileDataSize, unpackedFontStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] public HResult CreateFontFaceReference(IDWriteFontFile* fontFile, uint faceIndex, FontSimulations fontSimulations, FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontFaceReference1** fontFaceReference) @@ -438,7 +442,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fontFile, faceIndex, fontSimulations, fontAxisValues, fontAxisValueCount, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] public HResult CreateFontResource(IDWriteFontFile* fontFile, uint faceIndex, IDWriteFontResource** fontResource) @@ -446,7 +450,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fontFile, faceIndex, fontResource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] public HResult GetSystemFontSet(Bool32 includeDownloadableFonts, IDWriteFontSet1** fontSet) @@ -454,7 +458,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), includeDownloadableFonts, fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] public HResult GetSystemFontCollection(Bool32 includeDownloadableFonts, FontFamilyModel fontFamilyModel, IDWriteFontCollection2** fontCollection) @@ -462,7 +466,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), includeDownloadableFonts, fontFamilyModel, fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] public HResult CreateFontCollectionFromFontSet(IDWriteFontSet* fontSet, FontFamilyModel fontFamilyModel, IDWriteFontCollection2** fontCollection) @@ -470,7 +474,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fontSet, fontFamilyModel, fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] public HResult CreateFontSetBuilder(IDWriteFontSetBuilder2** fontSetBuilder) @@ -478,7 +482,7 @@ public unsafe partial struct IDWriteFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((IDWriteFactory6*)Unsafe.AsPointer(ref this), fontSetBuilder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] public HResult CreateTextFormat(ushort* fontFamilyName, IDWriteFontCollection* fontCollection, FontAxisValue* fontAxisValues, uint fontAxisValueCount, float fontSize, ushort* localeName, IDWriteTextFormat3** textFormat) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs index 24ea873..982ad8d 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFactory7.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFactory7 [Guid("35d0e0b3-9076-4d2e-a016-a91b568a06b4")] [NativeTypeName("struct IDWriteFactory7 : IDWriteFactory6")] [NativeInheritance("IDWriteFactory6")] -public unsafe partial struct IDWriteFactory7 +public unsafe partial struct IDWriteFactory7 : INativeGuid { public static ref readonly Guid IID_IDWriteFactory7 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFactory7 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory7)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFactory7)); +#endif public void** lpVtbl; @@ -486,7 +490,7 @@ public unsafe partial struct IDWriteFactory7 return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), fontFamilyName, fontCollection, fontAxisValues, fontAxisValueCount, fontSize, localeName, textFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] public HResult GetSystemFontSet(Bool32 includeDownloadableFonts, IDWriteFontSet2** fontSet) @@ -494,7 +498,7 @@ public unsafe partial struct IDWriteFactory7 return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((IDWriteFactory7*)Unsafe.AsPointer(ref this), includeDownloadableFonts, fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] public HResult GetSystemFontCollection(Bool32 includeDownloadableFonts, FontFamilyModel fontFamilyModel, IDWriteFontCollection3** fontCollection) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont.cs index 6b4ec56..6331dd0 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFont [Guid("acd16696-8c14-4f5d-877e-fe3fc1d32737")] [NativeTypeName("struct IDWriteFont : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFont +public unsafe partial struct IDWriteFont : INativeGuid { public static ref readonly Guid IID_IDWriteFont { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFont } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetFontFamily(IDWriteFontFamily** fontFamily) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFont*)Unsafe.AsPointer(ref this), fontFamily); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public FontWeight GetWeight() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public FontStretch GetStretch() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public FontStyle GetStyle() @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public Bool32 IsSymbolFont() @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFaceNames(IDWriteLocalizedStrings** names) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFont*)Unsafe.AsPointer(ref this), names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetInformationalStrings(InformationalStringId informationalStringID, IDWriteLocalizedStrings** informationalStrings, Bool32* exists) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFont*)Unsafe.AsPointer(ref this), informationalStringID, informationalStrings, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public FontSimulations GetSimulations() @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFont*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public void GetMetrics(FontMetrics* fontMetrics) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFont ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFont*)Unsafe.AsPointer(ref this), fontMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult HasCharacter(uint unicodeValue, Bool32* exists) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFont return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFont*)Unsafe.AsPointer(ref this), unicodeValue, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateFontFace(IDWriteFontFace** fontFace) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont1.cs index 0ffcd98..b5880ea 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFont1 [Guid("acd16696-8c14-4f5d-877e-fe3fc1d32738")] [NativeTypeName("struct IDWriteFont1 : IDWriteFont")] [NativeInheritance("IDWriteFont")] -public unsafe partial struct IDWriteFont1 +public unsafe partial struct IDWriteFont1 : INativeGuid { public static ref readonly Guid IID_IDWriteFont1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFont1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont1)); +#endif public void** lpVtbl; @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFont1 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public void GetMetrics(FontMetrics1* fontMetrics) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteFont1 ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFont1*)Unsafe.AsPointer(ref this), fontMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public void GetPanose(Panose* panose) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteFont1 ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFont1*)Unsafe.AsPointer(ref this), panose); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetUnicodeRanges(uint maxRangeCount, UnicodeRange* unicodeRanges, uint* actualRangeCount) @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteFont1 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFont1*)Unsafe.AsPointer(ref this), maxRangeCount, unicodeRanges, actualRangeCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public Bool32 IsMonospacedFont() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont2.cs index 7d17e87..916e11d 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFont2 [Guid("29748ed6-8c9c-4a6a-be0b-d912e8538944")] [NativeTypeName("struct IDWriteFont2 : IDWriteFont1")] [NativeInheritance("IDWriteFont1")] -public unsafe partial struct IDWriteFont2 +public unsafe partial struct IDWriteFont2 : INativeGuid { public static ref readonly Guid IID_IDWriteFont2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFont2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont2)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteFont2 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteFont2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public Bool32 IsColorFont() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont3.cs index 7117882..c7d2ea3 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFont3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFont3 [Guid("29748ed6-8c9c-4a6a-be0b-d912e8538944")] [NativeTypeName("struct IDWriteFont3 : IDWriteFont2")] [NativeInheritance("IDWriteFont2")] -public unsafe partial struct IDWriteFont3 +public unsafe partial struct IDWriteFont3 : INativeGuid { public static ref readonly Guid IID_IDWriteFont3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFont3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFont3)); +#endif public void** lpVtbl; @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteFont3 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFont3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateFontFace(IDWriteFontFace3** fontFace) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteFont3 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public Bool32 Equals(IDWriteFont* font) @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteFont3 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFont3*)Unsafe.AsPointer(ref this), font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference) @@ -222,7 +226,7 @@ public unsafe partial struct IDWriteFont3 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteFont3*)Unsafe.AsPointer(ref this), fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public Bool32 HasCharacter(uint unicodeValue) @@ -230,7 +234,7 @@ public unsafe partial struct IDWriteFont3 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteFont3*)Unsafe.AsPointer(ref this), unicodeValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public Locality GetLocality() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection.cs index 1b112d0..1d75da1 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontCollection [Guid("a84cee02-3eea-4eee-a827-87c1a02a0fcc")] [NativeTypeName("struct IDWriteFontCollection : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontCollection +public unsafe partial struct IDWriteFontCollection : INativeGuid { public static ref readonly Guid IID_IDWriteFontCollection { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontCollection } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetFontFamilyCount() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontCollection*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFontFamily(uint index, IDWriteFontFamily** fontFamily) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontCollection*)Unsafe.AsPointer(ref this), index, fontFamily); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult FindFamilyName(ushort* familyName, uint* index, Bool32* exists) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontCollection return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontCollection*)Unsafe.AsPointer(ref this), familyName, index, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetFontFromFontFace(IDWriteFontFace* fontFace, IDWriteFont** font) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection1.cs index a43c960..4abd271 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontCollection1 [Guid("53585141-d9f8-4095-8321-d73cf6bd116c")] [NativeTypeName("struct IDWriteFontCollection1 : IDWriteFontCollection")] [NativeInheritance("IDWriteFontCollection")] -public unsafe partial struct IDWriteFontCollection1 +public unsafe partial struct IDWriteFontCollection1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontCollection1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontCollection1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection1)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontCollection1*)Unsafe.AsPointer(ref this), fontFace, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetFontSet(IDWriteFontSet** fontSet) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontCollection1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontCollection1*)Unsafe.AsPointer(ref this), fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFontFamily(uint index, IDWriteFontFamily1** fontFamily) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection2.cs index aa1ffdf..028bd64 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontCollection2 [Guid("514039c6-4617-4064-bf8b-92ea83e506e0")] [NativeTypeName("struct IDWriteFontCollection2 : IDWriteFontCollection1")] [NativeInheritance("IDWriteFontCollection1")] -public unsafe partial struct IDWriteFontCollection2 +public unsafe partial struct IDWriteFontCollection2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontCollection2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontCollection2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection2)); +#endif public void** lpVtbl; @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontCollection2 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this), index, fontFamily); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetFontFamily(uint index, IDWriteFontFamily2** fontFamily) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontCollection2 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this), index, fontFamily); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetMatchingFonts(ushort* familyName, FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontList2** fontList) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontCollection2 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this), familyName, fontAxisValues, fontAxisValueCount, fontList); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public FontFamilyModel GetFontFamilyModel() @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontCollection2 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontCollection2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetFontSet(IDWriteFontSet1** fontSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection3.cs index 3d5cbe5..7e92196 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollection3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontCollection3 [Guid("a4d055a6-f9e3-4e25-93b7-9e309f3af8e9")] [NativeTypeName("struct IDWriteFontCollection3 : IDWriteFontCollection2")] [NativeInheritance("IDWriteFontCollection2")] -public unsafe partial struct IDWriteFontCollection3 +public unsafe partial struct IDWriteFontCollection3 : INativeGuid { public static ref readonly Guid IID_IDWriteFontCollection3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontCollection3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollection3)); +#endif public void** lpVtbl; @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontCollection3 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontCollection3*)Unsafe.AsPointer(ref this), fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public Handle GetExpirationEvent() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollectionLoader.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollectionLoader.cs index 14d9070..839496a 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollectionLoader.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontCollectionLoader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontCollectionLoader [Guid("cca920e4-52f0-492b-bfa8-29c72ee0a468")] [NativeTypeName("struct IDWriteFontCollectionLoader : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontCollectionLoader +public unsafe partial struct IDWriteFontCollectionLoader : INativeGuid { public static ref readonly Guid IID_IDWriteFontCollectionLoader { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontCollectionLoader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollectionLoader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontCollectionLoader)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontCollectionLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateEnumeratorFromKey(IDWriteFactory* factory, void* collectionKey, uint collectionKeySize, IDWriteFontFileEnumerator** fontFileEnumerator) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadListener.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadListener.cs index 7e57bea..0183939 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadListener.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadListener.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontDownloadListener [Guid("b06fe5b9-43ec-4393-881b-dbe4dc72fda7")] [NativeTypeName("struct IDWriteFontDownloadListener : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontDownloadListener +public unsafe partial struct IDWriteFontDownloadListener : INativeGuid { public static ref readonly Guid IID_IDWriteFontDownloadListener { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontDownloadListener } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadListener)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadListener)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontDownloadListener return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void DownloadCompleted(IDWriteFontDownloadQueue* downloadQueue, IUnknown* context, HResult downloadResult) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadQueue.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadQueue.cs index f96cbc6..989788a 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadQueue.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontDownloadQueue.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontDownloadQueue [Guid("b71e6052-5aea-4fa3-832e-f60d431f7e91")] [NativeTypeName("struct IDWriteFontDownloadQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontDownloadQueue +public unsafe partial struct IDWriteFontDownloadQueue : INativeGuid { public static ref readonly Guid IID_IDWriteFontDownloadQueue { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontDownloadQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontDownloadQueue)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AddListener(IDWriteFontDownloadListener* listener, uint* token) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontDownloadQueue*)Unsafe.AsPointer(ref this), listener, token); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult RemoveListener(uint token) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontDownloadQueue*)Unsafe.AsPointer(ref this), token); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public Bool32 IsEmpty() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontDownloadQueue*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult BeginDownload(IUnknown* context) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontDownloadQueue*)Unsafe.AsPointer(ref this), context); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CancelDownload() @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontDownloadQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontDownloadQueue*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public ulong GetGenerationCount() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace.cs index 6f5b50b..793501a 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace [Guid("5f49804d-7024-4d43-bfa9-d25984f53849")] [NativeTypeName("struct IDWriteFontFace : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFace +public unsafe partial struct IDWriteFontFace : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public new FontFaceType GetType() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFiles(uint* numberOfFiles, IDWriteFontFile** fontFiles) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), numberOfFiles, fontFiles); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public uint GetIndex() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public FontSimulations GetSimulations() @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public Bool32 IsSymbolFont() @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public void GetMetrics(FontMetrics* fontFaceMetrics) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontFace ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), fontFaceMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public ushort GetGlyphCount() @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFace*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetDesignGlyphMetrics(ushort* glyphIndices, uint glyphCount, GlyphMetrics* glyphMetrics, Bool32 isSideways) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), glyphIndices, glyphCount, glyphMetrics, isSideways); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetGlyphIndices(uint* codePoints, uint codePointCount, ushort* glyphIndices) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), codePoints, codePointCount, glyphIndices); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult TryGetFontTable(uint openTypeTableTag, void** tableData, uint* tableSize, void** tableContext, Bool32* exists) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), openTypeTableTag, tableData, tableSize, tableContext, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public void ReleaseFontTable(void* tableContext) @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFontFace ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), tableContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetGlyphRunOutline(float emSize, ushort* glyphIndices, float* glyphAdvances, GlyphOffset* glyphOffsets, uint glyphCount, Bool32 isSideways, Bool32 isRightToLeft, Graphics.Direct2D.Common.ID2D1SimplifiedGeometrySink* geometrySink) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), emSize, glyphIndices, glyphAdvances, glyphOffsets, glyphCount, isSideways, isRightToLeft, geometrySink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetRecommendedRenderingMode(float emSize, float pixelsPerDip, MeasuringMode measuringMode, IDWriteRenderingParams* renderingParams, RenderingMode* renderingMode) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, measuringMode, renderingParams, renderingMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, Matrix3x2* transform, FontMetrics* fontFaceMetrics) @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteFontFace return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontFace*)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, transform, fontFaceMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetGdiCompatibleGlyphMetrics(float emSize, float pixelsPerDip, Matrix3x2* transform, Bool32 useGdiNatural, ushort* glyphIndices, uint glyphCount, GlyphMetrics* glyphMetrics, Bool32 isSideways) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace1.cs index 97328f7..7517898 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace1 [Guid("a71efdb4-9fdb-4838-ad90-cfc3be8c3daf")] [NativeTypeName("struct IDWriteFontFace1 : IDWriteFontFace")] [NativeInheritance("IDWriteFontFace")] -public unsafe partial struct IDWriteFontFace1 +public unsafe partial struct IDWriteFontFace1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace1)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, transform, useGdiNatural, glyphIndices, glyphCount, glyphMetrics, isSideways); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public void GetMetrics(FontMetrics1* fontMetrics) @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteFontFace1 ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetGdiCompatibleMetrics(float emSize, float pixelsPerDip, Matrix3x2* transform, FontMetrics1* fontMetrics) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, transform, fontMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public void GetCaretMetrics(CaretMetrics* caretMetrics) @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteFontFace1 ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), caretMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetUnicodeRanges(uint maxRangeCount, UnicodeRange* unicodeRanges, uint* actualRangeCount) @@ -222,7 +226,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), maxRangeCount, unicodeRanges, actualRangeCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public Bool32 IsMonospacedFont() @@ -230,7 +234,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult GetDesignGlyphAdvances(uint glyphCount, ushort* glyphIndices, int* glyphAdvances, Bool32 isSideways) @@ -238,7 +242,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), glyphCount, glyphIndices, glyphAdvances, isSideways); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult GetGdiCompatibleGlyphAdvances(float emSize, float pixelsPerDip, Matrix3x2* transform, Bool32 useGdiNatural, Bool32 isSideways, uint glyphCount, ushort* glyphIndices, int* glyphAdvances) @@ -246,7 +250,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), emSize, pixelsPerDip, transform, useGdiNatural, isSideways, glyphCount, glyphIndices, glyphAdvances); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult GetKerningPairAdjustments(uint glyphCount, ushort* glyphIndices, int* glyphAdvanceAdjustments) @@ -254,7 +258,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), glyphCount, glyphIndices, glyphAdvanceAdjustments); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public Bool32 HasKerningPairs() @@ -262,7 +266,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult GetRecommendedRenderingMode(float fontEmSize, float dpiX, float dpiY, Matrix3x2* transform, Bool32 isSideways, OutlineThreshold outlineThreshold, MeasuringMode measuringMode, RenderingMode* renderingMode) @@ -270,7 +274,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), fontEmSize, dpiX, dpiY, transform, isSideways, outlineThreshold, measuringMode, renderingMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult GetVerticalGlyphVariants(uint glyphCount, ushort* nominalGlyphIndices, ushort* verticalGlyphIndices) @@ -278,7 +282,7 @@ public unsafe partial struct IDWriteFontFace1 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDWriteFontFace1*)Unsafe.AsPointer(ref this), glyphCount, nominalGlyphIndices, verticalGlyphIndices); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public Bool32 HasVerticalGlyphVariants() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace2.cs index 94c69fd..704f6c6 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace2 [Guid("d8b768ff-64bc-4e66-982b-ec8e87f693f7")] [NativeTypeName("struct IDWriteFontFace2 : IDWriteFontFace1")] [NativeInheritance("IDWriteFontFace1")] -public unsafe partial struct IDWriteFontFace2 +public unsafe partial struct IDWriteFontFace2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace2)); +#endif public void** lpVtbl; @@ -286,7 +290,7 @@ public unsafe partial struct IDWriteFontFace2 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public Bool32 IsColorFont() @@ -294,7 +298,7 @@ public unsafe partial struct IDWriteFontFace2 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public uint GetColorPaletteCount() @@ -302,7 +306,7 @@ public unsafe partial struct IDWriteFontFace2 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public uint GetPaletteEntryCount() @@ -310,7 +314,7 @@ public unsafe partial struct IDWriteFontFace2 return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult GetPaletteEntries(uint colorPaletteIndex, uint firstEntryIndex, uint entryCount, Color4** paletteEntries) @@ -318,7 +322,7 @@ public unsafe partial struct IDWriteFontFace2 return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteFontFace2*)Unsafe.AsPointer(ref this), colorPaletteIndex, firstEntryIndex, entryCount, paletteEntries); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult GetRecommendedRenderingMode(float fontEmSize, float dpiX, float dpiY, Matrix3x2* transform, Bool32 isSideways, OutlineThreshold outlineThreshold, MeasuringMode measuringMode, IDWriteRenderingParams* renderingParams, RenderingMode* renderingMode, GridFitMode* gridFitMode) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace3.cs index d9d28d6..85a749e 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace3 [Guid("d37d7598-09be-4222-a236-2081341cc1f2")] [NativeTypeName("struct IDWriteFontFace3 : IDWriteFontFace2")] [NativeInheritance("IDWriteFontFace2")] -public unsafe partial struct IDWriteFontFace3 +public unsafe partial struct IDWriteFontFace3 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace3)); +#endif public void** lpVtbl; @@ -326,7 +330,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontEmSize, dpiX, dpiY, transform, isSideways, outlineThreshold, measuringMode, renderingParams, renderingMode, gridFitMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult GetFontFaceReference(IDWriteFontFaceReference** fontFaceReference) @@ -334,7 +338,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public void GetPanose(Panose* panose) @@ -342,7 +346,7 @@ public unsafe partial struct IDWriteFontFace3 ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), panose); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public FontWeight GetWeight() @@ -350,7 +354,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public FontStretch GetStretch() @@ -358,7 +362,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public FontStyle GetStyle() @@ -366,7 +370,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult GetFamilyNames(IDWriteLocalizedStrings** names) @@ -374,7 +378,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public HResult GetFaceNames(IDWriteLocalizedStrings** names) @@ -382,7 +386,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public HResult GetInformationalStrings(InformationalStringId informationalStringID, IDWriteLocalizedStrings** informationalStrings, Bool32* exists) @@ -390,7 +394,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), informationalStringID, informationalStrings, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] public Bool32 HasCharacter(uint unicodeValue) @@ -398,7 +402,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), unicodeValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] public HResult GetRecommendedRenderingMode(float fontEmSize, float dpiX, float dpiY, Matrix3x2* transform, Bool32 isSideways, OutlineThreshold outlineThreshold, MeasuringMode measuringMode, IDWriteRenderingParams* renderingParams, RenderingMode1* renderingMode, GridFitMode* gridFitMode) @@ -406,7 +410,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), fontEmSize, dpiX, dpiY, transform, isSideways, outlineThreshold, measuringMode, renderingParams, renderingMode, gridFitMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] public Bool32 IsCharacterLocal(uint unicodeValue) @@ -414,7 +418,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), unicodeValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] public Bool32 IsGlyphLocal(ushort glyphId) @@ -422,7 +426,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), glyphId); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(47)] public HResult AreCharactersLocal(ushort* characters, uint characterCount, Bool32 enqueueIfNotLocal, Bool32* isLocal) @@ -430,7 +434,7 @@ public unsafe partial struct IDWriteFontFace3 return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((IDWriteFontFace3*)Unsafe.AsPointer(ref this), characters, characterCount, enqueueIfNotLocal, isLocal); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] public HResult AreGlyphsLocal(ushort* glyphIndices, uint glyphCount, Bool32 enqueueIfNotLocal, Bool32* isLocal) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace4.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace4.cs index 4d42868..085fc82 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace4.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace4 [Guid("27f2a904-4eb8-441d-9678-0563f53e3e2f")] [NativeTypeName("struct IDWriteFontFace4 : IDWriteFontFace3")] [NativeInheritance("IDWriteFontFace3")] -public unsafe partial struct IDWriteFontFace4 +public unsafe partial struct IDWriteFontFace4 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace4)); +#endif public void** lpVtbl; @@ -438,7 +442,7 @@ public unsafe partial struct IDWriteFontFace4 return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), glyphIndices, glyphCount, enqueueIfNotLocal, isLocal); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] public HResult GetGlyphImageFormats(ushort glyphId, uint pixelsPerEmFirst, uint pixelsPerEmLast, GlyphImageFormats* glyphImageFormats) @@ -446,7 +450,7 @@ public unsafe partial struct IDWriteFontFace4 return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEmFirst, pixelsPerEmLast, glyphImageFormats); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] public GlyphImageFormats GetGlyphImageFormats() @@ -454,7 +458,7 @@ public unsafe partial struct IDWriteFontFace4 return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] public HResult GetGlyphImageData(ushort glyphId, uint pixelsPerEm, GlyphImageFormats glyphImageFormat, GlyphImageData* glyphData, void** glyphDataContext) @@ -462,7 +466,7 @@ public unsafe partial struct IDWriteFontFace4 return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((IDWriteFontFace4*)Unsafe.AsPointer(ref this), glyphId, pixelsPerEm, glyphImageFormat, glyphData, glyphDataContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] public void ReleaseGlyphImageData(void* glyphDataContext) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace5.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace5.cs index 7431101..c998a68 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace5.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace5 [Guid("98eff3a5-b667-479a-b145-e2fa5b9fdc29")] [NativeTypeName("struct IDWriteFontFace5 : IDWriteFontFace4")] [NativeInheritance("IDWriteFontFace4")] -public unsafe partial struct IDWriteFontFace5 +public unsafe partial struct IDWriteFontFace5 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace5 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace5)); +#endif public void** lpVtbl; @@ -470,7 +474,7 @@ public unsafe partial struct IDWriteFontFace5 ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), glyphDataContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] public uint GetFontAxisValueCount() @@ -478,7 +482,7 @@ public unsafe partial struct IDWriteFontFace5 return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] public HResult GetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount) @@ -486,7 +490,7 @@ public unsafe partial struct IDWriteFontFace5 return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] public Bool32 HasVariations() @@ -494,7 +498,7 @@ public unsafe partial struct IDWriteFontFace5 return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] public HResult GetFontResource(IDWriteFontResource** fontResource) @@ -502,7 +506,7 @@ public unsafe partial struct IDWriteFontFace5 return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((IDWriteFontFace5*)Unsafe.AsPointer(ref this), fontResource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public Bool32 Equals(IDWriteFontFace* fontFace) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace6.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace6.cs index 2b86d43..c0e44e6 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace6.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFace6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFace6 [Guid("c4b1fe1b-6e84-47d5-b54c-a597981b06ad")] [NativeTypeName("struct IDWriteFontFace6 : IDWriteFontFace5")] [NativeInheritance("IDWriteFontFace5")] -public unsafe partial struct IDWriteFontFace6 +public unsafe partial struct IDWriteFontFace6 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFace6 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFace6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFace6)); +#endif public void** lpVtbl; @@ -510,7 +514,7 @@ public unsafe partial struct IDWriteFontFace6 return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] public HResult GetFamilyNames(FontFamilyModel fontFamilyModel, IDWriteLocalizedStrings** names) @@ -518,7 +522,7 @@ public unsafe partial struct IDWriteFontFace6 return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((IDWriteFontFace6*)Unsafe.AsPointer(ref this), fontFamilyModel, names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(59)] public HResult GetFaceNames(FontFamilyModel fontFamilyModel, IDWriteLocalizedStrings** names) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference.cs index 706d2c5..94f8afd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFaceReference [Guid("5e7fa7ca-dde3-424c-89f0-9fcd6fed58cd")] [NativeTypeName("struct IDWriteFontFaceReference : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFaceReference +public unsafe partial struct IDWriteFontFaceReference : INativeGuid { public static ref readonly Guid IID_IDWriteFontFaceReference { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFaceReference } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateFontFace(IDWriteFontFace3** fontFace) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateFontFaceWithSimulations(FontSimulations fontFaceSimulationFlags, IDWriteFontFace3** fontFace) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), fontFaceSimulationFlags, fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public Bool32 Equals(IDWriteFontFaceReference* fontFaceReference) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public uint GetFontFaceIndex() @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public FontSimulations GetSimulations() @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFontFile(IDWriteFontFile** fontFile) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public ulong GetLocalFileSize() @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public ulong GetFileSize() @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetFileTime(ulong* lastWriteTime) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), lastWriteTime); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public Locality GetLocality() @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult EnqueueFontDownloadRequest() @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult EnqueueCharacterDownloadRequest(ushort* characters, uint characterCount) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), characters, characterCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult EnqueueGlyphDownloadRequest(ushort* glyphIndices, uint glyphCount) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteFontFaceReference return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontFaceReference*)Unsafe.AsPointer(ref this), glyphIndices, glyphCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult EnqueueFileFragmentDownloadRequest(ulong fileOffset, ulong fragmentSize) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference1.cs index 8307779..6dff5b0 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFaceReference1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFaceReference1 [Guid("c081fe77-2fd1-41ac-a5a3-34983c4ba61a")] [NativeTypeName("struct IDWriteFontFaceReference1 : IDWriteFontFaceReference")] [NativeInheritance("IDWriteFontFaceReference")] -public unsafe partial struct IDWriteFontFaceReference1 +public unsafe partial struct IDWriteFontFaceReference1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFaceReference1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFaceReference1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFaceReference1)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteFontFaceReference1 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this), fileOffset, fragmentSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult CreateFontFace(IDWriteFontFace5** fontFace) @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteFontFaceReference1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this), fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public uint GetFontAxisValueCount() @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteFontFaceReference1 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFontFaceReference1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback.cs index 4390069..2a7bf6c 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFallback [Guid("efa008f9-f7a1-48bf-b05c-f224713cc0ff")] [NativeTypeName("struct IDWriteFontFallback : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFallback +public unsafe partial struct IDWriteFontFallback : INativeGuid { public static ref readonly Guid IID_IDWriteFontFallback { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFallback } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFallback return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult MapCharacters(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteFontCollection* baseFontCollection, ushort* baseFamilyName, FontWeight baseWeight, FontStyle baseStyle, FontStretch baseStretch, uint* mappedLength, IDWriteFont** mappedFont, float* scale) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback1.cs index 91f0849..8404ff5 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallback1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFallback1 [Guid("2397599d-dd0d-4681-bd6a-f4f31eaade77")] [NativeTypeName("struct IDWriteFontFallback1 : IDWriteFontFallback")] [NativeInheritance("IDWriteFontFallback")] -public unsafe partial struct IDWriteFontFallback1 +public unsafe partial struct IDWriteFontFallback1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFallback1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFallback1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallback1)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFallback1 return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFallback1*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, baseFontCollection, baseFamilyName, baseWeight, baseStyle, baseStretch, mappedLength, mappedFont, scale); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult MapCharacters(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteFontCollection* baseFontCollection, ushort* baseFamilyName, FontAxisValue* fontAxisValues, uint fontAxisValueCount, uint* mappedLength, float* scale, IDWriteFontFace5** mappedFontFace) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallbackBuilder.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallbackBuilder.cs index 2fb175f..dc8761e 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallbackBuilder.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFallbackBuilder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFallbackBuilder [Guid("fd882d06-8aba-4fb8-b849-8be8b73e14de")] [NativeTypeName("struct IDWriteFontFallbackBuilder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFallbackBuilder +public unsafe partial struct IDWriteFontFallbackBuilder : INativeGuid { public static ref readonly Guid IID_IDWriteFontFallbackBuilder { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFallbackBuilder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallbackBuilder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFallbackBuilder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFallbackBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AddMapping(UnicodeRange* ranges, uint rangesCount, ushort** targetFamilyNames, uint targetFamilyNamesCount, IDWriteFontCollection* fontCollection, ushort* localeName, ushort* baseFamilyName, float scale) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFallbackBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFallbackBuilder*)Unsafe.AsPointer(ref this), ranges, rangesCount, targetFamilyNames, targetFamilyNamesCount, fontCollection, localeName, baseFamilyName, scale); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult AddMappings(IDWriteFontFallback* fontFallback) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontFallbackBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFallbackBuilder*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateFontFallback(IDWriteFontFallback** fontFallback) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily.cs index 1cebded..adf729d 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFamily [Guid("da20d8ef-812a-4c43-9802-62ec4abd7add")] [NativeTypeName("struct IDWriteFontFamily : IDWriteFontList")] [NativeInheritance("IDWriteFontList")] -public unsafe partial struct IDWriteFontFamily +public unsafe partial struct IDWriteFontFamily : INativeGuid { public static ref readonly Guid IID_IDWriteFontFamily { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFamily } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontFamily return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), index, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetFamilyNames(IDWriteLocalizedStrings** names) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontFamily return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetFirstMatchingFont(FontWeight weight, FontStretch stretch, FontStyle style, IDWriteFont** matchingFont) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontFamily return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontFamily*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFont); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetMatchingFonts(FontWeight weight, FontStretch stretch, FontStyle style, IDWriteFontList** matchingFonts) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily1.cs index 6e95eba..b6df9b1 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFamily1 [Guid("da20d8ef-812a-4c43-9802-62ec4abd7adf")] [NativeTypeName("struct IDWriteFontFamily1 : IDWriteFontFamily")] [NativeInheritance("IDWriteFontFamily")] -public unsafe partial struct IDWriteFontFamily1 +public unsafe partial struct IDWriteFontFamily1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFamily1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFamily1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily1)); +#endif public void** lpVtbl; @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontFamily1 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this), weight, stretch, style, matchingFonts); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public Locality GetFontLocality(uint listIndex) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontFamily1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this), listIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetFont(uint listIndex, IDWriteFont3** font) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontFamily1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontFamily1*)Unsafe.AsPointer(ref this), listIndex, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetFontFaceReference(uint listIndex, IDWriteFontFaceReference** fontFaceReference) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily2.cs index 74dc4e8..a4f8a60 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFamily2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFamily2 [Guid("3ed49e77-a398-4261-b9cf-c126c2131ef3")] [NativeTypeName("struct IDWriteFontFamily2 : IDWriteFontFamily1")] [NativeInheritance("IDWriteFontFamily1")] -public unsafe partial struct IDWriteFontFamily2 +public unsafe partial struct IDWriteFontFamily2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontFamily2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFamily2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFamily2)); +#endif public void** lpVtbl; @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontFamily2 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this), listIndex, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetMatchingFonts(FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontList2** matchingFonts) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontFamily2 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontFamily2*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount, matchingFonts); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetFontSet(IDWriteFontSet1** fontSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFile.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFile.cs index 463844c..0b832f5 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFile.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFile.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFile [Guid("739d886a-cef5-47dc-8769-1a8b41bebbb0")] [NativeTypeName("struct IDWriteFontFile : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFile +public unsafe partial struct IDWriteFontFile : INativeGuid { public static ref readonly Guid IID_IDWriteFontFile { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFile } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFile)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFile)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFile return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetReferenceKey(void** fontFileReferenceKey, uint* fontFileReferenceKeySize) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFile return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFile*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetLoader(IDWriteFontFileLoader** fontFileLoader) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontFile return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFile*)Unsafe.AsPointer(ref this), fontFileLoader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult Analyze(Bool32* isSupportedFontType, FontFileType* fontFileType, FontFaceType* fontFaceType, uint* numberOfFaces) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileEnumerator.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileEnumerator.cs index a52d885..9dfe303 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileEnumerator.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileEnumerator.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFileEnumerator [Guid("72755049-5ff7-435d-8348-4be97cfa6c7c")] [NativeTypeName("struct IDWriteFontFileEnumerator : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFileEnumerator +public unsafe partial struct IDWriteFontFileEnumerator : INativeGuid { public static ref readonly Guid IID_IDWriteFontFileEnumerator { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFileEnumerator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileEnumerator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileEnumerator)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFileEnumerator return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult MoveNext(Bool32* hasCurrentFile) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFileEnumerator return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFileEnumerator*)Unsafe.AsPointer(ref this), hasCurrentFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCurrentFontFile(IDWriteFontFile** fontFile) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileLoader.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileLoader.cs index f14f36f..b4a2fad 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileLoader.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileLoader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFileLoader [Guid("727cad4e-d6af-4c9e-8a08-d695b11caa49")] [NativeTypeName("struct IDWriteFontFileLoader : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFileLoader +public unsafe partial struct IDWriteFontFileLoader : INativeGuid { public static ref readonly Guid IID_IDWriteFontFileLoader { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFileLoader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileLoader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileLoader)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateStreamFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, IDWriteFontFileStream** fontFileStream) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileStream.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileStream.cs index fccd4e0..ab692a6 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileStream.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontFileStream.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontFileStream [Guid("6d4865fe-0ab8-4d91-8f62-5dd6be34a3e0")] [NativeTypeName("struct IDWriteFontFileStream : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontFileStream +public unsafe partial struct IDWriteFontFileStream : INativeGuid { public static ref readonly Guid IID_IDWriteFontFileStream { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontFileStream } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileStream)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontFileStream)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult ReadFileFragment(void** fragmentStart, ulong fileOffset, ulong fragmentSize, void** fragmentContext) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontFileStream*)Unsafe.AsPointer(ref this), fragmentStart, fileOffset, fragmentSize, fragmentContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void ReleaseFileFragment(void* fragmentContext) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontFileStream ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontFileStream*)Unsafe.AsPointer(ref this), fragmentContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetFileSize(ulong* fileSize) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontFileStream*)Unsafe.AsPointer(ref this), fileSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetLastWriteTime(ulong* lastWriteTime) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList.cs index 55c62ae..a335d09 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontList [Guid("1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb")] [NativeTypeName("struct IDWriteFontList : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontList +public unsafe partial struct IDWriteFontList : INativeGuid { public static ref readonly Guid IID_IDWriteFontList { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontList return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetFontCollection(IDWriteFontCollection** fontCollection) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontList return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontList*)Unsafe.AsPointer(ref this), fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetFontCount() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontList return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontList*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetFont(uint index, IDWriteFont** font) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList1.cs index 7cf0fbe..fafa2b7 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontList1 [Guid("da20d8ef-812a-4c43-9802-62ec4abd7ade")] [NativeTypeName("struct IDWriteFontList1 : IDWriteFontList")] [NativeInheritance("IDWriteFontList")] -public unsafe partial struct IDWriteFontList1 +public unsafe partial struct IDWriteFontList1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontList1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontList1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList1)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontList1 return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontList1*)Unsafe.AsPointer(ref this), index, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public Locality GetFontLocality(uint listIndex) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontList1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontList1*)Unsafe.AsPointer(ref this), listIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetFont(uint listIndex, IDWriteFont3** font) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontList1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontList1*)Unsafe.AsPointer(ref this), listIndex, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFontFaceReference(uint listIndex, IDWriteFontFaceReference** fontFaceReference) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList2.cs index 1dbe763..1adcb71 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontList2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontList2 [Guid("c0763a34-77af-445a-b735-08c37b0a5bf5")] [NativeTypeName("struct IDWriteFontList2 : IDWriteFontList1")] [NativeInheritance("IDWriteFontList1")] -public unsafe partial struct IDWriteFontList2 +public unsafe partial struct IDWriteFontList2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontList2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontList2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontList2)); +#endif public void** lpVtbl; @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontList2 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontList2*)Unsafe.AsPointer(ref this), listIndex, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetFontSet(IDWriteFontSet1** fontSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontResource.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontResource.cs index 0b7433c..78b688c 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontResource.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontResource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontResource [Guid("1f803a76-6871-48e8-987f-b975551c50f2")] [NativeTypeName("struct IDWriteFontResource : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontResource +public unsafe partial struct IDWriteFontResource : INativeGuid { public static ref readonly Guid IID_IDWriteFontResource { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontResource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontResource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontResource)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetFontFile(IDWriteFontFile** fontFile) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetFontFaceIndex() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontResource*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public uint GetFontAxisCount() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontResource*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetDefaultFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetFontAxisRanges(FontAxisRange* fontAxisRanges, uint fontAxisRangeCount) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), fontAxisRanges, fontAxisRangeCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public FontAxisAttributes GetFontAxisAttributes(uint axisIndex) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetAxisNames(uint axisIndex, IDWriteLocalizedStrings** names) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex, names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public uint GetAxisValueNameCount(uint axisIndex) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetAxisValueNames(uint axisIndex, uint axisValueIndex, FontAxisRange* fontAxisRange, IDWriteLocalizedStrings** names) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), axisIndex, axisValueIndex, fontAxisRange, names); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public Bool32 HasVariations() @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontResource*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateFontFace(FontSimulations fontSimulations, FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontFace5** fontFace) @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFontResource return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFontResource*)Unsafe.AsPointer(ref this), fontSimulations, fontAxisValues, fontAxisValueCount, fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreateFontFaceReference(FontSimulations fontSimulations, FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontFaceReference1** fontFaceReference) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet.cs index fcad501..d73cccd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSet [Guid("53585141-d9f8-4095-8321-d73cf6bd116b")] [NativeTypeName("struct IDWriteFontSet : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontSet +public unsafe partial struct IDWriteFontSet : INativeGuid { public static ref readonly Guid IID_IDWriteFontSet { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSet } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetFontCount() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontSet*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFontFaceReference(uint listIndex, IDWriteFontFaceReference** fontFaceReference) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), listIndex, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult FindFontFaceReference(IDWriteFontFaceReference* fontFaceReference, uint* listIndex, Bool32* exists) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), fontFaceReference, listIndex, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult FindFontFace(IDWriteFontFace* fontFace, uint* listIndex, Bool32* exists) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), fontFace, listIndex, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetPropertyValues(FontPropertyId propertyID, IDWriteStringList** values) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), propertyID, values); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetPropertyValues(FontPropertyId propertyID, ushort* preferredLocaleNames, IDWriteStringList** values) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), propertyID, preferredLocaleNames, values); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetPropertyValues(uint listIndex, FontPropertyId propertyId, Bool32* exists, IDWriteLocalizedStrings** values) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), listIndex, propertyId, exists, values); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetPropertyOccurrenceCount(FontProperty* property, uint* propertyOccurrenceCount) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), property, propertyOccurrenceCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetMatchingFonts(ushort* familyName, FontWeight fontWeight, FontStretch fontStretch, FontStyle fontStyle, IDWriteFontSet** filteredSet) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteFontSet return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteFontSet*)Unsafe.AsPointer(ref this), familyName, fontWeight, fontStretch, fontStyle, filteredSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetMatchingFonts(FontProperty* properties, uint propertyCount, IDWriteFontSet** filteredSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet1.cs index 78d8739..8cc3740 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSet1 [Guid("7e9fda85-6c92-4053-bc47-7ae3530db4d3")] [NativeTypeName("struct IDWriteFontSet1 : IDWriteFontSet")] [NativeInheritance("IDWriteFontSet")] -public unsafe partial struct IDWriteFontSet1 +public unsafe partial struct IDWriteFontSet1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontSet1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSet1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet1)); +#endif public void** lpVtbl; @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), properties, propertyCount, filteredSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetMatchingFonts(FontProperty* fontProperty, FontAxisValue* fontAxisValues, uint fontAxisValueCount, IDWriteFontSet1** matchingFonts) @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), fontProperty, fontAxisValues, fontAxisValueCount, matchingFonts); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetFirstFontResources(IDWriteFontSet1** filteredFontSet) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), filteredFontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetFilteredFonts(uint* indices, uint indexCount, IDWriteFontSet1** filteredFontSet) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), indices, indexCount, filteredFontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetFilteredFonts(FontAxisRange* fontAxisRanges, uint fontAxisRangeCount, Bool32 selectAnyRange, IDWriteFontSet1** filteredFontSet) @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), fontAxisRanges, fontAxisRangeCount, selectAnyRange, filteredFontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetFilteredFonts(FontProperty* properties, uint propertyCount, Bool32 selectAnyProperty, IDWriteFontSet1** filteredFontSet) @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), properties, propertyCount, selectAnyProperty, filteredFontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetFilteredFontIndices(FontAxisRange* fontAxisRanges, uint fontAxisRangeCount, Bool32 selectAnyRange, uint* indices, uint maxIndexCount, uint* actualIndexCount) @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), fontAxisRanges, fontAxisRangeCount, selectAnyRange, indices, maxIndexCount, actualIndexCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetFilteredFontIndices(FontProperty* properties, uint propertyCount, Bool32 selectAnyProperty, uint* indices, uint maxIndexCount, uint* actualIndexCount) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), properties, propertyCount, selectAnyProperty, indices, maxIndexCount, actualIndexCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult GetFontAxisRanges(uint listIndex, FontAxisRange* fontAxisRanges, uint maxFontAxisRangeCount, uint* actualFontAxisRangeCount) @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex, fontAxisRanges, maxFontAxisRangeCount, actualFontAxisRangeCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetFontAxisRanges(FontAxisRange* fontAxisRanges, uint maxFontAxisRangeCount, uint* actualFontAxisRangeCount) @@ -222,7 +226,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), fontAxisRanges, maxFontAxisRangeCount, actualFontAxisRangeCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult GetFontFaceReference(uint listIndex, IDWriteFontFaceReference1** fontFaceReference) @@ -230,7 +234,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex, fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult CreateFontResource(uint listIndex, IDWriteFontResource** fontResource) @@ -238,7 +242,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex, fontResource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CreateFontFace(uint listIndex, IDWriteFontFace5** fontFace) @@ -246,7 +250,7 @@ public unsafe partial struct IDWriteFontSet1 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteFontSet1*)Unsafe.AsPointer(ref this), listIndex, fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public Locality GetFontLocality(uint listIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet2.cs index 578d136..7267385 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSet2 [Guid("dc7ead19-e54c-43af-b2da-4e2b79ba3f7f")] [NativeTypeName("struct IDWriteFontSet2 : IDWriteFontSet1")] [NativeInheritance("IDWriteFontSet1")] -public unsafe partial struct IDWriteFontSet2 +public unsafe partial struct IDWriteFontSet2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontSet2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSet2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet2)); +#endif public void** lpVtbl; @@ -254,7 +258,7 @@ public unsafe partial struct IDWriteFontSet2 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteFontSet2*)Unsafe.AsPointer(ref this), listIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public Handle GetExpirationEvent() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet3.cs index dfd4c1a..45cb756 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSet3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSet3 [Guid("7c073ef2-a7f4-4045-8c32-8ab8ae640f90")] [NativeTypeName("struct IDWriteFontSet3 : IDWriteFontSet2")] [NativeInheritance("IDWriteFontSet2")] -public unsafe partial struct IDWriteFontSet3 +public unsafe partial struct IDWriteFontSet3 : INativeGuid { public static ref readonly Guid IID_IDWriteFontSet3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSet3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSet3)); +#endif public void** lpVtbl; @@ -262,7 +266,7 @@ public unsafe partial struct IDWriteFontSet3 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public FontSourceType GetFontSourceType(uint fontIndex) @@ -270,7 +274,7 @@ public unsafe partial struct IDWriteFontSet3 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), fontIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public uint GetFontSourceNameLength(uint listIndex) @@ -278,7 +282,7 @@ public unsafe partial struct IDWriteFontSet3 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDWriteFontSet3*)Unsafe.AsPointer(ref this), listIndex); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult GetFontSourceName(uint listIndex, ushort* stringBuffer, uint stringBufferSize) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder.cs index 60c7c2f..4a166f2 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSetBuilder [Guid("2f642afe-9c68-4f40-b8be-457401afcb3d")] [NativeTypeName("struct IDWriteFontSetBuilder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteFontSetBuilder +public unsafe partial struct IDWriteFontSetBuilder : INativeGuid { public static ref readonly Guid IID_IDWriteFontSetBuilder { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSetBuilder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteFontSetBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AddFontFaceReference(IDWriteFontFaceReference* fontFaceReference, FontProperty* properties, uint propertyCount) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteFontSetBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteFontSetBuilder*)Unsafe.AsPointer(ref this), fontFaceReference, properties, propertyCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult AddFontFaceReference(IDWriteFontFaceReference* fontFaceReference) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteFontSetBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteFontSetBuilder*)Unsafe.AsPointer(ref this), fontFaceReference); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult AddFontSet(IDWriteFontSet* fontSet) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteFontSetBuilder return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteFontSetBuilder*)Unsafe.AsPointer(ref this), fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateFontSet(IDWriteFontSet** fontSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder1.cs index 5e9e23b..72dc0c3 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSetBuilder1 [Guid("3ff7715f-3cdc-4dc6-9b72-ec5621dccafd")] [NativeTypeName("struct IDWriteFontSetBuilder1 : IDWriteFontSetBuilder")] [NativeInheritance("IDWriteFontSetBuilder")] -public unsafe partial struct IDWriteFontSetBuilder1 +public unsafe partial struct IDWriteFontSetBuilder1 : INativeGuid { public static ref readonly Guid IID_IDWriteFontSetBuilder1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSetBuilder1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder1)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteFontSetBuilder1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteFontSetBuilder1*)Unsafe.AsPointer(ref this), fontSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult AddFontFile(IDWriteFontFile* fontFile) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder2.cs index 9e131bc..b30d5bd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteFontSetBuilder2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteFontSetBuilder2 [Guid("ee5ba612-b131-463c-8f4f-3189b9401e45")] [NativeTypeName("struct IDWriteFontSetBuilder2 : IDWriteFontSetBuilder1")] [NativeInheritance("IDWriteFontSetBuilder1")] -public unsafe partial struct IDWriteFontSetBuilder2 +public unsafe partial struct IDWriteFontSetBuilder2 : INativeGuid { public static ref readonly Guid IID_IDWriteFontSetBuilder2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteFontSetBuilder2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteFontSetBuilder2)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteFontSetBuilder2 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteFontSetBuilder2*)Unsafe.AsPointer(ref this), fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult AddFont(IDWriteFontFile* fontFile, uint fontFaceIndex, FontSimulations fontSimulations, FontAxisValue* fontAxisValues, uint fontAxisValueCount, FontAxisRange* fontAxisRanges, uint fontAxisRangeCount, FontProperty* properties, uint propertyCount) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteFontSetBuilder2 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteFontSetBuilder2*)Unsafe.AsPointer(ref this), fontFile, fontFaceIndex, fontSimulations, fontAxisValues, fontAxisValueCount, fontAxisRanges, fontAxisRangeCount, properties, propertyCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult AddFontFile(ushort* filePath) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop.cs index ca01ae2..c6a854b 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteGdiInterop [Guid("1edd9491-9853-4299-898f-6432983b6f3a")] [NativeTypeName("struct IDWriteGdiInterop : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteGdiInterop +public unsafe partial struct IDWriteGdiInterop : INativeGuid { public static ref readonly Guid IID_IDWriteGdiInterop { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteGdiInterop } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteGdiInterop return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateFontFromLOGFONT(Win32.Graphics.Gdi.LogFontW* logFont, IDWriteFont** font) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteGdiInterop return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteGdiInterop*)Unsafe.AsPointer(ref this), logFont, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult ConvertFontToLOGFONT(IDWriteFont* font, Win32.Graphics.Gdi.LogFontW** logFont, Bool32* isSystemFont) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteGdiInterop return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteGdiInterop*)Unsafe.AsPointer(ref this), font, logFont, isSystemFont); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult ConvertFontFaceToLOGFONT(IDWriteFontFace* font, Win32.Graphics.Gdi.LogFontW** logFont) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteGdiInterop return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteGdiInterop*)Unsafe.AsPointer(ref this), font, logFont); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateFontFaceFromHdc(IntPtr hdc, IDWriteFontFace** fontFace) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteGdiInterop return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteGdiInterop*)Unsafe.AsPointer(ref this), hdc, fontFace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateBitmapRenderTarget(IntPtr hdc, uint width, uint height, IDWriteBitmapRenderTarget** renderTarget) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop1.cs index d7f985d..7eb4220 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGdiInterop1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteGdiInterop1 [Guid("4556be70-3abd-4f70-90be-421780a6f515")] [NativeTypeName("struct IDWriteGdiInterop1 : IDWriteGdiInterop")] [NativeInheritance("IDWriteGdiInterop")] -public unsafe partial struct IDWriteGdiInterop1 +public unsafe partial struct IDWriteGdiInterop1 : INativeGuid { public static ref readonly Guid IID_IDWriteGdiInterop1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteGdiInterop1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGdiInterop1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteGdiInterop1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteGdiInterop1*)Unsafe.AsPointer(ref this), hdc, width, height, renderTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateFontFromLOGFONT(Win32.Graphics.Gdi.LogFontW* logFont, IDWriteFontCollection* fontCollection, IDWriteFont** font) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteGdiInterop1 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteGdiInterop1*)Unsafe.AsPointer(ref this), logFont, fontCollection, font); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetFontSignature(IDWriteFontFace* fontFace, Win32.Graphics.Gdi.FontSignature** fontSignature) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteGdiInterop1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteGdiInterop1*)Unsafe.AsPointer(ref this), fontFace, fontSignature); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetFontSignature(IDWriteFont* font, Win32.Graphics.Gdi.FontSignature** fontSignature) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteGdiInterop1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteGdiInterop1*)Unsafe.AsPointer(ref this), font, fontSignature); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetMatchingFontsByLOGFONT(Win32.Graphics.Gdi.LogFontA* logFont, IDWriteFontSet* fontSet, IDWriteFontSet** filteredSet) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGlyphRunAnalysis.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGlyphRunAnalysis.cs index 9dfa02c..3da710c 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGlyphRunAnalysis.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteGlyphRunAnalysis.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteGlyphRunAnalysis [Guid("7d97dbf7-e085-42d4-81e3-6a883bded118")] [NativeTypeName("struct IDWriteGlyphRunAnalysis : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteGlyphRunAnalysis +public unsafe partial struct IDWriteGlyphRunAnalysis : INativeGuid { public static ref readonly Guid IID_IDWriteGlyphRunAnalysis { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteGlyphRunAnalysis } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGlyphRunAnalysis)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteGlyphRunAnalysis)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteGlyphRunAnalysis return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetAlphaTextureBounds(TextureType textureType, RawRect* textureBounds) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteGlyphRunAnalysis return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteGlyphRunAnalysis*)Unsafe.AsPointer(ref this), textureType, textureBounds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateAlphaTexture(TextureType textureType, RawRect* textureBounds, byte* alphaValues, uint bufferSize) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteGlyphRunAnalysis return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteGlyphRunAnalysis*)Unsafe.AsPointer(ref this), textureType, textureBounds, alphaValues, bufferSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetAlphaBlendParams(IDWriteRenderingParams* renderingParams, float* blendGamma, float* blendEnhancedContrast, float* blendClearTypeLevel) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInMemoryFontFileLoader.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInMemoryFontFileLoader.cs index d99095c..9e8692d 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInMemoryFontFileLoader.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInMemoryFontFileLoader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteInMemoryFontFileLoader [Guid("dc102f47-a12d-4b1c-822d-9e117e33043f")] [NativeTypeName("struct IDWriteInMemoryFontFileLoader : IDWriteFontFileLoader")] [NativeInheritance("IDWriteFontFileLoader")] -public unsafe partial struct IDWriteInMemoryFontFileLoader +public unsafe partial struct IDWriteInMemoryFontFileLoader : INativeGuid { public static ref readonly Guid IID_IDWriteInMemoryFontFileLoader { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteInMemoryFontFileLoader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInMemoryFontFileLoader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInMemoryFontFileLoader)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteInMemoryFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteInMemoryFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, fontFileStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateInMemoryFontFileReference(IDWriteFactory* factory, void* fontData, uint fontDataSize, IUnknown* ownerObject, IDWriteFontFile** fontFile) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteInMemoryFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteInMemoryFontFileLoader*)Unsafe.AsPointer(ref this), factory, fontData, fontDataSize, ownerObject, fontFile); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public uint GetFileCount() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInlineObject.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInlineObject.cs index 022aba4..95478dd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInlineObject.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteInlineObject.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteInlineObject [Guid("8339fde3-106f-47ab-8373-1c6295eb10b3")] [NativeTypeName("struct IDWriteInlineObject : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteInlineObject +public unsafe partial struct IDWriteInlineObject : INativeGuid { public static ref readonly Guid IID_IDWriteInlineObject { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteInlineObject } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInlineObject)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteInlineObject)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteInlineObject return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Draw(void* clientDrawingContext, IDWriteTextRenderer* renderer, float originX, float originY, Bool32 isSideways, Bool32 isRightToLeft, IUnknown* clientDrawingEffect) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteInlineObject return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), clientDrawingContext, renderer, originX, originY, isSideways, isRightToLeft, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetMetrics(InlineObjectMetrics* metrics) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteInlineObject return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), metrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetOverhangMetrics(OverhangMetrics* overhangs) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteInlineObject return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteInlineObject*)Unsafe.AsPointer(ref this), overhangs); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetBreakConditions(BreakCondition* breakConditionBefore, BreakCondition* breakConditionAfter) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalFontFileLoader.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalFontFileLoader.cs index 683786a..e9fd13b 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalFontFileLoader.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalFontFileLoader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteLocalFontFileLoader [Guid("b2d9f3ec-c9fe-4a11-a2ec-d86208f7c0a2")] [NativeTypeName("struct IDWriteLocalFontFileLoader : IDWriteFontFileLoader")] [NativeInheritance("IDWriteFontFileLoader")] -public unsafe partial struct IDWriteLocalFontFileLoader +public unsafe partial struct IDWriteLocalFontFileLoader : INativeGuid { public static ref readonly Guid IID_IDWriteLocalFontFileLoader { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteLocalFontFileLoader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalFontFileLoader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalFontFileLoader)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteLocalFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteLocalFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, fontFileStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFilePathLengthFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, uint* filePathLength) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteLocalFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteLocalFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, filePathLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetFilePathFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, ushort* filePath, uint filePathSize) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteLocalFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteLocalFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, filePath, filePathSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetLastWriteTimeFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, ulong* lastWriteTime) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalizedStrings.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalizedStrings.cs index 967b4b1..8b8d270 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalizedStrings.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteLocalizedStrings.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteLocalizedStrings [Guid("08256209-099a-4b34-b86d-c22b110e7771")] [NativeTypeName("struct IDWriteLocalizedStrings : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteLocalizedStrings +public unsafe partial struct IDWriteLocalizedStrings : INativeGuid { public static ref readonly Guid IID_IDWriteLocalizedStrings { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteLocalizedStrings } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalizedStrings)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteLocalizedStrings)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetCount() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteLocalizedStrings*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult FindLocaleName(ushort* localeName, uint* index, Bool32* exists) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteLocalizedStrings*)Unsafe.AsPointer(ref this), localeName, index, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetLocaleNameLength(uint index, uint* length) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteLocalizedStrings*)Unsafe.AsPointer(ref this), index, length); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetLocaleName(uint index, ushort* localeName, uint size) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteLocalizedStrings*)Unsafe.AsPointer(ref this), index, localeName, size); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetStringLength(uint index, uint* length) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteLocalizedStrings return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteLocalizedStrings*)Unsafe.AsPointer(ref this), index, length); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetString(uint index, ushort* stringBuffer, uint size) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteNumberSubstitution.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteNumberSubstitution.cs index 0b531c7..1d3550f 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteNumberSubstitution.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteNumberSubstitution.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteNumberSubstitution [Guid("14885cc9-bab0-4f90-b6ed-5c366a2cd03d")] [NativeTypeName("struct IDWriteNumberSubstitution : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteNumberSubstitution +public unsafe partial struct IDWriteNumberSubstitution : INativeGuid { public static ref readonly Guid IID_IDWriteNumberSubstitution { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteNumberSubstitution } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteNumberSubstitution)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteNumberSubstitution)); +#endif public void** lpVtbl; diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWritePixelSnapping.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWritePixelSnapping.cs index 0ea49da..fa59bcd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWritePixelSnapping.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWritePixelSnapping.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWritePixelSnapping [Guid("eaf3a2da-ecf4-4d24-b644-b34f6842024b")] [NativeTypeName("struct IDWritePixelSnapping : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWritePixelSnapping +public unsafe partial struct IDWritePixelSnapping : INativeGuid { public static ref readonly Guid IID_IDWritePixelSnapping { @@ -40,7 +40,11 @@ public unsafe partial struct IDWritePixelSnapping } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWritePixelSnapping)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWritePixelSnapping)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWritePixelSnapping return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult IsPixelSnappingDisabled(void* clientDrawingContext, Bool32* isDisabled) @@ -78,7 +82,7 @@ public unsafe partial struct IDWritePixelSnapping return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWritePixelSnapping*)Unsafe.AsPointer(ref this), clientDrawingContext, isDisabled); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCurrentTransform(void* clientDrawingContext, Matrix3x2* transform) @@ -86,7 +90,7 @@ public unsafe partial struct IDWritePixelSnapping return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWritePixelSnapping*)Unsafe.AsPointer(ref this), clientDrawingContext, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetPixelsPerDip(void* clientDrawingContext, float* pixelsPerDip) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileLoader.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileLoader.cs index 3fd75d6..4273cdd 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileLoader.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileLoader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRemoteFontFileLoader [Guid("68648c83-6ede-46c0-ab46-20083a887fde")] [NativeTypeName("struct IDWriteRemoteFontFileLoader : IDWriteFontFileLoader")] [NativeInheritance("IDWriteFontFileLoader")] -public unsafe partial struct IDWriteRemoteFontFileLoader +public unsafe partial struct IDWriteRemoteFontFileLoader : INativeGuid { public static ref readonly Guid IID_IDWriteRemoteFontFileLoader { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRemoteFontFileLoader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileLoader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileLoader)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteRemoteFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteRemoteFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, fontFileStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateRemoteStreamFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, IDWriteRemoteFontFileStream** fontFileStream) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteRemoteFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteRemoteFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, fontFileStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetLocalityFromKey(void* fontFileReferenceKey, uint fontFileReferenceKeySize, Locality* locality) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteRemoteFontFileLoader return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteRemoteFontFileLoader*)Unsafe.AsPointer(ref this), fontFileReferenceKey, fontFileReferenceKeySize, locality); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateFontFileReferenceFromUrl(IDWriteFactory* factory, ushort* baseUrl, ushort* fontFileUrl, IDWriteFontFile** fontFile) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileStream.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileStream.cs index f56c061..76d17be 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileStream.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRemoteFontFileStream.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRemoteFontFileStream [Guid("4db3757a-2c72-4ed9-b2b6-1ababe1aff9c")] [NativeTypeName("struct IDWriteRemoteFontFileStream : IDWriteFontFileStream")] [NativeInheritance("IDWriteFontFileStream")] -public unsafe partial struct IDWriteRemoteFontFileStream +public unsafe partial struct IDWriteRemoteFontFileStream : INativeGuid { public static ref readonly Guid IID_IDWriteRemoteFontFileStream { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRemoteFontFileStream } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileStream)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRemoteFontFileStream)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteRemoteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this), lastWriteTime); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetLocalFileSize(ulong* localFileSize) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteRemoteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this), localFileSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetFileFragmentLocality(ulong fileOffset, ulong fragmentSize, Bool32* isLocal, ulong* partialSize) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteRemoteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this), fileOffset, fragmentSize, isLocal, partialSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public Locality GetLocality() @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteRemoteFontFileStream return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRemoteFontFileStream*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult BeginDownload(Guid* downloadOperationID, FileFragment* fileFragments, uint fragmentCount, IDWriteAsyncResult** asyncResult) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams.cs index 6c953c0..763b920 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRenderingParams [Guid("2f0da53a-2add-47cd-82ee-d9ec34688e75")] [NativeTypeName("struct IDWriteRenderingParams : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteRenderingParams +public unsafe partial struct IDWriteRenderingParams : INativeGuid { public static ref readonly Guid IID_IDWriteRenderingParams { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRenderingParams } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteRenderingParams return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public float GetGamma() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteRenderingParams return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public float GetEnhancedContrast() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteRenderingParams return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public float GetClearTypeLevel() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteRenderingParams return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public PixelGeometry GetPixelGeometry() @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteRenderingParams return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteRenderingParams*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public RenderingMode GetRenderingMode() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams1.cs index b3fafbe..f3529b8 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRenderingParams1 [Guid("94413cf4-a6fc-4248-8b50-6674348fcad3")] [NativeTypeName("struct IDWriteRenderingParams1 : IDWriteRenderingParams")] [NativeInheritance("IDWriteRenderingParams")] -public unsafe partial struct IDWriteRenderingParams1 +public unsafe partial struct IDWriteRenderingParams1 : INativeGuid { public static ref readonly Guid IID_IDWriteRenderingParams1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRenderingParams1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteRenderingParams1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteRenderingParams1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public float GetGrayscaleEnhancedContrast() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams2.cs index 03023e7..37f9af3 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRenderingParams2 [Guid("f9d711c3-9777-40ae-87e8-3e5af9bf0948")] [NativeTypeName("struct IDWriteRenderingParams2 : IDWriteRenderingParams1")] [NativeInheritance("IDWriteRenderingParams1")] -public unsafe partial struct IDWriteRenderingParams2 +public unsafe partial struct IDWriteRenderingParams2 : INativeGuid { public static ref readonly Guid IID_IDWriteRenderingParams2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRenderingParams2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams2)); +#endif public void** lpVtbl; @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteRenderingParams2 return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteRenderingParams2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public GridFitMode GetGridFitMode() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams3.cs index 948297d..7a7b76d 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteRenderingParams3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteRenderingParams3 [Guid("b7924baa-391b-412a-8c5c-e44cc2d867dc")] [NativeTypeName("struct IDWriteRenderingParams3 : IDWriteRenderingParams2")] [NativeInheritance("IDWriteRenderingParams2")] -public unsafe partial struct IDWriteRenderingParams3 +public unsafe partial struct IDWriteRenderingParams3 : INativeGuid { public static ref readonly Guid IID_IDWriteRenderingParams3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteRenderingParams3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteRenderingParams3)); +#endif public void** lpVtbl; @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteRenderingParams3 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteRenderingParams3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public RenderingMode1 GetRenderingMode1() diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteStringList.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteStringList.cs index cac50ad..24da76b 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteStringList.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteStringList.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteStringList [Guid("cfee3140-1157-47ca-8b85-31bfcf3f2d0e")] [NativeTypeName("struct IDWriteStringList : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteStringList +public unsafe partial struct IDWriteStringList : INativeGuid { public static ref readonly Guid IID_IDWriteStringList { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteStringList } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteStringList)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteStringList)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteStringList return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public uint GetCount() @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteStringList return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteStringList*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetLocaleNameLength(uint listIndex, uint* length) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteStringList return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteStringList*)Unsafe.AsPointer(ref this), listIndex, length); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetLocaleName(uint listIndex, ushort* localeName, uint size) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteStringList return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteStringList*)Unsafe.AsPointer(ref this), listIndex, localeName, size); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetStringLength(uint listIndex, uint* length) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteStringList return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteStringList*)Unsafe.AsPointer(ref this), listIndex, length); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetString(uint listIndex, ushort* stringBuffer, uint stringBufferSize) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink.cs index 15e4d16..453003f 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalysisSink [Guid("5810cd44-0ca0-4701-b3fa-bec5182ae4f6")] [NativeTypeName("struct IDWriteTextAnalysisSink : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteTextAnalysisSink +public unsafe partial struct IDWriteTextAnalysisSink : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalysisSink { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalysisSink } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteTextAnalysisSink return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetScriptAnalysis(uint textPosition, uint textLength, ScriptAnalysis* scriptAnalysis) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteTextAnalysisSink return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteTextAnalysisSink*)Unsafe.AsPointer(ref this), textPosition, textLength, scriptAnalysis); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetLineBreakpoints(uint textPosition, uint textLength, LineBreakpoint* lineBreakpoints) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteTextAnalysisSink return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextAnalysisSink*)Unsafe.AsPointer(ref this), textPosition, textLength, lineBreakpoints); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetBidiLevel(uint textPosition, uint textLength, byte explicitLevel, byte resolvedLevel) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteTextAnalysisSink return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSink*)Unsafe.AsPointer(ref this), textPosition, textLength, explicitLevel, resolvedLevel); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetNumberSubstitution(uint textPosition, uint textLength, IDWriteNumberSubstitution* numberSubstitution) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink1.cs index 94f4a02..f378ecc 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSink1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalysisSink1 [Guid("b0d941a0-85e7-4d8b-9fd3-5ced9934482a")] [NativeTypeName("struct IDWriteTextAnalysisSink1 : IDWriteTextAnalysisSink")] [NativeInheritance("IDWriteTextAnalysisSink")] -public unsafe partial struct IDWriteTextAnalysisSink1 +public unsafe partial struct IDWriteTextAnalysisSink1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalysisSink1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalysisSink1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSink1)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteTextAnalysisSink1 return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextAnalysisSink1*)Unsafe.AsPointer(ref this), textPosition, textLength, numberSubstitution); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetGlyphOrientation(uint textPosition, uint textLength, GlyphOrientationAngle glyphOrientationAngle, byte adjustedBidiLevel, Bool32 isSideways, Bool32 isRightToLeft) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource.cs index 891ce7c..15fbe02 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalysisSource [Guid("688e1a58-5094-47c8-adc8-fbcea60ae92b")] [NativeTypeName("struct IDWriteTextAnalysisSource : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteTextAnalysisSource +public unsafe partial struct IDWriteTextAnalysisSource : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalysisSource { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalysisSource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteTextAnalysisSource return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetTextAtPosition(uint textPosition, ushort** textString, uint* textLength) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteTextAnalysisSource return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this), textPosition, textString, textLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetTextBeforePosition(uint textPosition, ushort** textString, uint* textLength) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteTextAnalysisSource return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this), textPosition, textString, textLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public ReadingDirection GetParagraphReadingDirection() @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteTextAnalysisSource return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetLocaleName(uint textPosition, uint* textLength, ushort** localeName) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteTextAnalysisSource return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextAnalysisSource*)Unsafe.AsPointer(ref this), textPosition, textLength, localeName); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetNumberSubstitution(uint textPosition, uint* textLength, IDWriteNumberSubstitution** numberSubstitution) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource1.cs index cde3034..a1c4cee 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalysisSource1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalysisSource1 [Guid("639cfad8-0fb4-4b21-a58a-067920120009")] [NativeTypeName("struct IDWriteTextAnalysisSource1 : IDWriteTextAnalysisSource")] [NativeInheritance("IDWriteTextAnalysisSource")] -public unsafe partial struct IDWriteTextAnalysisSource1 +public unsafe partial struct IDWriteTextAnalysisSource1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalysisSource1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalysisSource1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalysisSource1)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteTextAnalysisSource1 return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteTextAnalysisSource1*)Unsafe.AsPointer(ref this), textPosition, textLength, numberSubstitution); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetVerticalGlyphOrientation(uint textPosition, uint* textLength, VerticalGlyphOrientation* glyphOrientation, byte* bidiLevel) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer.cs index 1922ca4..7437b85 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalyzer [Guid("b7e6163e-7f46-43b4-84b3-e4e6249c365d")] [NativeTypeName("struct IDWriteTextAnalyzer : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteTextAnalyzer +public unsafe partial struct IDWriteTextAnalyzer : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalyzer { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalyzer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AnalyzeScript(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteTextAnalysisSink* analysisSink) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, analysisSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult AnalyzeBidi(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteTextAnalysisSink* analysisSink) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, analysisSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult AnalyzeNumberSubstitution(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteTextAnalysisSink* analysisSink) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, analysisSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult AnalyzeLineBreakpoints(IDWriteTextAnalysisSource* analysisSource, uint textPosition, uint textLength, IDWriteTextAnalysisSink* analysisSink) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, analysisSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetGlyphs(ushort* textString, uint textLength, IDWriteFontFace* fontFace, Bool32 isSideways, Bool32 isRightToLeft, ScriptAnalysis* scriptAnalysis, ushort* localeName, IDWriteNumberSubstitution* numberSubstitution, TypographicFeatures** features, uint* featureRangeLengths, uint featureRanges, uint maxGlyphCount, ushort* clusterMap, ShapingTextProperties* textProps, ushort* glyphIndices, ShapingGlyphProperties* glyphProps, uint* actualGlyphCount) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), textString, textLength, fontFace, isSideways, isRightToLeft, scriptAnalysis, localeName, numberSubstitution, features, featureRangeLengths, featureRanges, maxGlyphCount, clusterMap, textProps, glyphIndices, glyphProps, actualGlyphCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetGlyphPlacements(ushort* textString, ushort* clusterMap, ShapingTextProperties* textProps, uint textLength, ushort* glyphIndices, ShapingGlyphProperties* glyphProps, uint glyphCount, IDWriteFontFace* fontFace, float fontEmSize, Bool32 isSideways, Bool32 isRightToLeft, ScriptAnalysis* scriptAnalysis, ushort* localeName, TypographicFeatures** features, uint* featureRangeLengths, uint featureRanges, float* glyphAdvances, GlyphOffset* glyphOffsets) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteTextAnalyzer return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteTextAnalyzer*)Unsafe.AsPointer(ref this), textString, clusterMap, textProps, textLength, glyphIndices, glyphProps, glyphCount, fontFace, fontEmSize, isSideways, isRightToLeft, scriptAnalysis, localeName, features, featureRangeLengths, featureRanges, glyphAdvances, glyphOffsets); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetGdiCompatibleGlyphPlacements(ushort* textString, ushort* clusterMap, ShapingTextProperties* textProps, uint textLength, ushort* glyphIndices, ShapingGlyphProperties* glyphProps, uint glyphCount, IDWriteFontFace* fontFace, float fontEmSize, float pixelsPerDip, Matrix3x2* transform, Bool32 useGdiNatural, Bool32 isSideways, Bool32 isRightToLeft, ScriptAnalysis* scriptAnalysis, ushort* localeName, TypographicFeatures** features, uint* featureRangeLengths, uint featureRanges, float* glyphAdvances, GlyphOffset* glyphOffsets) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer1.cs index b51fec5..39ea38e 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalyzer1 [Guid("80dad800-e21f-4e83-96ce-bfcce500db7c")] [NativeTypeName("struct IDWriteTextAnalyzer1 : IDWriteTextAnalyzer")] [NativeInheritance("IDWriteTextAnalyzer")] -public unsafe partial struct IDWriteTextAnalyzer1 +public unsafe partial struct IDWriteTextAnalyzer1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalyzer1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalyzer1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer1)); +#endif public void** lpVtbl; @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), textString, clusterMap, textProps, textLength, glyphIndices, glyphProps, glyphCount, fontFace, fontEmSize, pixelsPerDip, transform, useGdiNatural, isSideways, isRightToLeft, scriptAnalysis, localeName, features, featureRangeLengths, featureRanges, glyphAdvances, glyphOffsets); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult ApplyCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, uint textLength, uint glyphCount, ushort* clusterMap, float* glyphAdvances, GlyphOffset* glyphOffsets, ShapingGlyphProperties* glyphProperties, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textLength, glyphCount, clusterMap, glyphAdvances, glyphOffsets, glyphProperties, modifiedGlyphAdvances, modifiedGlyphOffsets); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetBaseline(IDWriteFontFace* fontFace, Baseline baseline, Bool32 isVertical, Bool32 isSimulationAllowed, ScriptAnalysis* scriptAnalysis, ushort* localeName, int* baselineCoordinate, Bool32* exists) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, baseline, isVertical, isSimulationAllowed, scriptAnalysis, localeName, baselineCoordinate, exists); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult AnalyzeVerticalGlyphOrientation(IDWriteTextAnalysisSource1* analysisSource, uint textPosition, uint textLength, IDWriteTextAnalysisSink1* analysisSink) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), analysisSource, textPosition, textLength, analysisSink); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetGlyphOrientationTransform(GlyphOrientationAngle glyphOrientationAngle, Bool32 isSideways, Matrix3x2* transform) @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), glyphOrientationAngle, isSideways, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetScriptProperties(ScriptAnalysis* scriptAnalysis, ScriptProperties* scriptProperties) @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), scriptAnalysis, scriptProperties); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetTextComplexity(ushort* textString, uint textLength, IDWriteFontFace* fontFace, Bool32* isTextSimple, uint* textLengthRead, ushort* glyphIndices) @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), textString, textLength, fontFace, isTextSimple, textLengthRead, glyphIndices); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetJustificationOpportunities(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, ushort* textString, ushort* clusterMap, ShapingGlyphProperties* glyphProperties, JustificationOpportunity* justificationOpportunities) @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, textString, clusterMap, glyphProperties, justificationOpportunities); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult JustifyGlyphAdvances(float lineWidth, uint glyphCount, JustificationOpportunity* justificationOpportunities, float* glyphAdvances, GlyphOffset* glyphOffsets, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets) @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteTextAnalyzer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteTextAnalyzer1*)Unsafe.AsPointer(ref this), lineWidth, glyphCount, justificationOpportunities, glyphAdvances, glyphOffsets, justifiedGlyphAdvances, justifiedGlyphOffsets); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetJustifiedGlyphs(IDWriteFontFace* fontFace, float fontEmSize, ScriptAnalysis* scriptAnalysis, uint textLength, uint glyphCount, uint maxGlyphCount, ushort* clusterMap, ushort* glyphIndices, float* glyphAdvances, float* justifiedGlyphAdvances, GlyphOffset* justifiedGlyphOffsets, ShapingGlyphProperties* glyphProperties, uint* actualGlyphCount, ushort* modifiedClusterMap, ushort* modifiedGlyphIndices, float* modifiedGlyphAdvances, GlyphOffset* modifiedGlyphOffsets) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer2.cs index 3a299ed..0ab7adf 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextAnalyzer2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextAnalyzer2 [Guid("553a9ff3-5693-4df7-b52b-74806f7f2eb9")] [NativeTypeName("struct IDWriteTextAnalyzer2 : IDWriteTextAnalyzer1")] [NativeInheritance("IDWriteTextAnalyzer1")] -public unsafe partial struct IDWriteTextAnalyzer2 +public unsafe partial struct IDWriteTextAnalyzer2 : INativeGuid { public static ref readonly Guid IID_IDWriteTextAnalyzer2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextAnalyzer2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextAnalyzer2)); +#endif public void** lpVtbl; @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteTextAnalyzer2 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, fontEmSize, scriptAnalysis, textLength, glyphCount, maxGlyphCount, clusterMap, glyphIndices, glyphAdvances, justifiedGlyphAdvances, justifiedGlyphOffsets, glyphProperties, actualGlyphCount, modifiedClusterMap, modifiedGlyphIndices, modifiedGlyphAdvances, modifiedGlyphOffsets); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetGlyphOrientationTransform(GlyphOrientationAngle glyphOrientationAngle, Bool32 isSideways, float originX, float originY, Matrix3x2* transform) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteTextAnalyzer2 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), glyphOrientationAngle, isSideways, originX, originY, transform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult GetTypographicFeatures(IDWriteFontFace* fontFace, ScriptAnalysis* scriptAnalysis, ushort* localeName, uint maxTagCount, uint* actualTagCount, FontFeatureTag* tags) @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteTextAnalyzer2 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteTextAnalyzer2*)Unsafe.AsPointer(ref this), fontFace, scriptAnalysis, localeName, maxTagCount, actualTagCount, tags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult CheckTypographicFeature(IDWriteFontFace* fontFace, ScriptAnalysis* scriptAnalysis, ushort* localeName, FontFeatureTag featureTag, uint glyphCount, ushort* glyphIndices, byte* featureApplies) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat.cs index 118051c..29053fa 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextFormat [Guid("9c906818-31d7-4fd3-a151-7c5e225db55a")] [NativeTypeName("struct IDWriteTextFormat : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteTextFormat +public unsafe partial struct IDWriteTextFormat : INativeGuid { public static ref readonly Guid IID_IDWriteTextFormat { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextFormat } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetTextAlignment(TextAlignment textAlignment) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), textAlignment); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetParagraphAlignment(ParagraphAlignment paragraphAlignment) @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), paragraphAlignment); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetWordWrapping(WordWrapping wordWrapping) @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), wordWrapping); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetReadingDirection(ReadingDirection readingDirection) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), readingDirection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetFlowDirection(FlowDirection flowDirection) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), flowDirection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetIncrementalTabStop(float incrementalTabStop) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), incrementalTabStop); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetTrimming(Trimming* trimmingOptions, IDWriteInlineObject* trimmingSign) @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetLineSpacing(LineSpacingMethod lineSpacingMethod, float lineSpacing, float baseline) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public TextAlignment GetTextAlignment() @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public ParagraphAlignment GetParagraphAlignment() @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public WordWrapping GetWordWrapping() @@ -158,7 +162,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public ReadingDirection GetReadingDirection() @@ -166,7 +170,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public FlowDirection GetFlowDirection() @@ -174,7 +178,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public float GetIncrementalTabStop() @@ -182,7 +186,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetTrimming(Trimming* trimmingOptions, IDWriteInlineObject** trimmingSign) @@ -190,7 +194,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), trimmingOptions, trimmingSign); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetLineSpacing(LineSpacingMethod* lineSpacingMethod, float* lineSpacing, float* baseline) @@ -198,7 +202,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), lineSpacingMethod, lineSpacing, baseline); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetFontCollection(IDWriteFontCollection** fontCollection) @@ -206,7 +210,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontCollection); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public uint GetFontFamilyNameLength() @@ -214,7 +218,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetFontFamilyName(ushort* fontFamilyName, uint nameSize) @@ -222,7 +226,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this), fontFamilyName, nameSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public FontWeight GetFontWeight() @@ -230,7 +234,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public FontStyle GetFontStyle() @@ -238,7 +242,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public FontStretch GetFontStretch() @@ -246,7 +250,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public float GetFontSize() @@ -254,7 +258,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public uint GetLocaleNameLength() @@ -262,7 +266,7 @@ public unsafe partial struct IDWriteTextFormat return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDWriteTextFormat*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult GetLocaleName(ushort* localeName, uint nameSize) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat1.cs index 9456cde..ea288e9 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextFormat1 [Guid("5f174b49-0d8b-4cfb-8bca-f1cce9d06c67")] [NativeTypeName("struct IDWriteTextFormat1 : IDWriteTextFormat")] [NativeInheritance("IDWriteTextFormat")] -public unsafe partial struct IDWriteTextFormat1 +public unsafe partial struct IDWriteTextFormat1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextFormat1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextFormat1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat1)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), localeName, nameSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult SetVerticalGlyphOrientation(VerticalGlyphOrientation glyphOrientation) @@ -278,7 +282,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), glyphOrientation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public VerticalGlyphOrientation GetVerticalGlyphOrientation() @@ -286,7 +290,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult SetLastLineWrapping(Bool32 isLastLineWrappingEnabled) @@ -294,7 +298,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), isLastLineWrappingEnabled); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public Bool32 GetLastLineWrapping() @@ -302,7 +306,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult SetOpticalAlignment(OpticalAlignment opticalAlignment) @@ -310,7 +314,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), opticalAlignment); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public OpticalAlignment GetOpticalAlignment() @@ -318,7 +322,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult SetFontFallback(IDWriteFontFallback* fontFallback) @@ -326,7 +330,7 @@ public unsafe partial struct IDWriteTextFormat1 return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteTextFormat1*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult GetFontFallback(IDWriteFontFallback** fontFallback) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat2.cs index f5b3198..b27bcdc 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextFormat2 [Guid("f67e0edd-9e3d-4ecc-8c32-4183253dfe70")] [NativeTypeName("struct IDWriteTextFormat2 : IDWriteTextFormat1")] [NativeInheritance("IDWriteTextFormat1")] -public unsafe partial struct IDWriteTextFormat2 +public unsafe partial struct IDWriteTextFormat2 : INativeGuid { public static ref readonly Guid IID_IDWriteTextFormat2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextFormat2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat2)); +#endif public void** lpVtbl; @@ -334,7 +338,7 @@ public unsafe partial struct IDWriteTextFormat2 return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public HResult SetLineSpacing(LineSpacing* lineSpacingOptions) @@ -342,7 +346,7 @@ public unsafe partial struct IDWriteTextFormat2 return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDWriteTextFormat2*)Unsafe.AsPointer(ref this), lineSpacingOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public HResult GetLineSpacing(LineSpacing* lineSpacingOptions) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat3.cs index f6a04ad..7d2c760 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextFormat3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextFormat3 [Guid("6d3b5641-e550-430d-a85b-b7bf48a93427")] [NativeTypeName("struct IDWriteTextFormat3 : IDWriteTextFormat2")] [NativeInheritance("IDWriteTextFormat2")] -public unsafe partial struct IDWriteTextFormat3 +public unsafe partial struct IDWriteTextFormat3 : INativeGuid { public static ref readonly Guid IID_IDWriteTextFormat3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextFormat3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextFormat3)); +#endif public void** lpVtbl; @@ -350,7 +354,7 @@ public unsafe partial struct IDWriteTextFormat3 return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), lineSpacingOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public HResult SetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount) @@ -358,7 +362,7 @@ public unsafe partial struct IDWriteTextFormat3 return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public uint GetFontAxisValueCount() @@ -366,7 +370,7 @@ public unsafe partial struct IDWriteTextFormat3 return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult GetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount) @@ -374,7 +378,7 @@ public unsafe partial struct IDWriteTextFormat3 return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public AutomaticFontAxes GetAutomaticFontAxes() @@ -382,7 +386,7 @@ public unsafe partial struct IDWriteTextFormat3 return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteTextFormat3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public HResult SetAutomaticFontAxes(AutomaticFontAxes automaticFontAxes) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout.cs index 79d13a9..eed3a09 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextLayout [Guid("53737037-6d14-410b-9bfe-0b182bb70961")] [NativeTypeName("struct IDWriteTextLayout : IDWriteTextFormat")] [NativeInheritance("IDWriteTextFormat")] -public unsafe partial struct IDWriteTextLayout +public unsafe partial struct IDWriteTextLayout : INativeGuid { public static ref readonly Guid IID_IDWriteTextLayout { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextLayout } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), localeName, nameSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult SetMaxWidth(float maxWidth) @@ -278,7 +282,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), maxWidth); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult SetMaxHeight(float maxHeight) @@ -286,7 +290,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), maxHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult SetFontCollection(IDWriteFontCollection* fontCollection, TextRange* textRange) @@ -294,7 +298,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontCollection, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult SetFontFamilyName(ushort* fontFamilyName, TextRange* textRange) @@ -302,7 +306,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontFamilyName, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult SetFontWeight(FontWeight fontWeight, TextRange* textRange) @@ -310,7 +314,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontWeight, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult SetFontStyle(FontStyle fontStyle, TextRange* textRange) @@ -318,7 +322,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStyle, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult SetFontStretch(FontStretch fontStretch, TextRange* textRange) @@ -326,7 +330,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontStretch, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult SetFontSize(float fontSize, TextRange* textRange) @@ -334,7 +338,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), fontSize, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public HResult SetUnderline(Bool32 hasUnderline, TextRange* textRange) @@ -342,7 +346,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasUnderline, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public HResult SetStrikethrough(Bool32 hasStrikethrough, TextRange* textRange) @@ -350,7 +354,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), hasStrikethrough, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public HResult SetDrawingEffect(IUnknown* drawingEffect, TextRange* textRange) @@ -358,7 +362,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), drawingEffect, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public HResult SetInlineObject(IDWriteInlineObject* inlineObject, TextRange* textRange) @@ -366,7 +370,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), inlineObject, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult SetTypography(IDWriteTypography* typography, TextRange* textRange) @@ -374,7 +378,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), typography, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public HResult SetLocaleName(ushort* localeName, TextRange* textRange) @@ -382,7 +386,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), localeName, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public float GetMaxWidth() @@ -390,7 +394,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[42]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(43)] public float GetMaxHeight() @@ -398,7 +402,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[43]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(44)] public HResult GetFontCollection(uint currentPosition, IDWriteFontCollection** fontCollection, TextRange* textRange) @@ -406,7 +410,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[44]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontCollection, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(45)] public HResult GetFontFamilyNameLength(uint currentPosition, uint* nameLength, TextRange* textRange) @@ -414,7 +418,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[45]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, nameLength, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(46)] public HResult GetFontFamilyName(uint currentPosition, ushort* fontFamilyName, uint nameSize, TextRange* textRange) @@ -422,7 +426,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[46]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontFamilyName, nameSize, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(47)] public HResult GetFontWeight(uint currentPosition, FontWeight* fontWeight, TextRange* textRange) @@ -430,7 +434,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[47]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontWeight, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(48)] public HResult GetFontStyle(uint currentPosition, FontStyle* fontStyle, TextRange* textRange) @@ -438,7 +442,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[48]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontStyle, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(49)] public HResult GetFontStretch(uint currentPosition, FontStretch* fontStretch, TextRange* textRange) @@ -446,7 +450,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[49]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontStretch, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(50)] public HResult GetFontSize(uint currentPosition, float* fontSize, TextRange* textRange) @@ -454,7 +458,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[50]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, fontSize, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(51)] public HResult GetUnderline(uint currentPosition, Bool32* hasUnderline, TextRange* textRange) @@ -462,7 +466,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[51]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, hasUnderline, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(52)] public HResult GetStrikethrough(uint currentPosition, Bool32* hasStrikethrough, TextRange* textRange) @@ -470,7 +474,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[52]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, hasStrikethrough, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(53)] public HResult GetDrawingEffect(uint currentPosition, IUnknown** drawingEffect, TextRange* textRange) @@ -478,7 +482,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[53]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, drawingEffect, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(54)] public HResult GetInlineObject(uint currentPosition, IDWriteInlineObject** inlineObject, TextRange* textRange) @@ -486,7 +490,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[54]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, inlineObject, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(55)] public HResult GetTypography(uint currentPosition, IDWriteTypography** typography, TextRange* textRange) @@ -494,7 +498,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[55]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, typography, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(56)] public HResult GetLocaleNameLength(uint currentPosition, uint* nameLength, TextRange* textRange) @@ -502,7 +506,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[56]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, nameLength, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(57)] public HResult GetLocaleName(uint currentPosition, ushort* localeName, uint nameSize, TextRange* textRange) @@ -510,7 +514,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[57]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), currentPosition, localeName, nameSize, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(58)] public HResult Draw(void* clientDrawingContext, IDWriteTextRenderer* renderer, float originX, float originY) @@ -518,7 +522,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[58]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), clientDrawingContext, renderer, originX, originY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(59)] public HResult GetLineMetrics(LineMetrics* lineMetrics, uint maxLineCount, uint* actualLineCount) @@ -526,7 +530,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[59]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), lineMetrics, maxLineCount, actualLineCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(60)] public HResult GetMetrics(TextMetrics* textMetrics) @@ -534,7 +538,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[60]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), textMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(61)] public HResult GetOverhangMetrics(OverhangMetrics* overhangs) @@ -542,7 +546,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[61]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), overhangs); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(62)] public HResult GetClusterMetrics(ClusterMetrics* clusterMetrics, uint maxClusterCount, uint* actualClusterCount) @@ -550,7 +554,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[62]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), clusterMetrics, maxClusterCount, actualClusterCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(63)] public HResult DetermineMinWidth(float* minWidth) @@ -558,7 +562,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[63]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), minWidth); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(64)] public HResult HitTestPoint(float pointX, float pointY, Bool32* isTrailingHit, Bool32* isInside, HitTestMetrics* hitTestMetrics) @@ -566,7 +570,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[64]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), pointX, pointY, isTrailingHit, isInside, hitTestMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(65)] public HResult HitTestTextPosition(uint textPosition, Bool32 isTrailingHit, float* pointX, float* pointY, HitTestMetrics* hitTestMetrics) @@ -574,7 +578,7 @@ public unsafe partial struct IDWriteTextLayout return ((delegate* unmanaged[Stdcall])(lpVtbl[65]))((IDWriteTextLayout*)Unsafe.AsPointer(ref this), textPosition, isTrailingHit, pointX, pointY, hitTestMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(66)] public HResult HitTestTextRange(uint textPosition, uint textLength, float originX, float originY, HitTestMetrics* hitTestMetrics, uint maxHitTestMetricsCount, uint* actualHitTestMetricsCount) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout1.cs index b340365..e746d7f 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextLayout1 [Guid("9064d822-80a7-465c-a986-df65f78b8feb")] [NativeTypeName("struct IDWriteTextLayout1 : IDWriteTextLayout")] [NativeInheritance("IDWriteTextLayout")] -public unsafe partial struct IDWriteTextLayout1 +public unsafe partial struct IDWriteTextLayout1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextLayout1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextLayout1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout1)); +#endif public void** lpVtbl; @@ -582,7 +586,7 @@ public unsafe partial struct IDWriteTextLayout1 return ((delegate* unmanaged[Stdcall])(lpVtbl[66]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), textPosition, textLength, originX, originY, hitTestMetrics, maxHitTestMetricsCount, actualHitTestMetricsCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(67)] public HResult SetPairKerning(Bool32 isPairKerningEnabled, TextRange* textRange) @@ -590,7 +594,7 @@ public unsafe partial struct IDWriteTextLayout1 return ((delegate* unmanaged[Stdcall])(lpVtbl[67]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), isPairKerningEnabled, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(68)] public HResult GetPairKerning(uint currentPosition, Bool32* isPairKerningEnabled, TextRange* textRange) @@ -598,7 +602,7 @@ public unsafe partial struct IDWriteTextLayout1 return ((delegate* unmanaged[Stdcall])(lpVtbl[68]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), currentPosition, isPairKerningEnabled, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(69)] public HResult SetCharacterSpacing(float leadingSpacing, float trailingSpacing, float minimumAdvanceWidth, TextRange* textRange) @@ -606,7 +610,7 @@ public unsafe partial struct IDWriteTextLayout1 return ((delegate* unmanaged[Stdcall])(lpVtbl[69]))((IDWriteTextLayout1*)Unsafe.AsPointer(ref this), leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(70)] public HResult GetCharacterSpacing(uint currentPosition, float* leadingSpacing, float* trailingSpacing, float* minimumAdvanceWidth, TextRange* textRange) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout2.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout2.cs index 764d128..bdd0da6 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout2.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextLayout2 [Guid("1093c18f-8d5e-43f0-b064-0917311b525e")] [NativeTypeName("struct IDWriteTextLayout2 : IDWriteTextLayout1")] [NativeInheritance("IDWriteTextLayout1")] -public unsafe partial struct IDWriteTextLayout2 +public unsafe partial struct IDWriteTextLayout2 : INativeGuid { public static ref readonly Guid IID_IDWriteTextLayout2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextLayout2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout2)); +#endif public void** lpVtbl; @@ -614,7 +618,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[70]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), currentPosition, leadingSpacing, trailingSpacing, minimumAdvanceWidth, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(71)] public HResult GetMetrics(TextMetrics1* textMetrics) @@ -622,7 +626,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[71]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), textMetrics); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(72)] public HResult SetVerticalGlyphOrientation(VerticalGlyphOrientation glyphOrientation) @@ -630,7 +634,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[72]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), glyphOrientation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(73)] public VerticalGlyphOrientation GetVerticalGlyphOrientation() @@ -638,7 +642,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[73]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(74)] public HResult SetLastLineWrapping(Bool32 isLastLineWrappingEnabled) @@ -646,7 +650,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[74]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), isLastLineWrappingEnabled); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(75)] public Bool32 GetLastLineWrapping() @@ -654,7 +658,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[75]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(76)] public HResult SetOpticalAlignment(OpticalAlignment opticalAlignment) @@ -662,7 +666,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[76]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), opticalAlignment); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(77)] public OpticalAlignment GetOpticalAlignment() @@ -670,7 +674,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[77]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(78)] public HResult SetFontFallback(IDWriteFontFallback* fontFallback) @@ -678,7 +682,7 @@ public unsafe partial struct IDWriteTextLayout2 return ((delegate* unmanaged[Stdcall])(lpVtbl[78]))((IDWriteTextLayout2*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(79)] public HResult GetFontFallback(IDWriteFontFallback** fontFallback) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout3.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout3.cs index 12dab4e..2be00d7 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout3.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextLayout3 [Guid("07ddcd52-020e-4de8-ac33-6c953d83f92d")] [NativeTypeName("struct IDWriteTextLayout3 : IDWriteTextLayout2")] [NativeInheritance("IDWriteTextLayout2")] -public unsafe partial struct IDWriteTextLayout3 +public unsafe partial struct IDWriteTextLayout3 : INativeGuid { public static ref readonly Guid IID_IDWriteTextLayout3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextLayout3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout3)); +#endif public void** lpVtbl; @@ -686,7 +690,7 @@ public unsafe partial struct IDWriteTextLayout3 return ((delegate* unmanaged[Stdcall])(lpVtbl[79]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), fontFallback); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(80)] public HResult InvalidateLayout() @@ -694,7 +698,7 @@ public unsafe partial struct IDWriteTextLayout3 return ((delegate* unmanaged[Stdcall])(lpVtbl[80]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(81)] public HResult SetLineSpacing(LineSpacing* lineSpacingOptions) @@ -702,7 +706,7 @@ public unsafe partial struct IDWriteTextLayout3 return ((delegate* unmanaged[Stdcall])(lpVtbl[81]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(82)] public HResult GetLineSpacing(LineSpacing* lineSpacingOptions) @@ -710,7 +714,7 @@ public unsafe partial struct IDWriteTextLayout3 return ((delegate* unmanaged[Stdcall])(lpVtbl[82]))((IDWriteTextLayout3*)Unsafe.AsPointer(ref this), lineSpacingOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(83)] public HResult GetLineMetrics(LineMetrics1* lineMetrics, uint maxLineCount, uint* actualLineCount) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout4.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout4.cs index 3334265..5ebf279 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout4.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextLayout4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextLayout4 [Guid("05a9bf42-223f-4441-b5fb-8263685f55e9")] [NativeTypeName("struct IDWriteTextLayout4 : IDWriteTextLayout3")] [NativeInheritance("IDWriteTextLayout3")] -public unsafe partial struct IDWriteTextLayout4 +public unsafe partial struct IDWriteTextLayout4 : INativeGuid { public static ref readonly Guid IID_IDWriteTextLayout4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextLayout4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextLayout4)); +#endif public void** lpVtbl; @@ -718,7 +722,7 @@ public unsafe partial struct IDWriteTextLayout4 return ((delegate* unmanaged[Stdcall])(lpVtbl[83]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), lineMetrics, maxLineCount, actualLineCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(84)] public HResult SetFontAxisValues(FontAxisValue* fontAxisValues, uint fontAxisValueCount, TextRange* textRange) @@ -726,7 +730,7 @@ public unsafe partial struct IDWriteTextLayout4 return ((delegate* unmanaged[Stdcall])(lpVtbl[84]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), fontAxisValues, fontAxisValueCount, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(85)] public uint GetFontAxisValueCount(uint currentPosition) @@ -734,7 +738,7 @@ public unsafe partial struct IDWriteTextLayout4 return ((delegate* unmanaged[Stdcall])(lpVtbl[85]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), currentPosition); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(86)] public HResult GetFontAxisValues(uint currentPosition, FontAxisValue* fontAxisValues, uint fontAxisValueCount, TextRange* textRange) @@ -742,7 +746,7 @@ public unsafe partial struct IDWriteTextLayout4 return ((delegate* unmanaged[Stdcall])(lpVtbl[86]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this), currentPosition, fontAxisValues, fontAxisValueCount, textRange); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(87)] public AutomaticFontAxes GetAutomaticFontAxes() @@ -750,7 +754,7 @@ public unsafe partial struct IDWriteTextLayout4 return ((delegate* unmanaged[Stdcall])(lpVtbl[87]))((IDWriteTextLayout4*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(88)] public HResult SetAutomaticFontAxes(AutomaticFontAxes automaticFontAxes) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer.cs index daf2b4d..43b4613 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextRenderer [Guid("ef8a8135-5cc6-45fe-8825-c5a0724eb819")] [NativeTypeName("struct IDWriteTextRenderer : IDWritePixelSnapping")] [NativeInheritance("IDWritePixelSnapping")] -public unsafe partial struct IDWriteTextRenderer +public unsafe partial struct IDWriteTextRenderer : INativeGuid { public static ref readonly Guid IID_IDWriteTextRenderer { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextRenderer } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer)); +#endif public void** lpVtbl; @@ -94,7 +98,7 @@ public unsafe partial struct IDWriteTextRenderer return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDWriteTextRenderer*)Unsafe.AsPointer(ref this), clientDrawingContext, pixelsPerDip); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult DrawGlyphRun(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, MeasuringMode measuringMode, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, IUnknown* clientDrawingEffect) @@ -102,7 +106,7 @@ public unsafe partial struct IDWriteTextRenderer return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDWriteTextRenderer*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, measuringMode, glyphRun, glyphRunDescription, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult DrawUnderline(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, Underline* underline, IUnknown* clientDrawingEffect) @@ -110,7 +114,7 @@ public unsafe partial struct IDWriteTextRenderer return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDWriteTextRenderer*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, underline, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult DrawStrikethrough(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, Strikethrough* strikethrough, IUnknown* clientDrawingEffect) @@ -118,7 +122,7 @@ public unsafe partial struct IDWriteTextRenderer return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDWriteTextRenderer*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, strikethrough, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult DrawInlineObject(void* clientDrawingContext, float originX, float originY, IDWriteInlineObject* inlineObject, Bool32 isSideways, Bool32 isRightToLeft, IUnknown* clientDrawingEffect) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer1.cs index 92d1109..715814c 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer1.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTextRenderer1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTextRenderer1 [Guid("d3e0e934-22a0-427e-aae4-7d9574b59db1")] [NativeTypeName("struct IDWriteTextRenderer1 : IDWriteTextRenderer")] [NativeInheritance("IDWriteTextRenderer")] -public unsafe partial struct IDWriteTextRenderer1 +public unsafe partial struct IDWriteTextRenderer1 : INativeGuid { public static ref readonly Guid IID_IDWriteTextRenderer1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTextRenderer1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTextRenderer1)); +#endif public void** lpVtbl; @@ -126,7 +130,7 @@ public unsafe partial struct IDWriteTextRenderer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDWriteTextRenderer1*)Unsafe.AsPointer(ref this), clientDrawingContext, originX, originY, inlineObject, isSideways, isRightToLeft, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult DrawGlyphRun(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, GlyphOrientationAngle orientationAngle, MeasuringMode measuringMode, GlyphRun* glyphRun, GlyphRunDescription* glyphRunDescription, IUnknown* clientDrawingEffect) @@ -134,7 +138,7 @@ public unsafe partial struct IDWriteTextRenderer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDWriteTextRenderer1*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, orientationAngle, measuringMode, glyphRun, glyphRunDescription, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult DrawUnderline(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, GlyphOrientationAngle orientationAngle, Underline* underline, IUnknown* clientDrawingEffect) @@ -142,7 +146,7 @@ public unsafe partial struct IDWriteTextRenderer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDWriteTextRenderer1*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, orientationAngle, underline, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult DrawStrikethrough(void* clientDrawingContext, float baselineOriginX, float baselineOriginY, GlyphOrientationAngle orientationAngle, Strikethrough* strikethrough, IUnknown* clientDrawingEffect) @@ -150,7 +154,7 @@ public unsafe partial struct IDWriteTextRenderer1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDWriteTextRenderer1*)Unsafe.AsPointer(ref this), clientDrawingContext, baselineOriginX, baselineOriginY, orientationAngle, strikethrough, clientDrawingEffect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult DrawInlineObject(void* clientDrawingContext, float originX, float originY, GlyphOrientationAngle orientationAngle, IDWriteInlineObject* inlineObject, Bool32 isSideways, Bool32 isRightToLeft, IUnknown* clientDrawingEffect) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTypography.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTypography.cs index d272c07..12e1c56 100644 --- a/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTypography.cs +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/IDWriteTypography.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.DirectWrite; -/// +/// /// IDWriteTypography [Guid("55f1112b-1dc2-4b3c-9541-f46894ed85b6")] [NativeTypeName("struct IDWriteTypography : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDWriteTypography +public unsafe partial struct IDWriteTypography : INativeGuid { public static ref readonly Guid IID_IDWriteTypography { @@ -40,7 +40,11 @@ public unsafe partial struct IDWriteTypography } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTypography)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDWriteTypography)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDWriteTypography return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult AddFontFeature(FontFeature* fontFeature) @@ -78,7 +82,7 @@ public unsafe partial struct IDWriteTypography return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDWriteTypography*)Unsafe.AsPointer(ref this), fontFeature); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public uint GetFontFeatureCount() @@ -86,7 +90,7 @@ public unsafe partial struct IDWriteTypography return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDWriteTypography*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetFontFeature(uint fontFeatureIndex, FontFeature* fontFeature) diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/InformationalStringId.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/InformationalStringId.cs new file mode 100644 index 0000000..bc00a42 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/InformationalStringId.cs @@ -0,0 +1,91 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_INFORMATIONAL_STRING_ID +public enum InformationalStringId : int +{ + /// + /// DWRITE_INFORMATIONAL_STRING_NONE + DWRITE_INFORMATIONAL_STRING_NONE = 0, + /// + /// DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE + DWRITE_INFORMATIONAL_STRING_COPYRIGHT_NOTICE = 1, + /// + /// DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS + DWRITE_INFORMATIONAL_STRING_VERSION_STRINGS = 2, + /// + /// DWRITE_INFORMATIONAL_STRING_TRADEMARK + DWRITE_INFORMATIONAL_STRING_TRADEMARK = 3, + /// + /// DWRITE_INFORMATIONAL_STRING_MANUFACTURER + DWRITE_INFORMATIONAL_STRING_MANUFACTURER = 4, + /// + /// DWRITE_INFORMATIONAL_STRING_DESIGNER + DWRITE_INFORMATIONAL_STRING_DESIGNER = 5, + /// + /// DWRITE_INFORMATIONAL_STRING_DESIGNER_URL + DWRITE_INFORMATIONAL_STRING_DESIGNER_URL = 6, + /// + /// DWRITE_INFORMATIONAL_STRING_DESCRIPTION + DWRITE_INFORMATIONAL_STRING_DESCRIPTION = 7, + /// + /// DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL + DWRITE_INFORMATIONAL_STRING_FONT_VENDOR_URL = 8, + /// + /// DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION + DWRITE_INFORMATIONAL_STRING_LICENSE_DESCRIPTION = 9, + /// + /// DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL + DWRITE_INFORMATIONAL_STRING_LICENSE_INFO_URL = 10, + /// + /// DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_WIN32_FAMILY_NAMES = 11, + /// + /// DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_WIN32_SUBFAMILY_NAMES = 12, + /// + /// DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_FAMILY_NAMES = 13, + /// + /// DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_TYPOGRAPHIC_SUBFAMILY_NAMES = 14, + /// + /// DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT + DWRITE_INFORMATIONAL_STRING_SAMPLE_TEXT = 15, + /// + /// DWRITE_INFORMATIONAL_STRING_FULL_NAME + DWRITE_INFORMATIONAL_STRING_FULL_NAME = 16, + /// + /// DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_NAME = 17, + /// + /// DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME + DWRITE_INFORMATIONAL_STRING_POSTSCRIPT_CID_NAME = 18, + /// + /// DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME + DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME = 19, + /// + /// DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG + DWRITE_INFORMATIONAL_STRING_DESIGN_SCRIPT_LANGUAGE_TAG = 20, + /// + /// DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG + DWRITE_INFORMATIONAL_STRING_SUPPORTED_SCRIPT_LANGUAGE_TAG = 21, + /// + /// DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_PREFERRED_FAMILY_NAMES = 13, + /// + /// DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES + DWRITE_INFORMATIONAL_STRING_PREFERRED_SUBFAMILY_NAMES = 14, + /// + /// DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME + DWRITE_INFORMATIONAL_STRING_WWS_FAMILY_NAME = 19, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/InlineObjectMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/InlineObjectMetrics.cs new file mode 100644 index 0000000..d590a83 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/InlineObjectMetrics.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_INLINE_OBJECT_METRICS +public partial struct InlineObjectMetrics +{ + /// + public float width; + + /// + public float height; + + /// + public float baseline; + + /// + public Bool32 supportsSideways; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/JustificationOpportunity.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/JustificationOpportunity.cs new file mode 100644 index 0000000..e10bf05 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/JustificationOpportunity.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_JUSTIFICATION_OPPORTUNITY +public partial struct JustificationOpportunity +{ + /// + public float expansionMinimum; + + /// + public float expansionMaximum; + + /// + public float compressionMaximum; + + /// + public uint _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineBreakpoint.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineBreakpoint.cs new file mode 100644 index 0000000..d903396 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineBreakpoint.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LINE_BREAKPOINT +public partial struct LineBreakpoint +{ + /// + public byte _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics.cs new file mode 100644 index 0000000..998b135 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LINE_METRICS +public partial struct LineMetrics +{ + /// + public uint length; + + /// + public uint trailingWhitespaceLength; + + /// + public uint newlineLength; + + /// + public float height; + + /// + public float baseline; + + /// + public Bool32 isTrimmed; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics1.cs new file mode 100644 index 0000000..939c915 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineMetrics1.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LINE_METRICS1 +public partial struct LineMetrics1 +{ + /// + public LineMetrics Base; + + /// + public float leadingBefore; + + /// + public float leadingAfter; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacing.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacing.cs new file mode 100644 index 0000000..afa8e41 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacing.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LINE_SPACING +public partial struct LineSpacing +{ + /// + public LineSpacingMethod method; + + /// + public float height; + + /// + public float baseline; + + /// + public float leadingBefore; + + /// + public FontLineGapUsage fontLineGapUsage; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacingMethod.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacingMethod.cs new file mode 100644 index 0000000..cdac90b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/LineSpacingMethod.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LINE_SPACING_METHOD +public enum LineSpacingMethod : int +{ + /// + /// DWRITE_LINE_SPACING_METHOD_DEFAULT + Default = 0, + /// + /// DWRITE_LINE_SPACING_METHOD_UNIFORM + Uniform = 1, + /// + /// DWRITE_LINE_SPACING_METHOD_PROPORTIONAL + Proportional = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Locality.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Locality.cs new file mode 100644 index 0000000..3f802f8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Locality.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_LOCALITY +public enum Locality : int +{ + /// + /// DWRITE_LOCALITY_REMOTE + Remote = 0, + /// + /// DWRITE_LOCALITY_PARTIAL + Partial = 1, + /// + /// DWRITE_LOCALITY_LOCAL + Local = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/MeasuringMode.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/MeasuringMode.cs new file mode 100644 index 0000000..d2fdc2e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/MeasuringMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_MEASURING_MODE +public enum MeasuringMode : int +{ + /// + /// DWRITE_MEASURING_MODE_NATURAL + Natural = 0, + /// + /// DWRITE_MEASURING_MODE_GDI_CLASSIC + GDIClassic = 1, + /// + /// DWRITE_MEASURING_MODE_GDI_NATURAL + GDINatural = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/NumberSubstitutionMethod.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/NumberSubstitutionMethod.cs new file mode 100644 index 0000000..a5e4cf6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/NumberSubstitutionMethod.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_NUMBER_SUBSTITUTION_METHOD +public enum NumberSubstitutionMethod : int +{ + /// + /// DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE + FromCulture = 0, + /// + /// DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL + Contextual = 1, + /// + /// DWRITE_NUMBER_SUBSTITUTION_METHOD_NONE + None = 2, + /// + /// DWRITE_NUMBER_SUBSTITUTION_METHOD_NATIONAL + National = 3, + /// + /// DWRITE_NUMBER_SUBSTITUTION_METHOD_TRADITIONAL + Traditional = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/OpticalAlignment.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OpticalAlignment.cs new file mode 100644 index 0000000..c83a2cc --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OpticalAlignment.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_OPTICAL_ALIGNMENT +public enum OpticalAlignment : int +{ + /// + /// DWRITE_OPTICAL_ALIGNMENT_NONE + None = 0, + /// + /// DWRITE_OPTICAL_ALIGNMENT_NO_SIDE_BEARINGS + NoSideBearings = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/OutlineThreshold.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OutlineThreshold.cs new file mode 100644 index 0000000..5906aa5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OutlineThreshold.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_OUTLINE_THRESHOLD +public enum OutlineThreshold : int +{ + /// + /// DWRITE_OUTLINE_THRESHOLD_ANTIALIASED + Antialiased = 0, + /// + /// DWRITE_OUTLINE_THRESHOLD_ALIASED + Aliased = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/OverhangMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OverhangMetrics.cs new file mode 100644 index 0000000..63abc08 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/OverhangMetrics.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_OVERHANG_METRICS +public partial struct OverhangMetrics +{ + /// + public float left; + + /// + public float top; + + /// + public float right; + + /// + public float bottom; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Panose.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Panose.cs new file mode 100644 index 0000000..2d055e6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Panose.cs @@ -0,0 +1,169 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE +[StructLayout(LayoutKind.Explicit)] +public partial struct Panose +{ + /// + [FieldOffset(0)] + public unsafe fixed byte values[10]; + + /// + [FieldOffset(0)] + public byte familyKind; + + /// + [FieldOffset(0)] + public _text_e__Struct text; + + /// + [FieldOffset(0)] + public _script_e__Struct script; + + /// + [FieldOffset(0)] + public _decorative_e__Struct decorative; + + /// + [FieldOffset(0)] + public _symbol_e__Struct symbol; + + public partial struct _decorative_e__Struct + { + /// + public byte familyKind; + + /// + public byte decorativeClass; + + /// + public byte weight; + + /// + public byte aspect; + + /// + public byte contrast; + + /// + public byte serifVariant; + + /// + public byte fill; + + /// + public byte lining; + + /// + public byte decorativeTopology; + + /// + public byte characterRange; + } + public partial struct _text_e__Struct + { + /// + public byte familyKind; + + /// + public byte serifStyle; + + /// + public byte weight; + + /// + public byte proportion; + + /// + public byte contrast; + + /// + public byte strokeVariation; + + /// + public byte armStyle; + + /// + public byte letterform; + + /// + public byte midline; + + /// + public byte xHeight; + } + public partial struct _symbol_e__Struct + { + /// + public byte familyKind; + + /// + public byte symbolKind; + + /// + public byte weight; + + /// + public byte spacing; + + /// + public byte aspectRatioAndContrast; + + /// + public byte aspectRatio94; + + /// + public byte aspectRatio119; + + /// + public byte aspectRatio157; + + /// + public byte aspectRatio163; + + /// + public byte aspectRatio211; + } + public partial struct _script_e__Struct + { + /// + public byte familyKind; + + /// + public byte toolKind; + + /// + public byte weight; + + /// + public byte spacing; + + /// + public byte aspectRatio; + + /// + public byte contrast; + + /// + public byte scriptTopology; + + /// + public byte scriptForm; + + /// + public byte finials; + + /// + public byte xAscent; + } +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseArmStyle.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseArmStyle.cs new file mode 100644 index 0000000..a0079f7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseArmStyle.cs @@ -0,0 +1,73 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_ARM_STYLE +public enum PanoseArmStyle : int +{ + /// + /// DWRITE_PANOSE_ARM_STYLE_ANY + Any = 0, + /// + /// DWRITE_PANOSE_ARM_STYLE_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORIZONTAL + StraightArmsHorizontal = 2, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_WEDGE + StraightArmsWedge = 3, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERTICAL + StraightArmsVertical = 4, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_SINGLE_SERIF + StraightArmsSingleSerif = 5, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_DOUBLE_SERIF + StraightArmsDoubleSerif = 6, + /// + /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_HORIZONTAL + NonstraightArmsHorizontal = 7, + /// + /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_WEDGE + NonstraightArmsWedge = 8, + /// + /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_VERTICAL + NonstraightArmsVertical = 9, + /// + /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_SINGLE_SERIF + NonstraightArmsSingleSerif = 10, + /// + /// DWRITE_PANOSE_ARM_STYLE_NONSTRAIGHT_ARMS_DOUBLE_SERIF + NonstraightArmsDoubleSerif = 11, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_HORZ + StraightArmsHorz = 2, + /// + /// DWRITE_PANOSE_ARM_STYLE_STRAIGHT_ARMS_VERT + StraightArmsVert = 4, + /// + /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_HORZ + BentArmsHorz = 7, + /// + /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_WEDGE + BentArmsWedge = 8, + /// + /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_VERT + BentArmsVert = 9, + /// + /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_SINGLE_SERIF + BentArmsSingleSerif = 10, + /// + /// DWRITE_PANOSE_ARM_STYLE_BENT_ARMS_DOUBLE_SERIF + BentArmsDoubleSerif = 11, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspect.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspect.cs new file mode 100644 index 0000000..36c2994 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspect.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_ASPECT +public enum PanoseAspect : int +{ + /// + /// DWRITE_PANOSE_ASPECT_ANY + Any = 0, + /// + /// DWRITE_PANOSE_ASPECT_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_ASPECT_SUPER_CONDENSED + SuperCondensed = 2, + /// + /// DWRITE_PANOSE_ASPECT_VERY_CONDENSED + VeryCondensed = 3, + /// + /// DWRITE_PANOSE_ASPECT_CONDENSED + Condensed = 4, + /// + /// DWRITE_PANOSE_ASPECT_NORMAL + Normal = 5, + /// + /// DWRITE_PANOSE_ASPECT_EXTENDED + Extended = 6, + /// + /// DWRITE_PANOSE_ASPECT_VERY_EXTENDED + VeryExtended = 7, + /// + /// DWRITE_PANOSE_ASPECT_SUPER_EXTENDED + SuperExtended = 8, + /// + /// DWRITE_PANOSE_ASPECT_MONOSPACED + Monospaced = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspectRatio.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspectRatio.cs new file mode 100644 index 0000000..143bfb1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseAspectRatio.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_ASPECT_RATIO +public enum PanoseAspectRatio : int +{ + /// + /// DWRITE_PANOSE_ASPECT_RATIO_ANY + Any = 0, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_VERY_CONDENSED + VeryCondensed = 2, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_CONDENSED + Condensed = 3, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_NORMAL + Normal = 4, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_EXPANDED + Expanded = 5, + /// + /// DWRITE_PANOSE_ASPECT_RATIO_VERY_EXPANDED + VeryExpanded = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseCharacterRanges.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseCharacterRanges.cs new file mode 100644 index 0000000..81d2e19 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseCharacterRanges.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_CHARACTER_RANGES +public enum PanoseCharacterRanges : int +{ + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_ANY + Any = 0, + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_EXTENDED_COLLECTION + ExtendedCollection = 2, + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_LITERALS + Literals = 3, + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_NO_LOWER_CASE + NoLowerCase = 4, + /// + /// DWRITE_PANOSE_CHARACTER_RANGES_SMALL_CAPS + SmallCaps = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseContrast.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseContrast.cs new file mode 100644 index 0000000..7c8f52f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseContrast.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_CONTRAST +public enum PanoseContrast : int +{ + /// + /// DWRITE_PANOSE_CONTRAST_ANY + Any = 0, + /// + /// DWRITE_PANOSE_CONTRAST_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_CONTRAST_NONE + None = 2, + /// + /// DWRITE_PANOSE_CONTRAST_VERY_LOW + VeryLow = 3, + /// + /// DWRITE_PANOSE_CONTRAST_LOW + Low = 4, + /// + /// DWRITE_PANOSE_CONTRAST_MEDIUM_LOW + MediumLow = 5, + /// + /// DWRITE_PANOSE_CONTRAST_MEDIUM + Medium = 6, + /// + /// DWRITE_PANOSE_CONTRAST_MEDIUM_HIGH + MediumHigh = 7, + /// + /// DWRITE_PANOSE_CONTRAST_HIGH + High = 8, + /// + /// DWRITE_PANOSE_CONTRAST_VERY_HIGH + VeryHigh = 9, + /// + /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_LOW + HorizontalLow = 10, + /// + /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_MEDIUM + HorizontalMedium = 11, + /// + /// DWRITE_PANOSE_CONTRAST_HORIZONTAL_HIGH + HorizontalHigh = 12, + /// + /// DWRITE_PANOSE_CONTRAST_BROKEN + Broken = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeClass.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeClass.cs new file mode 100644 index 0000000..3441711 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeClass.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_DECORATIVE_CLASS +public enum PanoseDecorativeClass : int +{ + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_ANY + Any = 0, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_DERIVATIVE + Derivative = 2, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_TOPOLOGY + NonstandardTopology = 3, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ELEMENTS + NonstandardElements = 4, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_NONSTANDARD_ASPECT + NonstandardAspect = 5, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_INITIALS + Initials = 6, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_CARTOON + Cartoon = 7, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_PICTURE_STEMS + PictureStems = 8, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_ORNAMENTED + Ornamented = 9, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_TEXT_AND_BACKGROUND + TextAndBackground = 10, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_COLLAGE + Collage = 11, + /// + /// DWRITE_PANOSE_DECORATIVE_CLASS_MONTAGE + Montage = 12, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeTopology.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeTopology.cs new file mode 100644 index 0000000..936605b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseDecorativeTopology.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_DECORATIVE_TOPOLOGY +public enum PanoseDecorativeTopology : int +{ + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ANY + Any = 0, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_STANDARD + Standard = 2, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SQUARE + Square = 3, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_MULTIPLE_SEGMENT + MultipleSegment = 4, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_ART_DECO + ArtDeco = 5, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UNEVEN_WEIGHTING + UnevenWeighting = 6, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_ARMS + DiverseArms = 7, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_DIVERSE_FORMS + DiverseForms = 8, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_LOMBARDIC_FORMS + LombardicForms = 9, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_UPPER_CASE_IN_LOWER_CASE + UpperCaseInLowerCase = 10, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_IMPLIED_TOPOLOGY + ImpliedTopology = 11, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_HORSESHOE_E_AND_A + HorseshoeEAndA = 12, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_CURSIVE + Cursive = 13, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_BLACKLETTER + Blackletter = 14, + /// + /// DWRITE_PANOSE_DECORATIVE_TOPOLOGY_SWASH_VARIANCE + SwashVariance = 15, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFamily.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFamily.cs new file mode 100644 index 0000000..2c88867 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFamily.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_FAMILY +public enum PanoseFamily : int +{ + /// + /// DWRITE_PANOSE_FAMILY_ANY + Any = 0, + /// + /// DWRITE_PANOSE_FAMILY_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_FAMILY_TEXT_DISPLAY + TextDisplay = 2, + /// + /// DWRITE_PANOSE_FAMILY_SCRIPT + Script = 3, + /// + /// DWRITE_PANOSE_FAMILY_DECORATIVE + Decorative = 4, + /// + /// DWRITE_PANOSE_FAMILY_SYMBOL + Symbol = 5, + /// + /// DWRITE_PANOSE_FAMILY_PICTORIAL + Pictorial = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFill.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFill.cs new file mode 100644 index 0000000..40d7568 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFill.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_FILL +public enum PanoseFill : int +{ + /// + /// DWRITE_PANOSE_FILL_ANY + Any = 0, + /// + /// DWRITE_PANOSE_FILL_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_FILL_STANDARD_SOLID_FILL + StandardSolidFill = 2, + /// + /// DWRITE_PANOSE_FILL_NO_FILL + NoFill = 3, + /// + /// DWRITE_PANOSE_FILL_PATTERNED_FILL + PatternedFill = 4, + /// + /// DWRITE_PANOSE_FILL_COMPLEX_FILL + ComplexFill = 5, + /// + /// DWRITE_PANOSE_FILL_SHAPED_FILL + ShapedFill = 6, + /// + /// DWRITE_PANOSE_FILL_DRAWN_DISTRESSED + DrawnDistressed = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFinials.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFinials.cs new file mode 100644 index 0000000..254bf85 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseFinials.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_FINIALS +public enum PanoseFinials : int +{ + /// + /// DWRITE_PANOSE_FINIALS_ANY + Any = 0, + /// + /// DWRITE_PANOSE_FINIALS_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_FINIALS_NONE_NO_LOOPS + NoneNoLoops = 2, + /// + /// DWRITE_PANOSE_FINIALS_NONE_CLOSED_LOOPS + NoneClosedLoops = 3, + /// + /// DWRITE_PANOSE_FINIALS_NONE_OPEN_LOOPS + NoneOpenLoops = 4, + /// + /// DWRITE_PANOSE_FINIALS_SHARP_NO_LOOPS + SharpNoLoops = 5, + /// + /// DWRITE_PANOSE_FINIALS_SHARP_CLOSED_LOOPS + SharpClosedLoops = 6, + /// + /// DWRITE_PANOSE_FINIALS_SHARP_OPEN_LOOPS + SharpOpenLoops = 7, + /// + /// DWRITE_PANOSE_FINIALS_TAPERED_NO_LOOPS + TaperedNoLoops = 8, + /// + /// DWRITE_PANOSE_FINIALS_TAPERED_CLOSED_LOOPS + TaperedClosedLoops = 9, + /// + /// DWRITE_PANOSE_FINIALS_TAPERED_OPEN_LOOPS + TaperedOpenLoops = 10, + /// + /// DWRITE_PANOSE_FINIALS_ROUND_NO_LOOPS + RoundNoLoops = 11, + /// + /// DWRITE_PANOSE_FINIALS_ROUND_CLOSED_LOOPS + RoundClosedLoops = 12, + /// + /// DWRITE_PANOSE_FINIALS_ROUND_OPEN_LOOPS + RoundOpenLoops = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLetterform.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLetterform.cs new file mode 100644 index 0000000..9493224 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLetterform.cs @@ -0,0 +1,64 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_LETTERFORM +public enum PanoseLetterform : int +{ + /// + /// DWRITE_PANOSE_LETTERFORM_ANY + Any = 0, + /// + /// DWRITE_PANOSE_LETTERFORM_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_CONTACT + NormalContact = 2, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_WEIGHTED + NormalWeighted = 3, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_BOXED + NormalBoxed = 4, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_FLATTENED + NormalFlattened = 5, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_ROUNDED + NormalRounded = 6, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_OFF_CENTER + NormalOffCenter = 7, + /// + /// DWRITE_PANOSE_LETTERFORM_NORMAL_SQUARE + NormalSquare = 8, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_CONTACT + ObliqueContact = 9, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_WEIGHTED + ObliqueWeighted = 10, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_BOXED + ObliqueBoxed = 11, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_FLATTENED + ObliqueFlattened = 12, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_ROUNDED + ObliqueRounded = 13, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_OFF_CENTER + ObliqueOffCenter = 14, + /// + /// DWRITE_PANOSE_LETTERFORM_OBLIQUE_SQUARE + ObliqueSquare = 15, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLining.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLining.cs new file mode 100644 index 0000000..4e6e598 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseLining.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_LINING +public enum PanoseLining : int +{ + /// + /// DWRITE_PANOSE_LINING_ANY + Any = 0, + /// + /// DWRITE_PANOSE_LINING_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_LINING_NONE + None = 2, + /// + /// DWRITE_PANOSE_LINING_INLINE + Inline = 3, + /// + /// DWRITE_PANOSE_LINING_OUTLINE + Outline = 4, + /// + /// DWRITE_PANOSE_LINING_ENGRAVED + Engraved = 5, + /// + /// DWRITE_PANOSE_LINING_SHADOW + Shadow = 6, + /// + /// DWRITE_PANOSE_LINING_RELIEF + Relief = 7, + /// + /// DWRITE_PANOSE_LINING_BACKDROP + Backdrop = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseMidline.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseMidline.cs new file mode 100644 index 0000000..fae99b0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseMidline.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_MIDLINE +public enum PanoseMidline : int +{ + /// + /// DWRITE_PANOSE_MIDLINE_ANY + Any = 0, + /// + /// DWRITE_PANOSE_MIDLINE_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_MIDLINE_STANDARD_TRIMMED + StandardTrimmed = 2, + /// + /// DWRITE_PANOSE_MIDLINE_STANDARD_POINTED + StandardPointed = 3, + /// + /// DWRITE_PANOSE_MIDLINE_STANDARD_SERIFED + StandardSerifed = 4, + /// + /// DWRITE_PANOSE_MIDLINE_HIGH_TRIMMED + HighTrimmed = 5, + /// + /// DWRITE_PANOSE_MIDLINE_HIGH_POINTED + HighPointed = 6, + /// + /// DWRITE_PANOSE_MIDLINE_HIGH_SERIFED + HighSerifed = 7, + /// + /// DWRITE_PANOSE_MIDLINE_CONSTANT_TRIMMED + ConstantTrimmed = 8, + /// + /// DWRITE_PANOSE_MIDLINE_CONSTANT_POINTED + ConstantPointed = 9, + /// + /// DWRITE_PANOSE_MIDLINE_CONSTANT_SERIFED + ConstantSerifed = 10, + /// + /// DWRITE_PANOSE_MIDLINE_LOW_TRIMMED + LowTrimmed = 11, + /// + /// DWRITE_PANOSE_MIDLINE_LOW_POINTED + LowPointed = 12, + /// + /// DWRITE_PANOSE_MIDLINE_LOW_SERIFED + LowSerifed = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseProportion.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseProportion.cs new file mode 100644 index 0000000..b456d83 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseProportion.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_PROPORTION +public enum PanoseProportion : int +{ + /// + /// DWRITE_PANOSE_PROPORTION_ANY + Any = 0, + /// + /// DWRITE_PANOSE_PROPORTION_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_PROPORTION_OLD_STYLE + OldStyle = 2, + /// + /// DWRITE_PANOSE_PROPORTION_MODERN + Modern = 3, + /// + /// DWRITE_PANOSE_PROPORTION_EVEN_WIDTH + EvenWidth = 4, + /// + /// DWRITE_PANOSE_PROPORTION_EXPANDED + Expanded = 5, + /// + /// DWRITE_PANOSE_PROPORTION_CONDENSED + Condensed = 6, + /// + /// DWRITE_PANOSE_PROPORTION_VERY_EXPANDED + VeryExpanded = 7, + /// + /// DWRITE_PANOSE_PROPORTION_VERY_CONDENSED + VeryCondensed = 8, + /// + /// DWRITE_PANOSE_PROPORTION_MONOSPACED + Monospaced = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptForm.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptForm.cs new file mode 100644 index 0000000..0dca44a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptForm.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SCRIPT_FORM +public enum PanoseScriptForm : int +{ + /// + /// DWRITE_PANOSE_SCRIPT_FORM_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_NO_WRAPPING + UprightNoWrapping = 2, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_SOME_WRAPPING + UprightSomeWrapping = 3, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_MORE_WRAPPING + UprightMoreWrapping = 4, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_UPRIGHT_EXTREME_WRAPPING + UprightExtremeWrapping = 5, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_NO_WRAPPING + ObliqueNoWrapping = 6, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_SOME_WRAPPING + ObliqueSomeWrapping = 7, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_MORE_WRAPPING + ObliqueMoreWrapping = 8, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_OBLIQUE_EXTREME_WRAPPING + ObliqueExtremeWrapping = 9, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_NO_WRAPPING + ExaggeratedNoWrapping = 10, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_SOME_WRAPPING + ExaggeratedSomeWrapping = 11, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_MORE_WRAPPING + ExaggeratedMoreWrapping = 12, + /// + /// DWRITE_PANOSE_SCRIPT_FORM_EXAGGERATED_EXTREME_WRAPPING + ExaggeratedExtremeWrapping = 13, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptTopology.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptTopology.cs new file mode 100644 index 0000000..838da6d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseScriptTopology.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SCRIPT_TOPOLOGY +public enum PanoseScriptTopology : int +{ + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_DISCONNECTED + RomanDisconnected = 2, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_TRAILING + RomanTrailing = 3, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_ROMAN_CONNECTED + RomanConnected = 4, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_DISCONNECTED + CursiveDisconnected = 5, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_TRAILING + CursiveTrailing = 6, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_CURSIVE_CONNECTED + CursiveConnected = 7, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_DISCONNECTED + BlackletterDisconnected = 8, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_TRAILING + BlackletterTrailing = 9, + /// + /// DWRITE_PANOSE_SCRIPT_TOPOLOGY_BLACKLETTER_CONNECTED + BlackletterConnected = 10, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSerifStyle.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSerifStyle.cs new file mode 100644 index 0000000..6424e0a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSerifStyle.cs @@ -0,0 +1,73 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SERIF_STYLE +public enum PanoseSerifStyle : int +{ + /// + /// DWRITE_PANOSE_SERIF_STYLE_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SERIF_STYLE_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SERIF_STYLE_COVE + Cove = 2, + /// + /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_COVE + ObtuseCove = 3, + /// + /// DWRITE_PANOSE_SERIF_STYLE_SQUARE_COVE + SquareCove = 4, + /// + /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SQUARE_COVE + ObtuseSquareCove = 5, + /// + /// DWRITE_PANOSE_SERIF_STYLE_SQUARE + Square = 6, + /// + /// DWRITE_PANOSE_SERIF_STYLE_THIN + Thin = 7, + /// + /// DWRITE_PANOSE_SERIF_STYLE_OVAL + Oval = 8, + /// + /// DWRITE_PANOSE_SERIF_STYLE_EXAGGERATED + Exaggerated = 9, + /// + /// DWRITE_PANOSE_SERIF_STYLE_TRIANGLE + Triangle = 10, + /// + /// DWRITE_PANOSE_SERIF_STYLE_NORMAL_SANS + NormalSans = 11, + /// + /// DWRITE_PANOSE_SERIF_STYLE_OBTUSE_SANS + ObtuseSans = 12, + /// + /// DWRITE_PANOSE_SERIF_STYLE_PERPENDICULAR_SANS + PerpendicularSans = 13, + /// + /// DWRITE_PANOSE_SERIF_STYLE_FLARED + Flared = 14, + /// + /// DWRITE_PANOSE_SERIF_STYLE_ROUNDED + Rounded = 15, + /// + /// DWRITE_PANOSE_SERIF_STYLE_SCRIPT + Script = 16, + /// + /// DWRITE_PANOSE_SERIF_STYLE_PERP_SANS + PerpSans = 13, + /// + /// DWRITE_PANOSE_SERIF_STYLE_BONE + Bone = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSpacing.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSpacing.cs new file mode 100644 index 0000000..8d379ff --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSpacing.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SPACING +public enum PanoseSpacing : int +{ + /// + /// DWRITE_PANOSE_SPACING_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SPACING_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SPACING_PROPORTIONAL_SPACED + ProportionalSpaced = 2, + /// + /// DWRITE_PANOSE_SPACING_MONOSPACED + Monospaced = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseStrokeVariation.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseStrokeVariation.cs new file mode 100644 index 0000000..520f761 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseStrokeVariation.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_STROKE_VARIATION +public enum PanoseStrokeVariation : int +{ + /// + /// DWRITE_PANOSE_STROKE_VARIATION_ANY + Any = 0, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_NO_VARIATION + NoVariation = 2, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_DIAGONAL + GradualDiagonal = 3, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_TRANSITIONAL + GradualTransitional = 4, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_VERTICAL + GradualVertical = 5, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_GRADUAL_HORIZONTAL + GradualHorizontal = 6, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_RAPID_VERTICAL + RapidVertical = 7, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_RAPID_HORIZONTAL + RapidHorizontal = 8, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_INSTANT_VERTICAL + InstantVertical = 9, + /// + /// DWRITE_PANOSE_STROKE_VARIATION_INSTANT_HORIZONTAL + InstantHorizontal = 10, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolAspectRatio.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolAspectRatio.cs new file mode 100644 index 0000000..e93b087 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolAspectRatio.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO +public enum PanoseSymbolAspectRatio : int +{ + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NO_WIDTH + NoWidth = 2, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_EXCEPTIONALLY_WIDE + ExceptionallyWide = 3, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_SUPER_WIDE + SuperWide = 4, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_WIDE + VeryWide = 5, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_WIDE + Wide = 6, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NORMAL + Normal = 7, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_NARROW + Narrow = 8, + /// + /// DWRITE_PANOSE_SYMBOL_ASPECT_RATIO_VERY_NARROW + VeryNarrow = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolKind.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolKind.cs new file mode 100644 index 0000000..83ac8fe --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseSymbolKind.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_SYMBOL_KIND +public enum PanoseSymbolKind : int +{ + /// + /// DWRITE_PANOSE_SYMBOL_KIND_ANY + Any = 0, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_MONTAGES + Montages = 2, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_PICTURES + Pictures = 3, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_SHAPES + Shapes = 4, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_SCIENTIFIC + Scientific = 5, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_MUSIC + Music = 6, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_EXPERT + Expert = 7, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_PATTERNS + Patterns = 8, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_BOARDERS + Boarders = 9, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_ICONS + Icons = 10, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_LOGOS + Logos = 11, + /// + /// DWRITE_PANOSE_SYMBOL_KIND_INDUSTRY_SPECIFIC + IndustrySpecific = 12, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseToolKind.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseToolKind.cs new file mode 100644 index 0000000..ebdf07e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseToolKind.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_TOOL_KIND +public enum PanoseToolKind : int +{ + /// + /// DWRITE_PANOSE_TOOL_KIND_ANY + Any = 0, + /// + /// DWRITE_PANOSE_TOOL_KIND_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_TOOL_KIND_FLAT_NIB + FlatNib = 2, + /// + /// DWRITE_PANOSE_TOOL_KIND_PRESSURE_POINT + PressurePoint = 3, + /// + /// DWRITE_PANOSE_TOOL_KIND_ENGRAVED + Engraved = 4, + /// + /// DWRITE_PANOSE_TOOL_KIND_BALL + Ball = 5, + /// + /// DWRITE_PANOSE_TOOL_KIND_BRUSH + Brush = 6, + /// + /// DWRITE_PANOSE_TOOL_KIND_ROUGH + Rough = 7, + /// + /// DWRITE_PANOSE_TOOL_KIND_FELT_PEN_BRUSH_TIP + FeltPenBrushTip = 8, + /// + /// DWRITE_PANOSE_TOOL_KIND_WILD_BRUSH + WildBrush = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseWeight.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseWeight.cs new file mode 100644 index 0000000..6f1f7ad --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseWeight.cs @@ -0,0 +1,55 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_WEIGHT +public enum PanoseWeight : int +{ + /// + /// DWRITE_PANOSE_WEIGHT_ANY + Any = 0, + /// + /// DWRITE_PANOSE_WEIGHT_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_WEIGHT_VERY_LIGHT + VeryLight = 2, + /// + /// DWRITE_PANOSE_WEIGHT_LIGHT + Light = 3, + /// + /// DWRITE_PANOSE_WEIGHT_THIN + Thin = 4, + /// + /// DWRITE_PANOSE_WEIGHT_BOOK + Book = 5, + /// + /// DWRITE_PANOSE_WEIGHT_MEDIUM + Medium = 6, + /// + /// DWRITE_PANOSE_WEIGHT_DEMI + Demi = 7, + /// + /// DWRITE_PANOSE_WEIGHT_BOLD + Bold = 8, + /// + /// DWRITE_PANOSE_WEIGHT_HEAVY + Heavy = 9, + /// + /// DWRITE_PANOSE_WEIGHT_BLACK + Black = 10, + /// + /// DWRITE_PANOSE_WEIGHT_EXTRA_BLACK + ExtraBlack = 11, + /// + /// DWRITE_PANOSE_WEIGHT_NORD + Nord = 11, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXascent.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXascent.cs new file mode 100644 index 0000000..c8e3f6d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXascent.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_XASCENT +public enum PanoseXascent : int +{ + /// + /// DWRITE_PANOSE_XASCENT_ANY + Any = 0, + /// + /// DWRITE_PANOSE_XASCENT_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_XASCENT_VERY_LOW + VeryLow = 2, + /// + /// DWRITE_PANOSE_XASCENT_LOW + Low = 3, + /// + /// DWRITE_PANOSE_XASCENT_MEDIUM + Medium = 4, + /// + /// DWRITE_PANOSE_XASCENT_HIGH + High = 5, + /// + /// DWRITE_PANOSE_XASCENT_VERY_HIGH + VeryHigh = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXheight.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXheight.cs new file mode 100644 index 0000000..9b983e6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PanoseXheight.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PANOSE_XHEIGHT +public enum PanoseXheight : int +{ + /// + /// DWRITE_PANOSE_XHEIGHT_ANY + Any = 0, + /// + /// DWRITE_PANOSE_XHEIGHT_NO_FIT + NoFit = 1, + /// + /// DWRITE_PANOSE_XHEIGHT_CONSTANT_SMALL + ConstantSmall = 2, + /// + /// DWRITE_PANOSE_XHEIGHT_CONSTANT_STANDARD + ConstantStandard = 3, + /// + /// DWRITE_PANOSE_XHEIGHT_CONSTANT_LARGE + ConstantLarge = 4, + /// + /// DWRITE_PANOSE_XHEIGHT_DUCKING_SMALL + DuckingSmall = 5, + /// + /// DWRITE_PANOSE_XHEIGHT_DUCKING_STANDARD + DuckingStandard = 6, + /// + /// DWRITE_PANOSE_XHEIGHT_DUCKING_LARGE + DuckingLarge = 7, + /// + /// DWRITE_PANOSE_XHEIGHT_CONSTANT_STD + ConstantStd = 3, + /// + /// DWRITE_PANOSE_XHEIGHT_DUCKING_STD + DuckingStd = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ParagraphAlignment.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ParagraphAlignment.cs new file mode 100644 index 0000000..71e0b4a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ParagraphAlignment.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PARAGRAPH_ALIGNMENT +public enum ParagraphAlignment : int +{ + /// + /// DWRITE_PARAGRAPH_ALIGNMENT_NEAR + Near = 0, + /// + /// DWRITE_PARAGRAPH_ALIGNMENT_FAR + Far = 1, + /// + /// DWRITE_PARAGRAPH_ALIGNMENT_CENTER + Center = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/PixelGeometry.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PixelGeometry.cs new file mode 100644 index 0000000..01251b6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/PixelGeometry.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_PIXEL_GEOMETRY +public enum PixelGeometry : int +{ + /// + /// DWRITE_PIXEL_GEOMETRY_FLAT + Flat = 0, + /// + /// DWRITE_PIXEL_GEOMETRY_RGB + Rgb = 1, + /// + /// DWRITE_PIXEL_GEOMETRY_BGR + Bgr = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ReadingDirection.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ReadingDirection.cs new file mode 100644 index 0000000..fe29fe4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ReadingDirection.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_READING_DIRECTION +public enum ReadingDirection : int +{ + /// + /// DWRITE_READING_DIRECTION_LEFT_TO_RIGHT + LeftToRight = 0, + /// + /// DWRITE_READING_DIRECTION_RIGHT_TO_LEFT + RightToLeft = 1, + /// + /// DWRITE_READING_DIRECTION_TOP_TO_BOTTOM + TopToBottom = 2, + /// + /// DWRITE_READING_DIRECTION_BOTTOM_TO_TOP + BottomToTop = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode.cs new file mode 100644 index 0000000..5c95ff5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_RENDERING_MODE +public enum RenderingMode : int +{ + /// + /// DWRITE_RENDERING_MODE_DEFAULT + Default = 0, + /// + /// DWRITE_RENDERING_MODE_ALIASED + Aliased = 1, + /// + /// DWRITE_RENDERING_MODE_GDI_CLASSIC + GDIClassic = 2, + /// + /// DWRITE_RENDERING_MODE_GDI_NATURAL + GDINatural = 3, + /// + /// DWRITE_RENDERING_MODE_NATURAL + Natural = 4, + /// + /// DWRITE_RENDERING_MODE_NATURAL_SYMMETRIC + NaturalSymmetric = 5, + /// + /// DWRITE_RENDERING_MODE_OUTLINE + Outline = 6, + /// + /// DWRITE_RENDERING_MODE_CLEARTYPE_GDI_CLASSIC + CleartypeGDIClassic = 2, + /// + /// DWRITE_RENDERING_MODE_CLEARTYPE_GDI_NATURAL + CleartypeGDINatural = 3, + /// + /// DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL + CleartypeNatural = 4, + /// + /// DWRITE_RENDERING_MODE_CLEARTYPE_NATURAL_SYMMETRIC + CleartypeNaturalSymmetric = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode1.cs new file mode 100644 index 0000000..738bda1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/RenderingMode1.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_RENDERING_MODE1 +public enum RenderingMode1 : int +{ + /// + /// DWRITE_RENDERING_MODE1_DEFAULT + Default = 0, + /// + /// DWRITE_RENDERING_MODE1_ALIASED + Aliased = 1, + /// + /// DWRITE_RENDERING_MODE1_GDI_CLASSIC + GDIClassic = 2, + /// + /// DWRITE_RENDERING_MODE1_GDI_NATURAL + GDINatural = 3, + /// + /// DWRITE_RENDERING_MODE1_NATURAL + Natural = 4, + /// + /// DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC + NaturalSymmetric = 5, + /// + /// DWRITE_RENDERING_MODE1_OUTLINE + Outline = 6, + /// + /// DWRITE_RENDERING_MODE1_NATURAL_SYMMETRIC_DOWNSAMPLED + NaturalSymmetricDownsampled = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptAnalysis.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptAnalysis.cs new file mode 100644 index 0000000..138cc44 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptAnalysis.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_SCRIPT_ANALYSIS +public partial struct ScriptAnalysis +{ + /// + public ushort script; + + /// + public ScriptShapes shapes; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptProperties.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptProperties.cs new file mode 100644 index 0000000..2966683 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptProperties.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_SCRIPT_PROPERTIES +public partial struct ScriptProperties +{ + /// + public uint isoScriptCode; + + /// + public uint isoScriptNumber; + + /// + public uint clusterLookahead; + + /// + public uint justificationCharacter; + + /// + public uint _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptShapes.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptShapes.cs new file mode 100644 index 0000000..e445f97 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ScriptShapes.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_SCRIPT_SHAPES +[Flags] +public enum ScriptShapes : uint +{ + None = 0, + /// + /// DWRITE_SCRIPT_SHAPES_DEFAULT + Default = 0, + /// + /// DWRITE_SCRIPT_SHAPES_NO_VISUAL + NoVisual = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingGlyphProperties.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingGlyphProperties.cs new file mode 100644 index 0000000..4dbcf56 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingGlyphProperties.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_SHAPING_GLYPH_PROPERTIES +public partial struct ShapingGlyphProperties +{ + /// + public ushort _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingTextProperties.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingTextProperties.cs new file mode 100644 index 0000000..31c4e7f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/ShapingTextProperties.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_SHAPING_TEXT_PROPERTIES +public partial struct ShapingTextProperties +{ + /// + public ushort _bitfield; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Strikethrough.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Strikethrough.cs new file mode 100644 index 0000000..d990b80 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Strikethrough.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_STRIKETHROUGH +public partial struct Strikethrough +{ + /// + public float width; + + /// + public float thickness; + + /// + public float offset; + + /// + public ReadingDirection readingDirection; + + /// + public FlowDirection flowDirection; + + /// + public unsafe ushort* localeName; + + /// + public MeasuringMode measuringMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAlignment.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAlignment.cs new file mode 100644 index 0000000..186f594 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAlignment.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXT_ALIGNMENT +public enum TextAlignment : int +{ + /// + /// DWRITE_TEXT_ALIGNMENT_LEADING + Leading = 0, + /// + /// DWRITE_TEXT_ALIGNMENT_TRAILING + Trailing = 1, + /// + /// DWRITE_TEXT_ALIGNMENT_CENTER + Center = 2, + /// + /// DWRITE_TEXT_ALIGNMENT_JUSTIFIED + Justified = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAntialiasMode.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAntialiasMode.cs new file mode 100644 index 0000000..c465166 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextAntialiasMode.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXT_ANTIALIAS_MODE +public enum TextAntialiasMode : int +{ + /// + /// DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE + Cleartype = 0, + /// + /// DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE + Grayscale = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics.cs new file mode 100644 index 0000000..db3223e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXT_METRICS +public partial struct TextMetrics +{ + /// + public float left; + + /// + public float top; + + /// + public float width; + + /// + public float widthIncludingTrailingWhitespace; + + /// + public float height; + + /// + public float layoutWidth; + + /// + public float layoutHeight; + + /// + public uint maxBidiReorderingDepth; + + /// + public uint lineCount; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics1.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics1.cs new file mode 100644 index 0000000..86257e0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextMetrics1.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXT_METRICS1 +public partial struct TextMetrics1 +{ + /// + public TextMetrics Base; + + /// + public float heightIncludingTrailingWhitespace; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextRange.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextRange.cs new file mode 100644 index 0000000..4419ac8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextRange.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXT_RANGE +public partial struct TextRange +{ + /// + public uint startPosition; + + /// + public uint length; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextureType.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextureType.cs new file mode 100644 index 0000000..1a8bae7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TextureType.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TEXTURE_TYPE +public enum TextureType : int +{ + /// + /// DWRITE_TEXTURE_ALIASED_1x1 + DWRITE_TEXTURE_ALIASED_1x1 = 0, + /// + /// DWRITE_TEXTURE_CLEARTYPE_3x1 + DWRITE_TEXTURE_CLEARTYPE_3x1 = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Trimming.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Trimming.cs new file mode 100644 index 0000000..4a8d6ca --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Trimming.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TRIMMING +public partial struct Trimming +{ + /// + public TrimmingGranularity granularity; + + /// + public uint delimiter; + + /// + public uint delimiterCount; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TrimmingGranularity.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TrimmingGranularity.cs new file mode 100644 index 0000000..53eb016 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TrimmingGranularity.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TRIMMING_GRANULARITY +public enum TrimmingGranularity : int +{ + /// + /// DWRITE_TRIMMING_GRANULARITY_NONE + None = 0, + /// + /// DWRITE_TRIMMING_GRANULARITY_CHARACTER + Character = 1, + /// + /// DWRITE_TRIMMING_GRANULARITY_WORD + Word = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/TypographicFeatures.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TypographicFeatures.cs new file mode 100644 index 0000000..97cafb6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/TypographicFeatures.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_TYPOGRAPHIC_FEATURES +public partial struct TypographicFeatures +{ + /// + public unsafe FontFeature* features; + + /// + public uint featureCount; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/Underline.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Underline.cs new file mode 100644 index 0000000..ffb1a8d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/Underline.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_UNDERLINE +public partial struct Underline +{ + /// + public float width; + + /// + public float thickness; + + /// + public float offset; + + /// + public float runHeight; + + /// + public ReadingDirection readingDirection; + + /// + public FlowDirection flowDirection; + + /// + public unsafe ushort* localeName; + + /// + public MeasuringMode measuringMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/UnicodeRange.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/UnicodeRange.cs new file mode 100644 index 0000000..4dda845 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/UnicodeRange.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_UNICODE_RANGE +public partial struct UnicodeRange +{ + /// + public uint first; + + /// + public uint last; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/VerticalGlyphOrientation.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/VerticalGlyphOrientation.cs new file mode 100644 index 0000000..b14702d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/VerticalGlyphOrientation.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_VERTICAL_GLYPH_ORIENTATION +public enum VerticalGlyphOrientation : int +{ + /// + /// DWRITE_VERTICAL_GLYPH_ORIENTATION_DEFAULT + Default = 0, + /// + /// DWRITE_VERTICAL_GLYPH_ORIENTATION_STACKED + Stacked = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/WordWrapping.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/WordWrapping.cs new file mode 100644 index 0000000..fdb20bd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/WordWrapping.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +/// +/// DWRITE_WORD_WRAPPING +public enum WordWrapping : int +{ + /// + /// DWRITE_WORD_WRAPPING_WRAP + Wrap = 0, + /// + /// DWRITE_WORD_WRAPPING_NO_WRAP + NoWrap = 1, + /// + /// DWRITE_WORD_WRAPPING_EMERGENCY_BREAK + EmergencyBreak = 2, + /// + /// DWRITE_WORD_WRAPPING_WHOLE_WORD + WholeWord = 3, + /// + /// DWRITE_WORD_WRAPPING_CHARACTER + Character = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/_decorative_e__Struct.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_decorative_e__Struct.cs new file mode 100644 index 0000000..8d18f3d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_decorative_e__Struct.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public partial struct _decorative_e__Struct +{ + /// + public byte familyKind; + + /// + public byte decorativeClass; + + /// + public byte weight; + + /// + public byte aspect; + + /// + public byte contrast; + + /// + public byte serifVariant; + + /// + public byte fill; + + /// + public byte lining; + + /// + public byte decorativeTopology; + + /// + public byte characterRange; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/_script_e__Struct.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_script_e__Struct.cs new file mode 100644 index 0000000..e0a2216 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_script_e__Struct.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public partial struct _script_e__Struct +{ + /// + public byte familyKind; + + /// + public byte toolKind; + + /// + public byte weight; + + /// + public byte spacing; + + /// + public byte aspectRatio; + + /// + public byte contrast; + + /// + public byte scriptTopology; + + /// + public byte scriptForm; + + /// + public byte finials; + + /// + public byte xAscent; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/_symbol_e__Struct.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_symbol_e__Struct.cs new file mode 100644 index 0000000..9a5fe18 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_symbol_e__Struct.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public partial struct _symbol_e__Struct +{ + /// + public byte familyKind; + + /// + public byte symbolKind; + + /// + public byte weight; + + /// + public byte spacing; + + /// + public byte aspectRatioAndContrast; + + /// + public byte aspectRatio94; + + /// + public byte aspectRatio119; + + /// + public byte aspectRatio157; + + /// + public byte aspectRatio163; + + /// + public byte aspectRatio211; +} diff --git a/src/Vortice.Win32/Generated/Graphics/DirectWrite/_text_e__Struct.cs b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_text_e__Struct.cs new file mode 100644 index 0000000..4f2609e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/DirectWrite/_text_e__Struct.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.DirectWrite; + +public partial struct _text_e__Struct +{ + /// + public byte familyKind; + + /// + public byte serifStyle; + + /// + public byte weight; + + /// + public byte proportion; + + /// + public byte contrast; + + /// + public byte strokeVariation; + + /// + public byte armStyle; + + /// + public byte letterform; + + /// + public byte midline; + + /// + public byte xHeight; +} diff --git a/src/Vortice.Win32/Generated/Dxc.xml b/src/Vortice.Win32/Generated/Graphics/Dxc.xml similarity index 100% rename from src/Vortice.Win32/Generated/Dxc.xml rename to src/Vortice.Win32/Generated/Graphics/Dxc.xml diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi.Common.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi.Common.cs deleted file mode 100644 index 14f3d07..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi.Common.cs +++ /dev/null @@ -1,1735 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Dxgi.Common; - -public static partial class Apis -{ - public const uint DXGI_STANDARD_MULTISAMPLE_QUALITY_PATTERN = 4294967295; - - public const uint DXGI_CENTER_MULTISAMPLE_QUALITY_PATTERN = 4294967294; - -} - -#region Enums -/// -/// DXGI_COLOR_SPACE_TYPE -public enum ColorSpaceType : int -{ - /// - /// DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 - RgbFullG22NoneP709 = 0, - /// - /// DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 - RgbFullG10NoneP709 = 1, - /// - /// DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 - RgbStudioG22NoneP709 = 2, - /// - /// DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 - RgbStudioG22NoneP2020 = 3, - /// - /// DXGI_COLOR_SPACE_RESERVED - Reserved = 4, - /// - /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 - YcbcrFullG22NoneP709X601 = 5, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 - YcbcrStudioG22LeftP601 = 6, - /// - /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 - YcbcrFullG22LeftP601 = 7, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 - YcbcrStudioG22LeftP709 = 8, - /// - /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 - YcbcrFullG22LeftP709 = 9, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 - YcbcrStudioG22LeftP2020 = 10, - /// - /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 - YcbcrFullG22LeftP2020 = 11, - /// - /// DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 - RgbFullG2084NoneP2020 = 12, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 - YcbcrStudioG2084LeftP2020 = 13, - /// - /// DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 - RgbStudioG2084NoneP2020 = 14, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 - YcbcrStudioG22TopleftP2020 = 15, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 - YcbcrStudioG2084TopleftP2020 = 16, - /// - /// DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 - RgbFullG22NoneP2020 = 17, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 - YcbcrStudioGhlgTopleftP2020 = 18, - /// - /// DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 - YcbcrFullGhlgTopleftP2020 = 19, - /// - /// DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 - RgbStudioG24NoneP709 = 20, - /// - /// DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 - RgbStudioG24NoneP2020 = 21, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 - YcbcrStudioG24LeftP709 = 22, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 - YcbcrStudioG24LeftP2020 = 23, - /// - /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 - YcbcrStudioG24TopleftP2020 = 24, - /// - /// DXGI_COLOR_SPACE_CUSTOM - Custom = -1, -} - -/// -/// DXGI_FORMAT -public enum Format : uint -{ - /// - /// DXGI_FORMAT_UNKNOWN - Unknown = 0, - /// - /// DXGI_FORMAT_R32G32B32A32_TYPELESS - R32G32B32A32Typeless = 1, - /// - /// DXGI_FORMAT_R32G32B32A32_FLOAT - R32G32B32A32Float = 2, - /// - /// DXGI_FORMAT_R32G32B32A32_UINT - R32G32B32A32Uint = 3, - /// - /// DXGI_FORMAT_R32G32B32A32_SINT - R32G32B32A32Sint = 4, - /// - /// DXGI_FORMAT_R32G32B32_TYPELESS - R32G32B32Typeless = 5, - /// - /// DXGI_FORMAT_R32G32B32_FLOAT - R32G32B32Float = 6, - /// - /// DXGI_FORMAT_R32G32B32_UINT - R32G32B32Uint = 7, - /// - /// DXGI_FORMAT_R32G32B32_SINT - R32G32B32Sint = 8, - /// - /// DXGI_FORMAT_R16G16B16A16_TYPELESS - R16G16B16A16Typeless = 9, - /// - /// DXGI_FORMAT_R16G16B16A16_FLOAT - R16G16B16A16Float = 10, - /// - /// DXGI_FORMAT_R16G16B16A16_UNORM - R16G16B16A16Unorm = 11, - /// - /// DXGI_FORMAT_R16G16B16A16_UINT - R16G16B16A16Uint = 12, - /// - /// DXGI_FORMAT_R16G16B16A16_SNORM - R16G16B16A16Snorm = 13, - /// - /// DXGI_FORMAT_R16G16B16A16_SINT - R16G16B16A16Sint = 14, - /// - /// DXGI_FORMAT_R32G32_TYPELESS - R32G32Typeless = 15, - /// - /// DXGI_FORMAT_R32G32_FLOAT - R32G32Float = 16, - /// - /// DXGI_FORMAT_R32G32_UINT - R32G32Uint = 17, - /// - /// DXGI_FORMAT_R32G32_SINT - R32G32Sint = 18, - /// - /// DXGI_FORMAT_R32G8X24_TYPELESS - R32G8X24Typeless = 19, - /// - /// DXGI_FORMAT_D32_FLOAT_S8X24_UINT - D32FloatS8X24Uint = 20, - /// - /// DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS - R32FloatX8X24Typeless = 21, - /// - /// DXGI_FORMAT_X32_TYPELESS_G8X24_UINT - X32TypelessG8X24Uint = 22, - /// - /// DXGI_FORMAT_R10G10B10A2_TYPELESS - R10G10B10A2Typeless = 23, - /// - /// DXGI_FORMAT_R10G10B10A2_UNORM - R10G10B10A2Unorm = 24, - /// - /// DXGI_FORMAT_R10G10B10A2_UINT - R10G10B10A2Uint = 25, - /// - /// DXGI_FORMAT_R11G11B10_FLOAT - R11G11B10Float = 26, - /// - /// DXGI_FORMAT_R8G8B8A8_TYPELESS - R8G8B8A8Typeless = 27, - /// - /// DXGI_FORMAT_R8G8B8A8_UNORM - R8G8B8A8Unorm = 28, - /// - /// DXGI_FORMAT_R8G8B8A8_UNORM_SRGB - R8G8B8A8UnormSrgb = 29, - /// - /// DXGI_FORMAT_R8G8B8A8_UINT - R8G8B8A8Uint = 30, - /// - /// DXGI_FORMAT_R8G8B8A8_SNORM - R8G8B8A8Snorm = 31, - /// - /// DXGI_FORMAT_R8G8B8A8_SINT - R8G8B8A8Sint = 32, - /// - /// DXGI_FORMAT_R16G16_TYPELESS - R16G16Typeless = 33, - /// - /// DXGI_FORMAT_R16G16_FLOAT - R16G16Float = 34, - /// - /// DXGI_FORMAT_R16G16_UNORM - R16G16Unorm = 35, - /// - /// DXGI_FORMAT_R16G16_UINT - R16G16Uint = 36, - /// - /// DXGI_FORMAT_R16G16_SNORM - R16G16Snorm = 37, - /// - /// DXGI_FORMAT_R16G16_SINT - R16G16Sint = 38, - /// - /// DXGI_FORMAT_R32_TYPELESS - R32Typeless = 39, - /// - /// DXGI_FORMAT_D32_FLOAT - D32Float = 40, - /// - /// DXGI_FORMAT_R32_FLOAT - R32Float = 41, - /// - /// DXGI_FORMAT_R32_UINT - R32Uint = 42, - /// - /// DXGI_FORMAT_R32_SINT - R32Sint = 43, - /// - /// DXGI_FORMAT_R24G8_TYPELESS - R24G8Typeless = 44, - /// - /// DXGI_FORMAT_D24_UNORM_S8_UINT - D24UnormS8Uint = 45, - /// - /// DXGI_FORMAT_R24_UNORM_X8_TYPELESS - R24UnormX8Typeless = 46, - /// - /// DXGI_FORMAT_X24_TYPELESS_G8_UINT - X24TypelessG8Uint = 47, - /// - /// DXGI_FORMAT_R8G8_TYPELESS - R8G8Typeless = 48, - /// - /// DXGI_FORMAT_R8G8_UNORM - R8G8Unorm = 49, - /// - /// DXGI_FORMAT_R8G8_UINT - R8G8Uint = 50, - /// - /// DXGI_FORMAT_R8G8_SNORM - R8G8Snorm = 51, - /// - /// DXGI_FORMAT_R8G8_SINT - R8G8Sint = 52, - /// - /// DXGI_FORMAT_R16_TYPELESS - R16Typeless = 53, - /// - /// DXGI_FORMAT_R16_FLOAT - R16Float = 54, - /// - /// DXGI_FORMAT_D16_UNORM - D16Unorm = 55, - /// - /// DXGI_FORMAT_R16_UNORM - R16Unorm = 56, - /// - /// DXGI_FORMAT_R16_UINT - R16Uint = 57, - /// - /// DXGI_FORMAT_R16_SNORM - R16Snorm = 58, - /// - /// DXGI_FORMAT_R16_SINT - R16Sint = 59, - /// - /// DXGI_FORMAT_R8_TYPELESS - R8Typeless = 60, - /// - /// DXGI_FORMAT_R8_UNORM - R8Unorm = 61, - /// - /// DXGI_FORMAT_R8_UINT - R8Uint = 62, - /// - /// DXGI_FORMAT_R8_SNORM - R8Snorm = 63, - /// - /// DXGI_FORMAT_R8_SINT - R8Sint = 64, - /// - /// DXGI_FORMAT_A8_UNORM - A8Unorm = 65, - /// - /// DXGI_FORMAT_R1_UNORM - R1Unorm = 66, - /// - /// DXGI_FORMAT_R9G9B9E5_SHAREDEXP - R9G9B9E5SharedExp = 67, - /// - /// DXGI_FORMAT_R8G8_B8G8_UNORM - R8G8B8G8Unorm = 68, - /// - /// DXGI_FORMAT_G8R8_G8B8_UNORM - G8R8G8B8Unorm = 69, - /// - /// DXGI_FORMAT_BC1_TYPELESS - BC1Typeless = 70, - /// - /// DXGI_FORMAT_BC1_UNORM - BC1Unorm = 71, - /// - /// DXGI_FORMAT_BC1_UNORM_SRGB - BC1UnormSrgb = 72, - /// - /// DXGI_FORMAT_BC2_TYPELESS - BC2Typeless = 73, - /// - /// DXGI_FORMAT_BC2_UNORM - BC2Unorm = 74, - /// - /// DXGI_FORMAT_BC2_UNORM_SRGB - BC2UnormSrgb = 75, - /// - /// DXGI_FORMAT_BC3_TYPELESS - BC3Typeless = 76, - /// - /// DXGI_FORMAT_BC3_UNORM - BC3Unorm = 77, - /// - /// DXGI_FORMAT_BC3_UNORM_SRGB - BC3UnormSrgb = 78, - /// - /// DXGI_FORMAT_BC4_TYPELESS - BC4Typeless = 79, - /// - /// DXGI_FORMAT_BC4_UNORM - BC4Unorm = 80, - /// - /// DXGI_FORMAT_BC4_SNORM - BC4Snorm = 81, - /// - /// DXGI_FORMAT_BC5_TYPELESS - BC5Typeless = 82, - /// - /// DXGI_FORMAT_BC5_UNORM - BC5Unorm = 83, - /// - /// DXGI_FORMAT_BC5_SNORM - BC5Snorm = 84, - /// - /// DXGI_FORMAT_B5G6R5_UNORM - B5G6R5Unorm = 85, - /// - /// DXGI_FORMAT_B5G5R5A1_UNORM - B5G5R5A1Unorm = 86, - /// - /// DXGI_FORMAT_B8G8R8A8_UNORM - B8G8R8A8Unorm = 87, - /// - /// DXGI_FORMAT_B8G8R8X8_UNORM - B8G8R8X8Unorm = 88, - /// - /// DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM - R10G10B10XRBiasA2Unorm = 89, - /// - /// DXGI_FORMAT_B8G8R8A8_TYPELESS - B8G8R8A8Typeless = 90, - /// - /// DXGI_FORMAT_B8G8R8A8_UNORM_SRGB - B8G8R8A8UnormSrgb = 91, - /// - /// DXGI_FORMAT_B8G8R8X8_TYPELESS - B8G8R8X8Typeless = 92, - /// - /// DXGI_FORMAT_B8G8R8X8_UNORM_SRGB - B8G8R8X8UnormSrgb = 93, - /// - /// DXGI_FORMAT_BC6H_TYPELESS - BC6HTypeless = 94, - /// - /// DXGI_FORMAT_BC6H_UF16 - BC6HUF16 = 95, - /// - /// DXGI_FORMAT_BC6H_SF16 - BC6HSF16 = 96, - /// - /// DXGI_FORMAT_BC7_TYPELESS - BC7Typeless = 97, - /// - /// DXGI_FORMAT_BC7_UNORM - BC7Unorm = 98, - /// - /// DXGI_FORMAT_BC7_UNORM_SRGB - BC7UnormSrgb = 99, - /// - /// DXGI_FORMAT_AYUV - AYUV = 100, - /// - /// DXGI_FORMAT_Y410 - Y410 = 101, - /// - /// DXGI_FORMAT_Y416 - Y416 = 102, - /// - /// DXGI_FORMAT_NV12 - NV12 = 103, - /// - /// DXGI_FORMAT_P010 - P010 = 104, - /// - /// DXGI_FORMAT_P016 - P016 = 105, - /// - /// DXGI_FORMAT_420_OPAQUE - Opaque420 = 106, - /// - /// DXGI_FORMAT_YUY2 - YUY2 = 107, - /// - /// DXGI_FORMAT_Y210 - Y210 = 108, - /// - /// DXGI_FORMAT_Y216 - Y216 = 109, - /// - /// DXGI_FORMAT_NV11 - NV11 = 110, - /// - /// DXGI_FORMAT_AI44 - AI44 = 111, - /// - /// DXGI_FORMAT_IA44 - IA44 = 112, - /// - /// DXGI_FORMAT_P8 - P8 = 113, - /// - /// DXGI_FORMAT_A8P8 - A8P8 = 114, - /// - /// DXGI_FORMAT_B4G4R4A4_UNORM - B4G4R4A4Unorm = 115, - /// - /// DXGI_FORMAT_P208 - P208 = 130, - /// - /// DXGI_FORMAT_V208 - V208 = 131, - /// - /// DXGI_FORMAT_V408 - V408 = 132, - /// - /// DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE - SamplerFeedbackMinMipOpaque = 189, - /// - /// DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE - SamplerFeedbackMipRegionUsedOpaque = 190, -} - -/// -/// DXGI_MODE_SCANLINE_ORDER -public enum ModeScanlineOrder : int -{ - /// - /// DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED - Unspecified = 0, - /// - /// DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE - Progressive = 1, - /// - /// DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST - UpperFieldFirst = 2, - /// - /// DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST - LowerFieldFirst = 3, -} - -/// -/// DXGI_MODE_SCALING -public enum ModeScaling : int -{ - /// - /// DXGI_MODE_SCALING_UNSPECIFIED - Unspecified = 0, - /// - /// DXGI_MODE_SCALING_CENTERED - Centered = 1, - /// - /// DXGI_MODE_SCALING_STRETCHED - Stretched = 2, -} - -/// -/// DXGI_MODE_ROTATION -public enum ModeRotation : int -{ - /// - /// DXGI_MODE_ROTATION_UNSPECIFIED - Unspecified = 0, - /// - /// DXGI_MODE_ROTATION_IDENTITY - Identity = 1, - /// - /// DXGI_MODE_ROTATION_ROTATE90 - Rotate90 = 2, - /// - /// DXGI_MODE_ROTATION_ROTATE180 - Rotate180 = 3, - /// - /// DXGI_MODE_ROTATION_ROTATE270 - Rotate270 = 4, -} - -/// -/// DXGI_ALPHA_MODE -public enum AlphaMode : uint -{ - /// - /// DXGI_ALPHA_MODE_UNSPECIFIED - Unspecified = 0, - /// - /// DXGI_ALPHA_MODE_PREMULTIPLIED - Premultiplied = 1, - /// - /// DXGI_ALPHA_MODE_STRAIGHT - Straight = 2, - /// - /// DXGI_ALPHA_MODE_IGNORE - Ignore = 3, -} -#endregion Enums - -#region Generated Enums -/// DXGI_CPU_ACCESS -public enum CpuAccess : uint -{ - /// DXGI_CPU_ACCESS_NONE - None = 0, - /// DXGI_CPU_ACCESS_DYNAMIC - Dynamic = 1, - /// DXGI_CPU_ACCESS_READ_WRITE - ReadWrite = 2, - /// DXGI_CPU_ACCESS_SCRATCH - Scratch = 3, - /// DXGI_CPU_ACCESS_FIELD - Field = 15, -} -#endregion Generated Enums - -#region Structs - -/// -/// DXGI_RATIONAL -public partial struct Rational -{ - /// - public uint Numerator; - - /// - public uint Denominator; -} - -/// -/// DXGI_SAMPLE_DESC -public partial struct SampleDescription -{ - /// - public uint Count; - - /// - public uint Quality; -} - -/// -/// DXGI_RGB -public partial struct Rgb -{ - /// - public float Red; - - /// - public float Green; - - /// - public float Blue; -} - -/// -/// DXGI_GAMMA_CONTROL -public partial struct GammaControl -{ - /// - public Rgb Scale; - - /// - public Rgb Offset; - - /// - public GammaCurve__FixedBuffer GammaCurve; - - public unsafe struct GammaCurve__FixedBuffer - { - public Rgb e0; - public Rgb e1; - public Rgb e2; - public Rgb e3; - public Rgb e4; - public Rgb e5; - public Rgb e6; - public Rgb e7; - public Rgb e8; - public Rgb e9; - public Rgb e10; - public Rgb e11; - public Rgb e12; - public Rgb e13; - public Rgb e14; - public Rgb e15; - public Rgb e16; - public Rgb e17; - public Rgb e18; - public Rgb e19; - public Rgb e20; - public Rgb e21; - public Rgb e22; - public Rgb e23; - public Rgb e24; - public Rgb e25; - public Rgb e26; - public Rgb e27; - public Rgb e28; - public Rgb e29; - public Rgb e30; - public Rgb e31; - public Rgb e32; - public Rgb e33; - public Rgb e34; - public Rgb e35; - public Rgb e36; - public Rgb e37; - public Rgb e38; - public Rgb e39; - public Rgb e40; - public Rgb e41; - public Rgb e42; - public Rgb e43; - public Rgb e44; - public Rgb e45; - public Rgb e46; - public Rgb e47; - public Rgb e48; - public Rgb e49; - public Rgb e50; - public Rgb e51; - public Rgb e52; - public Rgb e53; - public Rgb e54; - public Rgb e55; - public Rgb e56; - public Rgb e57; - public Rgb e58; - public Rgb e59; - public Rgb e60; - public Rgb e61; - public Rgb e62; - public Rgb e63; - public Rgb e64; - public Rgb e65; - public Rgb e66; - public Rgb e67; - public Rgb e68; - public Rgb e69; - public Rgb e70; - public Rgb e71; - public Rgb e72; - public Rgb e73; - public Rgb e74; - public Rgb e75; - public Rgb e76; - public Rgb e77; - public Rgb e78; - public Rgb e79; - public Rgb e80; - public Rgb e81; - public Rgb e82; - public Rgb e83; - public Rgb e84; - public Rgb e85; - public Rgb e86; - public Rgb e87; - public Rgb e88; - public Rgb e89; - public Rgb e90; - public Rgb e91; - public Rgb e92; - public Rgb e93; - public Rgb e94; - public Rgb e95; - public Rgb e96; - public Rgb e97; - public Rgb e98; - public Rgb e99; - public Rgb e100; - public Rgb e101; - public Rgb e102; - public Rgb e103; - public Rgb e104; - public Rgb e105; - public Rgb e106; - public Rgb e107; - public Rgb e108; - public Rgb e109; - public Rgb e110; - public Rgb e111; - public Rgb e112; - public Rgb e113; - public Rgb e114; - public Rgb e115; - public Rgb e116; - public Rgb e117; - public Rgb e118; - public Rgb e119; - public Rgb e120; - public Rgb e121; - public Rgb e122; - public Rgb e123; - public Rgb e124; - public Rgb e125; - public Rgb e126; - public Rgb e127; - public Rgb e128; - public Rgb e129; - public Rgb e130; - public Rgb e131; - public Rgb e132; - public Rgb e133; - public Rgb e134; - public Rgb e135; - public Rgb e136; - public Rgb e137; - public Rgb e138; - public Rgb e139; - public Rgb e140; - public Rgb e141; - public Rgb e142; - public Rgb e143; - public Rgb e144; - public Rgb e145; - public Rgb e146; - public Rgb e147; - public Rgb e148; - public Rgb e149; - public Rgb e150; - public Rgb e151; - public Rgb e152; - public Rgb e153; - public Rgb e154; - public Rgb e155; - public Rgb e156; - public Rgb e157; - public Rgb e158; - public Rgb e159; - public Rgb e160; - public Rgb e161; - public Rgb e162; - public Rgb e163; - public Rgb e164; - public Rgb e165; - public Rgb e166; - public Rgb e167; - public Rgb e168; - public Rgb e169; - public Rgb e170; - public Rgb e171; - public Rgb e172; - public Rgb e173; - public Rgb e174; - public Rgb e175; - public Rgb e176; - public Rgb e177; - public Rgb e178; - public Rgb e179; - public Rgb e180; - public Rgb e181; - public Rgb e182; - public Rgb e183; - public Rgb e184; - public Rgb e185; - public Rgb e186; - public Rgb e187; - public Rgb e188; - public Rgb e189; - public Rgb e190; - public Rgb e191; - public Rgb e192; - public Rgb e193; - public Rgb e194; - public Rgb e195; - public Rgb e196; - public Rgb e197; - public Rgb e198; - public Rgb e199; - public Rgb e200; - public Rgb e201; - public Rgb e202; - public Rgb e203; - public Rgb e204; - public Rgb e205; - public Rgb e206; - public Rgb e207; - public Rgb e208; - public Rgb e209; - public Rgb e210; - public Rgb e211; - public Rgb e212; - public Rgb e213; - public Rgb e214; - public Rgb e215; - public Rgb e216; - public Rgb e217; - public Rgb e218; - public Rgb e219; - public Rgb e220; - public Rgb e221; - public Rgb e222; - public Rgb e223; - public Rgb e224; - public Rgb e225; - public Rgb e226; - public Rgb e227; - public Rgb e228; - public Rgb e229; - public Rgb e230; - public Rgb e231; - public Rgb e232; - public Rgb e233; - public Rgb e234; - public Rgb e235; - public Rgb e236; - public Rgb e237; - public Rgb e238; - public Rgb e239; - public Rgb e240; - public Rgb e241; - public Rgb e242; - public Rgb e243; - public Rgb e244; - public Rgb e245; - public Rgb e246; - public Rgb e247; - public Rgb e248; - public Rgb e249; - public Rgb e250; - public Rgb e251; - public Rgb e252; - public Rgb e253; - public Rgb e254; - public Rgb e255; - public Rgb e256; - public Rgb e257; - public Rgb e258; - public Rgb e259; - public Rgb e260; - public Rgb e261; - public Rgb e262; - public Rgb e263; - public Rgb e264; - public Rgb e265; - public Rgb e266; - public Rgb e267; - public Rgb e268; - public Rgb e269; - public Rgb e270; - public Rgb e271; - public Rgb e272; - public Rgb e273; - public Rgb e274; - public Rgb e275; - public Rgb e276; - public Rgb e277; - public Rgb e278; - public Rgb e279; - public Rgb e280; - public Rgb e281; - public Rgb e282; - public Rgb e283; - public Rgb e284; - public Rgb e285; - public Rgb e286; - public Rgb e287; - public Rgb e288; - public Rgb e289; - public Rgb e290; - public Rgb e291; - public Rgb e292; - public Rgb e293; - public Rgb e294; - public Rgb e295; - public Rgb e296; - public Rgb e297; - public Rgb e298; - public Rgb e299; - public Rgb e300; - public Rgb e301; - public Rgb e302; - public Rgb e303; - public Rgb e304; - public Rgb e305; - public Rgb e306; - public Rgb e307; - public Rgb e308; - public Rgb e309; - public Rgb e310; - public Rgb e311; - public Rgb e312; - public Rgb e313; - public Rgb e314; - public Rgb e315; - public Rgb e316; - public Rgb e317; - public Rgb e318; - public Rgb e319; - public Rgb e320; - public Rgb e321; - public Rgb e322; - public Rgb e323; - public Rgb e324; - public Rgb e325; - public Rgb e326; - public Rgb e327; - public Rgb e328; - public Rgb e329; - public Rgb e330; - public Rgb e331; - public Rgb e332; - public Rgb e333; - public Rgb e334; - public Rgb e335; - public Rgb e336; - public Rgb e337; - public Rgb e338; - public Rgb e339; - public Rgb e340; - public Rgb e341; - public Rgb e342; - public Rgb e343; - public Rgb e344; - public Rgb e345; - public Rgb e346; - public Rgb e347; - public Rgb e348; - public Rgb e349; - public Rgb e350; - public Rgb e351; - public Rgb e352; - public Rgb e353; - public Rgb e354; - public Rgb e355; - public Rgb e356; - public Rgb e357; - public Rgb e358; - public Rgb e359; - public Rgb e360; - public Rgb e361; - public Rgb e362; - public Rgb e363; - public Rgb e364; - public Rgb e365; - public Rgb e366; - public Rgb e367; - public Rgb e368; - public Rgb e369; - public Rgb e370; - public Rgb e371; - public Rgb e372; - public Rgb e373; - public Rgb e374; - public Rgb e375; - public Rgb e376; - public Rgb e377; - public Rgb e378; - public Rgb e379; - public Rgb e380; - public Rgb e381; - public Rgb e382; - public Rgb e383; - public Rgb e384; - public Rgb e385; - public Rgb e386; - public Rgb e387; - public Rgb e388; - public Rgb e389; - public Rgb e390; - public Rgb e391; - public Rgb e392; - public Rgb e393; - public Rgb e394; - public Rgb e395; - public Rgb e396; - public Rgb e397; - public Rgb e398; - public Rgb e399; - public Rgb e400; - public Rgb e401; - public Rgb e402; - public Rgb e403; - public Rgb e404; - public Rgb e405; - public Rgb e406; - public Rgb e407; - public Rgb e408; - public Rgb e409; - public Rgb e410; - public Rgb e411; - public Rgb e412; - public Rgb e413; - public Rgb e414; - public Rgb e415; - public Rgb e416; - public Rgb e417; - public Rgb e418; - public Rgb e419; - public Rgb e420; - public Rgb e421; - public Rgb e422; - public Rgb e423; - public Rgb e424; - public Rgb e425; - public Rgb e426; - public Rgb e427; - public Rgb e428; - public Rgb e429; - public Rgb e430; - public Rgb e431; - public Rgb e432; - public Rgb e433; - public Rgb e434; - public Rgb e435; - public Rgb e436; - public Rgb e437; - public Rgb e438; - public Rgb e439; - public Rgb e440; - public Rgb e441; - public Rgb e442; - public Rgb e443; - public Rgb e444; - public Rgb e445; - public Rgb e446; - public Rgb e447; - public Rgb e448; - public Rgb e449; - public Rgb e450; - public Rgb e451; - public Rgb e452; - public Rgb e453; - public Rgb e454; - public Rgb e455; - public Rgb e456; - public Rgb e457; - public Rgb e458; - public Rgb e459; - public Rgb e460; - public Rgb e461; - public Rgb e462; - public Rgb e463; - public Rgb e464; - public Rgb e465; - public Rgb e466; - public Rgb e467; - public Rgb e468; - public Rgb e469; - public Rgb e470; - public Rgb e471; - public Rgb e472; - public Rgb e473; - public Rgb e474; - public Rgb e475; - public Rgb e476; - public Rgb e477; - public Rgb e478; - public Rgb e479; - public Rgb e480; - public Rgb e481; - public Rgb e482; - public Rgb e483; - public Rgb e484; - public Rgb e485; - public Rgb e486; - public Rgb e487; - public Rgb e488; - public Rgb e489; - public Rgb e490; - public Rgb e491; - public Rgb e492; - public Rgb e493; - public Rgb e494; - public Rgb e495; - public Rgb e496; - public Rgb e497; - public Rgb e498; - public Rgb e499; - public Rgb e500; - public Rgb e501; - public Rgb e502; - public Rgb e503; - public Rgb e504; - public Rgb e505; - public Rgb e506; - public Rgb e507; - public Rgb e508; - public Rgb e509; - public Rgb e510; - public Rgb e511; - public Rgb e512; - public Rgb e513; - public Rgb e514; - public Rgb e515; - public Rgb e516; - public Rgb e517; - public Rgb e518; - public Rgb e519; - public Rgb e520; - public Rgb e521; - public Rgb e522; - public Rgb e523; - public Rgb e524; - public Rgb e525; - public Rgb e526; - public Rgb e527; - public Rgb e528; - public Rgb e529; - public Rgb e530; - public Rgb e531; - public Rgb e532; - public Rgb e533; - public Rgb e534; - public Rgb e535; - public Rgb e536; - public Rgb e537; - public Rgb e538; - public Rgb e539; - public Rgb e540; - public Rgb e541; - public Rgb e542; - public Rgb e543; - public Rgb e544; - public Rgb e545; - public Rgb e546; - public Rgb e547; - public Rgb e548; - public Rgb e549; - public Rgb e550; - public Rgb e551; - public Rgb e552; - public Rgb e553; - public Rgb e554; - public Rgb e555; - public Rgb e556; - public Rgb e557; - public Rgb e558; - public Rgb e559; - public Rgb e560; - public Rgb e561; - public Rgb e562; - public Rgb e563; - public Rgb e564; - public Rgb e565; - public Rgb e566; - public Rgb e567; - public Rgb e568; - public Rgb e569; - public Rgb e570; - public Rgb e571; - public Rgb e572; - public Rgb e573; - public Rgb e574; - public Rgb e575; - public Rgb e576; - public Rgb e577; - public Rgb e578; - public Rgb e579; - public Rgb e580; - public Rgb e581; - public Rgb e582; - public Rgb e583; - public Rgb e584; - public Rgb e585; - public Rgb e586; - public Rgb e587; - public Rgb e588; - public Rgb e589; - public Rgb e590; - public Rgb e591; - public Rgb e592; - public Rgb e593; - public Rgb e594; - public Rgb e595; - public Rgb e596; - public Rgb e597; - public Rgb e598; - public Rgb e599; - public Rgb e600; - public Rgb e601; - public Rgb e602; - public Rgb e603; - public Rgb e604; - public Rgb e605; - public Rgb e606; - public Rgb e607; - public Rgb e608; - public Rgb e609; - public Rgb e610; - public Rgb e611; - public Rgb e612; - public Rgb e613; - public Rgb e614; - public Rgb e615; - public Rgb e616; - public Rgb e617; - public Rgb e618; - public Rgb e619; - public Rgb e620; - public Rgb e621; - public Rgb e622; - public Rgb e623; - public Rgb e624; - public Rgb e625; - public Rgb e626; - public Rgb e627; - public Rgb e628; - public Rgb e629; - public Rgb e630; - public Rgb e631; - public Rgb e632; - public Rgb e633; - public Rgb e634; - public Rgb e635; - public Rgb e636; - public Rgb e637; - public Rgb e638; - public Rgb e639; - public Rgb e640; - public Rgb e641; - public Rgb e642; - public Rgb e643; - public Rgb e644; - public Rgb e645; - public Rgb e646; - public Rgb e647; - public Rgb e648; - public Rgb e649; - public Rgb e650; - public Rgb e651; - public Rgb e652; - public Rgb e653; - public Rgb e654; - public Rgb e655; - public Rgb e656; - public Rgb e657; - public Rgb e658; - public Rgb e659; - public Rgb e660; - public Rgb e661; - public Rgb e662; - public Rgb e663; - public Rgb e664; - public Rgb e665; - public Rgb e666; - public Rgb e667; - public Rgb e668; - public Rgb e669; - public Rgb e670; - public Rgb e671; - public Rgb e672; - public Rgb e673; - public Rgb e674; - public Rgb e675; - public Rgb e676; - public Rgb e677; - public Rgb e678; - public Rgb e679; - public Rgb e680; - public Rgb e681; - public Rgb e682; - public Rgb e683; - public Rgb e684; - public Rgb e685; - public Rgb e686; - public Rgb e687; - public Rgb e688; - public Rgb e689; - public Rgb e690; - public Rgb e691; - public Rgb e692; - public Rgb e693; - public Rgb e694; - public Rgb e695; - public Rgb e696; - public Rgb e697; - public Rgb e698; - public Rgb e699; - public Rgb e700; - public Rgb e701; - public Rgb e702; - public Rgb e703; - public Rgb e704; - public Rgb e705; - public Rgb e706; - public Rgb e707; - public Rgb e708; - public Rgb e709; - public Rgb e710; - public Rgb e711; - public Rgb e712; - public Rgb e713; - public Rgb e714; - public Rgb e715; - public Rgb e716; - public Rgb e717; - public Rgb e718; - public Rgb e719; - public Rgb e720; - public Rgb e721; - public Rgb e722; - public Rgb e723; - public Rgb e724; - public Rgb e725; - public Rgb e726; - public Rgb e727; - public Rgb e728; - public Rgb e729; - public Rgb e730; - public Rgb e731; - public Rgb e732; - public Rgb e733; - public Rgb e734; - public Rgb e735; - public Rgb e736; - public Rgb e737; - public Rgb e738; - public Rgb e739; - public Rgb e740; - public Rgb e741; - public Rgb e742; - public Rgb e743; - public Rgb e744; - public Rgb e745; - public Rgb e746; - public Rgb e747; - public Rgb e748; - public Rgb e749; - public Rgb e750; - public Rgb e751; - public Rgb e752; - public Rgb e753; - public Rgb e754; - public Rgb e755; - public Rgb e756; - public Rgb e757; - public Rgb e758; - public Rgb e759; - public Rgb e760; - public Rgb e761; - public Rgb e762; - public Rgb e763; - public Rgb e764; - public Rgb e765; - public Rgb e766; - public Rgb e767; - public Rgb e768; - public Rgb e769; - public Rgb e770; - public Rgb e771; - public Rgb e772; - public Rgb e773; - public Rgb e774; - public Rgb e775; - public Rgb e776; - public Rgb e777; - public Rgb e778; - public Rgb e779; - public Rgb e780; - public Rgb e781; - public Rgb e782; - public Rgb e783; - public Rgb e784; - public Rgb e785; - public Rgb e786; - public Rgb e787; - public Rgb e788; - public Rgb e789; - public Rgb e790; - public Rgb e791; - public Rgb e792; - public Rgb e793; - public Rgb e794; - public Rgb e795; - public Rgb e796; - public Rgb e797; - public Rgb e798; - public Rgb e799; - public Rgb e800; - public Rgb e801; - public Rgb e802; - public Rgb e803; - public Rgb e804; - public Rgb e805; - public Rgb e806; - public Rgb e807; - public Rgb e808; - public Rgb e809; - public Rgb e810; - public Rgb e811; - public Rgb e812; - public Rgb e813; - public Rgb e814; - public Rgb e815; - public Rgb e816; - public Rgb e817; - public Rgb e818; - public Rgb e819; - public Rgb e820; - public Rgb e821; - public Rgb e822; - public Rgb e823; - public Rgb e824; - public Rgb e825; - public Rgb e826; - public Rgb e827; - public Rgb e828; - public Rgb e829; - public Rgb e830; - public Rgb e831; - public Rgb e832; - public Rgb e833; - public Rgb e834; - public Rgb e835; - public Rgb e836; - public Rgb e837; - public Rgb e838; - public Rgb e839; - public Rgb e840; - public Rgb e841; - public Rgb e842; - public Rgb e843; - public Rgb e844; - public Rgb e845; - public Rgb e846; - public Rgb e847; - public Rgb e848; - public Rgb e849; - public Rgb e850; - public Rgb e851; - public Rgb e852; - public Rgb e853; - public Rgb e854; - public Rgb e855; - public Rgb e856; - public Rgb e857; - public Rgb e858; - public Rgb e859; - public Rgb e860; - public Rgb e861; - public Rgb e862; - public Rgb e863; - public Rgb e864; - public Rgb e865; - public Rgb e866; - public Rgb e867; - public Rgb e868; - public Rgb e869; - public Rgb e870; - public Rgb e871; - public Rgb e872; - public Rgb e873; - public Rgb e874; - public Rgb e875; - public Rgb e876; - public Rgb e877; - public Rgb e878; - public Rgb e879; - public Rgb e880; - public Rgb e881; - public Rgb e882; - public Rgb e883; - public Rgb e884; - public Rgb e885; - public Rgb e886; - public Rgb e887; - public Rgb e888; - public Rgb e889; - public Rgb e890; - public Rgb e891; - public Rgb e892; - public Rgb e893; - public Rgb e894; - public Rgb e895; - public Rgb e896; - public Rgb e897; - public Rgb e898; - public Rgb e899; - public Rgb e900; - public Rgb e901; - public Rgb e902; - public Rgb e903; - public Rgb e904; - public Rgb e905; - public Rgb e906; - public Rgb e907; - public Rgb e908; - public Rgb e909; - public Rgb e910; - public Rgb e911; - public Rgb e912; - public Rgb e913; - public Rgb e914; - public Rgb e915; - public Rgb e916; - public Rgb e917; - public Rgb e918; - public Rgb e919; - public Rgb e920; - public Rgb e921; - public Rgb e922; - public Rgb e923; - public Rgb e924; - public Rgb e925; - public Rgb e926; - public Rgb e927; - public Rgb e928; - public Rgb e929; - public Rgb e930; - public Rgb e931; - public Rgb e932; - public Rgb e933; - public Rgb e934; - public Rgb e935; - public Rgb e936; - public Rgb e937; - public Rgb e938; - public Rgb e939; - public Rgb e940; - public Rgb e941; - public Rgb e942; - public Rgb e943; - public Rgb e944; - public Rgb e945; - public Rgb e946; - public Rgb e947; - public Rgb e948; - public Rgb e949; - public Rgb e950; - public Rgb e951; - public Rgb e952; - public Rgb e953; - public Rgb e954; - public Rgb e955; - public Rgb e956; - public Rgb e957; - public Rgb e958; - public Rgb e959; - public Rgb e960; - public Rgb e961; - public Rgb e962; - public Rgb e963; - public Rgb e964; - public Rgb e965; - public Rgb e966; - public Rgb e967; - public Rgb e968; - public Rgb e969; - public Rgb e970; - public Rgb e971; - public Rgb e972; - public Rgb e973; - public Rgb e974; - public Rgb e975; - public Rgb e976; - public Rgb e977; - public Rgb e978; - public Rgb e979; - public Rgb e980; - public Rgb e981; - public Rgb e982; - public Rgb e983; - public Rgb e984; - public Rgb e985; - public Rgb e986; - public Rgb e987; - public Rgb e988; - public Rgb e989; - public Rgb e990; - public Rgb e991; - public Rgb e992; - public Rgb e993; - public Rgb e994; - public Rgb e995; - public Rgb e996; - public Rgb e997; - public Rgb e998; - public Rgb e999; - public Rgb e1000; - public Rgb e1001; - public Rgb e1002; - public Rgb e1003; - public Rgb e1004; - public Rgb e1005; - public Rgb e1006; - public Rgb e1007; - public Rgb e1008; - public Rgb e1009; - public Rgb e1010; - public Rgb e1011; - public Rgb e1012; - public Rgb e1013; - public Rgb e1014; - public Rgb e1015; - public Rgb e1016; - public Rgb e1017; - public Rgb e1018; - public Rgb e1019; - public Rgb e1020; - public Rgb e1021; - public Rgb e1022; - public Rgb e1023; - public Rgb e1024; - - [UnscopedRef] - public ref Rgb this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 1025); - } - } -} - -/// -/// DXGI_GAMMA_CONTROL_CAPABILITIES -public partial struct GammaControlCapabilities -{ - /// - public Bool32 ScaleAndOffsetSupported; - - /// - public float MaxConvertedValue; - - /// - public float MinConvertedValue; - - /// - public uint NumGammaControlPoints; - - /// - public unsafe fixed float ControlPointPositions[1025]; -} - -/// -/// DXGI_MODE_DESC -public partial struct ModeDescription -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public Rational RefreshRate; - - /// - public Format Format; - - /// - public ModeScanlineOrder ScanlineOrdering; - - /// - public ModeScaling Scaling; -} - -/// -/// DXGI_JPEG_DC_HUFFMAN_TABLE -public partial struct JpegDCHuffmanTable -{ - /// - public unsafe fixed byte CodeCounts[12]; - - /// - public unsafe fixed byte CodeValues[12]; -} - -/// -/// DXGI_JPEG_AC_HUFFMAN_TABLE -public partial struct JpegAcHuffmanTable -{ - /// - public unsafe fixed byte CodeCounts[16]; - - /// - public unsafe fixed byte CodeValues[162]; -} - -/// -/// DXGI_JPEG_QUANTIZATION_TABLE -public partial struct JpegQuantizationTable -{ - /// - public unsafe fixed byte Elements[64]; -} -#endregion Structs - diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi.cs deleted file mode 100644 index 374a8cb..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi.cs +++ /dev/null @@ -1,2437 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Dxgi; - -public static partial class Apis -{ - public const uint DXGI_MAX_SWAP_CHAIN_BUFFERS = 16; - - public const uint DXGI_SHARED_RESOURCE_READ = 2147483648; - - public const uint DXGI_SHARED_RESOURCE_WRITE = 1; - - public const uint DXGI_DEBUG_BINARY_VERSION = 1; - - public static ref readonly Guid DXGI_DEBUG_ALL - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x83, 0xE2, 0x8A, 0xE4, - 0x80, 0xDA, - 0x0B, 0x49, - 0x87, - 0xE6, - 0x43, - 0xE9, - 0xA9, - 0xCF, - 0xDA, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid DXGI_DEBUG_DX - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFC, 0xD7, 0xCD, 0x35, - 0xB2, 0x13, - 0x1D, 0x42, - 0xA5, - 0xD7, - 0x7E, - 0x44, - 0x51, - 0x28, - 0x7D, - 0x64 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid DXGI_DEBUG_DXGI - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA4, 0xDA, 0xCD, 0x25, - 0xC6, 0xB1, - 0xE1, 0x47, - 0xAC, - 0x3E, - 0x98, - 0x87, - 0x5B, - 0x5A, - 0x2E, - 0x2A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid DXGI_DEBUG_APP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x01, 0x6E, 0xCD, 0x06, - 0x19, 0x42, - 0xBD, 0x4E, - 0x87, - 0x09, - 0x27, - 0xED, - 0x23, - 0x36, - 0x0C, - 0x62 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint DXGI_INFO_QUEUE_MESSAGE_ID_STRING_FROM_APPLICATION = 0; - - public const uint DXGI_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; - - public const uint DXGI_CREATE_FACTORY_DEBUG = 1; - - public static readonly HResult DXGI_ERROR_INVALID_CALL = -2005270527; - - public static readonly HResult DXGI_ERROR_NOT_FOUND = -2005270526; - - public static readonly HResult DXGI_ERROR_MORE_DATA = -2005270525; - - public static readonly HResult DXGI_ERROR_UNSUPPORTED = -2005270524; - - public static readonly HResult DXGI_ERROR_DEVICE_REMOVED = -2005270523; - - public static readonly HResult DXGI_ERROR_DEVICE_HUNG = -2005270522; - - public static readonly HResult DXGI_ERROR_DEVICE_RESET = -2005270521; - - public static readonly HResult DXGI_ERROR_WAS_STILL_DRAWING = -2005270518; - - public static readonly HResult DXGI_ERROR_FRAME_STATISTICS_DISJOINT = -2005270517; - - public static readonly HResult DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE = -2005270516; - - public static readonly HResult DXGI_ERROR_DRIVER_INTERNAL_ERROR = -2005270496; - - public static readonly HResult DXGI_ERROR_NONEXCLUSIVE = -2005270495; - - public static readonly HResult DXGI_ERROR_NOT_CURRENTLY_AVAILABLE = -2005270494; - - public static readonly HResult DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED = -2005270493; - - public static readonly HResult DXGI_ERROR_REMOTE_OUTOFMEMORY = -2005270492; - - public static readonly HResult DXGI_ERROR_ACCESS_LOST = -2005270490; - - public static readonly HResult DXGI_ERROR_WAIT_TIMEOUT = -2005270489; - - public static readonly HResult DXGI_ERROR_SESSION_DISCONNECTED = -2005270488; - - public static readonly HResult DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE = -2005270487; - - public static readonly HResult DXGI_ERROR_CANNOT_PROTECT_CONTENT = -2005270486; - - public static readonly HResult DXGI_ERROR_ACCESS_DENIED = -2005270485; - - public static readonly HResult DXGI_ERROR_NAME_ALREADY_EXISTS = -2005270484; - - public static readonly HResult DXGI_ERROR_SDK_COMPONENT_MISSING = -2005270483; - - public static readonly HResult DXGI_ERROR_NOT_CURRENT = -2005270482; - - public static readonly HResult DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY = -2005270480; - - public static readonly HResult DXGI_ERROR_DYNAMIC_CODE_POLICY_VIOLATION = -2005270479; - - public static readonly HResult DXGI_ERROR_NON_COMPOSITED_UI = -2005270478; - - public static readonly HResult DXGI_ERROR_MODE_CHANGE_IN_PROGRESS = -2005270491; - - public static readonly HResult DXGI_ERROR_CACHE_CORRUPT = -2005270477; - - public static readonly HResult DXGI_ERROR_CACHE_FULL = -2005270476; - - public static readonly HResult DXGI_ERROR_CACHE_HASH_COLLISION = -2005270475; - - public static readonly HResult DXGI_ERROR_ALREADY_EXISTS = -2005270474; - -} - -#region Enums -/// -/// DXGI_RESOURCE_PRIORITY -public enum ResourcePriority : uint -{ - /// - /// DXGI_RESOURCE_PRIORITY_MINIMUM - Minimum = 671088640, - /// - /// DXGI_RESOURCE_PRIORITY_LOW - Low = 1342177280, - /// - /// DXGI_RESOURCE_PRIORITY_NORMAL - Normal = 2013265920, - /// - /// DXGI_RESOURCE_PRIORITY_HIGH - High = 2684354560, - /// - /// DXGI_RESOURCE_PRIORITY_MAXIMUM - Maximum = 3355443200, -} - -/// -/// DXGI_RESIDENCY -public enum Residency : int -{ - /// - /// DXGI_RESIDENCY_FULLY_RESIDENT - FullyResident = 1, - /// - /// DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY - ResidentInSharedMemory = 2, - /// - /// DXGI_RESIDENCY_EVICTED_TO_DISK - EvictedToDisk = 3, -} - -/// -/// DXGI_SWAP_EFFECT -public enum SwapEffect : int -{ - /// - /// DXGI_SWAP_EFFECT_DISCARD - Discard = 0, - /// - /// DXGI_SWAP_EFFECT_SEQUENTIAL - Sequential = 1, - /// - /// DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL - FlipSequential = 3, - /// - /// DXGI_SWAP_EFFECT_FLIP_DISCARD - FlipDiscard = 4, -} - -/// -/// DXGI_SWAP_CHAIN_FLAG -[Flags] -public enum SwapChainFlags : int -{ - None = 0, - /// - /// DXGI_SWAP_CHAIN_FLAG_NONPREROTATED - NonPrerotated = 1, - /// - /// DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH - AllowModeSwitch = 2, - /// - /// DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE - GDICompatible = 4, - /// - /// DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT - RestrictedContent = 8, - /// - /// DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER - RestrictSharedResourceDriver = 16, - /// - /// DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY - DisplayOnly = 32, - /// - /// DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT - FrameLatencyWaitableObject = 64, - /// - /// DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER - ForegroundLayer = 128, - /// - /// DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO - FullscreenVideo = 256, - /// - /// DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO - YUVVideo = 512, - /// - /// DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED - HWProtected = 1024, - /// - /// DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING - AllowTearing = 2048, - /// - /// DXGI_SWAP_CHAIN_FLAG_RESTRICTED_TO_ALL_HOLOGRAPHIC_DISPLAYS - RestrictedToAllHolographicDisplays = 4096, -} - -/// -/// DXGI_ADAPTER_FLAG -[Flags] -public enum AdapterFlags : uint -{ - /// - /// DXGI_ADAPTER_FLAG_NONE - None = 0, - /// - /// DXGI_ADAPTER_FLAG_REMOTE - Remote = 1, - /// - /// DXGI_ADAPTER_FLAG_SOFTWARE - Software = 2, -} - -/// -/// DXGI_OUTDUPL_POINTER_SHAPE_TYPE -public enum OutduplPointerShapeType : int -{ - /// - /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME - Monochrome = 1, - /// - /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR - Color = 2, - /// - /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR - MaskedColor = 4, -} - -/// -/// DXGI_OFFER_RESOURCE_PRIORITY -public enum OfferResourcePriority : int -{ - /// - /// DXGI_OFFER_RESOURCE_PRIORITY_LOW - Low = 1, - /// - /// DXGI_OFFER_RESOURCE_PRIORITY_NORMAL - Normal = 2, - /// - /// DXGI_OFFER_RESOURCE_PRIORITY_HIGH - High = 3, -} - -/// -/// DXGI_SCALING -public enum Scaling : int -{ - /// - /// DXGI_SCALING_STRETCH - Stretch = 0, - /// - /// DXGI_SCALING_NONE - None = 1, - /// - /// DXGI_SCALING_ASPECT_RATIO_STRETCH - AspectRatioStretch = 2, -} - -/// -/// DXGI_GRAPHICS_PREEMPTION_GRANULARITY -public enum GraphicsPreemptionGranularity : int -{ - /// - /// DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY - DmaBufferBoundary = 0, - /// - /// DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY - PrimitiveBoundary = 1, - /// - /// DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY - TriangleBoundary = 2, - /// - /// DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY - PixelBoundary = 3, - /// - /// DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY - InstructionBoundary = 4, -} - -/// -/// DXGI_COMPUTE_PREEMPTION_GRANULARITY -public enum ComputePreemptionGranularity : int -{ - /// - /// DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY - DmaBufferBoundary = 0, - /// - /// DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY - DispatchBoundary = 1, - /// - /// DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY - ThreadGroupBoundary = 2, - /// - /// DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY - ThreadBoundary = 3, - /// - /// DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY - InstructionBoundary = 4, -} - -/// -/// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS -[Flags] -public enum MultiplaneOverlayYcbcrFlags : int -{ - None = 0, - /// - /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE - YcbcrFlagNominalRange = 1, - /// - /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709 - YcbcrFlagBt709 = 2, - /// - /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC - YcbcrFlagXvycc = 4, -} - -/// -/// DXGI_FRAME_PRESENTATION_MODE -public enum FramePresentationMode : int -{ - /// - /// DXGI_FRAME_PRESENTATION_MODE_COMPOSED - Composed = 0, - /// - /// DXGI_FRAME_PRESENTATION_MODE_OVERLAY - Overlay = 1, - /// - /// DXGI_FRAME_PRESENTATION_MODE_NONE - None = 2, - /// - /// DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE - CompositionFailure = 3, -} - -/// -/// DXGI_OVERLAY_SUPPORT_FLAG -[Flags] -public enum OverlaySupportFlags : int -{ - None = 0, - /// - /// DXGI_OVERLAY_SUPPORT_FLAG_DIRECT - Direct = 1, - /// - /// DXGI_OVERLAY_SUPPORT_FLAG_SCALING - Scaling = 2, -} - -/// -/// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG -[Flags] -public enum SwapChainColorSpaceSupportFlags : int -{ - None = 0, - /// - /// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT - Present = 1, - /// - /// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_OVERLAY_PRESENT - OverlayPresent = 2, -} - -/// -/// DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG -[Flags] -public enum OverlayColorSpaceSupportFlags : int -{ - None = 0, - /// - /// DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT - Present = 1, -} - -/// -/// DXGI_MEMORY_SEGMENT_GROUP -public enum MemorySegmentGroup : int -{ - /// - /// DXGI_MEMORY_SEGMENT_GROUP_LOCAL - Local = 0, - /// - /// DXGI_MEMORY_SEGMENT_GROUP_NON_LOCAL - NonLocal = 1, -} - -/// -/// DXGI_OUTDUPL_FLAG -[Flags] -public enum OutduplFlags : int -{ - None = 0, - /// - /// DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY - CompositedUICaptureOnly = 1, -} - -/// -/// DXGI_HDR_METADATA_TYPE -public enum HDRMetadataType : int -{ - /// - /// DXGI_HDR_METADATA_TYPE_NONE - None = 0, - /// - /// DXGI_HDR_METADATA_TYPE_HDR10 - Hdr10 = 1, - /// - /// DXGI_HDR_METADATA_TYPE_HDR10PLUS - Hdr10plus = 2, -} - -/// -/// DXGI_OFFER_RESOURCE_FLAGS -[Flags] -public enum OfferResourceFlags : int -{ - None = 0, - /// - /// DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT - AllowDecommit = 1, -} - -/// -/// DXGI_RECLAIM_RESOURCE_RESULTS -public enum ReclaimResourceResults : int -{ - /// - /// DXGI_RECLAIM_RESOURCE_RESULT_OK - Ok = 0, - /// - /// DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED - Discarded = 1, - /// - /// DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED - NotCommitted = 2, -} - -/// -/// DXGI_FEATURE -public enum Feature : int -{ - /// - /// DXGI_FEATURE_PRESENT_ALLOW_TEARING - PresentAllowTearing = 0, -} - -/// -/// DXGI_ADAPTER_FLAG3 -[Flags] -public enum AdapterFlags3 : uint -{ - /// - /// DXGI_ADAPTER_FLAG3_NONE - None = 0, - /// - /// DXGI_ADAPTER_FLAG3_REMOTE - Remote = 1, - /// - /// DXGI_ADAPTER_FLAG3_SOFTWARE - Software = 2, - /// - /// DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE - AcgCompatible = 4, - /// - /// DXGI_ADAPTER_FLAG3_SUPPORT_MONITORED_FENCES - SupportMonitoredFences = 8, - /// - /// DXGI_ADAPTER_FLAG3_SUPPORT_NON_MONITORED_FENCES - SupportNonMonitoredFences = 16, - /// - /// DXGI_ADAPTER_FLAG3_KEYED_MUTEX_CONFORMANCE - KeyedMutexConformance = 32, -} - -/// -/// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS -[Flags] -public enum HardwareCompositionSupportFlags : uint -{ - None = 0, - /// - /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_FULLSCREEN - Fullscreen = 1, - /// - /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_WINDOWED - Windowed = 2, - /// - /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED - CursorStretched = 4, -} - -/// -/// DXGI_GPU_PREFERENCE -public enum GpuPreference : int -{ - /// - /// DXGI_GPU_PREFERENCE_UNSPECIFIED - Unspecified = 0, - /// - /// DXGI_GPU_PREFERENCE_MINIMUM_POWER - MinimumPower = 1, - /// - /// DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE - HighPerformance = 2, -} - -/// -/// DXGI_DEBUG_RLO_FLAGS -[Flags] -public enum ReportLiveObjectFlags : uint -{ - None = 0, - /// - /// DXGI_DEBUG_RLO_SUMMARY - Summary = 1, - /// - /// DXGI_DEBUG_RLO_DETAIL - Detail = 2, - /// - /// DXGI_DEBUG_RLO_IGNORE_INTERNAL - IgnoreInternal = 4, - /// - /// DXGI_DEBUG_RLO_ALL - All = 7, -} - -/// -/// DXGI_INFO_QUEUE_MESSAGE_CATEGORY -public enum InfoQueueMessageCategory : int -{ - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_UNKNOWN - Unknown = 0, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_MISCELLANEOUS - Miscellaneous = 1, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_INITIALIZATION - Initialization = 2, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_CLEANUP - Cleanup = 3, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_COMPILATION - Compilation = 4, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_CREATION - StateCreation = 5, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_SETTING - StateSetting = 6, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_GETTING - StateGetting = 7, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_RESOURCE_MANIPULATION - ResourceManipulation = 8, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_EXECUTION - Execution = 9, - /// - /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_SHADER - Shader = 10, -} - -/// -/// DXGI_INFO_QUEUE_MESSAGE_SEVERITY -public enum InfoQueueMessageSeverity : int -{ - /// - /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION - Corruption = 0, - /// - /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR - Error = 1, - /// - /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_WARNING - Warning = 2, - /// - /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_INFO - Info = 3, - /// - /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_MESSAGE - Message = 4, -} - -/// -/// DXGI_Message_Id -public enum MessageId : int -{ - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow - IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow = 0, - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_BufferWidthInferred - IDXGISwapChain_CreationOrResizeBuffers_BufferWidthInferred = 1, - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_BufferHeightInferred - IDXGISwapChain_CreationOrResizeBuffers_BufferHeightInferred = 2, - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_NoScanoutFlagChanged - IDXGISwapChain_CreationOrResizeBuffers_NoScanoutFlagChanged = 3, - /// - /// DXGI_MSG_IDXGISwapChain_Creation_MaxBufferCountExceeded - IDXGISwapChain_Creation_MaxBufferCountExceeded = 4, - /// - /// DXGI_MSG_IDXGISwapChain_Creation_TooFewBuffers - IDXGISwapChain_Creation_TooFewBuffers = 5, - /// - /// DXGI_MSG_IDXGISwapChain_Creation_NoOutputWindow - IDXGISwapChain_Creation_NoOutputWindow = 6, - /// - /// DXGI_MSG_IDXGISwapChain_Destruction_OtherMethodsCalled - IDXGISwapChain_Destruction_OtherMethodsCalled = 7, - /// - /// DXGI_MSG_IDXGISwapChain_GetDesc_pDescIsNULL - IDXGISwapChain_GetDesc_pDescIsNULL = 8, - /// - /// DXGI_MSG_IDXGISwapChain_GetBuffer_ppSurfaceIsNULL - IDXGISwapChain_GetBuffer_ppSurfaceIsNULL = 9, - /// - /// DXGI_MSG_IDXGISwapChain_GetBuffer_NoAllocatedBuffers - IDXGISwapChain_GetBuffer_NoAllocatedBuffers = 10, - /// - /// DXGI_MSG_IDXGISwapChain_GetBuffer_iBufferMustBeZero - IDXGISwapChain_GetBuffer_iBufferMustBeZero = 11, - /// - /// DXGI_MSG_IDXGISwapChain_GetBuffer_iBufferOOB - IDXGISwapChain_GetBuffer_iBufferOOB = 12, - /// - /// DXGI_MSG_IDXGISwapChain_GetContainingOutput_ppOutputIsNULL - IDXGISwapChain_GetContainingOutput_ppOutputIsNULL = 13, - /// - /// DXGI_MSG_IDXGISwapChain_Present_SyncIntervalOOB - IDXGISwapChain_Present_SyncIntervalOOB = 14, - /// - /// DXGI_MSG_IDXGISwapChain_Present_InvalidNonPreRotatedFlag - IDXGISwapChain_Present_InvalidNonPreRotatedFlag = 15, - /// - /// DXGI_MSG_IDXGISwapChain_Present_NoAllocatedBuffers - IDXGISwapChain_Present_NoAllocatedBuffers = 16, - /// - /// DXGI_MSG_IDXGISwapChain_Present_GetDXGIAdapterFailed - IDXGISwapChain_Present_GetDXGIAdapterFailed = 17, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_BufferCountOOB - IDXGISwapChain_ResizeBuffers_BufferCountOOB = 18, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_UnreleasedReferences - IDXGISwapChain_ResizeBuffers_UnreleasedReferences = 19, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidSwapChainFlag - IDXGISwapChain_ResizeBuffers_InvalidSwapChainFlag = 20, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidNonPreRotatedFlag - IDXGISwapChain_ResizeBuffers_InvalidNonPreRotatedFlag = 21, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeTarget_RefreshRateDivideByZero - IDXGISwapChain_ResizeTarget_RefreshRateDivideByZero = 22, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_InvalidTarget - IDXGISwapChain_SetFullscreenState_InvalidTarget = 23, - /// - /// DXGI_MSG_IDXGISwapChain_GetFrameStatistics_pStatsIsNULL - IDXGISwapChain_GetFrameStatistics_pStatsIsNULL = 24, - /// - /// DXGI_MSG_IDXGISwapChain_GetLastPresentCount_pLastPresentCountIsNULL - IDXGISwapChain_GetLastPresentCount_pLastPresentCountIsNULL = 25, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_RemoteNotSupported - IDXGISwapChain_SetFullscreenState_RemoteNotSupported = 26, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_FailedToAcquireFullscreenMutex - IDXGIOutput_TakeOwnership_FailedToAcquireFullscreenMutex = 27, - /// - /// DXGI_MSG_IDXGIFactory_CreateSoftwareAdapter_ppAdapterInterfaceIsNULL - IDXGIFactory_CreateSoftwareAdapter_ppAdapterInterfaceIsNULL = 28, - /// - /// DXGI_MSG_IDXGIFactory_EnumAdapters_ppAdapterInterfaceIsNULL - IDXGIFactory_EnumAdapters_ppAdapterInterfaceIsNULL = 29, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ppSwapChainIsNULL - IDXGIFactory_CreateSwapChain_ppSwapChainIsNULL = 30, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pDescIsNULL - IDXGIFactory_CreateSwapChain_pDescIsNULL = 31, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnknownSwapEffect - IDXGIFactory_CreateSwapChain_UnknownSwapEffect = 32, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidFlags - IDXGIFactory_CreateSwapChain_InvalidFlags = 33, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NonPreRotatedFlagAndWindowed - IDXGIFactory_CreateSwapChain_NonPreRotatedFlagAndWindowed = 34, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NullDeviceInterface - IDXGIFactory_CreateSwapChain_NullDeviceInterface = 35, - /// - /// DXGI_MSG_IDXGIFactory_GetWindowAssociation_phWndIsNULL - IDXGIFactory_GetWindowAssociation_phWndIsNULL = 36, - /// - /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_InvalidFlags - IDXGIFactory_MakeWindowAssociation_InvalidFlags = 37, - /// - /// DXGI_MSG_IDXGISurface_Map_InvalidSurface - IDXGISurface_Map_InvalidSurface = 38, - /// - /// DXGI_MSG_IDXGISurface_Map_FlagsSetToZero - IDXGISurface_Map_FlagsSetToZero = 39, - /// - /// DXGI_MSG_IDXGISurface_Map_DiscardAndReadFlagSet - IDXGISurface_Map_DiscardAndReadFlagSet = 40, - /// - /// DXGI_MSG_IDXGISurface_Map_DiscardButNotWriteFlagSet - IDXGISurface_Map_DiscardButNotWriteFlagSet = 41, - /// - /// DXGI_MSG_IDXGISurface_Map_NoCPUAccess - IDXGISurface_Map_NoCPUAccess = 42, - /// - /// DXGI_MSG_IDXGISurface_Map_ReadFlagSetButCPUAccessIsDynamic - IDXGISurface_Map_ReadFlagSetButCPUAccessIsDynamic = 43, - /// - /// DXGI_MSG_IDXGISurface_Map_DiscardFlagSetButCPUAccessIsNotDynamic - IDXGISurface_Map_DiscardFlagSetButCPUAccessIsNotDynamic = 44, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_pNumModesIsNULL - IDXGIOutput_GetDisplayModeList_pNumModesIsNULL = 45, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_ModeHasInvalidWidthOrHeight - IDXGIOutput_FindClosestMatchingMode_ModeHasInvalidWidthOrHeight = 46, - /// - /// DXGI_MSG_IDXGIOutput_GetCammaControlCapabilities_NoOwnerDevice - IDXGIOutput_GetCammaControlCapabilities_NoOwnerDevice = 47, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_pDeviceIsNULL - IDXGIOutput_TakeOwnership_pDeviceIsNULL = 48, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_NoOwnerDevice - IDXGIOutput_GetDisplaySurfaceData_NoOwnerDevice = 49, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_pDestinationIsNULL - IDXGIOutput_GetDisplaySurfaceData_pDestinationIsNULL = 50, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_MapOfDestinationFailed - IDXGIOutput_GetDisplaySurfaceData_MapOfDestinationFailed = 51, - /// - /// DXGI_MSG_IDXGIOutput_GetFrameStatistics_NoOwnerDevice - IDXGIOutput_GetFrameStatistics_NoOwnerDevice = 52, - /// - /// DXGI_MSG_IDXGIOutput_GetFrameStatistics_pStatsIsNULL - IDXGIOutput_GetFrameStatistics_pStatsIsNULL = 53, - /// - /// DXGI_MSG_IDXGIOutput_SetGammaControl_NoOwnerDevice - IDXGIOutput_SetGammaControl_NoOwnerDevice = 54, - /// - /// DXGI_MSG_IDXGIOutput_GetGammaControl_NoOwnerDevice - IDXGIOutput_GetGammaControl_NoOwnerDevice = 55, - /// - /// DXGI_MSG_IDXGIOutput_GetGammaControl_NoGammaControls - IDXGIOutput_GetGammaControl_NoGammaControls = 56, - /// - /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_IDXGIResourceNotSupportedBypPrimary - IDXGIOutput_SetDisplaySurface_IDXGIResourceNotSupportedBypPrimary = 57, - /// - /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_pPrimaryIsInvalid - IDXGIOutput_SetDisplaySurface_pPrimaryIsInvalid = 58, - /// - /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_NoOwnerDevice - IDXGIOutput_SetDisplaySurface_NoOwnerDevice = 59, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_RemoteDeviceNotSupported - IDXGIOutput_TakeOwnership_RemoteDeviceNotSupported = 60, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_RemoteDeviceNotSupported - IDXGIOutput_GetDisplayModeList_RemoteDeviceNotSupported = 61, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_RemoteDeviceNotSupported - IDXGIOutput_FindClosestMatchingMode_RemoteDeviceNotSupported = 62, - /// - /// DXGI_MSG_IDXGIDevice_CreateSurface_InvalidParametersWithpSharedResource - IDXGIDevice_CreateSurface_InvalidParametersWithpSharedResource = 63, - /// - /// DXGI_MSG_IDXGIObject_GetPrivateData_puiDataSizeIsNULL - IDXGIObject_GetPrivateData_puiDataSizeIsNULL = 64, - /// - /// DXGI_MSG_IDXGISwapChain_Creation_InvalidOutputWindow - IDXGISwapChain_Creation_InvalidOutputWindow = 65, - /// - /// DXGI_MSG_IDXGISwapChain_Release_SwapChainIsFullscreen - IDXGISwapChain_Release_SwapChainIsFullscreen = 66, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_InvalidTargetSurfaceFormat - IDXGIOutput_GetDisplaySurfaceData_InvalidTargetSurfaceFormat = 67, - /// - /// DXGI_MSG_IDXGIFactory_CreateSoftwareAdapter_ModuleIsNULL - IDXGIFactory_CreateSoftwareAdapter_ModuleIsNULL = 68, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_IDXGIDeviceNotSupportedBypConcernedDevice - IDXGIOutput_FindClosestMatchingMode_IDXGIDeviceNotSupportedBypConcernedDevice = 69, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_pModeToMatchOrpClosestMatchIsNULL - IDXGIOutput_FindClosestMatchingMode_pModeToMatchOrpClosestMatchIsNULL = 70, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_ModeHasRefreshRateDenominatorZero - IDXGIOutput_FindClosestMatchingMode_ModeHasRefreshRateDenominatorZero = 71, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_UnknownFormatIsInvalidForConfiguration - IDXGIOutput_FindClosestMatchingMode_UnknownFormatIsInvalidForConfiguration = 72, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScanlineOrdering - IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScanlineOrdering = 73, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScaling - IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScaling = 74, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeFormatAndDeviceCombination - IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeFormatAndDeviceCombination = 75, - /// - /// DXGI_MSG_IDXGIFactory_Creation_CalledFromDllMain - IDXGIFactory_Creation_CalledFromDllMain = 76, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_OutputNotOwnedBySwapChainDevice - IDXGISwapChain_SetFullscreenState_OutputNotOwnedBySwapChainDevice = 77, - /// - /// DXGI_MSG_IDXGISwapChain_Creation_InvalidWindowStyle - IDXGISwapChain_Creation_InvalidWindowStyle = 78, - /// - /// DXGI_MSG_IDXGISwapChain_GetFrameStatistics_UnsupportedStatistics - IDXGISwapChain_GetFrameStatistics_UnsupportedStatistics = 79, - /// - /// DXGI_MSG_IDXGISwapChain_GetContainingOutput_SwapchainAdapterDoesNotControlOutput - IDXGISwapChain_GetContainingOutput_SwapchainAdapterDoesNotControlOutput = 80, - /// - /// DXGI_MSG_IDXGIOutput_SetOrGetGammaControl_pArrayIsNULL - IDXGIOutput_SetOrGetGammaControl_pArrayIsNULL = 81, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FullscreenInvalidForChildWindows - IDXGISwapChain_SetFullscreenState_FullscreenInvalidForChildWindows = 82, - /// - /// DXGI_MSG_IDXGIFactory_Release_CalledFromDllMain - IDXGIFactory_Release_CalledFromDllMain = 83, - /// - /// DXGI_MSG_IDXGISwapChain_Present_UnreleasedHDC - IDXGISwapChain_Present_UnreleasedHDC = 84, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_NonPreRotatedAndGDICompatibleFlags - IDXGISwapChain_ResizeBuffers_NonPreRotatedAndGDICompatibleFlags = 85, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NonPreRotatedAndGDICompatibleFlags - IDXGIFactory_CreateSwapChain_NonPreRotatedAndGDICompatibleFlags = 86, - /// - /// DXGI_MSG_IDXGISurface1_GetDC_pHdcIsNULL - IDXGISurface1_GetDC_pHdcIsNULL = 87, - /// - /// DXGI_MSG_IDXGISurface1_GetDC_SurfaceNotTexture2D - IDXGISurface1_GetDC_SurfaceNotTexture2D = 88, - /// - /// DXGI_MSG_IDXGISurface1_GetDC_GDICompatibleFlagNotSet - IDXGISurface1_GetDC_GDICompatibleFlagNotSet = 89, - /// - /// DXGI_MSG_IDXGISurface1_GetDC_UnreleasedHDC - IDXGISurface1_GetDC_UnreleasedHDC = 90, - /// - /// DXGI_MSG_IDXGISurface_Map_NoCPUAccess2 - IDXGISurface_Map_NoCPUAccess2 = 91, - /// - /// DXGI_MSG_IDXGISurface1_ReleaseDC_GetDCNotCalled - IDXGISurface1_ReleaseDC_GetDCNotCalled = 92, - /// - /// DXGI_MSG_IDXGISurface1_ReleaseDC_InvalidRectangleDimensions - IDXGISurface1_ReleaseDC_InvalidRectangleDimensions = 93, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_RemoteOutputNotSupported - IDXGIOutput_TakeOwnership_RemoteOutputNotSupported = 94, - /// - /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_RemoteOutputNotSupported - IDXGIOutput_FindClosestMatchingMode_RemoteOutputNotSupported = 95, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_RemoteOutputNotSupported - IDXGIOutput_GetDisplayModeList_RemoteOutputNotSupported = 96, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pDeviceHasMismatchedDXGIFactory - IDXGIFactory_CreateSwapChain_pDeviceHasMismatchedDXGIFactory = 97, - /// - /// DXGI_MSG_IDXGISwapChain_Present_NonOptimalFSConfiguration - IDXGISwapChain_Present_NonOptimalFSConfiguration = 98, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FlipSequentialNotSupportedOnD3D10 - IDXGIFactory_CreateSwapChain_FlipSequentialNotSupportedOnD3D10 = 99, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_BufferCountOOBForFlipSequential - IDXGIFactory_CreateSwapChain_BufferCountOOBForFlipSequential = 100, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidFormatForFlipSequential - IDXGIFactory_CreateSwapChain_InvalidFormatForFlipSequential = 101, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_MultiSamplingNotSupportedForFlipSequential - IDXGIFactory_CreateSwapChain_MultiSamplingNotSupportedForFlipSequential = 102, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_BufferCountOOBForFlipSequential - IDXGISwapChain_ResizeBuffers_BufferCountOOBForFlipSequential = 103, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidFormatForFlipSequential - IDXGISwapChain_ResizeBuffers_InvalidFormatForFlipSequential = 104, - /// - /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationBeforeStandardPresentation - IDXGISwapChain_Present_PartialPresentationBeforeStandardPresentation = 105, - /// - /// DXGI_MSG_IDXGISwapChain_Present_FullscreenPartialPresentIsInvalid - IDXGISwapChain_Present_FullscreenPartialPresentIsInvalid = 106, - /// - /// DXGI_MSG_IDXGISwapChain_Present_InvalidPresentTestOrDoNotSequenceFlag - IDXGISwapChain_Present_InvalidPresentTestOrDoNotSequenceFlag = 107, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ScrollInfoWithNoDirtyRectsSpecified - IDXGISwapChain_Present_ScrollInfoWithNoDirtyRectsSpecified = 108, - /// - /// DXGI_MSG_IDXGISwapChain_Present_EmptyScrollRect - IDXGISwapChain_Present_EmptyScrollRect = 109, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ScrollRectOutOfBackbufferBounds - IDXGISwapChain_Present_ScrollRectOutOfBackbufferBounds = 110, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ScrollRectOutOfBackbufferBoundsWithOffset - IDXGISwapChain_Present_ScrollRectOutOfBackbufferBoundsWithOffset = 111, - /// - /// DXGI_MSG_IDXGISwapChain_Present_EmptyDirtyRect - IDXGISwapChain_Present_EmptyDirtyRect = 112, - /// - /// DXGI_MSG_IDXGISwapChain_Present_DirtyRectOutOfBackbufferBounds - IDXGISwapChain_Present_DirtyRectOutOfBackbufferBounds = 113, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnsupportedBufferUsageFlags - IDXGIFactory_CreateSwapChain_UnsupportedBufferUsageFlags = 114, - /// - /// DXGI_MSG_IDXGISwapChain_Present_DoNotSequenceFlagSetButPreviousBufferIsUndefined - IDXGISwapChain_Present_DoNotSequenceFlagSetButPreviousBufferIsUndefined = 115, - /// - /// DXGI_MSG_IDXGISwapChain_Present_UnsupportedFlags - IDXGISwapChain_Present_UnsupportedFlags = 116, - /// - /// DXGI_MSG_IDXGISwapChain_Present_FlipModelChainMustResizeOrCreateOnFSTransition - IDXGISwapChain_Present_FlipModelChainMustResizeOrCreateOnFSTransition = 117, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pRestrictToOutputFromOtherIDXGIFactory - IDXGIFactory_CreateSwapChain_pRestrictToOutputFromOtherIDXGIFactory = 118, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_RestrictOutputNotSupportedOnAdapter - IDXGIFactory_CreateSwapChain_RestrictOutputNotSupportedOnAdapter = 119, - /// - /// DXGI_MSG_IDXGISwapChain_Present_RestrictToOutputFlagSetButInvalidpRestrictToOutput - IDXGISwapChain_Present_RestrictToOutputFlagSetButInvalidpRestrictToOutput = 120, - /// - /// DXGI_MSG_IDXGISwapChain_Present_RestrictToOutputFlagdWithFullscreen - IDXGISwapChain_Present_RestrictToOutputFlagdWithFullscreen = 121, - /// - /// DXGI_MSG_IDXGISwapChain_Present_RestrictOutputFlagWithStaleSwapChain - IDXGISwapChain_Present_RestrictOutputFlagWithStaleSwapChain = 122, - /// - /// DXGI_MSG_IDXGISwapChain_Present_OtherFlagsCausingInvalidPresentTestFlag - IDXGISwapChain_Present_OtherFlagsCausingInvalidPresentTestFlag = 123, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnavailableInSession0 - IDXGIFactory_CreateSwapChain_UnavailableInSession0 = 124, - /// - /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_UnavailableInSession0 - IDXGIFactory_MakeWindowAssociation_UnavailableInSession0 = 125, - /// - /// DXGI_MSG_IDXGIFactory_GetWindowAssociation_UnavailableInSession0 - IDXGIFactory_GetWindowAssociation_UnavailableInSession0 = 126, - /// - /// DXGI_MSG_IDXGIAdapter_EnumOutputs_UnavailableInSession0 - IDXGIAdapter_EnumOutputs_UnavailableInSession0 = 127, - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrSetFullscreenState_StereoDisabled - IDXGISwapChain_CreationOrSetFullscreenState_StereoDisabled = 128, - /// - /// DXGI_MSG_IDXGIFactory2_UnregisterStatus_CookieNotFound - IDXGIFactory2_UnregisterStatus_CookieNotFound = 129, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFSOrOverlay - IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFSOrOverlay = 130, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFlipSequential - IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFlipSequential = 131, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentWithRDPDriver - IDXGISwapChain_Present_ProtectedContentWithRDPDriver = 132, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithDWMOffOrInvalidDisplayAffinity - IDXGISwapChain_Present_ProtectedContentInWindowedModeWithDWMOffOrInvalidDisplayAffinity = 133, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_WidthOrHeightIsZero - IDXGIFactory_CreateSwapChainForComposition_WidthOrHeightIsZero = 134, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_OnlyFlipSequentialSupported - IDXGIFactory_CreateSwapChainForComposition_OnlyFlipSequentialSupported = 135, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnAdapter - IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnAdapter = 136, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnWindows7 - IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnWindows7 = 137, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FSTransitionWithCompositionSwapChain - IDXGISwapChain_SetFullscreenState_FSTransitionWithCompositionSwapChain = 138, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeTarget_InvalidWithCompositionSwapChain - IDXGISwapChain_ResizeTarget_InvalidWithCompositionSwapChain = 139, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_WidthOrHeightIsZero - IDXGISwapChain_ResizeBuffers_WidthOrHeightIsZero = 140, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingNoneIsFlipModelOnly - IDXGIFactory_CreateSwapChain_ScalingNoneIsFlipModelOnly = 141, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingUnrecognized - IDXGIFactory_CreateSwapChain_ScalingUnrecognized = 142, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyFullscreenUnsupported - IDXGIFactory_CreateSwapChain_DisplayOnlyFullscreenUnsupported = 143, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyUnsupported - IDXGIFactory_CreateSwapChain_DisplayOnlyUnsupported = 144, - /// - /// DXGI_MSG_IDXGISwapChain_Present_RestartIsFullscreenOnly - IDXGISwapChain_Present_RestartIsFullscreenOnly = 145, - /// - /// DXGI_MSG_IDXGISwapChain_Present_ProtectedWindowlessPresentationRequiresDisplayOnly - IDXGISwapChain_Present_ProtectedWindowlessPresentationRequiresDisplayOnly = 146, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_DisplayOnlyUnsupported - IDXGISwapChain_SetFullscreenState_DisplayOnlyUnsupported = 147, - /// - /// DXGI_MSG_IDXGISwapChain1_SetBackgroundColor_OutOfRange - IDXGISwapChain1_SetBackgroundColor_OutOfRange = 148, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyFullscreenUnsupported - IDXGISwapChain_ResizeBuffers_DisplayOnlyFullscreenUnsupported = 149, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyUnsupported - IDXGISwapChain_ResizeBuffers_DisplayOnlyUnsupported = 150, - /// - /// DXGI_MSG_IDXGISwapchain_Present_ScrollUnsupported - IDXGISwapchain_Present_ScrollUnsupported = 151, - /// - /// DXGI_MSG_IDXGISwapChain1_SetRotation_UnsupportedOS - IDXGISwapChain1_SetRotation_UnsupportedOS = 152, - /// - /// DXGI_MSG_IDXGISwapChain1_GetRotation_UnsupportedOS - IDXGISwapChain1_GetRotation_UnsupportedOS = 153, - /// - /// DXGI_MSG_IDXGISwapchain_Present_FullscreenRotation - IDXGISwapchain_Present_FullscreenRotation = 154, - /// - /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationWithMSAABuffers - IDXGISwapChain_Present_PartialPresentationWithMSAABuffers = 155, - /// - /// DXGI_MSG_IDXGISwapChain1_SetRotation_FlipSequentialRequired - IDXGISwapChain1_SetRotation_FlipSequentialRequired = 156, - /// - /// DXGI_MSG_IDXGISwapChain1_SetRotation_InvalidRotation - IDXGISwapChain1_SetRotation_InvalidRotation = 157, - /// - /// DXGI_MSG_IDXGISwapChain1_GetRotation_FlipSequentialRequired - IDXGISwapChain1_GetRotation_FlipSequentialRequired = 158, - /// - /// DXGI_MSG_IDXGISwapChain_GetHwnd_WrongType - IDXGISwapChain_GetHwnd_WrongType = 159, - /// - /// DXGI_MSG_IDXGISwapChain_GetCompositionSurface_WrongType - IDXGISwapChain_GetCompositionSurface_WrongType = 160, - /// - /// DXGI_MSG_IDXGISwapChain_GetCoreWindow_WrongType - IDXGISwapChain_GetCoreWindow_WrongType = 161, - /// - /// DXGI_MSG_IDXGISwapChain_GetFullscreenDesc_NonHwnd - IDXGISwapChain_GetFullscreenDesc_NonHwnd = 162, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_CoreWindow - IDXGISwapChain_SetFullscreenState_CoreWindow = 163, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_UnsupportedOnWindows7 - IDXGIFactory2_CreateSwapChainForCoreWindow_UnsupportedOnWindows7 = 164, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsNULL - IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsNULL = 165, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FSUnsupportedForModernApps - IDXGIFactory_CreateSwapChain_FSUnsupportedForModernApps = 166, - /// - /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_ModernApp - IDXGIFactory_MakeWindowAssociation_ModernApp = 167, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeTarget_ModernApp - IDXGISwapChain_ResizeTarget_ModernApp = 168, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeTarget_pNewTargetParametersIsNULL - IDXGISwapChain_ResizeTarget_pNewTargetParametersIsNULL = 169, - /// - /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_ModernApp - IDXGIOutput_SetDisplaySurface_ModernApp = 170, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_ModernApp - IDXGIOutput_TakeOwnership_ModernApp = 171, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsInvalid - IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsInvalid = 172, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCompositionSurface_InvalidHandle - IDXGIFactory2_CreateSwapChainForCompositionSurface_InvalidHandle = 173, - /// - /// DXGI_MSG_IDXGISurface1_GetDC_ModernApp - IDXGISurface1_GetDC_ModernApp = 174, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingNoneRequiresWindows8OrNewer - IDXGIFactory_CreateSwapChain_ScalingNoneRequiresWindows8OrNewer = 175, - /// - /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoAndPreferRight - IDXGISwapChain_Present_TemporaryMonoAndPreferRight = 176, - /// - /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithDoNotSequence - IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithDoNotSequence = 177, - /// - /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithoutStereo - IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithoutStereo = 178, - /// - /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoUnsupported - IDXGISwapChain_Present_TemporaryMonoUnsupported = 179, - /// - /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_ArraySizeMismatch - IDXGIOutput_GetDisplaySurfaceData_ArraySizeMismatch = 180, - /// - /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationWithSwapEffectDiscard - IDXGISwapChain_Present_PartialPresentationWithSwapEffectDiscard = 181, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaUnrecognized - IDXGIFactory_CreateSwapChain_AlphaUnrecognized = 182, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaIsWindowlessOnly - IDXGIFactory_CreateSwapChain_AlphaIsWindowlessOnly = 183, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaIsFlipModelOnly - IDXGIFactory_CreateSwapChain_AlphaIsFlipModelOnly = 184, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_RestrictToOutputAdapterMismatch - IDXGIFactory_CreateSwapChain_RestrictToOutputAdapterMismatch = 185, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyOnLegacy - IDXGIFactory_CreateSwapChain_DisplayOnlyOnLegacy = 186, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyOnLegacy - IDXGISwapChain_ResizeBuffers_DisplayOnlyOnLegacy = 187, - /// - /// DXGI_MSG_IDXGIResource1_CreateSubresourceSurface_InvalidIndex - IDXGIResource1_CreateSubresourceSurface_InvalidIndex = 188, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_InvalidScaling - IDXGIFactory_CreateSwapChainForComposition_InvalidScaling = 189, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForCoreWindow_InvalidSwapEffect - IDXGIFactory_CreateSwapChainForCoreWindow_InvalidSwapEffect = 190, - /// - /// DXGI_MSG_IDXGIResource1_CreateSharedHandle_UnsupportedOS - IDXGIResource1_CreateSharedHandle_UnsupportedOS = 191, - /// - /// DXGI_MSG_IDXGIFactory2_RegisterOcclusionStatusWindow_UnsupportedOS - IDXGIFactory2_RegisterOcclusionStatusWindow_UnsupportedOS = 192, - /// - /// DXGI_MSG_IDXGIFactory2_RegisterOcclusionStatusEvent_UnsupportedOS - IDXGIFactory2_RegisterOcclusionStatusEvent_UnsupportedOS = 193, - /// - /// DXGI_MSG_IDXGIOutput1_DuplicateOutput_UnsupportedOS - IDXGIOutput1_DuplicateOutput_UnsupportedOS = 194, - /// - /// DXGI_MSG_IDXGIDisplayControl_IsStereoEnabled_UnsupportedOS - IDXGIDisplayControl_IsStereoEnabled_UnsupportedOS = 195, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_InvalidAlphaMode - IDXGIFactory_CreateSwapChainForComposition_InvalidAlphaMode = 196, - /// - /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_InvalidResource - IDXGIFactory_GetSharedResourceAdapterLuid_InvalidResource = 197, - /// - /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_InvalidLUID - IDXGIFactory_GetSharedResourceAdapterLuid_InvalidLUID = 198, - /// - /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_UnsupportedOS - IDXGIFactory_GetSharedResourceAdapterLuid_UnsupportedOS = 199, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_2DOnly - IDXGIOutput1_GetDisplaySurfaceData1_2DOnly = 200, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_StagingOnly - IDXGIOutput1_GetDisplaySurfaceData1_StagingOnly = 201, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_NeedCPUAccessWrite - IDXGIOutput1_GetDisplaySurfaceData1_NeedCPUAccessWrite = 202, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_NoShared - IDXGIOutput1_GetDisplaySurfaceData1_NoShared = 203, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_OnlyMipLevels1 - IDXGIOutput1_GetDisplaySurfaceData1_OnlyMipLevels1 = 204, - /// - /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_MappedOrOfferedResource - IDXGIOutput1_GetDisplaySurfaceData1_MappedOrOfferedResource = 205, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FSUnsupportedForModernApps - IDXGISwapChain_SetFullscreenState_FSUnsupportedForModernApps = 206, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FailedToGoFSButNonPreRotated - IDXGIFactory_CreateSwapChain_FailedToGoFSButNonPreRotated = 207, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainOrRegisterOcclusionStatus_BlitModelUsedWhileRegisteredForOcclusionStatusEvents - IDXGIFactory_CreateSwapChainOrRegisterOcclusionStatus_BlitModelUsedWhileRegisteredForOcclusionStatusEvents = 208, - /// - /// DXGI_MSG_IDXGISwapChain_Present_BlitModelUsedWhileRegisteredForOcclusionStatusEvents - IDXGISwapChain_Present_BlitModelUsedWhileRegisteredForOcclusionStatusEvents = 209, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreFlipModelOnly - IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreFlipModelOnly = 210, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreNotFullscreen - IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreNotFullscreen = 211, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_Waitable - IDXGISwapChain_SetFullscreenState_Waitable = 212, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveWaitableFlag - IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveWaitableFlag = 213, - /// - /// DXGI_MSG_IDXGISwapChain_GetFrameLatencyWaitableObject_OnlyWaitable - IDXGISwapChain_GetFrameLatencyWaitableObject_OnlyWaitable = 214, - /// - /// DXGI_MSG_IDXGISwapChain_GetMaximumFrameLatency_OnlyWaitable - IDXGISwapChain_GetMaximumFrameLatency_OnlyWaitable = 215, - /// - /// DXGI_MSG_IDXGISwapChain_GetMaximumFrameLatency_pMaxLatencyIsNULL - IDXGISwapChain_GetMaximumFrameLatency_pMaxLatencyIsNULL = 216, - /// - /// DXGI_MSG_IDXGISwapChain_SetMaximumFrameLatency_OnlyWaitable - IDXGISwapChain_SetMaximumFrameLatency_OnlyWaitable = 217, - /// - /// DXGI_MSG_IDXGISwapChain_SetMaximumFrameLatency_MaxLatencyIsOutOfBounds - IDXGISwapChain_SetMaximumFrameLatency_MaxLatencyIsOutOfBounds = 218, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ForegroundIsCoreWindowOnly - IDXGIFactory_CreateSwapChain_ForegroundIsCoreWindowOnly = 219, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_ForegroundUnsupportedOnAdapter - IDXGIFactory2_CreateSwapChainForCoreWindow_ForegroundUnsupportedOnAdapter = 220, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidScaling - IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidScaling = 221, - /// - /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidAlphaMode - IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidAlphaMode = 222, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveForegroundFlag - IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveForegroundFlag = 223, - /// - /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixPointerCannotBeNull - IDXGISwapChain_SetMatrixTransform_MatrixPointerCannotBeNull = 224, - /// - /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_RequiresCompositionSwapChain - IDXGISwapChain_SetMatrixTransform_RequiresCompositionSwapChain = 225, - /// - /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixMustBeFinite - IDXGISwapChain_SetMatrixTransform_MatrixMustBeFinite = 226, - /// - /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixMustBeTranslateAndOrScale - IDXGISwapChain_SetMatrixTransform_MatrixMustBeTranslateAndOrScale = 227, - /// - /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_MatrixPointerCannotBeNull - IDXGISwapChain_GetMatrixTransform_MatrixPointerCannotBeNull = 228, - /// - /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_RequiresCompositionSwapChain - IDXGISwapChain_GetMatrixTransform_RequiresCompositionSwapChain = 229, - /// - /// DXGI_MSG_DXGIGetDebugInterface1_NULL_ppDebug - DXGIGetDebugInterface1_NULL_ppDebug = 230, - /// - /// DXGI_MSG_DXGIGetDebugInterface1_InvalidFlags - DXGIGetDebugInterface1_InvalidFlags = 231, - /// - /// DXGI_MSG_IDXGISwapChain_Present_Decode - IDXGISwapChain_Present_Decode = 232, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_Decode - IDXGISwapChain_ResizeBuffers_Decode = 233, - /// - /// DXGI_MSG_IDXGISwapChain_SetSourceSize_FlipModel - IDXGISwapChain_SetSourceSize_FlipModel = 234, - /// - /// DXGI_MSG_IDXGISwapChain_SetSourceSize_Decode - IDXGISwapChain_SetSourceSize_Decode = 235, - /// - /// DXGI_MSG_IDXGISwapChain_SetSourceSize_WidthHeight - IDXGISwapChain_SetSourceSize_WidthHeight = 236, - /// - /// DXGI_MSG_IDXGISwapChain_GetSourceSize_NullPointers - IDXGISwapChain_GetSourceSize_NullPointers = 237, - /// - /// DXGI_MSG_IDXGISwapChain_GetSourceSize_Decode - IDXGISwapChain_GetSourceSize_Decode = 238, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_SetColorSpace_InvalidFlags - IDXGIDecodeSwapChain_SetColorSpace_InvalidFlags = 239, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_SetSourceRect_InvalidRect - IDXGIDecodeSwapChain_SetSourceRect_InvalidRect = 240, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_SetTargetRect_InvalidRect - IDXGIDecodeSwapChain_SetTargetRect_InvalidRect = 241, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_SetDestSize_InvalidSize - IDXGIDecodeSwapChain_SetDestSize_InvalidSize = 242, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_GetSourceRect_InvalidPointer - IDXGIDecodeSwapChain_GetSourceRect_InvalidPointer = 243, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_GetTargetRect_InvalidPointer - IDXGIDecodeSwapChain_GetTargetRect_InvalidPointer = 244, - /// - /// DXGI_MSG_IDXGIDecodeSwapChain_GetDestSize_InvalidPointer - IDXGIDecodeSwapChain_GetDestSize_InvalidPointer = 245, - /// - /// DXGI_MSG_IDXGISwapChain_PresentBuffer_YUV - IDXGISwapChain_PresentBuffer_YUV = 246, - /// - /// DXGI_MSG_IDXGISwapChain_SetSourceSize_YUV - IDXGISwapChain_SetSourceSize_YUV = 247, - /// - /// DXGI_MSG_IDXGISwapChain_GetSourceSize_YUV - IDXGISwapChain_GetSourceSize_YUV = 248, - /// - /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_YUV - IDXGISwapChain_SetMatrixTransform_YUV = 249, - /// - /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_YUV - IDXGISwapChain_GetMatrixTransform_YUV = 250, - /// - /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentation_YUV - IDXGISwapChain_Present_PartialPresentation_YUV = 251, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveFlag_YUV - IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveFlag_YUV = 252, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_Alignment_YUV - IDXGISwapChain_ResizeBuffers_Alignment_YUV = 253, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ShaderInputUnsupported_YUV - IDXGIFactory_CreateSwapChain_ShaderInputUnsupported_YUV = 254, - /// - /// DXGI_MSG_IDXGIOutput3_CheckOverlaySupport_NullPointers - IDXGIOutput3_CheckOverlaySupport_NullPointers = 255, - /// - /// DXGI_MSG_IDXGIOutput3_CheckOverlaySupport_IDXGIDeviceNotSupportedBypConcernedDevice - IDXGIOutput3_CheckOverlaySupport_IDXGIDeviceNotSupportedBypConcernedDevice = 256, - /// - /// DXGI_MSG_IDXGIAdapter_EnumOutputs2_InvalidEnumOutputs2Flag - IDXGIAdapter_EnumOutputs2_InvalidEnumOutputs2Flag = 257, - /// - /// DXGI_MSG_IDXGISwapChain_CreationOrSetFullscreenState_FSUnsupportedForFlipDiscard - IDXGISwapChain_CreationOrSetFullscreenState_FSUnsupportedForFlipDiscard = 258, - /// - /// DXGI_MSG_IDXGIOutput4_CheckOverlayColorSpaceSupport_NullPointers - IDXGIOutput4_CheckOverlayColorSpaceSupport_NullPointers = 259, - /// - /// DXGI_MSG_IDXGIOutput4_CheckOverlayColorSpaceSupport_IDXGIDeviceNotSupportedBypConcernedDevice - IDXGIOutput4_CheckOverlayColorSpaceSupport_IDXGIDeviceNotSupportedBypConcernedDevice = 260, - /// - /// DXGI_MSG_IDXGISwapChain3_CheckColorSpaceSupport_NullPointers - IDXGISwapChain3_CheckColorSpaceSupport_NullPointers = 261, - /// - /// DXGI_MSG_IDXGISwapChain3_SetColorSpace1_InvalidColorSpace - IDXGISwapChain3_SetColorSpace1_InvalidColorSpace = 262, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidHwProtect - IDXGIFactory_CreateSwapChain_InvalidHwProtect = 263, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_HwProtectUnsupported - IDXGIFactory_CreateSwapChain_HwProtectUnsupported = 264, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidHwProtect - IDXGISwapChain_ResizeBuffers_InvalidHwProtect = 265, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_HwProtectUnsupported - IDXGISwapChain_ResizeBuffers_HwProtectUnsupported = 266, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_D3D12Only - IDXGISwapChain_ResizeBuffers1_D3D12Only = 267, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_FlipModel - IDXGISwapChain_ResizeBuffers1_FlipModel = 268, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_NodeMaskAndQueueRequired - IDXGISwapChain_ResizeBuffers1_NodeMaskAndQueueRequired = 269, - /// - /// DXGI_MSG_IDXGISwapChain_CreateSwapChain_InvalidHwProtectGdiFlag - IDXGISwapChain_CreateSwapChain_InvalidHwProtectGdiFlag = 270, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidHwProtectGdiFlag - IDXGISwapChain_ResizeBuffers_InvalidHwProtectGdiFlag = 271, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_10BitFormatNotSupported - IDXGIFactory_CreateSwapChain_10BitFormatNotSupported = 272, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FlipSwapEffectRequired - IDXGIFactory_CreateSwapChain_FlipSwapEffectRequired = 273, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidDevice - IDXGIFactory_CreateSwapChain_InvalidDevice = 274, - /// - /// DXGI_MSG_IDXGIOutput_TakeOwnership_Unsupported - IDXGIOutput_TakeOwnership_Unsupported = 275, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidQueue - IDXGIFactory_CreateSwapChain_InvalidQueue = 276, - /// - /// DXGI_MSG_IDXGISwapChain3_ResizeBuffers1_InvalidQueue - IDXGISwapChain3_ResizeBuffers1_InvalidQueue = 277, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChainForHwnd_InvalidScaling - IDXGIFactory_CreateSwapChainForHwnd_InvalidScaling = 278, - /// - /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidSize - IDXGISwapChain3_SetHDRMetaData_InvalidSize = 279, - /// - /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidPointer - IDXGISwapChain3_SetHDRMetaData_InvalidPointer = 280, - /// - /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidType - IDXGISwapChain3_SetHDRMetaData_InvalidType = 281, - /// - /// DXGI_MSG_IDXGISwapChain_Present_FullscreenAllowTearingIsInvalid - IDXGISwapChain_Present_FullscreenAllowTearingIsInvalid = 282, - /// - /// DXGI_MSG_IDXGISwapChain_Present_AllowTearingRequiresPresentIntervalZero - IDXGISwapChain_Present_AllowTearingRequiresPresentIntervalZero = 283, - /// - /// DXGI_MSG_IDXGISwapChain_Present_AllowTearingRequiresCreationFlag - IDXGISwapChain_Present_AllowTearingRequiresCreationFlag = 284, - /// - /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveAllowTearingFlag - IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveAllowTearingFlag = 285, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AllowTearingFlagIsFlipModelOnly - IDXGIFactory_CreateSwapChain_AllowTearingFlagIsFlipModelOnly = 286, - /// - /// DXGI_MSG_IDXGIFactory_CheckFeatureSupport_InvalidFeature - IDXGIFactory_CheckFeatureSupport_InvalidFeature = 287, - /// - /// DXGI_MSG_IDXGIFactory_CheckFeatureSupport_InvalidSize - IDXGIFactory_CheckFeatureSupport_InvalidSize = 288, - /// - /// DXGI_MSG_IDXGIOutput6_CheckHardwareCompositionSupport_NullPointer - IDXGIOutput6_CheckHardwareCompositionSupport_NullPointer = 289, - /// - /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_PerMonitorDpiShimApplied - IDXGISwapChain_SetFullscreenState_PerMonitorDpiShimApplied = 290, - /// - /// DXGI_MSG_IDXGIOutput_DuplicateOutput_PerMonitorDpiShimApplied - IDXGIOutput_DuplicateOutput_PerMonitorDpiShimApplied = 291, - /// - /// DXGI_MSG_IDXGIOutput_DuplicateOutput1_PerMonitorDpiRequired - IDXGIOutput_DuplicateOutput1_PerMonitorDpiRequired = 292, - /// - /// DXGI_MSG_IDXGIFactory7_UnregisterAdaptersChangedEvent_CookieNotFound - IDXGIFactory7_UnregisterAdaptersChangedEvent_CookieNotFound = 293, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_LegacyBltModelSwapEffect - IDXGIFactory_CreateSwapChain_LegacyBltModelSwapEffect = 294, - /// - /// DXGI_MSG_IDXGISwapChain4_SetHDRMetaData_MetadataUnchanged - IDXGISwapChain4_SetHDRMetaData_MetadataUnchanged = 295, - /// - /// DXGI_MSG_IDXGISwapChain_Present_11On12_Released_Resource - IDXGISwapChain_Present_11On12_Released_Resource = 296, - /// - /// DXGI_MSG_IDXGIFactory_CreateSwapChain_MultipleSwapchainRefToSurface_DeferredDtr - IDXGIFactory_CreateSwapChain_MultipleSwapchainRefToSurface_DeferredDtr = 297, - /// - /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_NoOpBehavior - IDXGIFactory_MakeWindowAssociation_NoOpBehavior = 298, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow - Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow = 1000, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_DISCARD_BufferCount - Phone_IDXGIFactory_CreateSwapChain_DISCARD_BufferCount = 1001, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_SetFullscreenState_NotAvailable - Phone_IDXGISwapChain_SetFullscreenState_NotAvailable = 1002, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_ResizeBuffers_NotAvailable - Phone_IDXGISwapChain_ResizeBuffers_NotAvailable = 1003, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_ResizeTarget_NotAvailable - Phone_IDXGISwapChain_ResizeTarget_NotAvailable = 1004, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidLayerIndex - Phone_IDXGISwapChain_Present_InvalidLayerIndex = 1005, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_MultipleLayerIndex - Phone_IDXGISwapChain_Present_MultipleLayerIndex = 1006, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidLayerFlag - Phone_IDXGISwapChain_Present_InvalidLayerFlag = 1007, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidRotation - Phone_IDXGISwapChain_Present_InvalidRotation = 1008, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidBlend - Phone_IDXGISwapChain_Present_InvalidBlend = 1009, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidResource - Phone_IDXGISwapChain_Present_InvalidResource = 1010, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidMultiPlaneOverlayResource - Phone_IDXGISwapChain_Present_InvalidMultiPlaneOverlayResource = 1011, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidIndexForPrimary - Phone_IDXGISwapChain_Present_InvalidIndexForPrimary = 1012, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidIndexForOverlay - Phone_IDXGISwapChain_Present_InvalidIndexForOverlay = 1013, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidSubResourceIndex - Phone_IDXGISwapChain_Present_InvalidSubResourceIndex = 1014, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidSourceRect - Phone_IDXGISwapChain_Present_InvalidSourceRect = 1015, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidDestinationRect - Phone_IDXGISwapChain_Present_InvalidDestinationRect = 1016, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_MultipleResource - Phone_IDXGISwapChain_Present_MultipleResource = 1017, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_NotSharedResource - Phone_IDXGISwapChain_Present_NotSharedResource = 1018, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidFlag - Phone_IDXGISwapChain_Present_InvalidFlag = 1019, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidInterval - Phone_IDXGISwapChain_Present_InvalidInterval = 1020, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_MSAA_NotSupported - Phone_IDXGIFactory_CreateSwapChain_MSAA_NotSupported = 1021, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_ScalingAspectRatioStretch_Supported_ModernApp - Phone_IDXGIFactory_CreateSwapChain_ScalingAspectRatioStretch_Supported_ModernApp = 1022, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_GetFrameStatistics_NotAvailable_ModernApp - Phone_IDXGISwapChain_GetFrameStatistics_NotAvailable_ModernApp = 1023, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present_ReplaceInterval0With1 - Phone_IDXGISwapChain_Present_ReplaceInterval0With1 = 1024, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FailedRegisterWithCompositor - Phone_IDXGIFactory_CreateSwapChain_FailedRegisterWithCompositor = 1025, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow_AtRendering - Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow_AtRendering = 1026, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FLIP_SEQUENTIAL_BufferCount - Phone_IDXGIFactory_CreateSwapChain_FLIP_SEQUENTIAL_BufferCount = 1027, - /// - /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FLIP_Modern_CoreWindow_Only - Phone_IDXGIFactory_CreateSwapChain_FLIP_Modern_CoreWindow_Only = 1028, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_Present1_RequiresOverlays - Phone_IDXGISwapChain_Present1_RequiresOverlays = 1029, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_SetBackgroundColor_FlipSequentialRequired - Phone_IDXGISwapChain_SetBackgroundColor_FlipSequentialRequired = 1030, - /// - /// DXGI_MSG_Phone_IDXGISwapChain_GetBackgroundColor_FlipSequentialRequired - Phone_IDXGISwapChain_GetBackgroundColor_FlipSequentialRequired = 1031, -} -#endregion Enums - -#region Generated Enums -/// DXGI_USAGE -[Flags] -public enum Usage : uint -{ - None = 0, - /// DXGI_USAGE_SHADER_INPUT - ShaderInput = 16, - /// DXGI_USAGE_RENDER_TARGET_OUTPUT - RenderTargetOutput = 32, - /// DXGI_USAGE_BACK_BUFFER - BackBuffer = 64, - /// DXGI_USAGE_SHARED - Shared = 128, - /// DXGI_USAGE_READ_ONLY - ReadOnly = 256, - /// DXGI_USAGE_DISCARD_ON_PRESENT - DiscardOnPresent = 512, - /// DXGI_USAGE_UNORDERED_ACCESS - UnorderedAccess = 1024, -} - -/// DXGI_MAP -[Flags] -public enum MapFlags : uint -{ - None = 0, - /// DXGI_MAP_READ - Read = 1, - /// DXGI_MAP_WRITE - Write = 2, - /// DXGI_MAP_DISCARD - Discard = 4, -} - -/// DXGI_ENUM_MODES -[Flags] -public enum EnumModesFlags : uint -{ - None = 0, - /// DXGI_ENUM_MODES_INTERLACED - Interlaced = 1, - /// DXGI_ENUM_MODES_SCALING - Scaling = 2, - /// DXGI_ENUM_MODES_STEREO - Stereo = 4, - /// DXGI_ENUM_MODES_DISABLED_STEREO - DisabledStereo = 8, -} - -/// DXGI_PRESENT -[Flags] -public enum PresentFlags : uint -{ - None = 0, - /// DXGI_PRESENT_TEST - Test = 1, - /// DXGI_PRESENT_DO_NOT_SEQUENCE - DoNotSequence = 2, - /// DXGI_PRESENT_RESTART - Restart = 4, - /// DXGI_PRESENT_DO_NOT_WAIT - DoNotWait = 8, - /// DXGI_PRESENT_STEREO_PREFER_RIGHT - StereoPreferRight = 16, - /// DXGI_PRESENT_STEREO_TEMPORARY_MONO - StereoTemporaryMono = 32, - /// DXGI_PRESENT_RESTRICT_TO_OUTPUT - RestrictToOutput = 64, - /// DXGI_PRESENT_USE_DURATION - UseDuration = 256, - /// DXGI_PRESENT_ALLOW_TEARING - AllowTearing = 512, -} - -/// DXGI_MWA -[Flags] -public enum WindowAssociationFlags : uint -{ - None = 0, - /// DXGI_MWA_NO_WINDOW_CHANGES - NoWindowChanges = 1, - /// DXGI_MWA_NO_ALT_ENTER - NoAltEnter = 2, - /// DXGI_MWA_NO_PRINT_SCREEN - NoPrintScreen = 4, - /// DXGI_MWA_VALID - Valid = 7, -} -#endregion Generated Enums - -#region Structs - -/// -/// DXGI_FRAME_STATISTICS -public partial struct FrameStatistics -{ - /// - public uint PresentCount; - - /// - public uint PresentRefreshCount; - - /// - public uint SyncRefreshCount; - - /// - public LargeInteger SyncQPCTime; - - /// - public LargeInteger SyncGPUTime; -} - -/// -/// DXGI_MAPPED_RECT -public partial struct MappedRect -{ - /// - public int Pitch; - - /// - public unsafe byte* pBits; -} - -/// -/// DXGI_ADAPTER_DESC -public partial struct AdapterDescription -{ - /// - public unsafe fixed ushort Description[128]; - - /// - public uint VendorId; - - /// - public uint DeviceId; - - /// - public uint SubSysId; - - /// - public uint Revision; - - /// - public nuint DedicatedVideoMemory; - - /// - public nuint DedicatedSystemMemory; - - /// - public nuint SharedSystemMemory; - - /// - public Luid AdapterLuid; -} - -/// -/// DXGI_OUTPUT_DESC -public partial struct OutputDescription -{ - /// - public unsafe fixed ushort DeviceName[32]; - - /// - public RawRect DesktopCoordinates; - - /// - public Bool32 AttachedToDesktop; - - /// - public Common.ModeRotation Rotation; - - /// - public IntPtr Monitor; -} - -/// -/// DXGI_SHARED_RESOURCE -public partial struct SharedResource -{ - /// - public Handle Handle; -} - -/// -/// DXGI_SURFACE_DESC -public partial struct SurfaceDescription -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public Common.Format Format; - - /// - public Common.SampleDescription SampleDesc; -} - -/// -/// DXGI_SWAP_CHAIN_DESC -public partial struct SwapChainDescription -{ - /// - public Common.ModeDescription BufferDesc; - - /// - public Common.SampleDescription SampleDesc; - - /// - public Usage BufferUsage; - - /// - public uint BufferCount; - - /// - public IntPtr OutputWindow; - - /// - public Bool32 Windowed; - - /// - public SwapEffect SwapEffect; - - /// - public SwapChainFlags Flags; -} - -/// -/// DXGI_ADAPTER_DESC1 -public partial struct AdapterDescription1 -{ - /// - public unsafe fixed ushort Description[128]; - - /// - public uint VendorId; - - /// - public uint DeviceId; - - /// - public uint SubSysId; - - /// - public uint Revision; - - /// - public nuint DedicatedVideoMemory; - - /// - public nuint DedicatedSystemMemory; - - /// - public nuint SharedSystemMemory; - - /// - public Luid AdapterLuid; - - /// - public AdapterFlags Flags; -} - -/// -/// DXGI_DISPLAY_COLOR_SPACE -public partial struct DisplayColorSpace -{ - /// - public unsafe fixed float PrimaryCoordinates[16]; - - /// - public unsafe fixed float WhitePoints[32]; -} - -/// -/// DXGI_OUTDUPL_MOVE_RECT -public partial struct OutduplMoveRect -{ - /// - public System.Drawing.Point SourcePoint; - - /// - public RawRect DestinationRect; -} - -/// -/// DXGI_OUTDUPL_DESC -public partial struct OutduplDescription -{ - /// - public Common.ModeDescription ModeDesc; - - /// - public Common.ModeRotation Rotation; - - /// - public Bool32 DesktopImageInSystemMemory; -} - -/// -/// DXGI_OUTDUPL_POINTER_POSITION -public partial struct OutduplPointerPosition -{ - /// - public System.Drawing.Point Position; - - /// - public Bool32 Visible; -} - -/// -/// DXGI_OUTDUPL_POINTER_SHAPE_INFO -public partial struct OutduplPointerShapeInfo -{ - /// - public uint Type; - - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Pitch; - - /// - public System.Drawing.Point HotSpot; -} - -/// -/// DXGI_OUTDUPL_FRAME_INFO -public partial struct OutduplFrameInfo -{ - /// - public LargeInteger LastPresentTime; - - /// - public LargeInteger LastMouseUpdateTime; - - /// - public uint AccumulatedFrames; - - /// - public Bool32 RectsCoalesced; - - /// - public Bool32 ProtectedContentMaskedOut; - - /// - public OutduplPointerPosition PointerPosition; - - /// - public uint TotalMetadataBufferSize; - - /// - public uint PointerShapeBufferSize; -} - -/// -/// DXGI_MODE_DESC1 -public partial struct ModeDescription1 -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public Common.Rational RefreshRate; - - /// - public Common.Format Format; - - /// - public Common.ModeScanlineOrder ScanlineOrdering; - - /// - public Common.ModeScaling Scaling; - - /// - public Bool32 Stereo; -} - -/// -/// DXGI_SWAP_CHAIN_DESC1 -public partial struct SwapChainDescription1 -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public Common.Format Format; - - /// - public Bool32 Stereo; - - /// - public Common.SampleDescription SampleDesc; - - /// - public Usage BufferUsage; - - /// - public uint BufferCount; - - /// - public Scaling Scaling; - - /// - public SwapEffect SwapEffect; - - /// - public Common.AlphaMode AlphaMode; - - /// - public SwapChainFlags Flags; -} - -/// -/// DXGI_SWAP_CHAIN_FULLSCREEN_DESC -public partial struct SwapChainFullscreenDescription -{ - /// - public Common.Rational RefreshRate; - - /// - public Common.ModeScanlineOrder ScanlineOrdering; - - /// - public Common.ModeScaling Scaling; - - /// - public Bool32 Windowed; -} - -/// -/// DXGI_PRESENT_PARAMETERS -public partial struct PresentParameters -{ - /// - public uint DirtyRectsCount; - - /// - public unsafe RawRect* pDirtyRects; - - /// - public unsafe RawRect* pScrollRect; - - /// - public unsafe System.Drawing.Point* pScrollOffset; -} - -/// -/// DXGI_ADAPTER_DESC2 -public partial struct AdapterDescription2 -{ - /// - public unsafe fixed ushort Description[128]; - - /// - public uint VendorId; - - /// - public uint DeviceId; - - /// - public uint SubSysId; - - /// - public uint Revision; - - /// - public nuint DedicatedVideoMemory; - - /// - public nuint DedicatedSystemMemory; - - /// - public nuint SharedSystemMemory; - - /// - public Luid AdapterLuid; - - /// - public uint Flags; - - /// - public GraphicsPreemptionGranularity GraphicsPreemptionGranularity; - - /// - public ComputePreemptionGranularity ComputePreemptionGranularity; -} - -/// -/// DXGI_DECODE_SWAP_CHAIN_DESC -public partial struct DecodeSwapChainDescription -{ - /// - public SwapChainFlags Flags; -} - -/// -/// DXGI_FRAME_STATISTICS_MEDIA -public partial struct FrameStatisticsMedia -{ - /// - public uint PresentCount; - - /// - public uint PresentRefreshCount; - - /// - public uint SyncRefreshCount; - - /// - public LargeInteger SyncQPCTime; - - /// - public LargeInteger SyncGPUTime; - - /// - public FramePresentationMode CompositionMode; - - /// - public uint ApprovedPresentDuration; -} - -/// -/// DXGI_QUERY_VIDEO_MEMORY_INFO -public partial struct QueryVideoMemoryInfo -{ - /// - public ulong Budget; - - /// - public ulong CurrentUsage; - - /// - public ulong AvailableForReservation; - - /// - public ulong CurrentReservation; -} - -/// -/// DXGI_HDR_METADATA_HDR10 -public partial struct HDRMetadataHdr10 -{ - /// - public unsafe fixed ushort RedPrimary[2]; - - /// - public unsafe fixed ushort GreenPrimary[2]; - - /// - public unsafe fixed ushort BluePrimary[2]; - - /// - public unsafe fixed ushort WhitePoint[2]; - - /// - public uint MaxMasteringLuminance; - - /// - public uint MinMasteringLuminance; - - /// - public ushort MaxContentLightLevel; - - /// - public ushort MaxFrameAverageLightLevel; -} - -/// -/// DXGI_HDR_METADATA_HDR10PLUS -public partial struct HDRMetadataHdr10plus -{ - /// - public unsafe fixed byte Data[72]; -} - -/// -/// DXGI_ADAPTER_DESC3 -public partial struct AdapterDescription3 -{ - /// - public unsafe fixed ushort Description[128]; - - /// - public uint VendorId; - - /// - public uint DeviceId; - - /// - public uint SubSysId; - - /// - public uint Revision; - - /// - public nuint DedicatedVideoMemory; - - /// - public nuint DedicatedSystemMemory; - - /// - public nuint SharedSystemMemory; - - /// - public Luid AdapterLuid; - - /// - public AdapterFlags3 Flags; - - /// - public GraphicsPreemptionGranularity GraphicsPreemptionGranularity; - - /// - public ComputePreemptionGranularity ComputePreemptionGranularity; -} - -/// -/// DXGI_OUTPUT_DESC1 -public partial struct OutputDescription1 -{ - /// - public unsafe fixed ushort DeviceName[32]; - - /// - public RawRect DesktopCoordinates; - - /// - public Bool32 AttachedToDesktop; - - /// - public Common.ModeRotation Rotation; - - /// - public IntPtr Monitor; - - /// - public uint BitsPerColor; - - /// - public Common.ColorSpaceType ColorSpace; - - /// - public unsafe fixed float RedPrimary[2]; - - /// - public unsafe fixed float GreenPrimary[2]; - - /// - public unsafe fixed float BluePrimary[2]; - - /// - public unsafe fixed float WhitePoint[2]; - - /// - public float MinLuminance; - - /// - public float MaxLuminance; - - /// - public float MaxFullFrameLuminance; -} - -/// -/// DXGI_INFO_QUEUE_MESSAGE -public partial struct InfoQueueMessage -{ - /// - public Guid Producer; - - /// - public InfoQueueMessageCategory Category; - - /// - public InfoQueueMessageSeverity Severity; - - /// - public int ID; - - /// - public unsafe byte* pDescription; - - /// - public nuint DescriptionByteLength; -} - -/// -/// DXGI_INFO_QUEUE_FILTER_DESC -public partial struct InfoQueueFilterDescription -{ - /// - public uint NumCategories; - - /// - public unsafe InfoQueueMessageCategory* pCategoryList; - - /// - public uint NumSeverities; - - /// - public unsafe InfoQueueMessageSeverity* pSeverityList; - - /// - public uint NumIDs; - - /// - public unsafe int* pIDList; -} - -/// -/// DXGI_INFO_QUEUE_FILTER -public partial struct InfoQueueFilter -{ - /// - public InfoQueueFilterDescription AllowList; - - /// - public InfoQueueFilterDescription DenyList; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("dxgi.dll", ExactSpelling = true)] - public static extern HResult CreateDXGIFactory(Guid* riid, void** ppFactory); - - [DllImport("dxgi.dll", ExactSpelling = true)] - public static extern HResult CreateDXGIFactory1(Guid* riid, void** ppFactory); - - [DllImport("dxgi.dll", ExactSpelling = true)] - public static extern HResult CreateDXGIFactory2(uint Flags, Guid* riid, void** ppFactory); - - [DllImport("dxgi.dll", ExactSpelling = true)] - public static extern HResult DXGIGetDebugInterface1(uint Flags, Guid* riid, void** pDebug); - - [DllImport("dxgi.dll", ExactSpelling = true)] - public static extern HResult DXGIDeclareAdapterRemovalSupport(); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription.cs new file mode 100644 index 0000000..62a8998 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription.cs @@ -0,0 +1,42 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_DESC +public partial struct AdapterDescription +{ + /// + public unsafe fixed ushort Description[128]; + + /// + public uint VendorId; + + /// + public uint DeviceId; + + /// + public uint SubSysId; + + /// + public uint Revision; + + /// + public nuint DedicatedVideoMemory; + + /// + public nuint DedicatedSystemMemory; + + /// + public nuint SharedSystemMemory; + + /// + public Luid AdapterLuid; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription1.cs new file mode 100644 index 0000000..2a55b2c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription1.cs @@ -0,0 +1,45 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_DESC1 +public partial struct AdapterDescription1 +{ + /// + public unsafe fixed ushort Description[128]; + + /// + public uint VendorId; + + /// + public uint DeviceId; + + /// + public uint SubSysId; + + /// + public uint Revision; + + /// + public nuint DedicatedVideoMemory; + + /// + public nuint DedicatedSystemMemory; + + /// + public nuint SharedSystemMemory; + + /// + public Luid AdapterLuid; + + /// + public AdapterFlags Flags; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription2.cs new file mode 100644 index 0000000..a45209b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription2.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_DESC2 +public partial struct AdapterDescription2 +{ + /// + public unsafe fixed ushort Description[128]; + + /// + public uint VendorId; + + /// + public uint DeviceId; + + /// + public uint SubSysId; + + /// + public uint Revision; + + /// + public nuint DedicatedVideoMemory; + + /// + public nuint DedicatedSystemMemory; + + /// + public nuint SharedSystemMemory; + + /// + public Luid AdapterLuid; + + /// + public uint Flags; + + /// + public GraphicsPreemptionGranularity GraphicsPreemptionGranularity; + + /// + public ComputePreemptionGranularity ComputePreemptionGranularity; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription3.cs new file mode 100644 index 0000000..8ecd1ce --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterDescription3.cs @@ -0,0 +1,51 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_DESC3 +public partial struct AdapterDescription3 +{ + /// + public unsafe fixed ushort Description[128]; + + /// + public uint VendorId; + + /// + public uint DeviceId; + + /// + public uint SubSysId; + + /// + public uint Revision; + + /// + public nuint DedicatedVideoMemory; + + /// + public nuint DedicatedSystemMemory; + + /// + public nuint SharedSystemMemory; + + /// + public Luid AdapterLuid; + + /// + public AdapterFlags3 Flags; + + /// + public GraphicsPreemptionGranularity GraphicsPreemptionGranularity; + + /// + public ComputePreemptionGranularity ComputePreemptionGranularity; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags.cs new file mode 100644 index 0000000..5bdbc58 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags.cs @@ -0,0 +1,26 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_FLAG +[Flags] +public enum AdapterFlags : uint +{ + /// + /// DXGI_ADAPTER_FLAG_NONE + None = 0, + /// + /// DXGI_ADAPTER_FLAG_REMOTE + Remote = 1, + /// + /// DXGI_ADAPTER_FLAG_SOFTWARE + Software = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags3.cs new file mode 100644 index 0000000..7737bb8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AdapterFlags3.cs @@ -0,0 +1,38 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_ADAPTER_FLAG3 +[Flags] +public enum AdapterFlags3 : uint +{ + /// + /// DXGI_ADAPTER_FLAG3_NONE + None = 0, + /// + /// DXGI_ADAPTER_FLAG3_REMOTE + Remote = 1, + /// + /// DXGI_ADAPTER_FLAG3_SOFTWARE + Software = 2, + /// + /// DXGI_ADAPTER_FLAG3_ACG_COMPATIBLE + AcgCompatible = 4, + /// + /// DXGI_ADAPTER_FLAG3_SUPPORT_MONITORED_FENCES + SupportMonitoredFences = 8, + /// + /// DXGI_ADAPTER_FLAG3_SUPPORT_NON_MONITORED_FENCES + SupportNonMonitoredFences = 16, + /// + /// DXGI_ADAPTER_FLAG3_KEYED_MUTEX_CONFORMANCE + KeyedMutexConformance = 32, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/AlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/AlphaMode.cs new file mode 100644 index 0000000..aef7827 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/AlphaMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_ALPHA_MODE +public enum AlphaMode : uint +{ + /// + /// DXGI_ALPHA_MODE_UNSPECIFIED + Unspecified = 0, + /// + /// DXGI_ALPHA_MODE_PREMULTIPLIED + Premultiplied = 1, + /// + /// DXGI_ALPHA_MODE_STRAIGHT + Straight = 2, + /// + /// DXGI_ALPHA_MODE_IGNORE + Ignore = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.Functions.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.Functions.cs new file mode 100644 index 0000000..c22c763 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.Functions.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +public static unsafe partial class Apis +{ + [DllImport("dxgi.dll", ExactSpelling = true)] + public static extern HResult CreateDXGIFactory(Guid* riid, void** ppFactory); + + [DllImport("dxgi.dll", ExactSpelling = true)] + public static extern HResult CreateDXGIFactory1(Guid* riid, void** ppFactory); + + [DllImport("dxgi.dll", ExactSpelling = true)] + public static extern HResult CreateDXGIFactory2(uint Flags, Guid* riid, void** ppFactory); + + [DllImport("dxgi.dll", ExactSpelling = true)] + public static extern HResult DXGIGetDebugInterface1(uint Flags, Guid* riid, void** pDebug); + + [DllImport("dxgi.dll", ExactSpelling = true)] + public static extern HResult DXGIDeclareAdapterRemovalSupport(); +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.cs new file mode 100644 index 0000000..aadaaf9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Apis.cs @@ -0,0 +1,189 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +public static partial class Apis +{ + public const uint DXGI_MAX_SWAP_CHAIN_BUFFERS = 16; + + public const uint DXGI_SHARED_RESOURCE_READ = 2147483648; + + public const uint DXGI_SHARED_RESOURCE_WRITE = 1; + + public const uint DXGI_DEBUG_BINARY_VERSION = 1; + + public static ref readonly Guid DXGI_DEBUG_ALL + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x83, 0xE2, 0x8A, 0xE4, + 0x80, 0xDA, + 0x0B, 0x49, + 0x87, + 0xE6, + 0x43, + 0xE9, + 0xA9, + 0xCF, + 0xDA, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid DXGI_DEBUG_DX + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0xD7, 0xCD, 0x35, + 0xB2, 0x13, + 0x1D, 0x42, + 0xA5, + 0xD7, + 0x7E, + 0x44, + 0x51, + 0x28, + 0x7D, + 0x64 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid DXGI_DEBUG_DXGI + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0xDA, 0xCD, 0x25, + 0xC6, 0xB1, + 0xE1, 0x47, + 0xAC, + 0x3E, + 0x98, + 0x87, + 0x5B, + 0x5A, + 0x2E, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid DXGI_DEBUG_APP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x01, 0x6E, 0xCD, 0x06, + 0x19, 0x42, + 0xBD, 0x4E, + 0x87, + 0x09, + 0x27, + 0xED, + 0x23, + 0x36, + 0x0C, + 0x62 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint DXGI_INFO_QUEUE_MESSAGE_ID_STRING_FROM_APPLICATION = 0; + + public const uint DXGI_INFO_QUEUE_DEFAULT_MESSAGE_COUNT_LIMIT = 1024; + + public const uint DXGI_CREATE_FACTORY_DEBUG = 1; + + public static readonly HResult DXGI_ERROR_INVALID_CALL = -2005270527; + + public static readonly HResult DXGI_ERROR_NOT_FOUND = -2005270526; + + public static readonly HResult DXGI_ERROR_MORE_DATA = -2005270525; + + public static readonly HResult DXGI_ERROR_UNSUPPORTED = -2005270524; + + public static readonly HResult DXGI_ERROR_DEVICE_REMOVED = -2005270523; + + public static readonly HResult DXGI_ERROR_DEVICE_HUNG = -2005270522; + + public static readonly HResult DXGI_ERROR_DEVICE_RESET = -2005270521; + + public static readonly HResult DXGI_ERROR_WAS_STILL_DRAWING = -2005270518; + + public static readonly HResult DXGI_ERROR_FRAME_STATISTICS_DISJOINT = -2005270517; + + public static readonly HResult DXGI_ERROR_GRAPHICS_VIDPN_SOURCE_IN_USE = -2005270516; + + public static readonly HResult DXGI_ERROR_DRIVER_INTERNAL_ERROR = -2005270496; + + public static readonly HResult DXGI_ERROR_NONEXCLUSIVE = -2005270495; + + public static readonly HResult DXGI_ERROR_NOT_CURRENTLY_AVAILABLE = -2005270494; + + public static readonly HResult DXGI_ERROR_REMOTE_CLIENT_DISCONNECTED = -2005270493; + + public static readonly HResult DXGI_ERROR_REMOTE_OUTOFMEMORY = -2005270492; + + public static readonly HResult DXGI_ERROR_ACCESS_LOST = -2005270490; + + public static readonly HResult DXGI_ERROR_WAIT_TIMEOUT = -2005270489; + + public static readonly HResult DXGI_ERROR_SESSION_DISCONNECTED = -2005270488; + + public static readonly HResult DXGI_ERROR_RESTRICT_TO_OUTPUT_STALE = -2005270487; + + public static readonly HResult DXGI_ERROR_CANNOT_PROTECT_CONTENT = -2005270486; + + public static readonly HResult DXGI_ERROR_ACCESS_DENIED = -2005270485; + + public static readonly HResult DXGI_ERROR_NAME_ALREADY_EXISTS = -2005270484; + + public static readonly HResult DXGI_ERROR_SDK_COMPONENT_MISSING = -2005270483; + + public static readonly HResult DXGI_ERROR_NOT_CURRENT = -2005270482; + + public static readonly HResult DXGI_ERROR_HW_PROTECTION_OUTOFMEMORY = -2005270480; + + public static readonly HResult DXGI_ERROR_DYNAMIC_CODE_POLICY_VIOLATION = -2005270479; + + public static readonly HResult DXGI_ERROR_NON_COMPOSITED_UI = -2005270478; + + public static readonly HResult DXGI_ERROR_MODE_CHANGE_IN_PROGRESS = -2005270491; + + public static readonly HResult DXGI_ERROR_CACHE_CORRUPT = -2005270477; + + public static readonly HResult DXGI_ERROR_CACHE_FULL = -2005270476; + + public static readonly HResult DXGI_ERROR_CACHE_HASH_COLLISION = -2005270475; + + public static readonly HResult DXGI_ERROR_ALREADY_EXISTS = -2005270474; + +} + diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ColorSpaceType.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ColorSpaceType.cs new file mode 100644 index 0000000..760b409 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ColorSpaceType.cs @@ -0,0 +1,94 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_COLOR_SPACE_TYPE +public enum ColorSpaceType : int +{ + /// + /// DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709 + RgbFullG22NoneP709 = 0, + /// + /// DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709 + RgbFullG10NoneP709 = 1, + /// + /// DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P709 + RgbStudioG22NoneP709 = 2, + /// + /// DXGI_COLOR_SPACE_RGB_STUDIO_G22_NONE_P2020 + RgbStudioG22NoneP2020 = 3, + /// + /// DXGI_COLOR_SPACE_RESERVED + Reserved = 4, + /// + /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601 + YcbcrFullG22NoneP709X601 = 5, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601 + YcbcrStudioG22LeftP601 = 6, + /// + /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P601 + YcbcrFullG22LeftP601 = 7, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709 + YcbcrStudioG22LeftP709 = 8, + /// + /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P709 + YcbcrFullG22LeftP709 = 9, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020 + YcbcrStudioG22LeftP2020 = 10, + /// + /// DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020 + YcbcrFullG22LeftP2020 = 11, + /// + /// DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020 + RgbFullG2084NoneP2020 = 12, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_LEFT_P2020 + YcbcrStudioG2084LeftP2020 = 13, + /// + /// DXGI_COLOR_SPACE_RGB_STUDIO_G2084_NONE_P2020 + RgbStudioG2084NoneP2020 = 14, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_TOPLEFT_P2020 + YcbcrStudioG22TopleftP2020 = 15, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G2084_TOPLEFT_P2020 + YcbcrStudioG2084TopleftP2020 = 16, + /// + /// DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P2020 + RgbFullG22NoneP2020 = 17, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_GHLG_TOPLEFT_P2020 + YcbcrStudioGhlgTopleftP2020 = 18, + /// + /// DXGI_COLOR_SPACE_YCBCR_FULL_GHLG_TOPLEFT_P2020 + YcbcrFullGhlgTopleftP2020 = 19, + /// + /// DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P709 + RgbStudioG24NoneP709 = 20, + /// + /// DXGI_COLOR_SPACE_RGB_STUDIO_G24_NONE_P2020 + RgbStudioG24NoneP2020 = 21, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P709 + YcbcrStudioG24LeftP709 = 22, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_LEFT_P2020 + YcbcrStudioG24LeftP2020 = 23, + /// + /// DXGI_COLOR_SPACE_YCBCR_STUDIO_G24_TOPLEFT_P2020 + YcbcrStudioG24TopleftP2020 = 24, + /// + /// DXGI_COLOR_SPACE_CUSTOM + Custom = -1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ComputePreemptionGranularity.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ComputePreemptionGranularity.cs new file mode 100644 index 0000000..08b2f25 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ComputePreemptionGranularity.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_COMPUTE_PREEMPTION_GRANULARITY +public enum ComputePreemptionGranularity : int +{ + /// + /// DXGI_COMPUTE_PREEMPTION_DMA_BUFFER_BOUNDARY + DmaBufferBoundary = 0, + /// + /// DXGI_COMPUTE_PREEMPTION_DISPATCH_BOUNDARY + DispatchBoundary = 1, + /// + /// DXGI_COMPUTE_PREEMPTION_THREAD_GROUP_BOUNDARY + ThreadGroupBoundary = 2, + /// + /// DXGI_COMPUTE_PREEMPTION_THREAD_BOUNDARY + ThreadBoundary = 3, + /// + /// DXGI_COMPUTE_PREEMPTION_INSTRUCTION_BOUNDARY + InstructionBoundary = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/CpuAccess.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/CpuAccess.cs new file mode 100644 index 0000000..e059e62 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/CpuAccess.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// DXGI_CPU_ACCESS +public enum CpuAccess : uint +{ + /// DXGI_CPU_ACCESS_NONE + None = 0, + /// DXGI_CPU_ACCESS_DYNAMIC + Dynamic = 1, + /// DXGI_CPU_ACCESS_READ_WRITE + ReadWrite = 2, + /// DXGI_CPU_ACCESS_SCRATCH + Scratch = 3, + /// DXGI_CPU_ACCESS_FIELD + Field = 15, +} diff --git a/src/Vortice.Win32/Generated/DXGI.xml b/src/Vortice.Win32/Generated/Graphics/Dxgi/DXGI.xml similarity index 100% rename from src/Vortice.Win32/Generated/DXGI.xml rename to src/Vortice.Win32/Generated/Graphics/Dxgi/DXGI.xml diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/DecodeSwapChainDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/DecodeSwapChainDescription.cs new file mode 100644 index 0000000..d448c46 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/DecodeSwapChainDescription.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_DECODE_SWAP_CHAIN_DESC +public partial struct DecodeSwapChainDescription +{ + /// + public SwapChainFlags Flags; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/DisplayColorSpace.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/DisplayColorSpace.cs new file mode 100644 index 0000000..c2318bf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/DisplayColorSpace.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_DISPLAY_COLOR_SPACE +public partial struct DisplayColorSpace +{ + /// + public unsafe fixed float PrimaryCoordinates[16]; + + /// + public unsafe fixed float WhitePoints[32]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/EnumModesFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/EnumModesFlags.cs new file mode 100644 index 0000000..722a27f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/EnumModesFlags.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// DXGI_ENUM_MODES +[Flags] +public enum EnumModesFlags : uint +{ + None = 0, + /// DXGI_ENUM_MODES_INTERLACED + Interlaced = 1, + /// DXGI_ENUM_MODES_SCALING + Scaling = 2, + /// DXGI_ENUM_MODES_STEREO + Stereo = 4, + /// DXGI_ENUM_MODES_DISABLED_STEREO + DisabledStereo = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Feature.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Feature.cs new file mode 100644 index 0000000..72683d5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Feature.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_FEATURE +public enum Feature : int +{ + /// + /// DXGI_FEATURE_PRESENT_ALLOW_TEARING + PresentAllowTearing = 0, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Format.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Format.cs new file mode 100644 index 0000000..48c24e5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Format.cs @@ -0,0 +1,379 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_FORMAT +public enum Format : uint +{ + /// + /// DXGI_FORMAT_UNKNOWN + Unknown = 0, + /// + /// DXGI_FORMAT_R32G32B32A32_TYPELESS + R32G32B32A32Typeless = 1, + /// + /// DXGI_FORMAT_R32G32B32A32_FLOAT + R32G32B32A32Float = 2, + /// + /// DXGI_FORMAT_R32G32B32A32_UINT + R32G32B32A32Uint = 3, + /// + /// DXGI_FORMAT_R32G32B32A32_SINT + R32G32B32A32Sint = 4, + /// + /// DXGI_FORMAT_R32G32B32_TYPELESS + R32G32B32Typeless = 5, + /// + /// DXGI_FORMAT_R32G32B32_FLOAT + R32G32B32Float = 6, + /// + /// DXGI_FORMAT_R32G32B32_UINT + R32G32B32Uint = 7, + /// + /// DXGI_FORMAT_R32G32B32_SINT + R32G32B32Sint = 8, + /// + /// DXGI_FORMAT_R16G16B16A16_TYPELESS + R16G16B16A16Typeless = 9, + /// + /// DXGI_FORMAT_R16G16B16A16_FLOAT + R16G16B16A16Float = 10, + /// + /// DXGI_FORMAT_R16G16B16A16_UNORM + R16G16B16A16Unorm = 11, + /// + /// DXGI_FORMAT_R16G16B16A16_UINT + R16G16B16A16Uint = 12, + /// + /// DXGI_FORMAT_R16G16B16A16_SNORM + R16G16B16A16Snorm = 13, + /// + /// DXGI_FORMAT_R16G16B16A16_SINT + R16G16B16A16Sint = 14, + /// + /// DXGI_FORMAT_R32G32_TYPELESS + R32G32Typeless = 15, + /// + /// DXGI_FORMAT_R32G32_FLOAT + R32G32Float = 16, + /// + /// DXGI_FORMAT_R32G32_UINT + R32G32Uint = 17, + /// + /// DXGI_FORMAT_R32G32_SINT + R32G32Sint = 18, + /// + /// DXGI_FORMAT_R32G8X24_TYPELESS + R32G8X24Typeless = 19, + /// + /// DXGI_FORMAT_D32_FLOAT_S8X24_UINT + D32FloatS8X24Uint = 20, + /// + /// DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS + R32FloatX8X24Typeless = 21, + /// + /// DXGI_FORMAT_X32_TYPELESS_G8X24_UINT + X32TypelessG8X24Uint = 22, + /// + /// DXGI_FORMAT_R10G10B10A2_TYPELESS + R10G10B10A2Typeless = 23, + /// + /// DXGI_FORMAT_R10G10B10A2_UNORM + R10G10B10A2Unorm = 24, + /// + /// DXGI_FORMAT_R10G10B10A2_UINT + R10G10B10A2Uint = 25, + /// + /// DXGI_FORMAT_R11G11B10_FLOAT + R11G11B10Float = 26, + /// + /// DXGI_FORMAT_R8G8B8A8_TYPELESS + R8G8B8A8Typeless = 27, + /// + /// DXGI_FORMAT_R8G8B8A8_UNORM + R8G8B8A8Unorm = 28, + /// + /// DXGI_FORMAT_R8G8B8A8_UNORM_SRGB + R8G8B8A8UnormSrgb = 29, + /// + /// DXGI_FORMAT_R8G8B8A8_UINT + R8G8B8A8Uint = 30, + /// + /// DXGI_FORMAT_R8G8B8A8_SNORM + R8G8B8A8Snorm = 31, + /// + /// DXGI_FORMAT_R8G8B8A8_SINT + R8G8B8A8Sint = 32, + /// + /// DXGI_FORMAT_R16G16_TYPELESS + R16G16Typeless = 33, + /// + /// DXGI_FORMAT_R16G16_FLOAT + R16G16Float = 34, + /// + /// DXGI_FORMAT_R16G16_UNORM + R16G16Unorm = 35, + /// + /// DXGI_FORMAT_R16G16_UINT + R16G16Uint = 36, + /// + /// DXGI_FORMAT_R16G16_SNORM + R16G16Snorm = 37, + /// + /// DXGI_FORMAT_R16G16_SINT + R16G16Sint = 38, + /// + /// DXGI_FORMAT_R32_TYPELESS + R32Typeless = 39, + /// + /// DXGI_FORMAT_D32_FLOAT + D32Float = 40, + /// + /// DXGI_FORMAT_R32_FLOAT + R32Float = 41, + /// + /// DXGI_FORMAT_R32_UINT + R32Uint = 42, + /// + /// DXGI_FORMAT_R32_SINT + R32Sint = 43, + /// + /// DXGI_FORMAT_R24G8_TYPELESS + R24G8Typeless = 44, + /// + /// DXGI_FORMAT_D24_UNORM_S8_UINT + D24UnormS8Uint = 45, + /// + /// DXGI_FORMAT_R24_UNORM_X8_TYPELESS + R24UnormX8Typeless = 46, + /// + /// DXGI_FORMAT_X24_TYPELESS_G8_UINT + X24TypelessG8Uint = 47, + /// + /// DXGI_FORMAT_R8G8_TYPELESS + R8G8Typeless = 48, + /// + /// DXGI_FORMAT_R8G8_UNORM + R8G8Unorm = 49, + /// + /// DXGI_FORMAT_R8G8_UINT + R8G8Uint = 50, + /// + /// DXGI_FORMAT_R8G8_SNORM + R8G8Snorm = 51, + /// + /// DXGI_FORMAT_R8G8_SINT + R8G8Sint = 52, + /// + /// DXGI_FORMAT_R16_TYPELESS + R16Typeless = 53, + /// + /// DXGI_FORMAT_R16_FLOAT + R16Float = 54, + /// + /// DXGI_FORMAT_D16_UNORM + D16Unorm = 55, + /// + /// DXGI_FORMAT_R16_UNORM + R16Unorm = 56, + /// + /// DXGI_FORMAT_R16_UINT + R16Uint = 57, + /// + /// DXGI_FORMAT_R16_SNORM + R16Snorm = 58, + /// + /// DXGI_FORMAT_R16_SINT + R16Sint = 59, + /// + /// DXGI_FORMAT_R8_TYPELESS + R8Typeless = 60, + /// + /// DXGI_FORMAT_R8_UNORM + R8Unorm = 61, + /// + /// DXGI_FORMAT_R8_UINT + R8Uint = 62, + /// + /// DXGI_FORMAT_R8_SNORM + R8Snorm = 63, + /// + /// DXGI_FORMAT_R8_SINT + R8Sint = 64, + /// + /// DXGI_FORMAT_A8_UNORM + A8Unorm = 65, + /// + /// DXGI_FORMAT_R1_UNORM + R1Unorm = 66, + /// + /// DXGI_FORMAT_R9G9B9E5_SHAREDEXP + R9G9B9E5SharedExp = 67, + /// + /// DXGI_FORMAT_R8G8_B8G8_UNORM + R8G8B8G8Unorm = 68, + /// + /// DXGI_FORMAT_G8R8_G8B8_UNORM + G8R8G8B8Unorm = 69, + /// + /// DXGI_FORMAT_BC1_TYPELESS + BC1Typeless = 70, + /// + /// DXGI_FORMAT_BC1_UNORM + BC1Unorm = 71, + /// + /// DXGI_FORMAT_BC1_UNORM_SRGB + BC1UnormSrgb = 72, + /// + /// DXGI_FORMAT_BC2_TYPELESS + BC2Typeless = 73, + /// + /// DXGI_FORMAT_BC2_UNORM + BC2Unorm = 74, + /// + /// DXGI_FORMAT_BC2_UNORM_SRGB + BC2UnormSrgb = 75, + /// + /// DXGI_FORMAT_BC3_TYPELESS + BC3Typeless = 76, + /// + /// DXGI_FORMAT_BC3_UNORM + BC3Unorm = 77, + /// + /// DXGI_FORMAT_BC3_UNORM_SRGB + BC3UnormSrgb = 78, + /// + /// DXGI_FORMAT_BC4_TYPELESS + BC4Typeless = 79, + /// + /// DXGI_FORMAT_BC4_UNORM + BC4Unorm = 80, + /// + /// DXGI_FORMAT_BC4_SNORM + BC4Snorm = 81, + /// + /// DXGI_FORMAT_BC5_TYPELESS + BC5Typeless = 82, + /// + /// DXGI_FORMAT_BC5_UNORM + BC5Unorm = 83, + /// + /// DXGI_FORMAT_BC5_SNORM + BC5Snorm = 84, + /// + /// DXGI_FORMAT_B5G6R5_UNORM + B5G6R5Unorm = 85, + /// + /// DXGI_FORMAT_B5G5R5A1_UNORM + B5G5R5A1Unorm = 86, + /// + /// DXGI_FORMAT_B8G8R8A8_UNORM + B8G8R8A8Unorm = 87, + /// + /// DXGI_FORMAT_B8G8R8X8_UNORM + B8G8R8X8Unorm = 88, + /// + /// DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM + R10G10B10XRBiasA2Unorm = 89, + /// + /// DXGI_FORMAT_B8G8R8A8_TYPELESS + B8G8R8A8Typeless = 90, + /// + /// DXGI_FORMAT_B8G8R8A8_UNORM_SRGB + B8G8R8A8UnormSrgb = 91, + /// + /// DXGI_FORMAT_B8G8R8X8_TYPELESS + B8G8R8X8Typeless = 92, + /// + /// DXGI_FORMAT_B8G8R8X8_UNORM_SRGB + B8G8R8X8UnormSrgb = 93, + /// + /// DXGI_FORMAT_BC6H_TYPELESS + BC6HTypeless = 94, + /// + /// DXGI_FORMAT_BC6H_UF16 + BC6HUF16 = 95, + /// + /// DXGI_FORMAT_BC6H_SF16 + BC6HSF16 = 96, + /// + /// DXGI_FORMAT_BC7_TYPELESS + BC7Typeless = 97, + /// + /// DXGI_FORMAT_BC7_UNORM + BC7Unorm = 98, + /// + /// DXGI_FORMAT_BC7_UNORM_SRGB + BC7UnormSrgb = 99, + /// + /// DXGI_FORMAT_AYUV + AYUV = 100, + /// + /// DXGI_FORMAT_Y410 + Y410 = 101, + /// + /// DXGI_FORMAT_Y416 + Y416 = 102, + /// + /// DXGI_FORMAT_NV12 + NV12 = 103, + /// + /// DXGI_FORMAT_P010 + P010 = 104, + /// + /// DXGI_FORMAT_P016 + P016 = 105, + /// + /// DXGI_FORMAT_420_OPAQUE + Opaque420 = 106, + /// + /// DXGI_FORMAT_YUY2 + YUY2 = 107, + /// + /// DXGI_FORMAT_Y210 + Y210 = 108, + /// + /// DXGI_FORMAT_Y216 + Y216 = 109, + /// + /// DXGI_FORMAT_NV11 + NV11 = 110, + /// + /// DXGI_FORMAT_AI44 + AI44 = 111, + /// + /// DXGI_FORMAT_IA44 + IA44 = 112, + /// + /// DXGI_FORMAT_P8 + P8 = 113, + /// + /// DXGI_FORMAT_A8P8 + A8P8 = 114, + /// + /// DXGI_FORMAT_B4G4R4A4_UNORM + B4G4R4A4Unorm = 115, + /// + /// DXGI_FORMAT_P208 + P208 = 130, + /// + /// DXGI_FORMAT_V208 + V208 = 131, + /// + /// DXGI_FORMAT_V408 + V408 = 132, + /// + /// DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE + SamplerFeedbackMinMipOpaque = 189, + /// + /// DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE + SamplerFeedbackMipRegionUsedOpaque = 190, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/FramePresentationMode.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/FramePresentationMode.cs new file mode 100644 index 0000000..738c134 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/FramePresentationMode.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_FRAME_PRESENTATION_MODE +public enum FramePresentationMode : int +{ + /// + /// DXGI_FRAME_PRESENTATION_MODE_COMPOSED + Composed = 0, + /// + /// DXGI_FRAME_PRESENTATION_MODE_OVERLAY + Overlay = 1, + /// + /// DXGI_FRAME_PRESENTATION_MODE_NONE + None = 2, + /// + /// DXGI_FRAME_PRESENTATION_MODE_COMPOSITION_FAILURE + CompositionFailure = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatistics.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatistics.cs new file mode 100644 index 0000000..e83c5b2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatistics.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_FRAME_STATISTICS +public partial struct FrameStatistics +{ + /// + public uint PresentCount; + + /// + public uint PresentRefreshCount; + + /// + public uint SyncRefreshCount; + + /// + public LargeInteger SyncQPCTime; + + /// + public LargeInteger SyncGPUTime; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatisticsMedia.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatisticsMedia.cs new file mode 100644 index 0000000..0386906 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/FrameStatisticsMedia.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_FRAME_STATISTICS_MEDIA +public partial struct FrameStatisticsMedia +{ + /// + public uint PresentCount; + + /// + public uint PresentRefreshCount; + + /// + public uint SyncRefreshCount; + + /// + public LargeInteger SyncQPCTime; + + /// + public LargeInteger SyncGPUTime; + + /// + public FramePresentationMode CompositionMode; + + /// + public uint ApprovedPresentDuration; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControl.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControl.cs new file mode 100644 index 0000000..d6c099c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControl.cs @@ -0,0 +1,1070 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_GAMMA_CONTROL +public partial struct GammaControl +{ + /// + public Rgb Scale; + + /// + public Rgb Offset; + + /// + public GammaCurve__FixedBuffer GammaCurve; + + public unsafe struct GammaCurve__FixedBuffer + { + public Rgb e0; + public Rgb e1; + public Rgb e2; + public Rgb e3; + public Rgb e4; + public Rgb e5; + public Rgb e6; + public Rgb e7; + public Rgb e8; + public Rgb e9; + public Rgb e10; + public Rgb e11; + public Rgb e12; + public Rgb e13; + public Rgb e14; + public Rgb e15; + public Rgb e16; + public Rgb e17; + public Rgb e18; + public Rgb e19; + public Rgb e20; + public Rgb e21; + public Rgb e22; + public Rgb e23; + public Rgb e24; + public Rgb e25; + public Rgb e26; + public Rgb e27; + public Rgb e28; + public Rgb e29; + public Rgb e30; + public Rgb e31; + public Rgb e32; + public Rgb e33; + public Rgb e34; + public Rgb e35; + public Rgb e36; + public Rgb e37; + public Rgb e38; + public Rgb e39; + public Rgb e40; + public Rgb e41; + public Rgb e42; + public Rgb e43; + public Rgb e44; + public Rgb e45; + public Rgb e46; + public Rgb e47; + public Rgb e48; + public Rgb e49; + public Rgb e50; + public Rgb e51; + public Rgb e52; + public Rgb e53; + public Rgb e54; + public Rgb e55; + public Rgb e56; + public Rgb e57; + public Rgb e58; + public Rgb e59; + public Rgb e60; + public Rgb e61; + public Rgb e62; + public Rgb e63; + public Rgb e64; + public Rgb e65; + public Rgb e66; + public Rgb e67; + public Rgb e68; + public Rgb e69; + public Rgb e70; + public Rgb e71; + public Rgb e72; + public Rgb e73; + public Rgb e74; + public Rgb e75; + public Rgb e76; + public Rgb e77; + public Rgb e78; + public Rgb e79; + public Rgb e80; + public Rgb e81; + public Rgb e82; + public Rgb e83; + public Rgb e84; + public Rgb e85; + public Rgb e86; + public Rgb e87; + public Rgb e88; + public Rgb e89; + public Rgb e90; + public Rgb e91; + public Rgb e92; + public Rgb e93; + public Rgb e94; + public Rgb e95; + public Rgb e96; + public Rgb e97; + public Rgb e98; + public Rgb e99; + public Rgb e100; + public Rgb e101; + public Rgb e102; + public Rgb e103; + public Rgb e104; + public Rgb e105; + public Rgb e106; + public Rgb e107; + public Rgb e108; + public Rgb e109; + public Rgb e110; + public Rgb e111; + public Rgb e112; + public Rgb e113; + public Rgb e114; + public Rgb e115; + public Rgb e116; + public Rgb e117; + public Rgb e118; + public Rgb e119; + public Rgb e120; + public Rgb e121; + public Rgb e122; + public Rgb e123; + public Rgb e124; + public Rgb e125; + public Rgb e126; + public Rgb e127; + public Rgb e128; + public Rgb e129; + public Rgb e130; + public Rgb e131; + public Rgb e132; + public Rgb e133; + public Rgb e134; + public Rgb e135; + public Rgb e136; + public Rgb e137; + public Rgb e138; + public Rgb e139; + public Rgb e140; + public Rgb e141; + public Rgb e142; + public Rgb e143; + public Rgb e144; + public Rgb e145; + public Rgb e146; + public Rgb e147; + public Rgb e148; + public Rgb e149; + public Rgb e150; + public Rgb e151; + public Rgb e152; + public Rgb e153; + public Rgb e154; + public Rgb e155; + public Rgb e156; + public Rgb e157; + public Rgb e158; + public Rgb e159; + public Rgb e160; + public Rgb e161; + public Rgb e162; + public Rgb e163; + public Rgb e164; + public Rgb e165; + public Rgb e166; + public Rgb e167; + public Rgb e168; + public Rgb e169; + public Rgb e170; + public Rgb e171; + public Rgb e172; + public Rgb e173; + public Rgb e174; + public Rgb e175; + public Rgb e176; + public Rgb e177; + public Rgb e178; + public Rgb e179; + public Rgb e180; + public Rgb e181; + public Rgb e182; + public Rgb e183; + public Rgb e184; + public Rgb e185; + public Rgb e186; + public Rgb e187; + public Rgb e188; + public Rgb e189; + public Rgb e190; + public Rgb e191; + public Rgb e192; + public Rgb e193; + public Rgb e194; + public Rgb e195; + public Rgb e196; + public Rgb e197; + public Rgb e198; + public Rgb e199; + public Rgb e200; + public Rgb e201; + public Rgb e202; + public Rgb e203; + public Rgb e204; + public Rgb e205; + public Rgb e206; + public Rgb e207; + public Rgb e208; + public Rgb e209; + public Rgb e210; + public Rgb e211; + public Rgb e212; + public Rgb e213; + public Rgb e214; + public Rgb e215; + public Rgb e216; + public Rgb e217; + public Rgb e218; + public Rgb e219; + public Rgb e220; + public Rgb e221; + public Rgb e222; + public Rgb e223; + public Rgb e224; + public Rgb e225; + public Rgb e226; + public Rgb e227; + public Rgb e228; + public Rgb e229; + public Rgb e230; + public Rgb e231; + public Rgb e232; + public Rgb e233; + public Rgb e234; + public Rgb e235; + public Rgb e236; + public Rgb e237; + public Rgb e238; + public Rgb e239; + public Rgb e240; + public Rgb e241; + public Rgb e242; + public Rgb e243; + public Rgb e244; + public Rgb e245; + public Rgb e246; + public Rgb e247; + public Rgb e248; + public Rgb e249; + public Rgb e250; + public Rgb e251; + public Rgb e252; + public Rgb e253; + public Rgb e254; + public Rgb e255; + public Rgb e256; + public Rgb e257; + public Rgb e258; + public Rgb e259; + public Rgb e260; + public Rgb e261; + public Rgb e262; + public Rgb e263; + public Rgb e264; + public Rgb e265; + public Rgb e266; + public Rgb e267; + public Rgb e268; + public Rgb e269; + public Rgb e270; + public Rgb e271; + public Rgb e272; + public Rgb e273; + public Rgb e274; + public Rgb e275; + public Rgb e276; + public Rgb e277; + public Rgb e278; + public Rgb e279; + public Rgb e280; + public Rgb e281; + public Rgb e282; + public Rgb e283; + public Rgb e284; + public Rgb e285; + public Rgb e286; + public Rgb e287; + public Rgb e288; + public Rgb e289; + public Rgb e290; + public Rgb e291; + public Rgb e292; + public Rgb e293; + public Rgb e294; + public Rgb e295; + public Rgb e296; + public Rgb e297; + public Rgb e298; + public Rgb e299; + public Rgb e300; + public Rgb e301; + public Rgb e302; + public Rgb e303; + public Rgb e304; + public Rgb e305; + public Rgb e306; + public Rgb e307; + public Rgb e308; + public Rgb e309; + public Rgb e310; + public Rgb e311; + public Rgb e312; + public Rgb e313; + public Rgb e314; + public Rgb e315; + public Rgb e316; + public Rgb e317; + public Rgb e318; + public Rgb e319; + public Rgb e320; + public Rgb e321; + public Rgb e322; + public Rgb e323; + public Rgb e324; + public Rgb e325; + public Rgb e326; + public Rgb e327; + public Rgb e328; + public Rgb e329; + public Rgb e330; + public Rgb e331; + public Rgb e332; + public Rgb e333; + public Rgb e334; + public Rgb e335; + public Rgb e336; + public Rgb e337; + public Rgb e338; + public Rgb e339; + public Rgb e340; + public Rgb e341; + public Rgb e342; + public Rgb e343; + public Rgb e344; + public Rgb e345; + public Rgb e346; + public Rgb e347; + public Rgb e348; + public Rgb e349; + public Rgb e350; + public Rgb e351; + public Rgb e352; + public Rgb e353; + public Rgb e354; + public Rgb e355; + public Rgb e356; + public Rgb e357; + public Rgb e358; + public Rgb e359; + public Rgb e360; + public Rgb e361; + public Rgb e362; + public Rgb e363; + public Rgb e364; + public Rgb e365; + public Rgb e366; + public Rgb e367; + public Rgb e368; + public Rgb e369; + public Rgb e370; + public Rgb e371; + public Rgb e372; + public Rgb e373; + public Rgb e374; + public Rgb e375; + public Rgb e376; + public Rgb e377; + public Rgb e378; + public Rgb e379; + public Rgb e380; + public Rgb e381; + public Rgb e382; + public Rgb e383; + public Rgb e384; + public Rgb e385; + public Rgb e386; + public Rgb e387; + public Rgb e388; + public Rgb e389; + public Rgb e390; + public Rgb e391; + public Rgb e392; + public Rgb e393; + public Rgb e394; + public Rgb e395; + public Rgb e396; + public Rgb e397; + public Rgb e398; + public Rgb e399; + public Rgb e400; + public Rgb e401; + public Rgb e402; + public Rgb e403; + public Rgb e404; + public Rgb e405; + public Rgb e406; + public Rgb e407; + public Rgb e408; + public Rgb e409; + public Rgb e410; + public Rgb e411; + public Rgb e412; + public Rgb e413; + public Rgb e414; + public Rgb e415; + public Rgb e416; + public Rgb e417; + public Rgb e418; + public Rgb e419; + public Rgb e420; + public Rgb e421; + public Rgb e422; + public Rgb e423; + public Rgb e424; + public Rgb e425; + public Rgb e426; + public Rgb e427; + public Rgb e428; + public Rgb e429; + public Rgb e430; + public Rgb e431; + public Rgb e432; + public Rgb e433; + public Rgb e434; + public Rgb e435; + public Rgb e436; + public Rgb e437; + public Rgb e438; + public Rgb e439; + public Rgb e440; + public Rgb e441; + public Rgb e442; + public Rgb e443; + public Rgb e444; + public Rgb e445; + public Rgb e446; + public Rgb e447; + public Rgb e448; + public Rgb e449; + public Rgb e450; + public Rgb e451; + public Rgb e452; + public Rgb e453; + public Rgb e454; + public Rgb e455; + public Rgb e456; + public Rgb e457; + public Rgb e458; + public Rgb e459; + public Rgb e460; + public Rgb e461; + public Rgb e462; + public Rgb e463; + public Rgb e464; + public Rgb e465; + public Rgb e466; + public Rgb e467; + public Rgb e468; + public Rgb e469; + public Rgb e470; + public Rgb e471; + public Rgb e472; + public Rgb e473; + public Rgb e474; + public Rgb e475; + public Rgb e476; + public Rgb e477; + public Rgb e478; + public Rgb e479; + public Rgb e480; + public Rgb e481; + public Rgb e482; + public Rgb e483; + public Rgb e484; + public Rgb e485; + public Rgb e486; + public Rgb e487; + public Rgb e488; + public Rgb e489; + public Rgb e490; + public Rgb e491; + public Rgb e492; + public Rgb e493; + public Rgb e494; + public Rgb e495; + public Rgb e496; + public Rgb e497; + public Rgb e498; + public Rgb e499; + public Rgb e500; + public Rgb e501; + public Rgb e502; + public Rgb e503; + public Rgb e504; + public Rgb e505; + public Rgb e506; + public Rgb e507; + public Rgb e508; + public Rgb e509; + public Rgb e510; + public Rgb e511; + public Rgb e512; + public Rgb e513; + public Rgb e514; + public Rgb e515; + public Rgb e516; + public Rgb e517; + public Rgb e518; + public Rgb e519; + public Rgb e520; + public Rgb e521; + public Rgb e522; + public Rgb e523; + public Rgb e524; + public Rgb e525; + public Rgb e526; + public Rgb e527; + public Rgb e528; + public Rgb e529; + public Rgb e530; + public Rgb e531; + public Rgb e532; + public Rgb e533; + public Rgb e534; + public Rgb e535; + public Rgb e536; + public Rgb e537; + public Rgb e538; + public Rgb e539; + public Rgb e540; + public Rgb e541; + public Rgb e542; + public Rgb e543; + public Rgb e544; + public Rgb e545; + public Rgb e546; + public Rgb e547; + public Rgb e548; + public Rgb e549; + public Rgb e550; + public Rgb e551; + public Rgb e552; + public Rgb e553; + public Rgb e554; + public Rgb e555; + public Rgb e556; + public Rgb e557; + public Rgb e558; + public Rgb e559; + public Rgb e560; + public Rgb e561; + public Rgb e562; + public Rgb e563; + public Rgb e564; + public Rgb e565; + public Rgb e566; + public Rgb e567; + public Rgb e568; + public Rgb e569; + public Rgb e570; + public Rgb e571; + public Rgb e572; + public Rgb e573; + public Rgb e574; + public Rgb e575; + public Rgb e576; + public Rgb e577; + public Rgb e578; + public Rgb e579; + public Rgb e580; + public Rgb e581; + public Rgb e582; + public Rgb e583; + public Rgb e584; + public Rgb e585; + public Rgb e586; + public Rgb e587; + public Rgb e588; + public Rgb e589; + public Rgb e590; + public Rgb e591; + public Rgb e592; + public Rgb e593; + public Rgb e594; + public Rgb e595; + public Rgb e596; + public Rgb e597; + public Rgb e598; + public Rgb e599; + public Rgb e600; + public Rgb e601; + public Rgb e602; + public Rgb e603; + public Rgb e604; + public Rgb e605; + public Rgb e606; + public Rgb e607; + public Rgb e608; + public Rgb e609; + public Rgb e610; + public Rgb e611; + public Rgb e612; + public Rgb e613; + public Rgb e614; + public Rgb e615; + public Rgb e616; + public Rgb e617; + public Rgb e618; + public Rgb e619; + public Rgb e620; + public Rgb e621; + public Rgb e622; + public Rgb e623; + public Rgb e624; + public Rgb e625; + public Rgb e626; + public Rgb e627; + public Rgb e628; + public Rgb e629; + public Rgb e630; + public Rgb e631; + public Rgb e632; + public Rgb e633; + public Rgb e634; + public Rgb e635; + public Rgb e636; + public Rgb e637; + public Rgb e638; + public Rgb e639; + public Rgb e640; + public Rgb e641; + public Rgb e642; + public Rgb e643; + public Rgb e644; + public Rgb e645; + public Rgb e646; + public Rgb e647; + public Rgb e648; + public Rgb e649; + public Rgb e650; + public Rgb e651; + public Rgb e652; + public Rgb e653; + public Rgb e654; + public Rgb e655; + public Rgb e656; + public Rgb e657; + public Rgb e658; + public Rgb e659; + public Rgb e660; + public Rgb e661; + public Rgb e662; + public Rgb e663; + public Rgb e664; + public Rgb e665; + public Rgb e666; + public Rgb e667; + public Rgb e668; + public Rgb e669; + public Rgb e670; + public Rgb e671; + public Rgb e672; + public Rgb e673; + public Rgb e674; + public Rgb e675; + public Rgb e676; + public Rgb e677; + public Rgb e678; + public Rgb e679; + public Rgb e680; + public Rgb e681; + public Rgb e682; + public Rgb e683; + public Rgb e684; + public Rgb e685; + public Rgb e686; + public Rgb e687; + public Rgb e688; + public Rgb e689; + public Rgb e690; + public Rgb e691; + public Rgb e692; + public Rgb e693; + public Rgb e694; + public Rgb e695; + public Rgb e696; + public Rgb e697; + public Rgb e698; + public Rgb e699; + public Rgb e700; + public Rgb e701; + public Rgb e702; + public Rgb e703; + public Rgb e704; + public Rgb e705; + public Rgb e706; + public Rgb e707; + public Rgb e708; + public Rgb e709; + public Rgb e710; + public Rgb e711; + public Rgb e712; + public Rgb e713; + public Rgb e714; + public Rgb e715; + public Rgb e716; + public Rgb e717; + public Rgb e718; + public Rgb e719; + public Rgb e720; + public Rgb e721; + public Rgb e722; + public Rgb e723; + public Rgb e724; + public Rgb e725; + public Rgb e726; + public Rgb e727; + public Rgb e728; + public Rgb e729; + public Rgb e730; + public Rgb e731; + public Rgb e732; + public Rgb e733; + public Rgb e734; + public Rgb e735; + public Rgb e736; + public Rgb e737; + public Rgb e738; + public Rgb e739; + public Rgb e740; + public Rgb e741; + public Rgb e742; + public Rgb e743; + public Rgb e744; + public Rgb e745; + public Rgb e746; + public Rgb e747; + public Rgb e748; + public Rgb e749; + public Rgb e750; + public Rgb e751; + public Rgb e752; + public Rgb e753; + public Rgb e754; + public Rgb e755; + public Rgb e756; + public Rgb e757; + public Rgb e758; + public Rgb e759; + public Rgb e760; + public Rgb e761; + public Rgb e762; + public Rgb e763; + public Rgb e764; + public Rgb e765; + public Rgb e766; + public Rgb e767; + public Rgb e768; + public Rgb e769; + public Rgb e770; + public Rgb e771; + public Rgb e772; + public Rgb e773; + public Rgb e774; + public Rgb e775; + public Rgb e776; + public Rgb e777; + public Rgb e778; + public Rgb e779; + public Rgb e780; + public Rgb e781; + public Rgb e782; + public Rgb e783; + public Rgb e784; + public Rgb e785; + public Rgb e786; + public Rgb e787; + public Rgb e788; + public Rgb e789; + public Rgb e790; + public Rgb e791; + public Rgb e792; + public Rgb e793; + public Rgb e794; + public Rgb e795; + public Rgb e796; + public Rgb e797; + public Rgb e798; + public Rgb e799; + public Rgb e800; + public Rgb e801; + public Rgb e802; + public Rgb e803; + public Rgb e804; + public Rgb e805; + public Rgb e806; + public Rgb e807; + public Rgb e808; + public Rgb e809; + public Rgb e810; + public Rgb e811; + public Rgb e812; + public Rgb e813; + public Rgb e814; + public Rgb e815; + public Rgb e816; + public Rgb e817; + public Rgb e818; + public Rgb e819; + public Rgb e820; + public Rgb e821; + public Rgb e822; + public Rgb e823; + public Rgb e824; + public Rgb e825; + public Rgb e826; + public Rgb e827; + public Rgb e828; + public Rgb e829; + public Rgb e830; + public Rgb e831; + public Rgb e832; + public Rgb e833; + public Rgb e834; + public Rgb e835; + public Rgb e836; + public Rgb e837; + public Rgb e838; + public Rgb e839; + public Rgb e840; + public Rgb e841; + public Rgb e842; + public Rgb e843; + public Rgb e844; + public Rgb e845; + public Rgb e846; + public Rgb e847; + public Rgb e848; + public Rgb e849; + public Rgb e850; + public Rgb e851; + public Rgb e852; + public Rgb e853; + public Rgb e854; + public Rgb e855; + public Rgb e856; + public Rgb e857; + public Rgb e858; + public Rgb e859; + public Rgb e860; + public Rgb e861; + public Rgb e862; + public Rgb e863; + public Rgb e864; + public Rgb e865; + public Rgb e866; + public Rgb e867; + public Rgb e868; + public Rgb e869; + public Rgb e870; + public Rgb e871; + public Rgb e872; + public Rgb e873; + public Rgb e874; + public Rgb e875; + public Rgb e876; + public Rgb e877; + public Rgb e878; + public Rgb e879; + public Rgb e880; + public Rgb e881; + public Rgb e882; + public Rgb e883; + public Rgb e884; + public Rgb e885; + public Rgb e886; + public Rgb e887; + public Rgb e888; + public Rgb e889; + public Rgb e890; + public Rgb e891; + public Rgb e892; + public Rgb e893; + public Rgb e894; + public Rgb e895; + public Rgb e896; + public Rgb e897; + public Rgb e898; + public Rgb e899; + public Rgb e900; + public Rgb e901; + public Rgb e902; + public Rgb e903; + public Rgb e904; + public Rgb e905; + public Rgb e906; + public Rgb e907; + public Rgb e908; + public Rgb e909; + public Rgb e910; + public Rgb e911; + public Rgb e912; + public Rgb e913; + public Rgb e914; + public Rgb e915; + public Rgb e916; + public Rgb e917; + public Rgb e918; + public Rgb e919; + public Rgb e920; + public Rgb e921; + public Rgb e922; + public Rgb e923; + public Rgb e924; + public Rgb e925; + public Rgb e926; + public Rgb e927; + public Rgb e928; + public Rgb e929; + public Rgb e930; + public Rgb e931; + public Rgb e932; + public Rgb e933; + public Rgb e934; + public Rgb e935; + public Rgb e936; + public Rgb e937; + public Rgb e938; + public Rgb e939; + public Rgb e940; + public Rgb e941; + public Rgb e942; + public Rgb e943; + public Rgb e944; + public Rgb e945; + public Rgb e946; + public Rgb e947; + public Rgb e948; + public Rgb e949; + public Rgb e950; + public Rgb e951; + public Rgb e952; + public Rgb e953; + public Rgb e954; + public Rgb e955; + public Rgb e956; + public Rgb e957; + public Rgb e958; + public Rgb e959; + public Rgb e960; + public Rgb e961; + public Rgb e962; + public Rgb e963; + public Rgb e964; + public Rgb e965; + public Rgb e966; + public Rgb e967; + public Rgb e968; + public Rgb e969; + public Rgb e970; + public Rgb e971; + public Rgb e972; + public Rgb e973; + public Rgb e974; + public Rgb e975; + public Rgb e976; + public Rgb e977; + public Rgb e978; + public Rgb e979; + public Rgb e980; + public Rgb e981; + public Rgb e982; + public Rgb e983; + public Rgb e984; + public Rgb e985; + public Rgb e986; + public Rgb e987; + public Rgb e988; + public Rgb e989; + public Rgb e990; + public Rgb e991; + public Rgb e992; + public Rgb e993; + public Rgb e994; + public Rgb e995; + public Rgb e996; + public Rgb e997; + public Rgb e998; + public Rgb e999; + public Rgb e1000; + public Rgb e1001; + public Rgb e1002; + public Rgb e1003; + public Rgb e1004; + public Rgb e1005; + public Rgb e1006; + public Rgb e1007; + public Rgb e1008; + public Rgb e1009; + public Rgb e1010; + public Rgb e1011; + public Rgb e1012; + public Rgb e1013; + public Rgb e1014; + public Rgb e1015; + public Rgb e1016; + public Rgb e1017; + public Rgb e1018; + public Rgb e1019; + public Rgb e1020; + public Rgb e1021; + public Rgb e1022; + public Rgb e1023; + public Rgb e1024; + + [UnscopedRef] + public ref Rgb this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 1025); + } + } +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControlCapabilities.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControlCapabilities.cs new file mode 100644 index 0000000..b60ed71 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/GammaControlCapabilities.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_GAMMA_CONTROL_CAPABILITIES +public partial struct GammaControlCapabilities +{ + /// + public Bool32 ScaleAndOffsetSupported; + + /// + public float MaxConvertedValue; + + /// + public float MinConvertedValue; + + /// + public uint NumGammaControlPoints; + + /// + public unsafe fixed float ControlPointPositions[1025]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/GpuPreference.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/GpuPreference.cs new file mode 100644 index 0000000..1283beb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/GpuPreference.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_GPU_PREFERENCE +public enum GpuPreference : int +{ + /// + /// DXGI_GPU_PREFERENCE_UNSPECIFIED + Unspecified = 0, + /// + /// DXGI_GPU_PREFERENCE_MINIMUM_POWER + MinimumPower = 1, + /// + /// DXGI_GPU_PREFERENCE_HIGH_PERFORMANCE + HighPerformance = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/GraphicsPreemptionGranularity.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/GraphicsPreemptionGranularity.cs new file mode 100644 index 0000000..d5ccb71 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/GraphicsPreemptionGranularity.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_GRAPHICS_PREEMPTION_GRANULARITY +public enum GraphicsPreemptionGranularity : int +{ + /// + /// DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY + DmaBufferBoundary = 0, + /// + /// DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY + PrimitiveBoundary = 1, + /// + /// DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY + TriangleBoundary = 2, + /// + /// DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY + PixelBoundary = 3, + /// + /// DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY + InstructionBoundary = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10.cs new file mode 100644 index 0000000..af6400a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_HDR_METADATA_HDR10 +public partial struct HDRMetadataHdr10 +{ + /// + public unsafe fixed ushort RedPrimary[2]; + + /// + public unsafe fixed ushort GreenPrimary[2]; + + /// + public unsafe fixed ushort BluePrimary[2]; + + /// + public unsafe fixed ushort WhitePoint[2]; + + /// + public uint MaxMasteringLuminance; + + /// + public uint MinMasteringLuminance; + + /// + public ushort MaxContentLightLevel; + + /// + public ushort MaxFrameAverageLightLevel; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10plus.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10plus.cs new file mode 100644 index 0000000..ae8fd42 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataHdr10plus.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_HDR_METADATA_HDR10PLUS +public partial struct HDRMetadataHdr10plus +{ + /// + public unsafe fixed byte Data[72]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataType.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataType.cs new file mode 100644 index 0000000..9cd5c46 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/HDRMetadataType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_HDR_METADATA_TYPE +public enum HDRMetadataType : int +{ + /// + /// DXGI_HDR_METADATA_TYPE_NONE + None = 0, + /// + /// DXGI_HDR_METADATA_TYPE_HDR10 + Hdr10 = 1, + /// + /// DXGI_HDR_METADATA_TYPE_HDR10PLUS + Hdr10plus = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/HardwareCompositionSupportFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/HardwareCompositionSupportFlags.cs new file mode 100644 index 0000000..a51757a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/HardwareCompositionSupportFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAGS +[Flags] +public enum HardwareCompositionSupportFlags : uint +{ + None = 0, + /// + /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_FULLSCREEN + Fullscreen = 1, + /// + /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_WINDOWED + Windowed = 2, + /// + /// DXGI_HARDWARE_COMPOSITION_SUPPORT_FLAG_CURSOR_STRETCHED + CursorStretched = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter.cs index 401e54a..b383ac4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIAdapter [Guid("2411e7e1-12ac-4ccf-bd14-9798e8534dc0")] [NativeTypeName("struct IDXGIAdapter : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIAdapter +public unsafe partial struct IDXGIAdapter : INativeGuid { public static ref readonly Guid IID_IDXGIAdapter { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIAdapter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIAdapter return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult EnumOutputs(uint Output, IDXGIOutput** ppOutput) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIAdapter return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), Output, ppOutput); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetDesc(AdapterDescription* pDesc) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIAdapter return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIAdapter*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CheckInterfaceSupport(Guid* InterfaceName, LargeInteger* pUMDVersion) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter1.cs index e2988cd..dcb4579 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIAdapter1 [Guid("29038f61-3839-4626-91fd-086879011a05")] [NativeTypeName("struct IDXGIAdapter1 : IDXGIAdapter")] [NativeInheritance("IDXGIAdapter")] -public unsafe partial struct IDXGIAdapter1 +public unsafe partial struct IDXGIAdapter1 : INativeGuid { public static ref readonly Guid IID_IDXGIAdapter1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIAdapter1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter1)); +#endif public void** lpVtbl; @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIAdapter1 return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIAdapter1*)Unsafe.AsPointer(ref this), InterfaceName, pUMDVersion); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetDesc1(AdapterDescription1* pDesc) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter2.cs index a94ce76..531240b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIAdapter2 [Guid("0aa1ae0a-fa0e-4b84-8644-e05ff8e5acb5")] [NativeTypeName("struct IDXGIAdapter2 : IDXGIAdapter1")] [NativeInheritance("IDXGIAdapter1")] -public unsafe partial struct IDXGIAdapter2 +public unsafe partial struct IDXGIAdapter2 : INativeGuid { public static ref readonly Guid IID_IDXGIAdapter2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIAdapter2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter2)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIAdapter2 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIAdapter2*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetDesc2(AdapterDescription2* pDesc) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter3.cs index 2f08bf7..78187ad 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIAdapter3 [Guid("645967a4-1392-4310-a798-8053ce3e93fd")] [NativeTypeName("struct IDXGIAdapter3 : IDXGIAdapter2")] [NativeInheritance("IDXGIAdapter2")] -public unsafe partial struct IDXGIAdapter3 +public unsafe partial struct IDXGIAdapter3 : INativeGuid { public static ref readonly Guid IID_IDXGIAdapter3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIAdapter3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter3)); +#endif public void** lpVtbl; @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIAdapter3 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult RegisterHardwareContentProtectionTeardownStatusEvent(Handle hEvent, uint* pdwCookie) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIAdapter3 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public void UnregisterHardwareContentProtectionTeardownStatus(uint dwCookie) @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIAdapter3 ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), dwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult QueryVideoMemoryInfo(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, QueryVideoMemoryInfo* pVideoMemoryInfo) @@ -166,7 +170,7 @@ public unsafe partial struct IDXGIAdapter3 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, pVideoMemoryInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult SetVideoMemoryReservation(uint NodeIndex, MemorySegmentGroup MemorySegmentGroup, ulong Reservation) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGIAdapter3 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), NodeIndex, MemorySegmentGroup, Reservation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult RegisterVideoMemoryBudgetChangeNotificationEvent(Handle hEvent, uint* pdwCookie) @@ -182,7 +186,7 @@ public unsafe partial struct IDXGIAdapter3 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIAdapter3*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void UnregisterVideoMemoryBudgetChangeNotification(uint dwCookie) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter4.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter4.cs index fe9cae6..eb9bd6f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIAdapter4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIAdapter4 [Guid("3c8d99d1-4fbf-4181-a82c-af66bf7bd24e")] [NativeTypeName("struct IDXGIAdapter4 : IDXGIAdapter3")] [NativeInheritance("IDXGIAdapter3")] -public unsafe partial struct IDXGIAdapter4 +public unsafe partial struct IDXGIAdapter4 : INativeGuid { public static ref readonly Guid IID_IDXGIAdapter4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIAdapter4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIAdapter4)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IDXGIAdapter4 ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIAdapter4*)Unsafe.AsPointer(ref this), dwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetDesc3(AdapterDescription3* pDesc) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug.cs index 50b46f5..58a2287 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDebug [Guid("119e7452-de9e-40fe-8806-88f90c12b441")] [NativeTypeName("struct IDXGIDebug : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDebug +public unsafe partial struct IDXGIDebug : INativeGuid { public static ref readonly Guid IID_IDXGIDebug { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDebug } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIDebug return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult ReportLiveObjects(Guid apiid, ReportLiveObjectFlags flags) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug1.cs index 71b5c48..08ac380 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDebug1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDebug1 [Guid("c5a05f0c-16f2-4adf-9f4d-a8c4d58ac550")] [NativeTypeName("struct IDXGIDebug1 : IDXGIDebug")] [NativeInheritance("IDXGIDebug")] -public unsafe partial struct IDXGIDebug1 +public unsafe partial struct IDXGIDebug1 : INativeGuid { public static ref readonly Guid IID_IDXGIDebug1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDebug1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDebug1)); +#endif public void** lpVtbl; @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIDebug1 return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDebug1*)Unsafe.AsPointer(ref this), apiid, flags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void EnableLeakTrackingForThread() @@ -86,7 +90,7 @@ public unsafe partial struct IDXGIDebug1 ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public void DisableLeakTrackingForThread() @@ -94,7 +98,7 @@ public unsafe partial struct IDXGIDebug1 ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDebug1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public Bool32 IsLeakTrackingEnabledForThread() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDecodeSwapChain.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDecodeSwapChain.cs index bbd88b2..244ef11 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDecodeSwapChain.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDecodeSwapChain.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDecodeSwapChain [Guid("2633066b-4514-4c7a-8fd8-12ea98059d18")] [NativeTypeName("struct IDXGIDecodeSwapChain : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDecodeSwapChain +public unsafe partial struct IDXGIDecodeSwapChain : INativeGuid { public static ref readonly Guid IID_IDXGIDecodeSwapChain { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDecodeSwapChain } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDecodeSwapChain)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDecodeSwapChain)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult PresentBuffer(uint BufferToPresent, uint SyncInterval, uint Flags) @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), BufferToPresent, SyncInterval, Flags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetSourceRect(RawRect* pRect) @@ -86,7 +90,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetTargetRect(RawRect* pRect) @@ -94,7 +98,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetDestSize(uint Width, uint Height) @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), Width, Height); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetSourceRect(RawRect* pRect) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetTargetRect(RawRect* pRect) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetDestSize(uint* pWidth, uint* pHeight) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), pWidth, pHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetColorSpace(MultiplaneOverlayYcbcrFlags ColorSpace) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIDecodeSwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDecodeSwapChain*)Unsafe.AsPointer(ref this), ColorSpace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public MultiplaneOverlayYcbcrFlags GetColorSpace() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice.cs index 1339ac5..730fd46 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDevice [Guid("54ec77fa-1377-44e6-8c32-88fd5f44c84c")] [NativeTypeName("struct IDXGIDevice : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIDevice +public unsafe partial struct IDXGIDevice : INativeGuid { public static ref readonly Guid IID_IDXGIDevice { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDevice } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIDevice return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDevice*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetAdapter(IDXGIAdapter** pAdapter) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIDevice return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateSurface(SurfaceDescription* pDesc, uint NumSurfaces, Usage Usage, SharedResource* pSharedResource, IDXGISurface** ppSurface) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIDevice return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIDevice*)Unsafe.AsPointer(ref this), pDesc, NumSurfaces, Usage, pSharedResource, ppSurface); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult QueryResourceResidency(IUnknown** ppResources, Residency* pResidencyStatus, uint NumResources) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIDevice return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIDevice*)Unsafe.AsPointer(ref this), ppResources, pResidencyStatus, NumResources); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetGPUThreadPriority(int Priority) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIDevice return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIDevice*)Unsafe.AsPointer(ref this), Priority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetGPUThreadPriority(int* pPriority) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice1.cs index 091db99..d9ed2fe 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDevice1 [Guid("77db970f-6276-48ba-ba28-070143b4392c")] [NativeTypeName("struct IDXGIDevice1 : IDXGIDevice")] [NativeInheritance("IDXGIDevice")] -public unsafe partial struct IDXGIDevice1 +public unsafe partial struct IDXGIDevice1 : INativeGuid { public static ref readonly Guid IID_IDXGIDevice1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDevice1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice1)); +#endif public void** lpVtbl; @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIDevice1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), pPriority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult SetMaximumFrameLatency(uint MaxLatency) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIDevice1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIDevice1*)Unsafe.AsPointer(ref this), MaxLatency); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice2.cs index 41c27b2..f6a3985 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDevice2 [Guid("05008617-fbfd-4051-a790-144884b4f6a9")] [NativeTypeName("struct IDXGIDevice2 : IDXGIDevice1")] [NativeInheritance("IDXGIDevice1")] -public unsafe partial struct IDXGIDevice2 +public unsafe partial struct IDXGIDevice2 : INativeGuid { public static ref readonly Guid IID_IDXGIDevice2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDevice2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice2)); +#endif public void** lpVtbl; @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIDevice2 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), pMaxLatency); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult OfferResources(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority) @@ -166,7 +170,7 @@ public unsafe partial struct IDXGIDevice2 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult ReclaimResources(uint NumResources, IDXGIResource** ppResources, Bool32* pDiscarded) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGIDevice2 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIDevice2*)Unsafe.AsPointer(ref this), NumResources, ppResources, pDiscarded); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult EnqueueSetEvent(Handle hEvent) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice3.cs index dce8a54..3d783a7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDevice3 [Guid("6007896c-3244-4afd-bf18-a6d3beda5023")] [NativeTypeName("struct IDXGIDevice3 : IDXGIDevice2")] [NativeInheritance("IDXGIDevice2")] -public unsafe partial struct IDXGIDevice3 +public unsafe partial struct IDXGIDevice3 : INativeGuid { public static ref readonly Guid IID_IDXGIDevice3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDevice3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice3)); +#endif public void** lpVtbl; @@ -182,7 +186,7 @@ public unsafe partial struct IDXGIDevice3 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIDevice3*)Unsafe.AsPointer(ref this), hEvent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public void Trim() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice4.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice4.cs index 63d1fce..4789577 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDevice4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDevice4 [Guid("95b4f95f-d8da-4ca4-9ee6-3b76d5968a10")] [NativeTypeName("struct IDXGIDevice4 : IDXGIDevice3")] [NativeInheritance("IDXGIDevice3")] -public unsafe partial struct IDXGIDevice4 +public unsafe partial struct IDXGIDevice4 : INativeGuid { public static ref readonly Guid IID_IDXGIDevice4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDevice4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDevice4)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IDXGIDevice4 ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIDevice4*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult OfferResources1(uint NumResources, IDXGIResource** ppResources, OfferResourcePriority Priority, uint Flags) @@ -198,7 +202,7 @@ public unsafe partial struct IDXGIDevice4 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIDevice4*)Unsafe.AsPointer(ref this), NumResources, ppResources, Priority, Flags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult ReclaimResources1(uint NumResources, IDXGIResource** ppResources, ReclaimResourceResults* pResults) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDeviceSubObject.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDeviceSubObject.cs index 09eaa40..8e07f6a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDeviceSubObject.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDeviceSubObject.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDeviceSubObject [Guid("3d3e0379-f9de-4d58-bb6c-18d62992f1a6")] [NativeTypeName("struct IDXGIDeviceSubObject : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIDeviceSubObject +public unsafe partial struct IDXGIDeviceSubObject : INativeGuid { public static ref readonly Guid IID_IDXGIDeviceSubObject { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDeviceSubObject } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDeviceSubObject)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDeviceSubObject)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIDeviceSubObject return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIDeviceSubObject*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetDevice(Guid* riid, void** ppDevice) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDisplayControl.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDisplayControl.cs index 4370139..9e94175 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDisplayControl.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIDisplayControl.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIDisplayControl [Guid("ea9dbf1a-c88e-4486-854a-98aa0138f30c")] [NativeTypeName("struct IDXGIDisplayControl : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIDisplayControl +public unsafe partial struct IDXGIDisplayControl : INativeGuid { public static ref readonly Guid IID_IDXGIDisplayControl { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIDisplayControl } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDisplayControl)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIDisplayControl)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIDisplayControl return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public Bool32 IsStereoEnabled() @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIDisplayControl return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIDisplayControl*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void SetStereoEnabled(Bool32 enabled) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory.cs index 9a04976..fe27581 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory [Guid("7b7166ec-21c7-44ae-b21a-c9ae321ae369")] [NativeTypeName("struct IDXGIFactory : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIFactory +public unsafe partial struct IDXGIFactory : INativeGuid { public static ref readonly Guid IID_IDXGIFactory { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIFactory*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult EnumAdapters(uint Adapter, IDXGIAdapter** ppAdapter) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIFactory*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult MakeWindowAssociation(IntPtr WindowHandle, uint Flags) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIFactory*)Unsafe.AsPointer(ref this), WindowHandle, Flags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetWindowAssociation(IntPtr* pWindowHandle) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pWindowHandle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateSwapChain(IUnknown* pDevice, SwapChainDescription* pDesc, IDXGISwapChain** ppSwapChain) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIFactory*)Unsafe.AsPointer(ref this), pDevice, pDesc, ppSwapChain); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateSoftwareAdapter(IntPtr Module, IDXGIAdapter** ppAdapter) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory1.cs index 6c01664..92cb63f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory1 [Guid("770aae78-f26f-4dba-a829-253c83d1b387")] [NativeTypeName("struct IDXGIFactory1 : IDXGIFactory")] [NativeInheritance("IDXGIFactory")] -public unsafe partial struct IDXGIFactory1 +public unsafe partial struct IDXGIFactory1 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory1)); +#endif public void** lpVtbl; @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIFactory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Module, ppAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult EnumAdapters1(uint Adapter, IDXGIAdapter1** ppAdapter) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIFactory1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIFactory1*)Unsafe.AsPointer(ref this), Adapter, ppAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public Bool32 IsCurrent() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory2.cs index c798b75..a8282d5 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory2 [Guid("50c83a1c-e072-4c48-87b0-3630fa36a6d0")] [NativeTypeName("struct IDXGIFactory2 : IDXGIFactory1")] [NativeInheritance("IDXGIFactory1")] -public unsafe partial struct IDXGIFactory2 +public unsafe partial struct IDXGIFactory2 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory2)); +#endif public void** lpVtbl; @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public Bool32 IsWindowedStereoEnabled() @@ -166,7 +170,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIFactory2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateSwapChainForHwnd(IUnknown* pDevice, IntPtr hWnd, SwapChainDescription1* pDesc, SwapChainFullscreenDescription* pFullscreenDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, hWnd, pDesc, pFullscreenDesc, pRestrictToOutput, ppSwapChain); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult CreateSwapChainForCoreWindow(IUnknown* pDevice, IUnknown* pWindow, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) @@ -182,7 +186,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), pDevice, pWindow, pDesc, pRestrictToOutput, ppSwapChain); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetSharedResourceAdapterLuid(Handle hResource, Luid* pLuid) @@ -190,7 +194,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hResource, pLuid); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult RegisterStereoStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) @@ -198,7 +202,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult RegisterStereoStatusEvent(Handle hEvent, uint* pdwCookie) @@ -206,7 +210,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public void UnregisterStereoStatus(uint dwCookie) @@ -214,7 +218,7 @@ public unsafe partial struct IDXGIFactory2 ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult RegisterOcclusionStatusWindow(IntPtr WindowHandle, uint wMsg, uint* pdwCookie) @@ -222,7 +226,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), WindowHandle, wMsg, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult RegisterOcclusionStatusEvent(Handle hEvent, uint* pdwCookie) @@ -230,7 +234,7 @@ public unsafe partial struct IDXGIFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public void UnregisterOcclusionStatus(uint dwCookie) @@ -238,7 +242,7 @@ public unsafe partial struct IDXGIFactory2 ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIFactory2*)Unsafe.AsPointer(ref this), dwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CreateSwapChainForComposition(IUnknown* pDevice, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory3.cs index d1d4121..4dd5a16 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory3 [Guid("25483823-cd46-4c7d-86ca-47aa95b837bd")] [NativeTypeName("struct IDXGIFactory3 : IDXGIFactory2")] [NativeInheritance("IDXGIFactory2")] -public unsafe partial struct IDXGIFactory3 +public unsafe partial struct IDXGIFactory3 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory3)); +#endif public void** lpVtbl; @@ -246,7 +250,7 @@ public unsafe partial struct IDXGIFactory3 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIFactory3*)Unsafe.AsPointer(ref this), pDevice, pDesc, pRestrictToOutput, ppSwapChain); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public uint GetCreationFlags() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory4.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory4.cs index 435df24..81b86d3 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory4 [Guid("1bc6ea02-ef36-464f-bf0c-21ca39e5168a")] [NativeTypeName("struct IDXGIFactory4 : IDXGIFactory3")] [NativeInheritance("IDXGIFactory3")] -public unsafe partial struct IDXGIFactory4 +public unsafe partial struct IDXGIFactory4 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory4)); +#endif public void** lpVtbl; @@ -254,7 +258,7 @@ public unsafe partial struct IDXGIFactory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIFactory4*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult EnumAdapterByLuid(Luid AdapterLuid, Guid* riid, void** ppvAdapter) @@ -262,7 +266,7 @@ public unsafe partial struct IDXGIFactory4 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIFactory4*)Unsafe.AsPointer(ref this), AdapterLuid, riid, ppvAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult EnumWarpAdapter(Guid* riid, void** ppvAdapter) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory5.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory5.cs index 6d45bc8..5371f80 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory5 [Guid("7632e1f5-ee65-4dca-87fd-84cd75f8838d")] [NativeTypeName("struct IDXGIFactory5 : IDXGIFactory4")] [NativeInheritance("IDXGIFactory4")] -public unsafe partial struct IDXGIFactory5 +public unsafe partial struct IDXGIFactory5 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory5 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory5)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct IDXGIFactory5 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIFactory5*)Unsafe.AsPointer(ref this), riid, ppvAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult CheckFeatureSupport(Feature Feature, void* pFeatureSupportData, uint FeatureSupportDataSize) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory6.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory6.cs index c48d882..2e8b6d4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory6 [Guid("c1b6694f-ff09-44a9-b03c-77900a0a1d17")] [NativeTypeName("struct IDXGIFactory6 : IDXGIFactory5")] [NativeInheritance("IDXGIFactory5")] -public unsafe partial struct IDXGIFactory6 +public unsafe partial struct IDXGIFactory6 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory6 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory6)); +#endif public void** lpVtbl; @@ -278,7 +282,7 @@ public unsafe partial struct IDXGIFactory6 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIFactory6*)Unsafe.AsPointer(ref this), Feature, pFeatureSupportData, FeatureSupportDataSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult EnumAdapterByGpuPreference(uint Adapter, GpuPreference GpuPreference, Guid* riid, void** ppvAdapter) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory7.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory7.cs index 563ff99..dbf3e90 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory7.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactory7.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactory7 [Guid("a4966eed-76db-44da-84c1-ee9a7afb20a8")] [NativeTypeName("struct IDXGIFactory7 : IDXGIFactory6")] [NativeInheritance("IDXGIFactory6")] -public unsafe partial struct IDXGIFactory7 +public unsafe partial struct IDXGIFactory7 : INativeGuid { public static ref readonly Guid IID_IDXGIFactory7 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactory7 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory7)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactory7)); +#endif public void** lpVtbl; @@ -286,7 +290,7 @@ public unsafe partial struct IDXGIFactory7 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), Adapter, GpuPreference, riid, ppvAdapter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult RegisterAdaptersChangedEvent(Handle hEvent, uint* pdwCookie) @@ -294,7 +298,7 @@ public unsafe partial struct IDXGIFactory7 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIFactory7*)Unsafe.AsPointer(ref this), hEvent, pdwCookie); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult UnregisterAdaptersChangedEvent(uint dwCookie) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactoryMedia.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactoryMedia.cs index eefea60..98b727e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactoryMedia.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIFactoryMedia.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIFactoryMedia [Guid("41e7d1f2-a591-4f7b-a2e5-fa9c843e1c12")] [NativeTypeName("struct IDXGIFactoryMedia : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIFactoryMedia +public unsafe partial struct IDXGIFactoryMedia : INativeGuid { public static ref readonly Guid IID_IDXGIFactoryMedia { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIFactoryMedia } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactoryMedia)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIFactoryMedia)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIFactoryMedia return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, Handle hSurface, SwapChainDescription1* pDesc, IDXGIOutput* pRestrictToOutput, IDXGISwapChain1** ppSwapChain) @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIFactoryMedia return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIFactoryMedia*)Unsafe.AsPointer(ref this), pDevice, hSurface, pDesc, pRestrictToOutput, ppSwapChain); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateDecodeSwapChainForCompositionSurfaceHandle(IUnknown* pDevice, Handle hSurface, DecodeSwapChainDescription* pDesc, IDXGIResource* pYuvDecodeBuffers, IDXGIOutput* pRestrictToOutput, IDXGIDecodeSwapChain** ppSwapChain) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIInfoQueue.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIInfoQueue.cs index 1c4d0a4..0f40c32 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIInfoQueue.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIInfoQueue.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIInfoQueue [Guid("d67441c7-672a-476f-9e82-cd55b44949ce")] [NativeTypeName("struct IDXGIInfoQueue : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIInfoQueue +public unsafe partial struct IDXGIInfoQueue : INativeGuid { public static ref readonly Guid IID_IDXGIInfoQueue { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIInfoQueue } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIInfoQueue)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIInfoQueue)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetMessageCountLimit(Guid Producer, ulong MessageCountLimit) @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageCountLimit); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void ClearStoredMessages(Guid Producer) @@ -86,7 +90,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetMessage(Guid Producer, ulong MessageIndex, InfoQueueMessage* pMessage, nuint* pMessageByteLength) @@ -94,7 +98,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, MessageIndex, pMessage, pMessageByteLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public ulong GetNumStoredMessagesAllowedByRetrievalFilters(Guid Producer) @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public ulong GetNumStoredMessages(Guid Producer) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public ulong GetNumMessagesDiscardedByMessageCountLimit(Guid Producer) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public ulong GetMessageCountLimit(Guid Producer) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public ulong GetNumMessagesAllowedByStorageFilter(Guid Producer) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public ulong GetNumMessagesDeniedByStorageFilter(Guid Producer) @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult AddStorageFilterEntries(Guid Producer, InfoQueueFilter* pFilter) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetStorageFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength) @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public void ClearStorageFilter(Guid Producer) @@ -166,7 +170,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult PushEmptyStorageFilter(Guid Producer) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult PushDenyAllStorageFilter(Guid Producer) @@ -182,7 +186,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult PushCopyOfStorageFilter(Guid Producer) @@ -190,7 +194,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult PushStorageFilter(Guid Producer, InfoQueueFilter* pFilter) @@ -198,7 +202,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public void PopStorageFilter(Guid Producer) @@ -206,7 +210,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public uint GetStorageFilterStackSize(Guid Producer) @@ -214,7 +218,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult AddRetrievalFilterEntries(Guid Producer, InfoQueueFilter* pFilter) @@ -222,7 +226,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult GetRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter, nuint* pFilterByteLength) @@ -230,7 +234,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter, pFilterByteLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public void ClearRetrievalFilter(Guid Producer) @@ -238,7 +242,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult PushEmptyRetrievalFilter(Guid Producer) @@ -246,7 +250,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult PushDenyAllRetrievalFilter(Guid Producer) @@ -254,7 +258,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult PushCopyOfRetrievalFilter(Guid Producer) @@ -262,7 +266,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult PushRetrievalFilter(Guid Producer, InfoQueueFilter* pFilter) @@ -270,7 +274,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, pFilter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public void PopRetrievalFilter(Guid Producer) @@ -278,7 +282,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public uint GetRetrievalFilterStackSize(Guid Producer) @@ -286,7 +290,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, sbyte* pDescription) @@ -294,7 +298,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, sbyte* pDescription) @@ -302,7 +306,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32 bEnable) @@ -310,7 +314,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, bEnable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult SetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity, Bool32 bEnable) @@ -318,7 +322,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity, bEnable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult SetBreakOnID(Guid Producer, int ID, Bool32 bEnable) @@ -326,7 +330,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID, bEnable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public Bool32 GetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category) @@ -334,7 +338,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public Bool32 GetBreakOnSeverity(Guid Producer, InfoQueueMessageSeverity Severity) @@ -342,7 +346,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Severity); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public Bool32 GetBreakOnID(Guid Producer, int ID) @@ -350,7 +354,7 @@ public unsafe partial struct IDXGIInfoQueue return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, ID); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public void SetMuteDebugOutput(Guid Producer, Bool32 bMute) @@ -358,7 +362,7 @@ public unsafe partial struct IDXGIInfoQueue ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, bMute); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public Bool32 GetMuteDebugOutput(Guid Producer) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIKeyedMutex.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIKeyedMutex.cs index 938fc17..d6ad4ae 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIKeyedMutex.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIKeyedMutex.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIKeyedMutex [Guid("9d8e1289-d7b3-465f-8126-250e349af85d")] [NativeTypeName("struct IDXGIKeyedMutex : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGIKeyedMutex +public unsafe partial struct IDXGIKeyedMutex : INativeGuid { public static ref readonly Guid IID_IDXGIKeyedMutex { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIKeyedMutex } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIKeyedMutex)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIKeyedMutex)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIKeyedMutex return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), riid, ppDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult AcquireSync(ulong Key, uint dwMilliseconds) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIKeyedMutex return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIKeyedMutex*)Unsafe.AsPointer(ref this), Key, dwMilliseconds); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult ReleaseSync(ulong Key) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIObject.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIObject.cs index 5d40760..64a1168 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIObject.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIObject.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIObject [Guid("aec22fb8-76f3-4639-9be0-28eb43a67a2e")] [NativeTypeName("struct IDXGIObject : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGIObject +public unsafe partial struct IDXGIObject : INativeGuid { public static ref readonly Guid IID_IDXGIObject { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIObject } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIObject)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIObject)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGIObject return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetPrivateData(Guid* Name, uint DataSize, void* pData) @@ -78,7 +82,7 @@ public unsafe partial struct IDXGIObject return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, DataSize, pData); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetPrivateDataInterface(Guid* Name, IUnknown* pUnknown) @@ -86,7 +90,7 @@ public unsafe partial struct IDXGIObject return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pUnknown); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetPrivateData(Guid* Name, uint* pDataSize, void* pData) @@ -94,7 +98,7 @@ public unsafe partial struct IDXGIObject return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IDXGIObject*)Unsafe.AsPointer(ref this), Name, pDataSize, pData); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetParent(Guid* riid, void** ppParent) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput.cs index 96dd726..1da4185 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput [Guid("ae02eedb-c735-4690-8d52-5a8dc20213aa")] [NativeTypeName("struct IDXGIOutput : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIOutput +public unsafe partial struct IDXGIOutput : INativeGuid { public static ref readonly Guid IID_IDXGIOutput { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutput*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetDesc(OutputDescription* pDesc) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetDisplayModeList(Common.Format EnumFormat, EnumModesFlags Flags, uint* pNumModes, Common.ModeDescription* pDesc) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutput*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult FindClosestMatchingMode(Common.ModeDescription* pModeToMatch, Common.ModeDescription* pClosestMatch, IUnknown* pConcernedDevice) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult WaitForVBlank() @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult TakeOwnership(IUnknown* pDevice, Bool32 Exclusive) @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDevice, Exclusive); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public void ReleaseOwnership() @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIOutput ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutput*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetGammaControlCapabilities(Common.GammaControlCapabilities* pGammaCaps) @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pGammaCaps); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult SetGammaControl(Common.GammaControl* pArray) @@ -166,7 +170,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetGammaControl(Common.GammaControl* pArray) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pArray); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult SetDisplaySurface(IDXGISurface* pScanoutSurface) @@ -182,7 +186,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pScanoutSurface); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetDisplaySurfaceData(IDXGISurface* pDestination) @@ -190,7 +194,7 @@ public unsafe partial struct IDXGIOutput return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGIOutput*)Unsafe.AsPointer(ref this), pDestination); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetFrameStatistics(FrameStatistics* pStats) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput1.cs index cf6cf7c..367ae5b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput1 [Guid("00cddea8-939b-4b83-a340-a685226666cc")] [NativeTypeName("struct IDXGIOutput1 : IDXGIOutput")] [NativeInheritance("IDXGIOutput")] -public unsafe partial struct IDXGIOutput1 +public unsafe partial struct IDXGIOutput1 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput1)); +#endif public void** lpVtbl; @@ -198,7 +202,7 @@ public unsafe partial struct IDXGIOutput1 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pStats); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetDisplayModeList1(Common.Format EnumFormat, uint Flags, uint* pNumModes, ModeDescription1* pDesc) @@ -206,7 +210,7 @@ public unsafe partial struct IDXGIOutput1 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), EnumFormat, Flags, pNumModes, pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult FindClosestMatchingMode1(ModeDescription1* pModeToMatch, ModeDescription1* pClosestMatch, IUnknown* pConcernedDevice) @@ -214,7 +218,7 @@ public unsafe partial struct IDXGIOutput1 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pModeToMatch, pClosestMatch, pConcernedDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetDisplaySurfaceData1(IDXGIResource* pDestination) @@ -222,7 +226,7 @@ public unsafe partial struct IDXGIOutput1 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGIOutput1*)Unsafe.AsPointer(ref this), pDestination); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult DuplicateOutput(IUnknown* pDevice, IDXGIOutputDuplication** ppOutputDuplication) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput2.cs index 829b141..beaa875 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput2 [Guid("595e39d1-2724-4663-99b1-da969de28364")] [NativeTypeName("struct IDXGIOutput2 : IDXGIOutput1")] [NativeInheritance("IDXGIOutput1")] -public unsafe partial struct IDXGIOutput2 +public unsafe partial struct IDXGIOutput2 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput2)); +#endif public void** lpVtbl; @@ -230,7 +234,7 @@ public unsafe partial struct IDXGIOutput2 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGIOutput2*)Unsafe.AsPointer(ref this), pDevice, ppOutputDuplication); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public Bool32 SupportsOverlays() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput3.cs index 7bb420d..eeb26ab 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput3 [Guid("8a6bb301-7e7e-41f4-a8e0-5b32f7f99b18")] [NativeTypeName("struct IDXGIOutput3 : IDXGIOutput2")] [NativeInheritance("IDXGIOutput2")] -public unsafe partial struct IDXGIOutput3 +public unsafe partial struct IDXGIOutput3 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput3)); +#endif public void** lpVtbl; @@ -238,7 +242,7 @@ public unsafe partial struct IDXGIOutput3 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGIOutput3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CheckOverlaySupport(Common.Format EnumFormat, IUnknown* pConcernedDevice, uint* pFlags) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput4.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput4.cs index 6bfd69a..9857895 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput4 [Guid("dc7dca35-2196-414d-9f53-617884032a60")] [NativeTypeName("struct IDXGIOutput4 : IDXGIOutput3")] [NativeInheritance("IDXGIOutput3")] -public unsafe partial struct IDXGIOutput4 +public unsafe partial struct IDXGIOutput4 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput4)); +#endif public void** lpVtbl; @@ -246,7 +250,7 @@ public unsafe partial struct IDXGIOutput4 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGIOutput4*)Unsafe.AsPointer(ref this), EnumFormat, pConcernedDevice, pFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CheckOverlayColorSpaceSupport(Common.Format Format, Common.ColorSpaceType ColorSpace, IUnknown* pConcernedDevice, uint* pFlags) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput5.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput5.cs index 360074a..80d33c4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput5.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput5.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput5 [Guid("80a07424-ab52-42eb-833c-0c42fd282d98")] [NativeTypeName("struct IDXGIOutput5 : IDXGIOutput4")] [NativeInheritance("IDXGIOutput4")] -public unsafe partial struct IDXGIOutput5 +public unsafe partial struct IDXGIOutput5 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput5 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput5 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput5)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput5)); +#endif public void** lpVtbl; @@ -254,7 +258,7 @@ public unsafe partial struct IDXGIOutput5 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGIOutput5*)Unsafe.AsPointer(ref this), Format, ColorSpace, pConcernedDevice, pFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult DuplicateOutput1(IUnknown* pDevice, uint Flags, uint SupportedFormatsCount, Common.Format* pSupportedFormats, IDXGIOutputDuplication** ppOutputDuplication) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput6.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput6.cs index 57821f4..e557b58 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput6.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutput6.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutput6 [Guid("068346e8-aaec-4b84-add7-137f513f77a1")] [NativeTypeName("struct IDXGIOutput6 : IDXGIOutput5")] [NativeInheritance("IDXGIOutput5")] -public unsafe partial struct IDXGIOutput6 +public unsafe partial struct IDXGIOutput6 : INativeGuid { public static ref readonly Guid IID_IDXGIOutput6 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutput6 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput6)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutput6)); +#endif public void** lpVtbl; @@ -262,7 +266,7 @@ public unsafe partial struct IDXGIOutput6 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDevice, Flags, SupportedFormatsCount, pSupportedFormats, ppOutputDuplication); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult GetDesc1(OutputDescription1* pDesc) @@ -270,7 +274,7 @@ public unsafe partial struct IDXGIOutput6 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGIOutput6*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult CheckHardwareCompositionSupport(uint* pFlags) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutputDuplication.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutputDuplication.cs index f1dd43b..abb32a2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutputDuplication.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIOutputDuplication.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIOutputDuplication [Guid("191cfac3-a341-470d-b26e-a864f428319c")] [NativeTypeName("struct IDXGIOutputDuplication : IDXGIObject")] [NativeInheritance("IDXGIObject")] -public unsafe partial struct IDXGIOutputDuplication +public unsafe partial struct IDXGIOutputDuplication : INativeGuid { public static ref readonly Guid IID_IDXGIOutputDuplication { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIOutputDuplication } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutputDuplication)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIOutputDuplication)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), riid, ppParent); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public void GetDesc(OutduplDescription* pDesc) @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIOutputDuplication ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult AcquireNextFrame(uint TimeoutInMilliseconds, OutduplFrameInfo* pFrameInfo, IDXGIResource** ppDesktopResource) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), TimeoutInMilliseconds, pFrameInfo, ppDesktopResource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetFrameDirtyRects(uint DirtyRectsBufferSize, RawRect* pDirtyRectsBuffer, uint* pDirtyRectsBufferSizeRequired) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), DirtyRectsBufferSize, pDirtyRectsBuffer, pDirtyRectsBufferSizeRequired); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetFrameMoveRects(uint MoveRectsBufferSize, OutduplMoveRect* pMoveRectBuffer, uint* pMoveRectsBufferSizeRequired) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), MoveRectsBufferSize, pMoveRectBuffer, pMoveRectsBufferSizeRequired); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetFramePointerShape(uint PointerShapeBufferSize, void* pPointerShapeBuffer, uint* pPointerShapeBufferSizeRequired, OutduplPointerShapeInfo* pPointerShapeInfo) @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), PointerShapeBufferSize, pPointerShapeBuffer, pPointerShapeBufferSizeRequired, pPointerShapeInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult MapDesktopSurface(MappedRect* pLockedRect) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this), pLockedRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult UnMapDesktopSurface() @@ -158,7 +162,7 @@ public unsafe partial struct IDXGIOutputDuplication return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGIOutputDuplication*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult ReleaseFrame() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource.cs index d7553bb..09c0b9a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIResource [Guid("035f3ab4-482e-4e50-b41f-8a7f8bd8960b")] [NativeTypeName("struct IDXGIResource : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGIResource +public unsafe partial struct IDXGIResource : INativeGuid { public static ref readonly Guid IID_IDXGIResource { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIResource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDXGIResource return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGIResource*)Unsafe.AsPointer(ref this), riid, ppDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetSharedHandle(Handle* pSharedHandle) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGIResource return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGIResource*)Unsafe.AsPointer(ref this), pSharedHandle); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetUsage(uint* pUsage) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGIResource return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGIResource*)Unsafe.AsPointer(ref this), pUsage); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetEvictionPriority(ResourcePriority EvictionPriority) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGIResource return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGIResource*)Unsafe.AsPointer(ref this), EvictionPriority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetEvictionPriority(uint* pEvictionPriority) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource1.cs index a17d920..dedf0c1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGIResource1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGIResource1 [Guid("30961379-4609-4a41-998e-54fe567ee0c1")] [NativeTypeName("struct IDXGIResource1 : IDXGIResource")] [NativeInheritance("IDXGIResource")] -public unsafe partial struct IDXGIResource1 +public unsafe partial struct IDXGIResource1 : INativeGuid { public static ref readonly Guid IID_IDXGIResource1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGIResource1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGIResource1)); +#endif public void** lpVtbl; @@ -142,7 +146,7 @@ public unsafe partial struct IDXGIResource1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGIResource1*)Unsafe.AsPointer(ref this), pEvictionPriority); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateSubresourceSurface(uint index, IDXGISurface2** ppSurface) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGIResource1 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGIResource1*)Unsafe.AsPointer(ref this), index, ppSurface); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateSharedHandle(Security.SECURITY_ATTRIBUTES* pAttributes, uint dwAccess, ushort* lpName, Handle* pHandle) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface.cs index ed52e9a..b02674a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISurface [Guid("cafcb56c-6ac3-4889-bf47-9e23bbd260ec")] [NativeTypeName("struct IDXGISurface : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGISurface +public unsafe partial struct IDXGISurface : INativeGuid { public static ref readonly Guid IID_IDXGISurface { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISurface } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDXGISurface return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISurface*)Unsafe.AsPointer(ref this), riid, ppDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetDesc(SurfaceDescription* pDesc) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGISurface return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISurface*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult Map(MappedRect* pLockedRect, uint MapFlags) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGISurface return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISurface*)Unsafe.AsPointer(ref this), pLockedRect, MapFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult Unmap() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface1.cs index 106178c..3f78abe 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISurface1 [Guid("4ae63092-6327-4c1b-80ae-bfe12ea32b86")] [NativeTypeName("struct IDXGISurface1 : IDXGISurface")] [NativeInheritance("IDXGISurface")] -public unsafe partial struct IDXGISurface1 +public unsafe partial struct IDXGISurface1 : INativeGuid { public static ref readonly Guid IID_IDXGISurface1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISurface1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface1)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IDXGISurface1 return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISurface1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetDC(Bool32 Discard, IntPtr* phdc) @@ -142,7 +146,7 @@ public unsafe partial struct IDXGISurface1 return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISurface1*)Unsafe.AsPointer(ref this), Discard, phdc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult ReleaseDC(RawRect* pDirtyRect) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface2.cs index 1a4ecc6..cd03375 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISurface2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISurface2 [Guid("aba496dd-b617-4cb8-a866-bc44d7eb1fa2")] [NativeTypeName("struct IDXGISurface2 : IDXGISurface1")] [NativeInheritance("IDXGISurface1")] -public unsafe partial struct IDXGISurface2 +public unsafe partial struct IDXGISurface2 : INativeGuid { public static ref readonly Guid IID_IDXGISurface2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISurface2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISurface2)); +#endif public void** lpVtbl; @@ -150,7 +154,7 @@ public unsafe partial struct IDXGISurface2 return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISurface2*)Unsafe.AsPointer(ref this), pDirtyRect); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetResource(Guid* riid, void** ppParentResource, uint* pSubresourceIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain.cs index ab9bf73..67796cc 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChain [Guid("310d36a0-d2e7-4c0a-aa04-6a9d23b8886a")] [NativeTypeName("struct IDXGISwapChain : IDXGIDeviceSubObject")] [NativeInheritance("IDXGIDeviceSubObject")] -public unsafe partial struct IDXGISwapChain +public unsafe partial struct IDXGISwapChain : INativeGuid { public static ref readonly Guid IID_IDXGISwapChain { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChain } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), riid, ppDevice); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Present(uint SyncInterval, PresentFlags Flags) @@ -118,7 +122,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), SyncInterval, Flags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetBuffer(uint Buffer, Guid* riid, void** ppSurface) @@ -126,7 +130,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Buffer, riid, ppSurface); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetFullscreenState(Bool32 Fullscreen, IDXGIOutput* pTarget) @@ -134,7 +138,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), Fullscreen, pTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetFullscreenState(Bool32* pFullscreen, IDXGIOutput** ppTarget) @@ -142,7 +146,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pFullscreen, ppTarget); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetDesc(SwapChainDescription* pDesc) @@ -150,7 +154,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult ResizeBuffers(uint BufferCount, uint Width, uint Height, Common.Format NewFormat, SwapChainFlags SwapChainFlags) @@ -158,7 +162,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, NewFormat, SwapChainFlags); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult ResizeTarget(Common.ModeDescription* pNewTargetParameters) @@ -166,7 +170,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pNewTargetParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetContainingOutput(IDXGIOutput** ppOutput) @@ -174,7 +178,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), ppOutput); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetFrameStatistics(FrameStatistics* pStats) @@ -182,7 +186,7 @@ public unsafe partial struct IDXGISwapChain return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IDXGISwapChain*)Unsafe.AsPointer(ref this), pStats); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetLastPresentCount(uint* pLastPresentCount) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain1.cs index ce65730..2def159 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain1.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain1.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChain1 [Guid("790a45f7-0d42-4876-983a-0a55cfe6f4aa")] [NativeTypeName("struct IDXGISwapChain1 : IDXGISwapChain")] [NativeInheritance("IDXGISwapChain")] -public unsafe partial struct IDXGISwapChain1 +public unsafe partial struct IDXGISwapChain1 : INativeGuid { public static ref readonly Guid IID_IDXGISwapChain1 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChain1 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain1)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain1)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pLastPresentCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetDesc1(SwapChainDescription1* pDesc) @@ -198,7 +202,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetFullscreenDesc(SwapChainFullscreenDescription* pDesc) @@ -206,7 +210,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pDesc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult GetHwnd(IntPtr* pHwnd) @@ -214,7 +218,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pHwnd); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetCoreWindow(Guid* refiid, void** ppUnk) @@ -222,7 +226,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), refiid, ppUnk); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult Present1(uint SyncInterval, uint PresentFlags, PresentParameters* pPresentParameters) @@ -230,7 +234,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), SyncInterval, PresentFlags, pPresentParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public Bool32 IsTemporaryMonoSupported() @@ -238,7 +242,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult GetRestrictToOutput(IDXGIOutput** ppRestrictToOutput) @@ -246,7 +250,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), ppRestrictToOutput); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult SetBackgroundColor(Color4* pColor) @@ -254,7 +258,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult GetBackgroundColor(Color4** pColor) @@ -262,7 +266,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), pColor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult SetRotation(Common.ModeRotation Rotation) @@ -270,7 +274,7 @@ public unsafe partial struct IDXGISwapChain1 return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IDXGISwapChain1*)Unsafe.AsPointer(ref this), Rotation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult GetRotation(Common.ModeRotation* pRotation) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain2.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain2.cs index b37d253..de8b83a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChain2 [Guid("a8be2ac4-199f-4946-b331-79599fb98de7")] [NativeTypeName("struct IDXGISwapChain2 : IDXGISwapChain1")] [NativeInheritance("IDXGISwapChain1")] -public unsafe partial struct IDXGISwapChain2 +public unsafe partial struct IDXGISwapChain2 : INativeGuid { public static ref readonly Guid IID_IDXGISwapChain2 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChain2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain2)); +#endif public void** lpVtbl; @@ -278,7 +282,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pRotation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult SetSourceSize(uint Width, uint Height) @@ -286,7 +290,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), Width, Height); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult GetSourceSize(uint* pWidth, uint* pHeight) @@ -294,7 +298,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pWidth, pHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult SetMaximumFrameLatency(uint MaxLatency) @@ -302,7 +306,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), MaxLatency); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult GetMaximumFrameLatency(uint* pMaxLatency) @@ -310,7 +314,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMaxLatency); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public Handle GetFrameLatencyWaitableObject() @@ -318,7 +322,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult SetMatrixTransform(Matrix3x2* pMatrix) @@ -326,7 +330,7 @@ public unsafe partial struct IDXGISwapChain2 return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IDXGISwapChain2*)Unsafe.AsPointer(ref this), pMatrix); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult GetMatrixTransform(Matrix3x2* pMatrix) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain3.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain3.cs index a40d672..ead5dda 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain3.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain3.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChain3 [Guid("94d99bdb-f1f8-4ab0-b236-7da0170edab1")] [NativeTypeName("struct IDXGISwapChain3 : IDXGISwapChain2")] [NativeInheritance("IDXGISwapChain2")] -public unsafe partial struct IDXGISwapChain3 +public unsafe partial struct IDXGISwapChain3 : INativeGuid { public static ref readonly Guid IID_IDXGISwapChain3 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChain3 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain3)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain3)); +#endif public void** lpVtbl; @@ -334,7 +338,7 @@ public unsafe partial struct IDXGISwapChain3 return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), pMatrix); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public uint GetCurrentBackBufferIndex() @@ -342,7 +346,7 @@ public unsafe partial struct IDXGISwapChain3 return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public HResult CheckColorSpaceSupport(Common.ColorSpaceType ColorSpace, uint* pColorSpaceSupport) @@ -350,7 +354,7 @@ public unsafe partial struct IDXGISwapChain3 return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace, pColorSpaceSupport); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public HResult SetColorSpace1(Common.ColorSpaceType ColorSpace) @@ -358,7 +362,7 @@ public unsafe partial struct IDXGISwapChain3 return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IDXGISwapChain3*)Unsafe.AsPointer(ref this), ColorSpace); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public HResult ResizeBuffers1(uint BufferCount, uint Width, uint Height, Common.Format Format, uint SwapChainFlags, uint* pCreationNodeMask, IUnknown** ppPresentQueue) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain4.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain4.cs index 42a2656..60bd20b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain4.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChain4.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChain4 [Guid("3d585d5a-bd4a-489e-b1f4-3dbcb6452ffb")] [NativeTypeName("struct IDXGISwapChain4 : IDXGISwapChain3")] [NativeInheritance("IDXGISwapChain3")] -public unsafe partial struct IDXGISwapChain4 +public unsafe partial struct IDXGISwapChain4 : INativeGuid { public static ref readonly Guid IID_IDXGISwapChain4 { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChain4 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain4)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChain4)); +#endif public void** lpVtbl; @@ -366,7 +370,7 @@ public unsafe partial struct IDXGISwapChain4 return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IDXGISwapChain4*)Unsafe.AsPointer(ref this), BufferCount, Width, Height, Format, SwapChainFlags, pCreationNodeMask, ppPresentQueue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult SetHDRMetaData(HDRMetadataType Type, uint Size, void* pMetaData) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChainMedia.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChainMedia.cs index 6d360c7..2d0ef01 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChainMedia.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGISwapChainMedia.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGISwapChainMedia [Guid("dd95b90b-f05f-4f6a-bd65-25bfb264bd84")] [NativeTypeName("struct IDXGISwapChainMedia : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGISwapChainMedia +public unsafe partial struct IDXGISwapChainMedia : INativeGuid { public static ref readonly Guid IID_IDXGISwapChainMedia { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGISwapChainMedia } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChainMedia)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGISwapChainMedia)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGISwapChainMedia return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetFrameStatisticsMedia(FrameStatisticsMedia* pStats) @@ -78,7 +82,7 @@ public unsafe partial struct IDXGISwapChainMedia return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), pStats); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetPresentDuration(uint Duration) @@ -86,7 +90,7 @@ public unsafe partial struct IDXGISwapChainMedia return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IDXGISwapChainMedia*)Unsafe.AsPointer(ref this), Duration); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CheckPresentDurationSupport(uint DesiredPresentDuration, uint* pClosestSmallerPresentDuration, uint* pClosestLargerPresentDuration) diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGraphicsAnalysis.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGraphicsAnalysis.cs index 4a423e7..633b392 100644 --- a/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGraphicsAnalysis.cs +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/IDXGraphicsAnalysis.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Dxgi; -/// +/// /// IDXGraphicsAnalysis [Guid("9f251514-9d4d-4902-9d60-18988ab7d4b5")] [NativeTypeName("struct IDXGraphicsAnalysis : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IDXGraphicsAnalysis +public unsafe partial struct IDXGraphicsAnalysis : INativeGuid { public static ref readonly Guid IID_IDXGraphicsAnalysis { @@ -40,7 +40,11 @@ public unsafe partial struct IDXGraphicsAnalysis } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGraphicsAnalysis)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IDXGraphicsAnalysis)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IDXGraphicsAnalysis return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public void BeginCapture() @@ -78,7 +82,7 @@ public unsafe partial struct IDXGraphicsAnalysis ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IDXGraphicsAnalysis*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public void EndCapture() diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilter.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilter.cs new file mode 100644 index 0000000..3db7a3f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilter.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_INFO_QUEUE_FILTER +public partial struct InfoQueueFilter +{ + /// + public InfoQueueFilterDescription AllowList; + + /// + public InfoQueueFilterDescription DenyList; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilterDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilterDescription.cs new file mode 100644 index 0000000..bd61ca3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueFilterDescription.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_INFO_QUEUE_FILTER_DESC +public partial struct InfoQueueFilterDescription +{ + /// + public uint NumCategories; + + /// + public unsafe InfoQueueMessageCategory* pCategoryList; + + /// + public uint NumSeverities; + + /// + public unsafe InfoQueueMessageSeverity* pSeverityList; + + /// + public uint NumIDs; + + /// + public unsafe int* pIDList; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessage.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessage.cs new file mode 100644 index 0000000..85b63b1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessage.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_INFO_QUEUE_MESSAGE +public partial struct InfoQueueMessage +{ + /// + public Guid Producer; + + /// + public InfoQueueMessageCategory Category; + + /// + public InfoQueueMessageSeverity Severity; + + /// + public int ID; + + /// + public unsafe byte* pDescription; + + /// + public nuint DescriptionByteLength; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageCategory.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageCategory.cs new file mode 100644 index 0000000..6996db3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageCategory.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_INFO_QUEUE_MESSAGE_CATEGORY +public enum InfoQueueMessageCategory : int +{ + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_UNKNOWN + Unknown = 0, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_MISCELLANEOUS + Miscellaneous = 1, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_INITIALIZATION + Initialization = 2, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_CLEANUP + Cleanup = 3, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_COMPILATION + Compilation = 4, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_CREATION + StateCreation = 5, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_SETTING + StateSetting = 6, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_STATE_GETTING + StateGetting = 7, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_RESOURCE_MANIPULATION + ResourceManipulation = 8, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_EXECUTION + Execution = 9, + /// + /// DXGI_INFO_QUEUE_MESSAGE_CATEGORY_SHADER + Shader = 10, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageSeverity.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageSeverity.cs new file mode 100644 index 0000000..fa2d4dd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/InfoQueueMessageSeverity.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_INFO_QUEUE_MESSAGE_SEVERITY +public enum InfoQueueMessageSeverity : int +{ + /// + /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_CORRUPTION + Corruption = 0, + /// + /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_ERROR + Error = 1, + /// + /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_WARNING + Warning = 2, + /// + /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_INFO + Info = 3, + /// + /// DXGI_INFO_QUEUE_MESSAGE_SEVERITY_MESSAGE + Message = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegAcHuffmanTable.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegAcHuffmanTable.cs new file mode 100644 index 0000000..3c29dff --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegAcHuffmanTable.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_JPEG_AC_HUFFMAN_TABLE +public partial struct JpegAcHuffmanTable +{ + /// + public unsafe fixed byte CodeCounts[16]; + + /// + public unsafe fixed byte CodeValues[162]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegDCHuffmanTable.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegDCHuffmanTable.cs new file mode 100644 index 0000000..d3df56a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegDCHuffmanTable.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_JPEG_DC_HUFFMAN_TABLE +public partial struct JpegDCHuffmanTable +{ + /// + public unsafe fixed byte CodeCounts[12]; + + /// + public unsafe fixed byte CodeValues[12]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegQuantizationTable.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegQuantizationTable.cs new file mode 100644 index 0000000..2c06db7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/JpegQuantizationTable.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_JPEG_QUANTIZATION_TABLE +public partial struct JpegQuantizationTable +{ + /// + public unsafe fixed byte Elements[64]; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/MapFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/MapFlags.cs new file mode 100644 index 0000000..7cb1df6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/MapFlags.cs @@ -0,0 +1,23 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// DXGI_MAP +[Flags] +public enum MapFlags : uint +{ + None = 0, + /// DXGI_MAP_READ + Read = 1, + /// DXGI_MAP_WRITE + Write = 2, + /// DXGI_MAP_DISCARD + Discard = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/MappedRect.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/MappedRect.cs new file mode 100644 index 0000000..0c252b5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/MappedRect.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_MAPPED_RECT +public partial struct MappedRect +{ + /// + public int Pitch; + + /// + public unsafe byte* pBits; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/MemorySegmentGroup.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/MemorySegmentGroup.cs new file mode 100644 index 0000000..09ed828 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/MemorySegmentGroup.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_MEMORY_SEGMENT_GROUP +public enum MemorySegmentGroup : int +{ + /// + /// DXGI_MEMORY_SEGMENT_GROUP_LOCAL + Local = 0, + /// + /// DXGI_MEMORY_SEGMENT_GROUP_NON_LOCAL + NonLocal = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/MessageId.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/MessageId.cs new file mode 100644 index 0000000..4090afc --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/MessageId.cs @@ -0,0 +1,1009 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_Message_Id +public enum MessageId : int +{ + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow + IDXGISwapChain_CreationOrResizeBuffers_InvalidOutputWindow = 0, + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_BufferWidthInferred + IDXGISwapChain_CreationOrResizeBuffers_BufferWidthInferred = 1, + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_BufferHeightInferred + IDXGISwapChain_CreationOrResizeBuffers_BufferHeightInferred = 2, + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrResizeBuffers_NoScanoutFlagChanged + IDXGISwapChain_CreationOrResizeBuffers_NoScanoutFlagChanged = 3, + /// + /// DXGI_MSG_IDXGISwapChain_Creation_MaxBufferCountExceeded + IDXGISwapChain_Creation_MaxBufferCountExceeded = 4, + /// + /// DXGI_MSG_IDXGISwapChain_Creation_TooFewBuffers + IDXGISwapChain_Creation_TooFewBuffers = 5, + /// + /// DXGI_MSG_IDXGISwapChain_Creation_NoOutputWindow + IDXGISwapChain_Creation_NoOutputWindow = 6, + /// + /// DXGI_MSG_IDXGISwapChain_Destruction_OtherMethodsCalled + IDXGISwapChain_Destruction_OtherMethodsCalled = 7, + /// + /// DXGI_MSG_IDXGISwapChain_GetDesc_pDescIsNULL + IDXGISwapChain_GetDesc_pDescIsNULL = 8, + /// + /// DXGI_MSG_IDXGISwapChain_GetBuffer_ppSurfaceIsNULL + IDXGISwapChain_GetBuffer_ppSurfaceIsNULL = 9, + /// + /// DXGI_MSG_IDXGISwapChain_GetBuffer_NoAllocatedBuffers + IDXGISwapChain_GetBuffer_NoAllocatedBuffers = 10, + /// + /// DXGI_MSG_IDXGISwapChain_GetBuffer_iBufferMustBeZero + IDXGISwapChain_GetBuffer_iBufferMustBeZero = 11, + /// + /// DXGI_MSG_IDXGISwapChain_GetBuffer_iBufferOOB + IDXGISwapChain_GetBuffer_iBufferOOB = 12, + /// + /// DXGI_MSG_IDXGISwapChain_GetContainingOutput_ppOutputIsNULL + IDXGISwapChain_GetContainingOutput_ppOutputIsNULL = 13, + /// + /// DXGI_MSG_IDXGISwapChain_Present_SyncIntervalOOB + IDXGISwapChain_Present_SyncIntervalOOB = 14, + /// + /// DXGI_MSG_IDXGISwapChain_Present_InvalidNonPreRotatedFlag + IDXGISwapChain_Present_InvalidNonPreRotatedFlag = 15, + /// + /// DXGI_MSG_IDXGISwapChain_Present_NoAllocatedBuffers + IDXGISwapChain_Present_NoAllocatedBuffers = 16, + /// + /// DXGI_MSG_IDXGISwapChain_Present_GetDXGIAdapterFailed + IDXGISwapChain_Present_GetDXGIAdapterFailed = 17, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_BufferCountOOB + IDXGISwapChain_ResizeBuffers_BufferCountOOB = 18, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_UnreleasedReferences + IDXGISwapChain_ResizeBuffers_UnreleasedReferences = 19, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidSwapChainFlag + IDXGISwapChain_ResizeBuffers_InvalidSwapChainFlag = 20, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidNonPreRotatedFlag + IDXGISwapChain_ResizeBuffers_InvalidNonPreRotatedFlag = 21, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeTarget_RefreshRateDivideByZero + IDXGISwapChain_ResizeTarget_RefreshRateDivideByZero = 22, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_InvalidTarget + IDXGISwapChain_SetFullscreenState_InvalidTarget = 23, + /// + /// DXGI_MSG_IDXGISwapChain_GetFrameStatistics_pStatsIsNULL + IDXGISwapChain_GetFrameStatistics_pStatsIsNULL = 24, + /// + /// DXGI_MSG_IDXGISwapChain_GetLastPresentCount_pLastPresentCountIsNULL + IDXGISwapChain_GetLastPresentCount_pLastPresentCountIsNULL = 25, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_RemoteNotSupported + IDXGISwapChain_SetFullscreenState_RemoteNotSupported = 26, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_FailedToAcquireFullscreenMutex + IDXGIOutput_TakeOwnership_FailedToAcquireFullscreenMutex = 27, + /// + /// DXGI_MSG_IDXGIFactory_CreateSoftwareAdapter_ppAdapterInterfaceIsNULL + IDXGIFactory_CreateSoftwareAdapter_ppAdapterInterfaceIsNULL = 28, + /// + /// DXGI_MSG_IDXGIFactory_EnumAdapters_ppAdapterInterfaceIsNULL + IDXGIFactory_EnumAdapters_ppAdapterInterfaceIsNULL = 29, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ppSwapChainIsNULL + IDXGIFactory_CreateSwapChain_ppSwapChainIsNULL = 30, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pDescIsNULL + IDXGIFactory_CreateSwapChain_pDescIsNULL = 31, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnknownSwapEffect + IDXGIFactory_CreateSwapChain_UnknownSwapEffect = 32, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidFlags + IDXGIFactory_CreateSwapChain_InvalidFlags = 33, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NonPreRotatedFlagAndWindowed + IDXGIFactory_CreateSwapChain_NonPreRotatedFlagAndWindowed = 34, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NullDeviceInterface + IDXGIFactory_CreateSwapChain_NullDeviceInterface = 35, + /// + /// DXGI_MSG_IDXGIFactory_GetWindowAssociation_phWndIsNULL + IDXGIFactory_GetWindowAssociation_phWndIsNULL = 36, + /// + /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_InvalidFlags + IDXGIFactory_MakeWindowAssociation_InvalidFlags = 37, + /// + /// DXGI_MSG_IDXGISurface_Map_InvalidSurface + IDXGISurface_Map_InvalidSurface = 38, + /// + /// DXGI_MSG_IDXGISurface_Map_FlagsSetToZero + IDXGISurface_Map_FlagsSetToZero = 39, + /// + /// DXGI_MSG_IDXGISurface_Map_DiscardAndReadFlagSet + IDXGISurface_Map_DiscardAndReadFlagSet = 40, + /// + /// DXGI_MSG_IDXGISurface_Map_DiscardButNotWriteFlagSet + IDXGISurface_Map_DiscardButNotWriteFlagSet = 41, + /// + /// DXGI_MSG_IDXGISurface_Map_NoCPUAccess + IDXGISurface_Map_NoCPUAccess = 42, + /// + /// DXGI_MSG_IDXGISurface_Map_ReadFlagSetButCPUAccessIsDynamic + IDXGISurface_Map_ReadFlagSetButCPUAccessIsDynamic = 43, + /// + /// DXGI_MSG_IDXGISurface_Map_DiscardFlagSetButCPUAccessIsNotDynamic + IDXGISurface_Map_DiscardFlagSetButCPUAccessIsNotDynamic = 44, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_pNumModesIsNULL + IDXGIOutput_GetDisplayModeList_pNumModesIsNULL = 45, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_ModeHasInvalidWidthOrHeight + IDXGIOutput_FindClosestMatchingMode_ModeHasInvalidWidthOrHeight = 46, + /// + /// DXGI_MSG_IDXGIOutput_GetCammaControlCapabilities_NoOwnerDevice + IDXGIOutput_GetCammaControlCapabilities_NoOwnerDevice = 47, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_pDeviceIsNULL + IDXGIOutput_TakeOwnership_pDeviceIsNULL = 48, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_NoOwnerDevice + IDXGIOutput_GetDisplaySurfaceData_NoOwnerDevice = 49, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_pDestinationIsNULL + IDXGIOutput_GetDisplaySurfaceData_pDestinationIsNULL = 50, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_MapOfDestinationFailed + IDXGIOutput_GetDisplaySurfaceData_MapOfDestinationFailed = 51, + /// + /// DXGI_MSG_IDXGIOutput_GetFrameStatistics_NoOwnerDevice + IDXGIOutput_GetFrameStatistics_NoOwnerDevice = 52, + /// + /// DXGI_MSG_IDXGIOutput_GetFrameStatistics_pStatsIsNULL + IDXGIOutput_GetFrameStatistics_pStatsIsNULL = 53, + /// + /// DXGI_MSG_IDXGIOutput_SetGammaControl_NoOwnerDevice + IDXGIOutput_SetGammaControl_NoOwnerDevice = 54, + /// + /// DXGI_MSG_IDXGIOutput_GetGammaControl_NoOwnerDevice + IDXGIOutput_GetGammaControl_NoOwnerDevice = 55, + /// + /// DXGI_MSG_IDXGIOutput_GetGammaControl_NoGammaControls + IDXGIOutput_GetGammaControl_NoGammaControls = 56, + /// + /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_IDXGIResourceNotSupportedBypPrimary + IDXGIOutput_SetDisplaySurface_IDXGIResourceNotSupportedBypPrimary = 57, + /// + /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_pPrimaryIsInvalid + IDXGIOutput_SetDisplaySurface_pPrimaryIsInvalid = 58, + /// + /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_NoOwnerDevice + IDXGIOutput_SetDisplaySurface_NoOwnerDevice = 59, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_RemoteDeviceNotSupported + IDXGIOutput_TakeOwnership_RemoteDeviceNotSupported = 60, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_RemoteDeviceNotSupported + IDXGIOutput_GetDisplayModeList_RemoteDeviceNotSupported = 61, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_RemoteDeviceNotSupported + IDXGIOutput_FindClosestMatchingMode_RemoteDeviceNotSupported = 62, + /// + /// DXGI_MSG_IDXGIDevice_CreateSurface_InvalidParametersWithpSharedResource + IDXGIDevice_CreateSurface_InvalidParametersWithpSharedResource = 63, + /// + /// DXGI_MSG_IDXGIObject_GetPrivateData_puiDataSizeIsNULL + IDXGIObject_GetPrivateData_puiDataSizeIsNULL = 64, + /// + /// DXGI_MSG_IDXGISwapChain_Creation_InvalidOutputWindow + IDXGISwapChain_Creation_InvalidOutputWindow = 65, + /// + /// DXGI_MSG_IDXGISwapChain_Release_SwapChainIsFullscreen + IDXGISwapChain_Release_SwapChainIsFullscreen = 66, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_InvalidTargetSurfaceFormat + IDXGIOutput_GetDisplaySurfaceData_InvalidTargetSurfaceFormat = 67, + /// + /// DXGI_MSG_IDXGIFactory_CreateSoftwareAdapter_ModuleIsNULL + IDXGIFactory_CreateSoftwareAdapter_ModuleIsNULL = 68, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_IDXGIDeviceNotSupportedBypConcernedDevice + IDXGIOutput_FindClosestMatchingMode_IDXGIDeviceNotSupportedBypConcernedDevice = 69, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_pModeToMatchOrpClosestMatchIsNULL + IDXGIOutput_FindClosestMatchingMode_pModeToMatchOrpClosestMatchIsNULL = 70, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_ModeHasRefreshRateDenominatorZero + IDXGIOutput_FindClosestMatchingMode_ModeHasRefreshRateDenominatorZero = 71, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_UnknownFormatIsInvalidForConfiguration + IDXGIOutput_FindClosestMatchingMode_UnknownFormatIsInvalidForConfiguration = 72, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScanlineOrdering + IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScanlineOrdering = 73, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScaling + IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeScaling = 74, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeFormatAndDeviceCombination + IDXGIOutput_FindClosestMatchingMode_InvalidDisplayModeFormatAndDeviceCombination = 75, + /// + /// DXGI_MSG_IDXGIFactory_Creation_CalledFromDllMain + IDXGIFactory_Creation_CalledFromDllMain = 76, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_OutputNotOwnedBySwapChainDevice + IDXGISwapChain_SetFullscreenState_OutputNotOwnedBySwapChainDevice = 77, + /// + /// DXGI_MSG_IDXGISwapChain_Creation_InvalidWindowStyle + IDXGISwapChain_Creation_InvalidWindowStyle = 78, + /// + /// DXGI_MSG_IDXGISwapChain_GetFrameStatistics_UnsupportedStatistics + IDXGISwapChain_GetFrameStatistics_UnsupportedStatistics = 79, + /// + /// DXGI_MSG_IDXGISwapChain_GetContainingOutput_SwapchainAdapterDoesNotControlOutput + IDXGISwapChain_GetContainingOutput_SwapchainAdapterDoesNotControlOutput = 80, + /// + /// DXGI_MSG_IDXGIOutput_SetOrGetGammaControl_pArrayIsNULL + IDXGIOutput_SetOrGetGammaControl_pArrayIsNULL = 81, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FullscreenInvalidForChildWindows + IDXGISwapChain_SetFullscreenState_FullscreenInvalidForChildWindows = 82, + /// + /// DXGI_MSG_IDXGIFactory_Release_CalledFromDllMain + IDXGIFactory_Release_CalledFromDllMain = 83, + /// + /// DXGI_MSG_IDXGISwapChain_Present_UnreleasedHDC + IDXGISwapChain_Present_UnreleasedHDC = 84, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_NonPreRotatedAndGDICompatibleFlags + IDXGISwapChain_ResizeBuffers_NonPreRotatedAndGDICompatibleFlags = 85, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_NonPreRotatedAndGDICompatibleFlags + IDXGIFactory_CreateSwapChain_NonPreRotatedAndGDICompatibleFlags = 86, + /// + /// DXGI_MSG_IDXGISurface1_GetDC_pHdcIsNULL + IDXGISurface1_GetDC_pHdcIsNULL = 87, + /// + /// DXGI_MSG_IDXGISurface1_GetDC_SurfaceNotTexture2D + IDXGISurface1_GetDC_SurfaceNotTexture2D = 88, + /// + /// DXGI_MSG_IDXGISurface1_GetDC_GDICompatibleFlagNotSet + IDXGISurface1_GetDC_GDICompatibleFlagNotSet = 89, + /// + /// DXGI_MSG_IDXGISurface1_GetDC_UnreleasedHDC + IDXGISurface1_GetDC_UnreleasedHDC = 90, + /// + /// DXGI_MSG_IDXGISurface_Map_NoCPUAccess2 + IDXGISurface_Map_NoCPUAccess2 = 91, + /// + /// DXGI_MSG_IDXGISurface1_ReleaseDC_GetDCNotCalled + IDXGISurface1_ReleaseDC_GetDCNotCalled = 92, + /// + /// DXGI_MSG_IDXGISurface1_ReleaseDC_InvalidRectangleDimensions + IDXGISurface1_ReleaseDC_InvalidRectangleDimensions = 93, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_RemoteOutputNotSupported + IDXGIOutput_TakeOwnership_RemoteOutputNotSupported = 94, + /// + /// DXGI_MSG_IDXGIOutput_FindClosestMatchingMode_RemoteOutputNotSupported + IDXGIOutput_FindClosestMatchingMode_RemoteOutputNotSupported = 95, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplayModeList_RemoteOutputNotSupported + IDXGIOutput_GetDisplayModeList_RemoteOutputNotSupported = 96, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pDeviceHasMismatchedDXGIFactory + IDXGIFactory_CreateSwapChain_pDeviceHasMismatchedDXGIFactory = 97, + /// + /// DXGI_MSG_IDXGISwapChain_Present_NonOptimalFSConfiguration + IDXGISwapChain_Present_NonOptimalFSConfiguration = 98, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FlipSequentialNotSupportedOnD3D10 + IDXGIFactory_CreateSwapChain_FlipSequentialNotSupportedOnD3D10 = 99, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_BufferCountOOBForFlipSequential + IDXGIFactory_CreateSwapChain_BufferCountOOBForFlipSequential = 100, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidFormatForFlipSequential + IDXGIFactory_CreateSwapChain_InvalidFormatForFlipSequential = 101, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_MultiSamplingNotSupportedForFlipSequential + IDXGIFactory_CreateSwapChain_MultiSamplingNotSupportedForFlipSequential = 102, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_BufferCountOOBForFlipSequential + IDXGISwapChain_ResizeBuffers_BufferCountOOBForFlipSequential = 103, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidFormatForFlipSequential + IDXGISwapChain_ResizeBuffers_InvalidFormatForFlipSequential = 104, + /// + /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationBeforeStandardPresentation + IDXGISwapChain_Present_PartialPresentationBeforeStandardPresentation = 105, + /// + /// DXGI_MSG_IDXGISwapChain_Present_FullscreenPartialPresentIsInvalid + IDXGISwapChain_Present_FullscreenPartialPresentIsInvalid = 106, + /// + /// DXGI_MSG_IDXGISwapChain_Present_InvalidPresentTestOrDoNotSequenceFlag + IDXGISwapChain_Present_InvalidPresentTestOrDoNotSequenceFlag = 107, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ScrollInfoWithNoDirtyRectsSpecified + IDXGISwapChain_Present_ScrollInfoWithNoDirtyRectsSpecified = 108, + /// + /// DXGI_MSG_IDXGISwapChain_Present_EmptyScrollRect + IDXGISwapChain_Present_EmptyScrollRect = 109, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ScrollRectOutOfBackbufferBounds + IDXGISwapChain_Present_ScrollRectOutOfBackbufferBounds = 110, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ScrollRectOutOfBackbufferBoundsWithOffset + IDXGISwapChain_Present_ScrollRectOutOfBackbufferBoundsWithOffset = 111, + /// + /// DXGI_MSG_IDXGISwapChain_Present_EmptyDirtyRect + IDXGISwapChain_Present_EmptyDirtyRect = 112, + /// + /// DXGI_MSG_IDXGISwapChain_Present_DirtyRectOutOfBackbufferBounds + IDXGISwapChain_Present_DirtyRectOutOfBackbufferBounds = 113, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnsupportedBufferUsageFlags + IDXGIFactory_CreateSwapChain_UnsupportedBufferUsageFlags = 114, + /// + /// DXGI_MSG_IDXGISwapChain_Present_DoNotSequenceFlagSetButPreviousBufferIsUndefined + IDXGISwapChain_Present_DoNotSequenceFlagSetButPreviousBufferIsUndefined = 115, + /// + /// DXGI_MSG_IDXGISwapChain_Present_UnsupportedFlags + IDXGISwapChain_Present_UnsupportedFlags = 116, + /// + /// DXGI_MSG_IDXGISwapChain_Present_FlipModelChainMustResizeOrCreateOnFSTransition + IDXGISwapChain_Present_FlipModelChainMustResizeOrCreateOnFSTransition = 117, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_pRestrictToOutputFromOtherIDXGIFactory + IDXGIFactory_CreateSwapChain_pRestrictToOutputFromOtherIDXGIFactory = 118, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_RestrictOutputNotSupportedOnAdapter + IDXGIFactory_CreateSwapChain_RestrictOutputNotSupportedOnAdapter = 119, + /// + /// DXGI_MSG_IDXGISwapChain_Present_RestrictToOutputFlagSetButInvalidpRestrictToOutput + IDXGISwapChain_Present_RestrictToOutputFlagSetButInvalidpRestrictToOutput = 120, + /// + /// DXGI_MSG_IDXGISwapChain_Present_RestrictToOutputFlagdWithFullscreen + IDXGISwapChain_Present_RestrictToOutputFlagdWithFullscreen = 121, + /// + /// DXGI_MSG_IDXGISwapChain_Present_RestrictOutputFlagWithStaleSwapChain + IDXGISwapChain_Present_RestrictOutputFlagWithStaleSwapChain = 122, + /// + /// DXGI_MSG_IDXGISwapChain_Present_OtherFlagsCausingInvalidPresentTestFlag + IDXGISwapChain_Present_OtherFlagsCausingInvalidPresentTestFlag = 123, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_UnavailableInSession0 + IDXGIFactory_CreateSwapChain_UnavailableInSession0 = 124, + /// + /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_UnavailableInSession0 + IDXGIFactory_MakeWindowAssociation_UnavailableInSession0 = 125, + /// + /// DXGI_MSG_IDXGIFactory_GetWindowAssociation_UnavailableInSession0 + IDXGIFactory_GetWindowAssociation_UnavailableInSession0 = 126, + /// + /// DXGI_MSG_IDXGIAdapter_EnumOutputs_UnavailableInSession0 + IDXGIAdapter_EnumOutputs_UnavailableInSession0 = 127, + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrSetFullscreenState_StereoDisabled + IDXGISwapChain_CreationOrSetFullscreenState_StereoDisabled = 128, + /// + /// DXGI_MSG_IDXGIFactory2_UnregisterStatus_CookieNotFound + IDXGIFactory2_UnregisterStatus_CookieNotFound = 129, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFSOrOverlay + IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFSOrOverlay = 130, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFlipSequential + IDXGISwapChain_Present_ProtectedContentInWindowedModeWithoutFlipSequential = 131, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentWithRDPDriver + IDXGISwapChain_Present_ProtectedContentWithRDPDriver = 132, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ProtectedContentInWindowedModeWithDWMOffOrInvalidDisplayAffinity + IDXGISwapChain_Present_ProtectedContentInWindowedModeWithDWMOffOrInvalidDisplayAffinity = 133, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_WidthOrHeightIsZero + IDXGIFactory_CreateSwapChainForComposition_WidthOrHeightIsZero = 134, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_OnlyFlipSequentialSupported + IDXGIFactory_CreateSwapChainForComposition_OnlyFlipSequentialSupported = 135, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnAdapter + IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnAdapter = 136, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnWindows7 + IDXGIFactory_CreateSwapChainForComposition_UnsupportedOnWindows7 = 137, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FSTransitionWithCompositionSwapChain + IDXGISwapChain_SetFullscreenState_FSTransitionWithCompositionSwapChain = 138, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeTarget_InvalidWithCompositionSwapChain + IDXGISwapChain_ResizeTarget_InvalidWithCompositionSwapChain = 139, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_WidthOrHeightIsZero + IDXGISwapChain_ResizeBuffers_WidthOrHeightIsZero = 140, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingNoneIsFlipModelOnly + IDXGIFactory_CreateSwapChain_ScalingNoneIsFlipModelOnly = 141, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingUnrecognized + IDXGIFactory_CreateSwapChain_ScalingUnrecognized = 142, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyFullscreenUnsupported + IDXGIFactory_CreateSwapChain_DisplayOnlyFullscreenUnsupported = 143, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyUnsupported + IDXGIFactory_CreateSwapChain_DisplayOnlyUnsupported = 144, + /// + /// DXGI_MSG_IDXGISwapChain_Present_RestartIsFullscreenOnly + IDXGISwapChain_Present_RestartIsFullscreenOnly = 145, + /// + /// DXGI_MSG_IDXGISwapChain_Present_ProtectedWindowlessPresentationRequiresDisplayOnly + IDXGISwapChain_Present_ProtectedWindowlessPresentationRequiresDisplayOnly = 146, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_DisplayOnlyUnsupported + IDXGISwapChain_SetFullscreenState_DisplayOnlyUnsupported = 147, + /// + /// DXGI_MSG_IDXGISwapChain1_SetBackgroundColor_OutOfRange + IDXGISwapChain1_SetBackgroundColor_OutOfRange = 148, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyFullscreenUnsupported + IDXGISwapChain_ResizeBuffers_DisplayOnlyFullscreenUnsupported = 149, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyUnsupported + IDXGISwapChain_ResizeBuffers_DisplayOnlyUnsupported = 150, + /// + /// DXGI_MSG_IDXGISwapchain_Present_ScrollUnsupported + IDXGISwapchain_Present_ScrollUnsupported = 151, + /// + /// DXGI_MSG_IDXGISwapChain1_SetRotation_UnsupportedOS + IDXGISwapChain1_SetRotation_UnsupportedOS = 152, + /// + /// DXGI_MSG_IDXGISwapChain1_GetRotation_UnsupportedOS + IDXGISwapChain1_GetRotation_UnsupportedOS = 153, + /// + /// DXGI_MSG_IDXGISwapchain_Present_FullscreenRotation + IDXGISwapchain_Present_FullscreenRotation = 154, + /// + /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationWithMSAABuffers + IDXGISwapChain_Present_PartialPresentationWithMSAABuffers = 155, + /// + /// DXGI_MSG_IDXGISwapChain1_SetRotation_FlipSequentialRequired + IDXGISwapChain1_SetRotation_FlipSequentialRequired = 156, + /// + /// DXGI_MSG_IDXGISwapChain1_SetRotation_InvalidRotation + IDXGISwapChain1_SetRotation_InvalidRotation = 157, + /// + /// DXGI_MSG_IDXGISwapChain1_GetRotation_FlipSequentialRequired + IDXGISwapChain1_GetRotation_FlipSequentialRequired = 158, + /// + /// DXGI_MSG_IDXGISwapChain_GetHwnd_WrongType + IDXGISwapChain_GetHwnd_WrongType = 159, + /// + /// DXGI_MSG_IDXGISwapChain_GetCompositionSurface_WrongType + IDXGISwapChain_GetCompositionSurface_WrongType = 160, + /// + /// DXGI_MSG_IDXGISwapChain_GetCoreWindow_WrongType + IDXGISwapChain_GetCoreWindow_WrongType = 161, + /// + /// DXGI_MSG_IDXGISwapChain_GetFullscreenDesc_NonHwnd + IDXGISwapChain_GetFullscreenDesc_NonHwnd = 162, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_CoreWindow + IDXGISwapChain_SetFullscreenState_CoreWindow = 163, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_UnsupportedOnWindows7 + IDXGIFactory2_CreateSwapChainForCoreWindow_UnsupportedOnWindows7 = 164, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsNULL + IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsNULL = 165, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FSUnsupportedForModernApps + IDXGIFactory_CreateSwapChain_FSUnsupportedForModernApps = 166, + /// + /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_ModernApp + IDXGIFactory_MakeWindowAssociation_ModernApp = 167, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeTarget_ModernApp + IDXGISwapChain_ResizeTarget_ModernApp = 168, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeTarget_pNewTargetParametersIsNULL + IDXGISwapChain_ResizeTarget_pNewTargetParametersIsNULL = 169, + /// + /// DXGI_MSG_IDXGIOutput_SetDisplaySurface_ModernApp + IDXGIOutput_SetDisplaySurface_ModernApp = 170, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_ModernApp + IDXGIOutput_TakeOwnership_ModernApp = 171, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsInvalid + IDXGIFactory2_CreateSwapChainForCoreWindow_pWindowIsInvalid = 172, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCompositionSurface_InvalidHandle + IDXGIFactory2_CreateSwapChainForCompositionSurface_InvalidHandle = 173, + /// + /// DXGI_MSG_IDXGISurface1_GetDC_ModernApp + IDXGISurface1_GetDC_ModernApp = 174, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ScalingNoneRequiresWindows8OrNewer + IDXGIFactory_CreateSwapChain_ScalingNoneRequiresWindows8OrNewer = 175, + /// + /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoAndPreferRight + IDXGISwapChain_Present_TemporaryMonoAndPreferRight = 176, + /// + /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithDoNotSequence + IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithDoNotSequence = 177, + /// + /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithoutStereo + IDXGISwapChain_Present_TemporaryMonoOrPreferRightWithoutStereo = 178, + /// + /// DXGI_MSG_IDXGISwapChain_Present_TemporaryMonoUnsupported + IDXGISwapChain_Present_TemporaryMonoUnsupported = 179, + /// + /// DXGI_MSG_IDXGIOutput_GetDisplaySurfaceData_ArraySizeMismatch + IDXGIOutput_GetDisplaySurfaceData_ArraySizeMismatch = 180, + /// + /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentationWithSwapEffectDiscard + IDXGISwapChain_Present_PartialPresentationWithSwapEffectDiscard = 181, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaUnrecognized + IDXGIFactory_CreateSwapChain_AlphaUnrecognized = 182, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaIsWindowlessOnly + IDXGIFactory_CreateSwapChain_AlphaIsWindowlessOnly = 183, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AlphaIsFlipModelOnly + IDXGIFactory_CreateSwapChain_AlphaIsFlipModelOnly = 184, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_RestrictToOutputAdapterMismatch + IDXGIFactory_CreateSwapChain_RestrictToOutputAdapterMismatch = 185, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_DisplayOnlyOnLegacy + IDXGIFactory_CreateSwapChain_DisplayOnlyOnLegacy = 186, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_DisplayOnlyOnLegacy + IDXGISwapChain_ResizeBuffers_DisplayOnlyOnLegacy = 187, + /// + /// DXGI_MSG_IDXGIResource1_CreateSubresourceSurface_InvalidIndex + IDXGIResource1_CreateSubresourceSurface_InvalidIndex = 188, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_InvalidScaling + IDXGIFactory_CreateSwapChainForComposition_InvalidScaling = 189, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForCoreWindow_InvalidSwapEffect + IDXGIFactory_CreateSwapChainForCoreWindow_InvalidSwapEffect = 190, + /// + /// DXGI_MSG_IDXGIResource1_CreateSharedHandle_UnsupportedOS + IDXGIResource1_CreateSharedHandle_UnsupportedOS = 191, + /// + /// DXGI_MSG_IDXGIFactory2_RegisterOcclusionStatusWindow_UnsupportedOS + IDXGIFactory2_RegisterOcclusionStatusWindow_UnsupportedOS = 192, + /// + /// DXGI_MSG_IDXGIFactory2_RegisterOcclusionStatusEvent_UnsupportedOS + IDXGIFactory2_RegisterOcclusionStatusEvent_UnsupportedOS = 193, + /// + /// DXGI_MSG_IDXGIOutput1_DuplicateOutput_UnsupportedOS + IDXGIOutput1_DuplicateOutput_UnsupportedOS = 194, + /// + /// DXGI_MSG_IDXGIDisplayControl_IsStereoEnabled_UnsupportedOS + IDXGIDisplayControl_IsStereoEnabled_UnsupportedOS = 195, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForComposition_InvalidAlphaMode + IDXGIFactory_CreateSwapChainForComposition_InvalidAlphaMode = 196, + /// + /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_InvalidResource + IDXGIFactory_GetSharedResourceAdapterLuid_InvalidResource = 197, + /// + /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_InvalidLUID + IDXGIFactory_GetSharedResourceAdapterLuid_InvalidLUID = 198, + /// + /// DXGI_MSG_IDXGIFactory_GetSharedResourceAdapterLuid_UnsupportedOS + IDXGIFactory_GetSharedResourceAdapterLuid_UnsupportedOS = 199, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_2DOnly + IDXGIOutput1_GetDisplaySurfaceData1_2DOnly = 200, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_StagingOnly + IDXGIOutput1_GetDisplaySurfaceData1_StagingOnly = 201, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_NeedCPUAccessWrite + IDXGIOutput1_GetDisplaySurfaceData1_NeedCPUAccessWrite = 202, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_NoShared + IDXGIOutput1_GetDisplaySurfaceData1_NoShared = 203, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_OnlyMipLevels1 + IDXGIOutput1_GetDisplaySurfaceData1_OnlyMipLevels1 = 204, + /// + /// DXGI_MSG_IDXGIOutput1_GetDisplaySurfaceData1_MappedOrOfferedResource + IDXGIOutput1_GetDisplaySurfaceData1_MappedOrOfferedResource = 205, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_FSUnsupportedForModernApps + IDXGISwapChain_SetFullscreenState_FSUnsupportedForModernApps = 206, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FailedToGoFSButNonPreRotated + IDXGIFactory_CreateSwapChain_FailedToGoFSButNonPreRotated = 207, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainOrRegisterOcclusionStatus_BlitModelUsedWhileRegisteredForOcclusionStatusEvents + IDXGIFactory_CreateSwapChainOrRegisterOcclusionStatus_BlitModelUsedWhileRegisteredForOcclusionStatusEvents = 208, + /// + /// DXGI_MSG_IDXGISwapChain_Present_BlitModelUsedWhileRegisteredForOcclusionStatusEvents + IDXGISwapChain_Present_BlitModelUsedWhileRegisteredForOcclusionStatusEvents = 209, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreFlipModelOnly + IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreFlipModelOnly = 210, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreNotFullscreen + IDXGIFactory_CreateSwapChain_WaitableSwapChainsAreNotFullscreen = 211, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_Waitable + IDXGISwapChain_SetFullscreenState_Waitable = 212, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveWaitableFlag + IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveWaitableFlag = 213, + /// + /// DXGI_MSG_IDXGISwapChain_GetFrameLatencyWaitableObject_OnlyWaitable + IDXGISwapChain_GetFrameLatencyWaitableObject_OnlyWaitable = 214, + /// + /// DXGI_MSG_IDXGISwapChain_GetMaximumFrameLatency_OnlyWaitable + IDXGISwapChain_GetMaximumFrameLatency_OnlyWaitable = 215, + /// + /// DXGI_MSG_IDXGISwapChain_GetMaximumFrameLatency_pMaxLatencyIsNULL + IDXGISwapChain_GetMaximumFrameLatency_pMaxLatencyIsNULL = 216, + /// + /// DXGI_MSG_IDXGISwapChain_SetMaximumFrameLatency_OnlyWaitable + IDXGISwapChain_SetMaximumFrameLatency_OnlyWaitable = 217, + /// + /// DXGI_MSG_IDXGISwapChain_SetMaximumFrameLatency_MaxLatencyIsOutOfBounds + IDXGISwapChain_SetMaximumFrameLatency_MaxLatencyIsOutOfBounds = 218, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ForegroundIsCoreWindowOnly + IDXGIFactory_CreateSwapChain_ForegroundIsCoreWindowOnly = 219, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_ForegroundUnsupportedOnAdapter + IDXGIFactory2_CreateSwapChainForCoreWindow_ForegroundUnsupportedOnAdapter = 220, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidScaling + IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidScaling = 221, + /// + /// DXGI_MSG_IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidAlphaMode + IDXGIFactory2_CreateSwapChainForCoreWindow_InvalidAlphaMode = 222, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveForegroundFlag + IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveForegroundFlag = 223, + /// + /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixPointerCannotBeNull + IDXGISwapChain_SetMatrixTransform_MatrixPointerCannotBeNull = 224, + /// + /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_RequiresCompositionSwapChain + IDXGISwapChain_SetMatrixTransform_RequiresCompositionSwapChain = 225, + /// + /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixMustBeFinite + IDXGISwapChain_SetMatrixTransform_MatrixMustBeFinite = 226, + /// + /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_MatrixMustBeTranslateAndOrScale + IDXGISwapChain_SetMatrixTransform_MatrixMustBeTranslateAndOrScale = 227, + /// + /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_MatrixPointerCannotBeNull + IDXGISwapChain_GetMatrixTransform_MatrixPointerCannotBeNull = 228, + /// + /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_RequiresCompositionSwapChain + IDXGISwapChain_GetMatrixTransform_RequiresCompositionSwapChain = 229, + /// + /// DXGI_MSG_DXGIGetDebugInterface1_NULL_ppDebug + DXGIGetDebugInterface1_NULL_ppDebug = 230, + /// + /// DXGI_MSG_DXGIGetDebugInterface1_InvalidFlags + DXGIGetDebugInterface1_InvalidFlags = 231, + /// + /// DXGI_MSG_IDXGISwapChain_Present_Decode + IDXGISwapChain_Present_Decode = 232, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_Decode + IDXGISwapChain_ResizeBuffers_Decode = 233, + /// + /// DXGI_MSG_IDXGISwapChain_SetSourceSize_FlipModel + IDXGISwapChain_SetSourceSize_FlipModel = 234, + /// + /// DXGI_MSG_IDXGISwapChain_SetSourceSize_Decode + IDXGISwapChain_SetSourceSize_Decode = 235, + /// + /// DXGI_MSG_IDXGISwapChain_SetSourceSize_WidthHeight + IDXGISwapChain_SetSourceSize_WidthHeight = 236, + /// + /// DXGI_MSG_IDXGISwapChain_GetSourceSize_NullPointers + IDXGISwapChain_GetSourceSize_NullPointers = 237, + /// + /// DXGI_MSG_IDXGISwapChain_GetSourceSize_Decode + IDXGISwapChain_GetSourceSize_Decode = 238, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_SetColorSpace_InvalidFlags + IDXGIDecodeSwapChain_SetColorSpace_InvalidFlags = 239, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_SetSourceRect_InvalidRect + IDXGIDecodeSwapChain_SetSourceRect_InvalidRect = 240, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_SetTargetRect_InvalidRect + IDXGIDecodeSwapChain_SetTargetRect_InvalidRect = 241, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_SetDestSize_InvalidSize + IDXGIDecodeSwapChain_SetDestSize_InvalidSize = 242, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_GetSourceRect_InvalidPointer + IDXGIDecodeSwapChain_GetSourceRect_InvalidPointer = 243, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_GetTargetRect_InvalidPointer + IDXGIDecodeSwapChain_GetTargetRect_InvalidPointer = 244, + /// + /// DXGI_MSG_IDXGIDecodeSwapChain_GetDestSize_InvalidPointer + IDXGIDecodeSwapChain_GetDestSize_InvalidPointer = 245, + /// + /// DXGI_MSG_IDXGISwapChain_PresentBuffer_YUV + IDXGISwapChain_PresentBuffer_YUV = 246, + /// + /// DXGI_MSG_IDXGISwapChain_SetSourceSize_YUV + IDXGISwapChain_SetSourceSize_YUV = 247, + /// + /// DXGI_MSG_IDXGISwapChain_GetSourceSize_YUV + IDXGISwapChain_GetSourceSize_YUV = 248, + /// + /// DXGI_MSG_IDXGISwapChain_SetMatrixTransform_YUV + IDXGISwapChain_SetMatrixTransform_YUV = 249, + /// + /// DXGI_MSG_IDXGISwapChain_GetMatrixTransform_YUV + IDXGISwapChain_GetMatrixTransform_YUV = 250, + /// + /// DXGI_MSG_IDXGISwapChain_Present_PartialPresentation_YUV + IDXGISwapChain_Present_PartialPresentation_YUV = 251, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveFlag_YUV + IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveFlag_YUV = 252, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_Alignment_YUV + IDXGISwapChain_ResizeBuffers_Alignment_YUV = 253, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_ShaderInputUnsupported_YUV + IDXGIFactory_CreateSwapChain_ShaderInputUnsupported_YUV = 254, + /// + /// DXGI_MSG_IDXGIOutput3_CheckOverlaySupport_NullPointers + IDXGIOutput3_CheckOverlaySupport_NullPointers = 255, + /// + /// DXGI_MSG_IDXGIOutput3_CheckOverlaySupport_IDXGIDeviceNotSupportedBypConcernedDevice + IDXGIOutput3_CheckOverlaySupport_IDXGIDeviceNotSupportedBypConcernedDevice = 256, + /// + /// DXGI_MSG_IDXGIAdapter_EnumOutputs2_InvalidEnumOutputs2Flag + IDXGIAdapter_EnumOutputs2_InvalidEnumOutputs2Flag = 257, + /// + /// DXGI_MSG_IDXGISwapChain_CreationOrSetFullscreenState_FSUnsupportedForFlipDiscard + IDXGISwapChain_CreationOrSetFullscreenState_FSUnsupportedForFlipDiscard = 258, + /// + /// DXGI_MSG_IDXGIOutput4_CheckOverlayColorSpaceSupport_NullPointers + IDXGIOutput4_CheckOverlayColorSpaceSupport_NullPointers = 259, + /// + /// DXGI_MSG_IDXGIOutput4_CheckOverlayColorSpaceSupport_IDXGIDeviceNotSupportedBypConcernedDevice + IDXGIOutput4_CheckOverlayColorSpaceSupport_IDXGIDeviceNotSupportedBypConcernedDevice = 260, + /// + /// DXGI_MSG_IDXGISwapChain3_CheckColorSpaceSupport_NullPointers + IDXGISwapChain3_CheckColorSpaceSupport_NullPointers = 261, + /// + /// DXGI_MSG_IDXGISwapChain3_SetColorSpace1_InvalidColorSpace + IDXGISwapChain3_SetColorSpace1_InvalidColorSpace = 262, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidHwProtect + IDXGIFactory_CreateSwapChain_InvalidHwProtect = 263, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_HwProtectUnsupported + IDXGIFactory_CreateSwapChain_HwProtectUnsupported = 264, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidHwProtect + IDXGISwapChain_ResizeBuffers_InvalidHwProtect = 265, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_HwProtectUnsupported + IDXGISwapChain_ResizeBuffers_HwProtectUnsupported = 266, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_D3D12Only + IDXGISwapChain_ResizeBuffers1_D3D12Only = 267, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_FlipModel + IDXGISwapChain_ResizeBuffers1_FlipModel = 268, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers1_NodeMaskAndQueueRequired + IDXGISwapChain_ResizeBuffers1_NodeMaskAndQueueRequired = 269, + /// + /// DXGI_MSG_IDXGISwapChain_CreateSwapChain_InvalidHwProtectGdiFlag + IDXGISwapChain_CreateSwapChain_InvalidHwProtectGdiFlag = 270, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_InvalidHwProtectGdiFlag + IDXGISwapChain_ResizeBuffers_InvalidHwProtectGdiFlag = 271, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_10BitFormatNotSupported + IDXGIFactory_CreateSwapChain_10BitFormatNotSupported = 272, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_FlipSwapEffectRequired + IDXGIFactory_CreateSwapChain_FlipSwapEffectRequired = 273, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidDevice + IDXGIFactory_CreateSwapChain_InvalidDevice = 274, + /// + /// DXGI_MSG_IDXGIOutput_TakeOwnership_Unsupported + IDXGIOutput_TakeOwnership_Unsupported = 275, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_InvalidQueue + IDXGIFactory_CreateSwapChain_InvalidQueue = 276, + /// + /// DXGI_MSG_IDXGISwapChain3_ResizeBuffers1_InvalidQueue + IDXGISwapChain3_ResizeBuffers1_InvalidQueue = 277, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChainForHwnd_InvalidScaling + IDXGIFactory_CreateSwapChainForHwnd_InvalidScaling = 278, + /// + /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidSize + IDXGISwapChain3_SetHDRMetaData_InvalidSize = 279, + /// + /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidPointer + IDXGISwapChain3_SetHDRMetaData_InvalidPointer = 280, + /// + /// DXGI_MSG_IDXGISwapChain3_SetHDRMetaData_InvalidType + IDXGISwapChain3_SetHDRMetaData_InvalidType = 281, + /// + /// DXGI_MSG_IDXGISwapChain_Present_FullscreenAllowTearingIsInvalid + IDXGISwapChain_Present_FullscreenAllowTearingIsInvalid = 282, + /// + /// DXGI_MSG_IDXGISwapChain_Present_AllowTearingRequiresPresentIntervalZero + IDXGISwapChain_Present_AllowTearingRequiresPresentIntervalZero = 283, + /// + /// DXGI_MSG_IDXGISwapChain_Present_AllowTearingRequiresCreationFlag + IDXGISwapChain_Present_AllowTearingRequiresCreationFlag = 284, + /// + /// DXGI_MSG_IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveAllowTearingFlag + IDXGISwapChain_ResizeBuffers_CannotAddOrRemoveAllowTearingFlag = 285, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_AllowTearingFlagIsFlipModelOnly + IDXGIFactory_CreateSwapChain_AllowTearingFlagIsFlipModelOnly = 286, + /// + /// DXGI_MSG_IDXGIFactory_CheckFeatureSupport_InvalidFeature + IDXGIFactory_CheckFeatureSupport_InvalidFeature = 287, + /// + /// DXGI_MSG_IDXGIFactory_CheckFeatureSupport_InvalidSize + IDXGIFactory_CheckFeatureSupport_InvalidSize = 288, + /// + /// DXGI_MSG_IDXGIOutput6_CheckHardwareCompositionSupport_NullPointer + IDXGIOutput6_CheckHardwareCompositionSupport_NullPointer = 289, + /// + /// DXGI_MSG_IDXGISwapChain_SetFullscreenState_PerMonitorDpiShimApplied + IDXGISwapChain_SetFullscreenState_PerMonitorDpiShimApplied = 290, + /// + /// DXGI_MSG_IDXGIOutput_DuplicateOutput_PerMonitorDpiShimApplied + IDXGIOutput_DuplicateOutput_PerMonitorDpiShimApplied = 291, + /// + /// DXGI_MSG_IDXGIOutput_DuplicateOutput1_PerMonitorDpiRequired + IDXGIOutput_DuplicateOutput1_PerMonitorDpiRequired = 292, + /// + /// DXGI_MSG_IDXGIFactory7_UnregisterAdaptersChangedEvent_CookieNotFound + IDXGIFactory7_UnregisterAdaptersChangedEvent_CookieNotFound = 293, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_LegacyBltModelSwapEffect + IDXGIFactory_CreateSwapChain_LegacyBltModelSwapEffect = 294, + /// + /// DXGI_MSG_IDXGISwapChain4_SetHDRMetaData_MetadataUnchanged + IDXGISwapChain4_SetHDRMetaData_MetadataUnchanged = 295, + /// + /// DXGI_MSG_IDXGISwapChain_Present_11On12_Released_Resource + IDXGISwapChain_Present_11On12_Released_Resource = 296, + /// + /// DXGI_MSG_IDXGIFactory_CreateSwapChain_MultipleSwapchainRefToSurface_DeferredDtr + IDXGIFactory_CreateSwapChain_MultipleSwapchainRefToSurface_DeferredDtr = 297, + /// + /// DXGI_MSG_IDXGIFactory_MakeWindowAssociation_NoOpBehavior + IDXGIFactory_MakeWindowAssociation_NoOpBehavior = 298, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow + Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow = 1000, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_DISCARD_BufferCount + Phone_IDXGIFactory_CreateSwapChain_DISCARD_BufferCount = 1001, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_SetFullscreenState_NotAvailable + Phone_IDXGISwapChain_SetFullscreenState_NotAvailable = 1002, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_ResizeBuffers_NotAvailable + Phone_IDXGISwapChain_ResizeBuffers_NotAvailable = 1003, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_ResizeTarget_NotAvailable + Phone_IDXGISwapChain_ResizeTarget_NotAvailable = 1004, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidLayerIndex + Phone_IDXGISwapChain_Present_InvalidLayerIndex = 1005, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_MultipleLayerIndex + Phone_IDXGISwapChain_Present_MultipleLayerIndex = 1006, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidLayerFlag + Phone_IDXGISwapChain_Present_InvalidLayerFlag = 1007, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidRotation + Phone_IDXGISwapChain_Present_InvalidRotation = 1008, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidBlend + Phone_IDXGISwapChain_Present_InvalidBlend = 1009, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidResource + Phone_IDXGISwapChain_Present_InvalidResource = 1010, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidMultiPlaneOverlayResource + Phone_IDXGISwapChain_Present_InvalidMultiPlaneOverlayResource = 1011, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidIndexForPrimary + Phone_IDXGISwapChain_Present_InvalidIndexForPrimary = 1012, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidIndexForOverlay + Phone_IDXGISwapChain_Present_InvalidIndexForOverlay = 1013, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidSubResourceIndex + Phone_IDXGISwapChain_Present_InvalidSubResourceIndex = 1014, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidSourceRect + Phone_IDXGISwapChain_Present_InvalidSourceRect = 1015, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidDestinationRect + Phone_IDXGISwapChain_Present_InvalidDestinationRect = 1016, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_MultipleResource + Phone_IDXGISwapChain_Present_MultipleResource = 1017, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_NotSharedResource + Phone_IDXGISwapChain_Present_NotSharedResource = 1018, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidFlag + Phone_IDXGISwapChain_Present_InvalidFlag = 1019, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_InvalidInterval + Phone_IDXGISwapChain_Present_InvalidInterval = 1020, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_MSAA_NotSupported + Phone_IDXGIFactory_CreateSwapChain_MSAA_NotSupported = 1021, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_ScalingAspectRatioStretch_Supported_ModernApp + Phone_IDXGIFactory_CreateSwapChain_ScalingAspectRatioStretch_Supported_ModernApp = 1022, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_GetFrameStatistics_NotAvailable_ModernApp + Phone_IDXGISwapChain_GetFrameStatistics_NotAvailable_ModernApp = 1023, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present_ReplaceInterval0With1 + Phone_IDXGISwapChain_Present_ReplaceInterval0With1 = 1024, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FailedRegisterWithCompositor + Phone_IDXGIFactory_CreateSwapChain_FailedRegisterWithCompositor = 1025, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow_AtRendering + Phone_IDXGIFactory_CreateSwapChain_NotForegroundWindow_AtRendering = 1026, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FLIP_SEQUENTIAL_BufferCount + Phone_IDXGIFactory_CreateSwapChain_FLIP_SEQUENTIAL_BufferCount = 1027, + /// + /// DXGI_MSG_Phone_IDXGIFactory_CreateSwapChain_FLIP_Modern_CoreWindow_Only + Phone_IDXGIFactory_CreateSwapChain_FLIP_Modern_CoreWindow_Only = 1028, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_Present1_RequiresOverlays + Phone_IDXGISwapChain_Present1_RequiresOverlays = 1029, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_SetBackgroundColor_FlipSequentialRequired + Phone_IDXGISwapChain_SetBackgroundColor_FlipSequentialRequired = 1030, + /// + /// DXGI_MSG_Phone_IDXGISwapChain_GetBackgroundColor_FlipSequentialRequired + Phone_IDXGISwapChain_GetBackgroundColor_FlipSequentialRequired = 1031, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription.cs new file mode 100644 index 0000000..bc5fddf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription.cs @@ -0,0 +1,33 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_MODE_DESC +public partial struct ModeDescription +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public Rational RefreshRate; + + /// + public Format Format; + + /// + public ModeScanlineOrder ScanlineOrdering; + + /// + public ModeScaling Scaling; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription1.cs new file mode 100644 index 0000000..55a9894 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeDescription1.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_MODE_DESC1 +public partial struct ModeDescription1 +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public Common.Rational RefreshRate; + + /// + public Common.Format Format; + + /// + public Common.ModeScanlineOrder ScanlineOrdering; + + /// + public Common.ModeScaling Scaling; + + /// + public Bool32 Stereo; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeRotation.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeRotation.cs new file mode 100644 index 0000000..98c5880 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeRotation.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_MODE_ROTATION +public enum ModeRotation : int +{ + /// + /// DXGI_MODE_ROTATION_UNSPECIFIED + Unspecified = 0, + /// + /// DXGI_MODE_ROTATION_IDENTITY + Identity = 1, + /// + /// DXGI_MODE_ROTATION_ROTATE90 + Rotate90 = 2, + /// + /// DXGI_MODE_ROTATION_ROTATE180 + Rotate180 = 3, + /// + /// DXGI_MODE_ROTATION_ROTATE270 + Rotate270 = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScaling.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScaling.cs new file mode 100644 index 0000000..0b1930a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScaling.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_MODE_SCALING +public enum ModeScaling : int +{ + /// + /// DXGI_MODE_SCALING_UNSPECIFIED + Unspecified = 0, + /// + /// DXGI_MODE_SCALING_CENTERED + Centered = 1, + /// + /// DXGI_MODE_SCALING_STRETCHED + Stretched = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScanlineOrder.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScanlineOrder.cs new file mode 100644 index 0000000..eb6aa10 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ModeScanlineOrder.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_MODE_SCANLINE_ORDER +public enum ModeScanlineOrder : int +{ + /// + /// DXGI_MODE_SCANLINE_ORDER_UNSPECIFIED + Unspecified = 0, + /// + /// DXGI_MODE_SCANLINE_ORDER_PROGRESSIVE + Progressive = 1, + /// + /// DXGI_MODE_SCANLINE_ORDER_UPPER_FIELD_FIRST + UpperFieldFirst = 2, + /// + /// DXGI_MODE_SCANLINE_ORDER_LOWER_FIELD_FIRST + LowerFieldFirst = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/MultiplaneOverlayYcbcrFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/MultiplaneOverlayYcbcrFlags.cs new file mode 100644 index 0000000..4acfb70 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/MultiplaneOverlayYcbcrFlags.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS +[Flags] +public enum MultiplaneOverlayYcbcrFlags : int +{ + None = 0, + /// + /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_NOMINAL_RANGE + YcbcrFlagNominalRange = 1, + /// + /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_BT709 + YcbcrFlagBt709 = 2, + /// + /// DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAG_xvYCC + YcbcrFlagXvycc = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourceFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourceFlags.cs new file mode 100644 index 0000000..0567129 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourceFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OFFER_RESOURCE_FLAGS +[Flags] +public enum OfferResourceFlags : int +{ + None = 0, + /// + /// DXGI_OFFER_RESOURCE_FLAG_ALLOW_DECOMMIT + AllowDecommit = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourcePriority.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourcePriority.cs new file mode 100644 index 0000000..9f60ab7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OfferResourcePriority.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OFFER_RESOURCE_PRIORITY +public enum OfferResourcePriority : int +{ + /// + /// DXGI_OFFER_RESOURCE_PRIORITY_LOW + Low = 1, + /// + /// DXGI_OFFER_RESOURCE_PRIORITY_NORMAL + Normal = 2, + /// + /// DXGI_OFFER_RESOURCE_PRIORITY_HIGH + High = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplDescription.cs new file mode 100644 index 0000000..9965ff8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_DESC +public partial struct OutduplDescription +{ + /// + public Common.ModeDescription ModeDesc; + + /// + public Common.ModeRotation Rotation; + + /// + public Bool32 DesktopImageInSystemMemory; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFlags.cs new file mode 100644 index 0000000..f315440 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_FLAG +[Flags] +public enum OutduplFlags : int +{ + None = 0, + /// + /// DXGI_OUTDUPL_COMPOSITED_UI_CAPTURE_ONLY + CompositedUICaptureOnly = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFrameInfo.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFrameInfo.cs new file mode 100644 index 0000000..9e18879 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplFrameInfo.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_FRAME_INFO +public partial struct OutduplFrameInfo +{ + /// + public LargeInteger LastPresentTime; + + /// + public LargeInteger LastMouseUpdateTime; + + /// + public uint AccumulatedFrames; + + /// + public Bool32 RectsCoalesced; + + /// + public Bool32 ProtectedContentMaskedOut; + + /// + public OutduplPointerPosition PointerPosition; + + /// + public uint TotalMetadataBufferSize; + + /// + public uint PointerShapeBufferSize; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplMoveRect.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplMoveRect.cs new file mode 100644 index 0000000..cb6938c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplMoveRect.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_MOVE_RECT +public partial struct OutduplMoveRect +{ + /// + public System.Drawing.Point SourcePoint; + + /// + public RawRect DestinationRect; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerPosition.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerPosition.cs new file mode 100644 index 0000000..2e77696 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerPosition.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_POINTER_POSITION +public partial struct OutduplPointerPosition +{ + /// + public System.Drawing.Point Position; + + /// + public Bool32 Visible; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeInfo.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeInfo.cs new file mode 100644 index 0000000..12b2b2b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeInfo.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_POINTER_SHAPE_INFO +public partial struct OutduplPointerShapeInfo +{ + /// + public uint Type; + + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Pitch; + + /// + public System.Drawing.Point HotSpot; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeType.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeType.cs new file mode 100644 index 0000000..d7a8719 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutduplPointerShapeType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTDUPL_POINTER_SHAPE_TYPE +public enum OutduplPointerShapeType : int +{ + /// + /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MONOCHROME + Monochrome = 1, + /// + /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_COLOR + Color = 2, + /// + /// DXGI_OUTDUPL_POINTER_SHAPE_TYPE_MASKED_COLOR + MaskedColor = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription.cs new file mode 100644 index 0000000..8300808 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTPUT_DESC +public partial struct OutputDescription +{ + /// + public unsafe fixed ushort DeviceName[32]; + + /// + public RawRect DesktopCoordinates; + + /// + public Bool32 AttachedToDesktop; + + /// + public Common.ModeRotation Rotation; + + /// + public IntPtr Monitor; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription1.cs new file mode 100644 index 0000000..030852a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OutputDescription1.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OUTPUT_DESC1 +public partial struct OutputDescription1 +{ + /// + public unsafe fixed ushort DeviceName[32]; + + /// + public RawRect DesktopCoordinates; + + /// + public Bool32 AttachedToDesktop; + + /// + public Common.ModeRotation Rotation; + + /// + public IntPtr Monitor; + + /// + public uint BitsPerColor; + + /// + public Common.ColorSpaceType ColorSpace; + + /// + public unsafe fixed float RedPrimary[2]; + + /// + public unsafe fixed float GreenPrimary[2]; + + /// + public unsafe fixed float BluePrimary[2]; + + /// + public unsafe fixed float WhitePoint[2]; + + /// + public float MinLuminance; + + /// + public float MaxLuminance; + + /// + public float MaxFullFrameLuminance; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlayColorSpaceSupportFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlayColorSpaceSupportFlags.cs new file mode 100644 index 0000000..45b445e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlayColorSpaceSupportFlags.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG +[Flags] +public enum OverlayColorSpaceSupportFlags : int +{ + None = 0, + /// + /// DXGI_OVERLAY_COLOR_SPACE_SUPPORT_FLAG_PRESENT + Present = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlaySupportFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlaySupportFlags.cs new file mode 100644 index 0000000..29eef1e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/OverlaySupportFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_OVERLAY_SUPPORT_FLAG +[Flags] +public enum OverlaySupportFlags : int +{ + None = 0, + /// + /// DXGI_OVERLAY_SUPPORT_FLAG_DIRECT + Direct = 1, + /// + /// DXGI_OVERLAY_SUPPORT_FLAG_SCALING + Scaling = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentFlags.cs new file mode 100644 index 0000000..069d980 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentFlags.cs @@ -0,0 +1,35 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// DXGI_PRESENT +[Flags] +public enum PresentFlags : uint +{ + None = 0, + /// DXGI_PRESENT_TEST + Test = 1, + /// DXGI_PRESENT_DO_NOT_SEQUENCE + DoNotSequence = 2, + /// DXGI_PRESENT_RESTART + Restart = 4, + /// DXGI_PRESENT_DO_NOT_WAIT + DoNotWait = 8, + /// DXGI_PRESENT_STEREO_PREFER_RIGHT + StereoPreferRight = 16, + /// DXGI_PRESENT_STEREO_TEMPORARY_MONO + StereoTemporaryMono = 32, + /// DXGI_PRESENT_RESTRICT_TO_OUTPUT + RestrictToOutput = 64, + /// DXGI_PRESENT_USE_DURATION + UseDuration = 256, + /// DXGI_PRESENT_ALLOW_TEARING + AllowTearing = 512, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentParameters.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentParameters.cs new file mode 100644 index 0000000..c2beacd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/PresentParameters.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_PRESENT_PARAMETERS +public partial struct PresentParameters +{ + /// + public uint DirtyRectsCount; + + /// + public unsafe RawRect* pDirtyRects; + + /// + public unsafe RawRect* pScrollRect; + + /// + public unsafe System.Drawing.Point* pScrollOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/QueryVideoMemoryInfo.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/QueryVideoMemoryInfo.cs new file mode 100644 index 0000000..d3e67d4 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/QueryVideoMemoryInfo.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_QUERY_VIDEO_MEMORY_INFO +public partial struct QueryVideoMemoryInfo +{ + /// + public ulong Budget; + + /// + public ulong CurrentUsage; + + /// + public ulong AvailableForReservation; + + /// + public ulong CurrentReservation; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Rational.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Rational.cs new file mode 100644 index 0000000..6640c19 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Rational.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_RATIONAL +public partial struct Rational +{ + /// + public uint Numerator; + + /// + public uint Denominator; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ReclaimResourceResults.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ReclaimResourceResults.cs new file mode 100644 index 0000000..c949ad0 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ReclaimResourceResults.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_RECLAIM_RESOURCE_RESULTS +public enum ReclaimResourceResults : int +{ + /// + /// DXGI_RECLAIM_RESOURCE_RESULT_OK + Ok = 0, + /// + /// DXGI_RECLAIM_RESOURCE_RESULT_DISCARDED + Discarded = 1, + /// + /// DXGI_RECLAIM_RESOURCE_RESULT_NOT_COMMITTED + NotCommitted = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ReportLiveObjectFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ReportLiveObjectFlags.cs new file mode 100644 index 0000000..f4f319b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ReportLiveObjectFlags.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_DEBUG_RLO_FLAGS +[Flags] +public enum ReportLiveObjectFlags : uint +{ + None = 0, + /// + /// DXGI_DEBUG_RLO_SUMMARY + Summary = 1, + /// + /// DXGI_DEBUG_RLO_DETAIL + Detail = 2, + /// + /// DXGI_DEBUG_RLO_IGNORE_INTERNAL + IgnoreInternal = 4, + /// + /// DXGI_DEBUG_RLO_ALL + All = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Residency.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Residency.cs new file mode 100644 index 0000000..3ed0995 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Residency.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_RESIDENCY +public enum Residency : int +{ + /// + /// DXGI_RESIDENCY_FULLY_RESIDENT + FullyResident = 1, + /// + /// DXGI_RESIDENCY_RESIDENT_IN_SHARED_MEMORY + ResidentInSharedMemory = 2, + /// + /// DXGI_RESIDENCY_EVICTED_TO_DISK + EvictedToDisk = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/ResourcePriority.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/ResourcePriority.cs new file mode 100644 index 0000000..2956446 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/ResourcePriority.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_RESOURCE_PRIORITY +public enum ResourcePriority : uint +{ + /// + /// DXGI_RESOURCE_PRIORITY_MINIMUM + Minimum = 671088640, + /// + /// DXGI_RESOURCE_PRIORITY_LOW + Low = 1342177280, + /// + /// DXGI_RESOURCE_PRIORITY_NORMAL + Normal = 2013265920, + /// + /// DXGI_RESOURCE_PRIORITY_HIGH + High = 2684354560, + /// + /// DXGI_RESOURCE_PRIORITY_MAXIMUM + Maximum = 3355443200, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Rgb.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Rgb.cs new file mode 100644 index 0000000..7c290de --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Rgb.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_RGB +public partial struct Rgb +{ + /// + public float Red; + + /// + public float Green; + + /// + public float Blue; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SampleDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SampleDescription.cs new file mode 100644 index 0000000..2b04bbb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SampleDescription.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi.Common; + +/// +/// DXGI_SAMPLE_DESC +public partial struct SampleDescription +{ + /// + public uint Count; + + /// + public uint Quality; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Scaling.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Scaling.cs new file mode 100644 index 0000000..9672487 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Scaling.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SCALING +public enum Scaling : int +{ + /// + /// DXGI_SCALING_STRETCH + Stretch = 0, + /// + /// DXGI_SCALING_NONE + None = 1, + /// + /// DXGI_SCALING_ASPECT_RATIO_STRETCH + AspectRatioStretch = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SharedResource.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SharedResource.cs new file mode 100644 index 0000000..d1b452a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SharedResource.cs @@ -0,0 +1,18 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SHARED_RESOURCE +public partial struct SharedResource +{ + /// + public Handle Handle; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SurfaceDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SurfaceDescription.cs new file mode 100644 index 0000000..0a4184e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SurfaceDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SURFACE_DESC +public partial struct SurfaceDescription +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public Common.Format Format; + + /// + public Common.SampleDescription SampleDesc; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainColorSpaceSupportFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainColorSpaceSupportFlags.cs new file mode 100644 index 0000000..980cb14 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainColorSpaceSupportFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG +[Flags] +public enum SwapChainColorSpaceSupportFlags : int +{ + None = 0, + /// + /// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT + Present = 1, + /// + /// DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_OVERLAY_PRESENT + OverlayPresent = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription.cs new file mode 100644 index 0000000..5f2dbac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_CHAIN_DESC +public partial struct SwapChainDescription +{ + /// + public Common.ModeDescription BufferDesc; + + /// + public Common.SampleDescription SampleDesc; + + /// + public Usage BufferUsage; + + /// + public uint BufferCount; + + /// + public IntPtr OutputWindow; + + /// + public Bool32 Windowed; + + /// + public SwapEffect SwapEffect; + + /// + public SwapChainFlags Flags; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription1.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription1.cs new file mode 100644 index 0000000..f78e152 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainDescription1.cs @@ -0,0 +1,48 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_CHAIN_DESC1 +public partial struct SwapChainDescription1 +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public Common.Format Format; + + /// + public Bool32 Stereo; + + /// + public Common.SampleDescription SampleDesc; + + /// + public Usage BufferUsage; + + /// + public uint BufferCount; + + /// + public Scaling Scaling; + + /// + public SwapEffect SwapEffect; + + /// + public Common.AlphaMode AlphaMode; + + /// + public SwapChainFlags Flags; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFlags.cs new file mode 100644 index 0000000..c5e826c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFlags.cs @@ -0,0 +1,57 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_CHAIN_FLAG +[Flags] +public enum SwapChainFlags : int +{ + None = 0, + /// + /// DXGI_SWAP_CHAIN_FLAG_NONPREROTATED + NonPrerotated = 1, + /// + /// DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH + AllowModeSwitch = 2, + /// + /// DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE + GDICompatible = 4, + /// + /// DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTENT + RestrictedContent = 8, + /// + /// DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER + RestrictSharedResourceDriver = 16, + /// + /// DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY + DisplayOnly = 32, + /// + /// DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT + FrameLatencyWaitableObject = 64, + /// + /// DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER + ForegroundLayer = 128, + /// + /// DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO + FullscreenVideo = 256, + /// + /// DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO + YUVVideo = 512, + /// + /// DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED + HWProtected = 1024, + /// + /// DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING + AllowTearing = 2048, + /// + /// DXGI_SWAP_CHAIN_FLAG_RESTRICTED_TO_ALL_HOLOGRAPHIC_DISPLAYS + RestrictedToAllHolographicDisplays = 4096, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFullscreenDescription.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFullscreenDescription.cs new file mode 100644 index 0000000..6da162f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapChainFullscreenDescription.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_CHAIN_FULLSCREEN_DESC +public partial struct SwapChainFullscreenDescription +{ + /// + public Common.Rational RefreshRate; + + /// + public Common.ModeScanlineOrder ScanlineOrdering; + + /// + public Common.ModeScaling Scaling; + + /// + public Bool32 Windowed; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapEffect.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapEffect.cs new file mode 100644 index 0000000..2edfa87 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/SwapEffect.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// +/// DXGI_SWAP_EFFECT +public enum SwapEffect : int +{ + /// + /// DXGI_SWAP_EFFECT_DISCARD + Discard = 0, + /// + /// DXGI_SWAP_EFFECT_SEQUENTIAL + Sequential = 1, + /// + /// DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL + FlipSequential = 3, + /// + /// DXGI_SWAP_EFFECT_FLIP_DISCARD + FlipDiscard = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/Usage.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/Usage.cs new file mode 100644 index 0000000..80df2ef --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/Usage.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// DXGI_USAGE +[Flags] +public enum Usage : uint +{ + None = 0, + /// DXGI_USAGE_SHADER_INPUT + ShaderInput = 16, + /// DXGI_USAGE_RENDER_TARGET_OUTPUT + RenderTargetOutput = 32, + /// DXGI_USAGE_BACK_BUFFER + BackBuffer = 64, + /// DXGI_USAGE_SHARED + Shared = 128, + /// DXGI_USAGE_READ_ONLY + ReadOnly = 256, + /// DXGI_USAGE_DISCARD_ON_PRESENT + DiscardOnPresent = 512, + /// DXGI_USAGE_UNORDERED_ACCESS + UnorderedAccess = 1024, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Dxgi/WindowAssociationFlags.cs b/src/Vortice.Win32/Generated/Graphics/Dxgi/WindowAssociationFlags.cs new file mode 100644 index 0000000..49a14d6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Dxgi/WindowAssociationFlags.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Dxgi; + +/// DXGI_MWA +[Flags] +public enum WindowAssociationFlags : uint +{ + None = 0, + /// DXGI_MWA_NO_WINDOW_CHANGES + NoWindowChanges = 1, + /// DXGI_MWA_NO_ALT_ENTER + NoAltEnter = 2, + /// DXGI_MWA_NO_PRINT_SCREEN + NoPrintScreen = 4, + /// DXGI_MWA_VALID + Valid = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging.cs b/src/Vortice.Win32/Generated/Graphics/Imaging.cs deleted file mode 100644 index 6e977cb..0000000 --- a/src/Vortice.Win32/Generated/Graphics/Imaging.cs +++ /dev/null @@ -1,7847 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Win32.Graphics.Imaging; - -public static partial class Apis -{ - public const uint WINCODEC_SDK_VERSION1 = 566; - - public const uint WINCODEC_SDK_VERSION2 = 567; - - public static ref readonly Guid CLSID_WICImagingFactory - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x62, 0xF2, 0xCA, 0xCA, - 0x70, 0x93, - 0x15, 0x46, - 0xA1, - 0x3B, - 0x9F, - 0x55, - 0x39, - 0xDA, - 0x4C, - 0x0A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICImagingFactory1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x62, 0xF2, 0xCA, 0xCA, - 0x70, 0x93, - 0x15, 0x46, - 0xA1, - 0x3B, - 0x9F, - 0x55, - 0x39, - 0xDA, - 0x4C, - 0x0A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICImagingFactory2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE8, 0x06, 0x7D, 0x31, - 0x24, 0x5F, - 0x3D, 0x43, - 0xBD, - 0xF7, - 0x79, - 0xCE, - 0x68, - 0xD8, - 0xAB, - 0xC2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint WINCODEC_SDK_VERSION = 567; - - public static ref readonly Guid GUID_VendorMicrosoft - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCA, 0x49, 0xE7, 0xF0, - 0xEF, 0xED, - 0x89, 0x45, - 0xA7, - 0x3A, - 0xEE, - 0x0E, - 0x62, - 0x6A, - 0x2A, - 0x2B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_VendorMicrosoftBuiltIn - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFD, 0x30, 0x7A, 0x25, - 0xB6, 0x06, - 0x2B, 0x46, - 0xAE, - 0xA4, - 0x63, - 0xF7, - 0x0B, - 0x86, - 0xE5, - 0x33 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7B, 0xA1, 0x9E, 0x38, - 0x78, 0x50, - 0xDE, 0x4C, - 0xB6, - 0xEF, - 0x25, - 0xC1, - 0x51, - 0x75, - 0xC7, - 0x51 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngDecoder1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7B, 0xA1, 0x9E, 0x38, - 0x78, 0x50, - 0xDE, 0x4C, - 0xB6, - 0xEF, - 0x25, - 0xC1, - 0x51, - 0x75, - 0xC7, - 0x51 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngDecoder2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5B, 0x94, 0x18, 0xE0, - 0x86, 0xAA, - 0x08, 0x40, - 0x9B, - 0xD4, - 0x67, - 0x77, - 0xA1, - 0xE4, - 0x0C, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICBmpDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x62, 0x20, 0x46, 0x6B, - 0xBF, 0x7C, - 0x0D, 0x40, - 0x9F, - 0xDB, - 0x81, - 0x3D, - 0xD1, - 0x0F, - 0x27, - 0x78 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIcoDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDF, 0xFC, 0x1B, 0xC6, - 0x0F, 0x2E, - 0xAD, 0x4A, - 0xA8, - 0xD7, - 0xE0, - 0x6B, - 0xAF, - 0xEB, - 0xCD, - 0xFE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x80, 0xA4, 0x56, 0x94, - 0x8B, 0xE8, - 0xEA, 0x43, - 0x9E, - 0x73, - 0x0B, - 0x2D, - 0x9B, - 0x71, - 0xB1, - 0xCA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGifDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3C, 0xDA, 0x1D, 0x38, - 0xE9, 0x9C, - 0x34, 0x48, - 0xA2, - 0x3E, - 0x1F, - 0x98, - 0xF8, - 0xFC, - 0x52, - 0xBE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICTiffDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD9, 0x85, 0x4E, 0xB5, - 0x23, 0xFE, - 0x9F, 0x49, - 0x8B, - 0x88, - 0x6A, - 0xCE, - 0xA7, - 0x13, - 0x75, - 0x2B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICWmpDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x36, 0xEC, 0x6C, 0xA2, - 0x4C, 0x23, - 0x50, 0x49, - 0xAE, - 0x16, - 0xE3, - 0x4A, - 0xAC, - 0xE7, - 0x1D, - 0x0D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICDdsDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9F, 0x69, 0x53, 0x90, - 0x41, 0xA3, - 0x9D, 0x42, - 0x9E, - 0x90, - 0xEE, - 0x43, - 0x7C, - 0xF8, - 0x0C, - 0x73 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICBmpEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB4, 0x8B, 0xBE, 0x69, - 0x6D, 0xD6, - 0xC8, 0x47, - 0x86, - 0x5A, - 0xED, - 0x15, - 0x89, - 0x43, - 0x37, - 0x82 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x69, 0x99, 0x94, 0x27, - 0x6A, 0x87, - 0xD7, 0x41, - 0x94, - 0x47, - 0x56, - 0x8F, - 0x6A, - 0x35, - 0xA4, - 0xDC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC1, 0xF5, 0x34, 0x1A, - 0x5A, 0x4A, - 0xDC, 0x46, - 0xB6, - 0x44, - 0x1F, - 0x45, - 0x67, - 0xE7, - 0xA6, - 0x76 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGifEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x98, 0x55, 0x4F, 0x11, - 0x22, 0x0B, - 0xA0, 0x40, - 0x86, - 0xA1, - 0xC8, - 0x3E, - 0xA4, - 0x95, - 0xAD, - 0xBD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICTiffEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x10, 0xBE, 0x31, 0x01, - 0x01, 0x20, - 0x5F, 0x4C, - 0xA9, - 0xB0, - 0xCC, - 0x88, - 0xFA, - 0xB6, - 0x4C, - 0xE8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICWmpEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCB, 0xE3, 0x4C, 0xAC, - 0xC1, 0xE1, - 0xCD, 0x44, - 0x82, - 0x15, - 0x5A, - 0x16, - 0x65, - 0x50, - 0x9E, - 0xC2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICDdsEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x94, 0xDE, 0x1D, 0xA6, - 0xCE, 0x66, - 0xC1, 0x4A, - 0x88, - 0x1B, - 0x71, - 0x68, - 0x05, - 0x88, - 0x89, - 0x5E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICAdngDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x11, 0x94, 0x1D, 0x98, - 0x9E, 0x90, - 0xA7, 0x42, - 0x8F, - 0x5D, - 0xA7, - 0x47, - 0xFF, - 0x05, - 0x2E, - 0xDB - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegQualcommPhoneEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x62, 0x5C, 0xED, 0x68, - 0x34, 0xF5, - 0x79, 0x49, - 0xB2, - 0xB3, - 0x68, - 0x6A, - 0x12, - 0xB2, - 0xB3, - 0x4C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICHeifDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0A, 0xA8, 0xA4, 0xE9, - 0xFE, 0x44, - 0xE4, 0x4D, - 0x89, - 0x71, - 0x71, - 0x50, - 0xB1, - 0x0A, - 0x51, - 0x99 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICHeifEncoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC1, 0xCE, 0xBE, 0x0D, - 0xB3, 0x9E, - 0x60, 0x48, - 0x9C, - 0x6F, - 0xDD, - 0xBE, - 0x86, - 0x63, - 0x45, - 0x75 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICWebpDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x86, 0xE8, 0x93, 0x76, - 0xC9, 0x51, - 0x70, 0x40, - 0x84, - 0x19, - 0x9F, - 0x70, - 0x73, - 0x8E, - 0xC8, - 0xFA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICRAWDecoder - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x02, 0x57, 0x94, 0x41, - 0x02, 0x83, - 0xA6, 0x44, - 0x94, - 0x45, - 0xAC, - 0x98, - 0xE8, - 0xAF, - 0xA0, - 0x86 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatBmp - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7E, 0xD8, 0xF1, 0x0A, - 0xFE, 0xFC, - 0x88, 0x41, - 0xBD, - 0xEB, - 0xA7, - 0x90, - 0x64, - 0x71, - 0xCB, - 0xE3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatPng - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF4, 0xFA, 0x7C, 0x1B, - 0x3F, 0x71, - 0x3C, 0x47, - 0xBB, - 0xCD, - 0x61, - 0x37, - 0x42, - 0x5F, - 0xAE, - 0xAF - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatIco - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC4, 0x60, 0xA8, 0xA3, - 0x8F, 0x33, - 0x17, 0x4C, - 0x91, - 0x9A, - 0xFB, - 0xA4, - 0xB5, - 0x62, - 0x8F, - 0x21 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatJpeg - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xAA, 0xA5, 0xE4, 0x19, - 0x62, 0x56, - 0xC5, 0x4F, - 0xA0, - 0xC0, - 0x17, - 0x58, - 0x02, - 0x8E, - 0x10, - 0x57 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatTiff - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x30, 0xCC, 0x3B, 0x16, - 0xE9, 0xE2, - 0x0B, 0x4F, - 0x96, - 0x1D, - 0xA3, - 0xE9, - 0xFD, - 0xB7, - 0x88, - 0xA3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatGif - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x01, 0x56, 0x8A, 0x1F, - 0x4D, 0x7D, - 0xBD, 0x4C, - 0x9C, - 0x82, - 0x1B, - 0xC8, - 0xD4, - 0xEE, - 0xB9, - 0xA5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatWmp - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xAA, 0x7C, 0xA3, 0x57, - 0x7A, 0x36, - 0x40, 0x45, - 0x91, - 0x6B, - 0xF1, - 0x83, - 0xC5, - 0x09, - 0x3A, - 0x4B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatDds - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x95, 0xCB, 0x67, 0x99, - 0x85, 0x2E, - 0xC8, 0x4A, - 0x8C, - 0xA2, - 0x83, - 0xD7, - 0xCC, - 0xD4, - 0x25, - 0xC9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatAdng - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0D, 0x6D, 0xFF, 0xF3, - 0xC0, 0x38, - 0xC4, 0x41, - 0xB1, - 0xFE, - 0x1F, - 0x38, - 0x24, - 0xF1, - 0x7B, - 0x84 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatHeif - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x21, 0x25, 0xE6, 0xE1, - 0x87, 0x67, - 0x5B, 0x40, - 0xA3, - 0x39, - 0x50, - 0x07, - 0x15, - 0xB5, - 0x76, - 0x3F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatWebp - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE2, 0xB0, 0x94, 0xE0, - 0xF2, 0x67, - 0xB3, 0x45, - 0xB0, - 0xEA, - 0x11, - 0x53, - 0x37, - 0xCA, - 0x7C, - 0xF3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_ContainerFormatRaw - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x60, 0xCE, 0x99, 0xFE, - 0x9C, 0xF1, - 0x3C, 0x43, - 0xA3, - 0xAE, - 0x00, - 0xAC, - 0xEF, - 0xA9, - 0xCA, - 0x21 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICImagingCategories - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x80, 0xD3, 0xE3, 0xFA, - 0xA4, 0xFE, - 0x23, 0x46, - 0x8C, - 0x75, - 0xC6, - 0xB6, - 0x11, - 0x10, - 0xB6, - 0x81 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICBitmapDecoders - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x37, 0x68, 0xD9, 0x7E, - 0xF0, 0x96, - 0x12, 0x48, - 0xB2, - 0x11, - 0xF1, - 0x3C, - 0x24, - 0x11, - 0x7E, - 0xD3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICBitmapEncoders - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x96, 0x72, 0x75, 0xAC, - 0x22, 0x35, - 0x11, 0x4E, - 0x98, - 0x62, - 0xC1, - 0x7B, - 0xE5, - 0xA1, - 0x76, - 0x7E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICPixelFormats - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0F, 0xE7, 0x46, 0x2B, - 0xA7, 0xCD, - 0x3E, 0x47, - 0x89, - 0xF6, - 0xDC, - 0x96, - 0x30, - 0xA2, - 0x39, - 0x0B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICFormatConverters - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE8, 0xEA, 0x35, 0x78, - 0x14, 0xBF, - 0xD1, 0x49, - 0x93, - 0xCE, - 0x53, - 0x3A, - 0x40, - 0x7B, - 0x22, - 0x48 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD8, 0x94, 0xAF, 0x05, - 0x74, 0x71, - 0xD2, 0x4C, - 0xBE, - 0x4A, - 0x41, - 0x24, - 0xB8, - 0x0E, - 0xE4, - 0xB8 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CATID_WICMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA4, 0xB9, 0xE3, 0xAB, - 0x7D, 0x25, - 0x97, 0x4B, - 0xBD, - 0x1A, - 0x29, - 0x4A, - 0xF4, - 0x96, - 0x22, - 0x2E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICDefaultFormatConverter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDC, 0x11, 0x3F, 0x1A, - 0x14, 0xB5, - 0x17, 0x4B, - 0x8C, - 0x5F, - 0x21, - 0x54, - 0x51, - 0x38, - 0x52, - 0xF1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICFormatConverterHighColor - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x54, 0xD4, 0x75, 0xAC, - 0x37, 0x9F, - 0xF8, 0x48, - 0xB9, - 0x72, - 0x4E, - 0x19, - 0xBC, - 0x85, - 0x60, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICFormatConverterNChannel - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB2, 0xAB, 0x7C, 0xC1, - 0xA3, 0xD4, - 0xD7, 0x47, - 0xA5, - 0x57, - 0x33, - 0x9B, - 0x2E, - 0xFB, - 0xD4, - 0xF1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICFormatConverterWMPhoto - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2B, 0x17, 0xB5, 0x9C, - 0x00, 0xD6, - 0xBA, 0x46, - 0xAB, - 0x77, - 0x77, - 0xBB, - 0x7E, - 0x3A, - 0x00, - 0xD9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPlanarFormatConverter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB8, 0x32, 0x41, 0x18, - 0xF8, 0x32, - 0x84, 0x47, - 0x91, - 0x31, - 0xDD, - 0x72, - 0x24, - 0xB2, - 0x34, - 0x38 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint WIC_JPEG_MAX_COMPONENT_COUNT = 4; - - public const uint WIC_JPEG_MAX_TABLE_INDEX = 3; - - public const uint WIC_JPEG_SAMPLE_FACTORS_ONE = 17; - - public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_420 = 1118498; - - public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_422 = 1118497; - - public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_440 = 1118482; - - public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_444 = 1118481; - - public const uint WIC_JPEG_QUANTIZATION_BASELINE_ONE = 0; - - public const uint WIC_JPEG_QUANTIZATION_BASELINE_THREE = 65792; - - public const uint WIC_JPEG_HUFFMAN_BASELINE_ONE = 0; - - public const uint WIC_JPEG_HUFFMAN_BASELINE_THREE = 1118464; - - public static ref readonly Guid GUID_WICPixelFormatDontCare - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x00 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat1bppIndexed - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x01 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat2bppIndexed - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x02 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat4bppIndexed - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x03 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppIndexed - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x04 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormatBlackWhite - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x05 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat2bppGray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x06 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat4bppGray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x07 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppGray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x16, 0x01, 0xCD, 0xE6, - 0xBA, 0xEE, - 0x61, 0x41, - 0xAA, - 0x85, - 0x27, - 0xDD, - 0x9F, - 0xB3, - 0xA8, - 0x95 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppBGR555 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x09 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppBGR565 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppBGRA5551 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2B, 0x7C, 0xEC, 0x05, - 0xE6, 0xF1, - 0x61, 0x49, - 0xAD, - 0x46, - 0xE1, - 0xCC, - 0x81, - 0x0A, - 0x87, - 0xD2 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppGray - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat24bppBGR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat24bppRGB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppBGR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppBGRA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x0F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppPBGRA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x10 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppGrayFloat - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x11 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppRGB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x95, 0x6B, 0x8C, 0xD9, - 0xFE, 0x3E, - 0xD6, 0x47, - 0xBB, - 0x25, - 0xEB, - 0x17, - 0x48, - 0xAB, - 0x0C, - 0xF1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppRGBA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2D, 0xAD, 0xC7, 0xF5, - 0x8D, 0x6A, - 0xDD, 0x43, - 0xA7, - 0xA8, - 0xA2, - 0x99, - 0x35, - 0x26, - 0x1A, - 0xE9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppPRGBA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x50, 0xA6, 0xC4, 0x3C, - 0x27, 0xA5, - 0x37, 0x4D, - 0xA9, - 0x16, - 0x31, - 0x42, - 0xC7, - 0xEB, - 0xED, - 0xBA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bppRGB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x15 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bppBGR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x84, 0xA3, 0x05, 0xE6, - 0x68, 0xB4, - 0xCE, 0x46, - 0xBB, - 0x2E, - 0x36, - 0xF1, - 0x80, - 0xE6, - 0x43, - 0x13 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x11, 0x21, 0x18, 0xA1, - 0x6D, 0x18, - 0x42, 0x4D, - 0xBC, - 0x6A, - 0x9C, - 0x83, - 0x03, - 0xA8, - 0xDF, - 0xF9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGBA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x16 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppBGRA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7C, 0xFF, 0x62, 0x15, - 0x52, 0xD3, - 0xF9, 0x46, - 0x97, - 0x9E, - 0x42, - 0x97, - 0x6B, - 0x79, - 0x22, - 0x46 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppPRGBA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x17 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppPBGRA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8E, 0x8E, 0x51, 0x8C, - 0xEC, 0xA4, - 0x8B, 0x46, - 0xAE, - 0x70, - 0xC9, - 0xA3, - 0x5A, - 0x9C, - 0x55, - 0x30 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppGrayFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x13 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppBGR101010 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x14 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bppRGBFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x12 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bppBGRFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0E, 0x14, 0xCA, 0x49, - 0xB6, 0xCA, - 0x3B, 0x49, - 0x9D, - 0xDF, - 0x60, - 0x18, - 0x7C, - 0x37, - 0x53, - 0x2A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat96bppRGBFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x18 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat96bppRGBFloat - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8F, 0xD7, 0xFE, 0xE3, - 0xDB, 0xE8, - 0xCF, 0x4A, - 0x84, - 0xC1, - 0xE9, - 0x7F, - 0x61, - 0x36, - 0xB3, - 0x27 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bppRGBAFloat - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x19 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bppPRGBAFloat - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bppRGBFloat - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppCMYK - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGBAFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppBGRAFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3C, 0xE3, 0x6D, 0x35, - 0xD2, 0x54, - 0x23, 0x4A, - 0xBB, - 0x04, - 0x9B, - 0x7B, - 0xF9, - 0xB1, - 0xD4, - 0x2D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGBFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x40 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bppRGBAFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bppRGBFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x41 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGBAHalf - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x3A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppPRGBAHalf - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC2, 0x26, 0xAD, 0x58, - 0x23, 0xC6, - 0x9D, 0x4D, - 0xB3, - 0x20, - 0x38, - 0x7E, - 0x49, - 0xF8, - 0xC4, - 0x42 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppRGBHalf - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x42 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bppRGBHalf - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x3B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppRGBE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x3D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppGrayHalf - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x3E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppGrayFixedPoint - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x3F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppRGBA1010102 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x72, 0x8D, 0x23, 0x25, - 0xF9, 0xFC, - 0x22, 0x45, - 0xB5, - 0x14, - 0x55, - 0x78, - 0xE5, - 0xAD, - 0x55, - 0xE0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppRGBA1010102XR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9A, 0x6B, 0xDE, 0x00, - 0x01, 0xC1, - 0x4B, 0x43, - 0xB5, - 0x02, - 0xD0, - 0x16, - 0x5E, - 0xE1, - 0x12, - 0x2C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppR10G10B10A2 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB5, 0x1B, 0x4E, 0x60, - 0x3C, 0x8A, - 0x65, 0x4B, - 0xB1, - 0x1C, - 0xBC, - 0x0B, - 0x8D, - 0xD7, - 0x5B, - 0x7F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bppR10G10B10A2HDR10 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5D, 0x5C, 0x21, 0x9C, - 0xCC, 0x1A, - 0x0E, 0x4F, - 0xA4, - 0xBC, - 0x70, - 0xFB, - 0x3A, - 0xE8, - 0xFD, - 0x28 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bppCMYK - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x1F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat24bpp3Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x20 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bpp4Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x21 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat40bpp5Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x22 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bpp6Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x23 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat56bpp7Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x24 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bpp8Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x25 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bpp3Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x26 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bpp4Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x27 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat80bpp5Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x28 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat96bpp6Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x29 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat112bpp7Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bpp8Channels - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat40bppCMYKAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat80bppCMYKAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat32bpp3ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat40bpp4ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x2F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat48bpp5ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x30 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat56bpp6ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x31 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bpp7ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x32 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat72bpp8ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x33 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat64bpp3ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x34 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat80bpp4ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x35 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat96bpp5ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x36 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat112bpp6ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x37 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat128bpp7ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x38 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat144bpp8ChannelsAlpha - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xC3, 0xDD, 0x6F, - 0x03, 0x4E, - 0xFE, 0x4B, - 0xB1, - 0x85, - 0x3D, - 0x77, - 0x76, - 0x8D, - 0xC9, - 0x39 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppY - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x54, 0xDB, 0xB4, 0x91, - 0xF9, 0x2D, - 0xF0, 0x42, - 0xB4, - 0x49, - 0x29, - 0x09, - 0xBB, - 0x3D, - 0xF8, - 0x8E - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppCb - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x24, 0xF2, 0x39, 0x13, - 0xFE, 0x6B, - 0x3E, 0x4C, - 0x93, - 0x02, - 0xE4, - 0xF3, - 0xA6, - 0xD0, - 0xCA, - 0x2A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat8bppCr - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x53, 0x50, 0x14, 0xB8, - 0x16, 0x21, - 0xF0, 0x49, - 0x88, - 0x35, - 0xED, - 0x84, - 0x4B, - 0x20, - 0x5C, - 0x51 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppCbCr - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x6E, 0xBA, 0x95, 0xFF, - 0xE0, 0x11, - 0x63, 0x42, - 0xBB, - 0x45, - 0x01, - 0x72, - 0x1F, - 0x34, - 0x60, - 0xA4 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppYQuantizedDctCoefficients - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x33, 0xF4, 0x55, 0xA3, - 0xE8, 0x48, - 0x42, 0x4A, - 0x84, - 0xD8, - 0xE2, - 0xAA, - 0x26, - 0xCA, - 0x80, - 0xA4 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppCbQuantizedDctCoefficients - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x61, 0xFF, 0xC4, 0xD2, - 0xA5, 0x56, - 0xC2, 0x49, - 0x8B, - 0x5C, - 0x4C, - 0x19, - 0x25, - 0x96, - 0x48, - 0x37 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_WICPixelFormat16bppCrQuantizedDctCoefficients - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF0, 0x54, 0xE3, 0x2F, - 0x80, 0x16, - 0xD8, 0x42, - 0x92, - 0x31, - 0xE7, - 0x3C, - 0x05, - 0x65, - 0xBF, - 0xC1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public const uint FACILITY_WINCODEC_ERR = 2200; - - public const uint WINCODEC_ERR_BASE = 8192; - - public const int WINCODEC_ERR_GENERIC_ERROR = -2147467259; - - public const int WINCODEC_ERR_INVALIDPARAMETER = -2147024809; - - public const int WINCODEC_ERR_OUTOFMEMORY = -2147024882; - - public const int WINCODEC_ERR_NOTIMPLEMENTED = -2147467263; - - public const int WINCODEC_ERR_ABORTED = -2147467260; - - public const int WINCODEC_ERR_ACCESSDENIED = -2147024891; - - public const uint WICRawChangeNotification_ExposureCompensation = 1; - - public const uint WICRawChangeNotification_NamedWhitePoint = 2; - - public const uint WICRawChangeNotification_KelvinWhitePoint = 4; - - public const uint WICRawChangeNotification_RGBWhitePoint = 8; - - public const uint WICRawChangeNotification_Contrast = 16; - - public const uint WICRawChangeNotification_Gamma = 32; - - public const uint WICRawChangeNotification_Sharpness = 64; - - public const uint WICRawChangeNotification_Saturation = 128; - - public const uint WICRawChangeNotification_Tint = 256; - - public const uint WICRawChangeNotification_NoiseReduction = 512; - - public const uint WICRawChangeNotification_DestinationColorContext = 1024; - - public const uint WICRawChangeNotification_ToneCurve = 2048; - - public const uint WICRawChangeNotification_Rotation = 4096; - - public const uint WICRawChangeNotification_RenderMode = 8192; - - public static ref readonly Guid GUID_MetadataFormatUnknown - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2F, 0x59, 0x5E, 0xA4, - 0x78, 0x90, - 0x7C, 0x4A, - 0xAD, - 0xB5, - 0x4E, - 0xDC, - 0x4F, - 0xD6, - 0x1B, - 0x1F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatIfd - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC6, 0x96, 0x73, 0x53, - 0x8A, 0x2D, - 0xB6, 0x4B, - 0x9B, - 0xF8, - 0x2F, - 0x0A, - 0x8E, - 0x2A, - 0x3A, - 0xDF - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatSubIfd - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x28, 0xE1, 0xA2, 0x58, - 0xB9, 0x2D, - 0x57, 0x4E, - 0xBB, - 0x14, - 0x51, - 0x77, - 0x89, - 0x1E, - 0xD3, - 0x31 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatExif - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9D, 0x4F, 0x3C, 0x1C, - 0x4A, 0xB8, - 0x7D, 0x46, - 0x94, - 0x93, - 0x36, - 0xCF, - 0xBD, - 0x59, - 0xEA, - 0x57 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatGps - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8A, 0xAB, 0x34, 0x71, - 0x51, 0x93, - 0xAD, 0x44, - 0xAF, - 0x62, - 0x44, - 0x8D, - 0xB6, - 0xB5, - 0x02, - 0xEC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatInterop - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8E, 0x6F, 0x68, 0xED, - 0x1F, 0x68, - 0x8B, 0x4C, - 0xBD, - 0x41, - 0xA8, - 0xAD, - 0xDB, - 0xF6, - 0xB3, - 0xFC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatApp0 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x28, 0x70, 0x00, 0x79, - 0x8D, 0x26, - 0xD6, 0x45, - 0xA3, - 0xC2, - 0x35, - 0x4E, - 0x6A, - 0x50, - 0x4B, - 0xC9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatApp1 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC3, 0xDF, 0xD3, 0x8F, - 0x51, 0xF9, - 0x2B, 0x49, - 0x81, - 0x7F, - 0x69, - 0xC2, - 0xE6, - 0xD9, - 0xA5, - 0xB0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatApp13 - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA2, 0x56, 0x65, 0x32, - 0x02, 0xF5, - 0x54, 0x43, - 0x9C, - 0xC0, - 0x8E, - 0x3F, - 0x48, - 0xEA, - 0xF6, - 0xB5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatIPTC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x14, 0x09, 0xAB, 0x4F, - 0x29, 0xE1, - 0x87, 0x40, - 0xA1, - 0xD1, - 0xBC, - 0x81, - 0x2D, - 0x45, - 0xA7, - 0xB5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatIRB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x66, 0x0D, 0x10, 0x16, - 0x70, 0x85, - 0xB9, 0x4B, - 0xB9, - 0x2D, - 0xFD, - 0xA4, - 0xB2, - 0x3E, - 0xCE, - 0x67 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormat8BIMIPTC - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8C, 0x56, 0x10, 0x00, - 0x52, 0x08, - 0x6A, 0x4E, - 0xB1, - 0x91, - 0x5C, - 0x33, - 0xAC, - 0x5B, - 0x04, - 0x30 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormat8BIMResolutionInfo - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5D, 0x30, 0x9F, 0x73, - 0xDB, 0x81, - 0xCB, 0x43, - 0xAC, - 0x5E, - 0x55, - 0x01, - 0x3E, - 0xF9, - 0xF0, - 0x03 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormat8BIMIPTCDigest - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x85, 0x22, 0xA3, 0x1C, - 0xCD, 0x9C, - 0x86, 0x47, - 0x8B, - 0xD8, - 0x79, - 0x53, - 0x9D, - 0xB6, - 0xA0, - 0x06 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatXMP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x38, 0xCC, 0x5A, 0xBB, - 0x16, 0xF2, - 0xEC, 0x4C, - 0xA6, - 0xC5, - 0x5F, - 0x6E, - 0x73, - 0x97, - 0x63, - 0xA9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatThumbnail - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE9, 0xCE, 0x3D, 0x24, - 0x03, 0x87, - 0xEE, 0x40, - 0x8E, - 0xF0, - 0x22, - 0xA6, - 0x00, - 0xB8, - 0x05, - 0x8C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunktEXt - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x36, 0x89, 0x8D, 0x56, - 0xA9, 0xC0, - 0x23, 0x49, - 0x90, - 0x5D, - 0xDF, - 0x2B, - 0x38, - 0x23, - 0x8F, - 0xBC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatXMPStruct - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF1, 0x3C, 0x38, 0x22, - 0x17, 0xED, - 0x2E, 0x4E, - 0xAF, - 0x17, - 0xD8, - 0x5B, - 0x8F, - 0x6B, - 0x30, - 0xD0 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatXMPBag - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5F, 0xCA, 0x3C, 0x83, - 0xB7, 0xDC, - 0x16, 0x45, - 0x80, - 0x6F, - 0x65, - 0x96, - 0xAB, - 0x26, - 0xDC, - 0xE4 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatXMPSeq - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x02, 0xDF, 0xE8, 0x63, - 0x6C, 0xEB, - 0x6C, 0x45, - 0xA2, - 0x24, - 0xB2, - 0x5E, - 0x79, - 0x4F, - 0xD6, - 0x48 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatXMPAlt - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x75, 0xA6, 0x08, 0x7B, - 0xAA, 0x91, - 0x1B, 0x48, - 0xA7, - 0x98, - 0x4D, - 0xA9, - 0x49, - 0x08, - 0x61, - 0x3B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatLSD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1E, 0x03, 0x56, 0xE2, - 0x99, 0x62, - 0x29, 0x49, - 0xB9, - 0x8D, - 0x5A, - 0xC8, - 0x84, - 0xAF, - 0xBA, - 0x92 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatIMD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x86, 0xB0, 0x2B, 0xBD, - 0x52, 0x4D, - 0xDD, 0x48, - 0x96, - 0x77, - 0xDB, - 0x48, - 0x3E, - 0x85, - 0xAE, - 0x8F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatGCE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD8, 0xCA, 0x25, 0x2A, - 0xEB, 0xDE, - 0x69, 0x4C, - 0xA7, - 0x88, - 0x0E, - 0xC2, - 0x26, - 0x6D, - 0xCA, - 0xFD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatAPE - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC2, 0x3D, 0x04, 0x2E, - 0x67, 0xC9, - 0x05, 0x4E, - 0x87, - 0x5E, - 0x61, - 0x8B, - 0xF6, - 0x7E, - 0x85, - 0xC3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatJpegChrominance - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCF, 0x0D, 0x3D, 0xF7, - 0xC6, 0xCE, - 0x85, 0x4F, - 0x9B, - 0x0E, - 0x1C, - 0x39, - 0x56, - 0xB1, - 0xBE, - 0xF7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatJpegLuminance - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x07, 0x80, 0x90, 0x86, - 0xFC, 0xED, - 0x60, 0x48, - 0x8D, - 0x4B, - 0x4E, - 0xE6, - 0xE8, - 0x3E, - 0x60, - 0x58 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatJpegComment - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x33, 0x5F, 0x0E, 0x22, - 0xD3, 0xAF, - 0x4E, 0x47, - 0x9D, - 0x31, - 0x7D, - 0x4F, - 0xE7, - 0x30, - 0xF5, - 0x57 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatGifComment - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE0, 0xE0, 0xB6, 0xC4, - 0xB4, 0xCF, - 0xD3, 0x4A, - 0xAB, - 0x33, - 0x9A, - 0xAD, - 0x23, - 0x55, - 0xA3, - 0x4A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkgAMA - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA5, 0x35, 0x09, 0xF0, - 0x5D, 0x1D, - 0xD1, 0x4C, - 0x81, - 0xB2, - 0x93, - 0x24, - 0xD7, - 0xEC, - 0xA7, - 0x81 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkbKGD - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x71, 0x35, 0x4D, 0xE1, - 0x47, 0x6B, - 0xEA, 0x4D, - 0xB6, - 0x0A, - 0x87, - 0xCE, - 0x0A, - 0x78, - 0xDF, - 0xB7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkiTXt - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x29, 0xC7, 0xBE, 0xC2, - 0x68, 0x0B, - 0x77, 0x4B, - 0xAA, - 0x0E, - 0x62, - 0x95, - 0xA6, - 0xAC, - 0x18, - 0x14 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkcHRM - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5B, 0x65, 0xB3, 0x9D, - 0x42, 0x28, - 0xB3, 0x44, - 0x80, - 0x67, - 0x12, - 0xE9, - 0xB3, - 0x75, - 0x55, - 0x6A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkhIST - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDA, 0x82, 0x9A, 0xC5, - 0x74, 0xDB, - 0xA4, 0x48, - 0xBD, - 0x6A, - 0xB6, - 0x9C, - 0x49, - 0x31, - 0xEF, - 0x95 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunkiCCP - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xAB, 0x49, 0x43, 0xEB, - 0x85, 0xB6, - 0x0F, 0x45, - 0x91, - 0xB5, - 0xE8, - 0x02, - 0xE8, - 0x92, - 0x53, - 0x6C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunksRGB - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x36, 0xFD, 0x15, 0xC1, - 0x6F, 0xCC, - 0x3F, 0x4E, - 0x83, - 0x63, - 0x52, - 0x4B, - 0x87, - 0xC6, - 0xB0, - 0xD9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatChunktIME - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2D, 0xAE, 0x00, 0x6B, - 0x4B, 0xE2, - 0x0A, 0x46, - 0x98, - 0xB6, - 0x87, - 0x8B, - 0xD0, - 0x30, - 0x72, - 0xFD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatDds - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x03, 0x46, 0x06, 0x4A, - 0x33, 0x8C, - 0x60, 0x4E, - 0x9C, - 0x29, - 0x13, - 0x62, - 0x31, - 0x70, - 0x2D, - 0x08 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatHeif - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE1, 0xF3, 0x7E, 0x81, - 0x88, 0x12, - 0xF4, 0x45, - 0xA8, - 0x52, - 0x26, - 0x0D, - 0x9E, - 0x7C, - 0xCE, - 0x83 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatHeifHDR - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8A, 0x8D, 0x8B, 0x56, - 0x65, 0x1E, - 0x8C, 0x43, - 0x89, - 0x68, - 0xD6, - 0x0E, - 0x10, - 0x12, - 0xBE, - 0xB9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatWebpANIM - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA6, 0xFD, 0xC4, 0x6D, - 0xE6, 0x78, - 0x02, 0x41, - 0xAE, - 0x35, - 0xBC, - 0xFA, - 0x1E, - 0xDC, - 0xC7, - 0x8B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid GUID_MetadataFormatWebpANMF - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEE, 0x05, 0xC1, 0x43, - 0x3B, 0xB9, - 0xBB, 0x4A, - 0xB0, - 0x03, - 0xA0, - 0x8C, - 0x0D, - 0x87, - 0x04, - 0x71 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICUnknownMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC2, 0x45, 0x97, 0x69, - 0x66, 0x50, - 0x82, 0x4B, - 0xA8, - 0xE3, - 0xD4, - 0x04, - 0x78, - 0xDB, - 0xEC, - 0x8C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICUnknownMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x86, 0xCA, 0x9C, 0xA0, - 0xBA, 0x27, - 0x39, 0x4F, - 0x90, - 0x53, - 0x12, - 0x1F, - 0xA4, - 0xDC, - 0x08, - 0xFC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp0MetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA2, 0x33, 0xC6, 0xF3, - 0xC8, 0x46, - 0x8E, 0x49, - 0x8F, - 0xBB, - 0xCC, - 0x6F, - 0x72, - 0x1B, - 0xBC, - 0xDE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp0MetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x33, 0x4B, 0x32, 0x43, - 0x8F, 0xA7, - 0x0F, 0x48, - 0x91, - 0x11, - 0x96, - 0x38, - 0xAA, - 0xCC, - 0xC8, - 0x32 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp1MetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x69, 0x60, 0x36, 0xEE, - 0x32, 0x18, - 0x0F, 0x42, - 0xB3, - 0x81, - 0x04, - 0x79, - 0xAD, - 0x06, - 0x6F, - 0x19 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp1MetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x13, 0x35, 0xE3, 0xDD, - 0x4E, 0x77, - 0xCD, 0x4B, - 0xAE, - 0x79, - 0x02, - 0xF4, - 0xAD, - 0xFE, - 0x62, - 0xFC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp13MetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x19, 0xA9, 0x19, 0x7B, - 0xD6, 0xA9, - 0xE5, 0x49, - 0xBD, - 0x45, - 0x02, - 0xC3, - 0x4E, - 0x4E, - 0x4C, - 0xD5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICApp13MetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x50, 0x3C, 0x7E, 0xAA, - 0x4C, 0x86, - 0x04, 0x46, - 0xBC, - 0x04, - 0x8B, - 0x0B, - 0x76, - 0xE6, - 0x37, - 0xF6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIfdMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x56, 0x46, 0x91, 0x8F, - 0x0A, 0x9D, - 0xB2, 0x4E, - 0x90, - 0x19, - 0x0B, - 0xF9, - 0x6D, - 0x8A, - 0x9E, - 0xE6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIfdMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x28, 0xFC, 0xEB, 0xB1, - 0xBD, 0xC9, - 0xA2, 0x47, - 0x8D, - 0x33, - 0xB9, - 0x48, - 0x76, - 0x97, - 0x77, - 0xA7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICSubIfdMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x09, 0x2F, 0xD4, 0x50, - 0xD1, 0xEC, - 0x41, 0x4B, - 0xB6, - 0x5D, - 0xDA, - 0x1F, - 0xDA, - 0xA7, - 0x56, - 0x63 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICSubIfdMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x86, 0x53, 0xDE, 0x8A, - 0x9B, 0x8E, - 0x4C, 0x4F, - 0xAC, - 0xF2, - 0xF0, - 0x00, - 0x87, - 0x06, - 0xB2, - 0x38 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICExifMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x60, 0x38, 0x40, 0xD9, - 0x7F, 0x29, - 0x49, 0x4A, - 0xBF, - 0x9B, - 0x77, - 0x89, - 0x81, - 0x50, - 0xA4, - 0x42 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICExifMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDA, 0x4C, 0xA1, 0xC9, - 0x39, 0xC3, - 0x0B, 0x46, - 0x90, - 0x78, - 0xD4, - 0xDE, - 0xBC, - 0xFA, - 0xBE, - 0x91 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGpsMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0B, 0x79, 0x97, 0x36, - 0x3B, 0x22, - 0x4E, 0x48, - 0x99, - 0x25, - 0xC4, - 0x86, - 0x92, - 0x18, - 0xF1, - 0x7A - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGpsMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE4, 0x13, 0x8C, 0xCB, - 0xB5, 0x62, - 0x96, 0x4C, - 0xA4, - 0x8B, - 0x6B, - 0xA6, - 0xAC, - 0xE3, - 0x9C, - 0x76 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICInteropMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x98, 0xB8, 0xC8, 0xB5, - 0x74, 0x00, - 0x9F, 0x45, - 0xB7, - 0x00, - 0x86, - 0x0D, - 0x46, - 0x51, - 0xEA, - 0x14 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICInteropMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x45, 0xC6, 0x2E, 0x12, - 0x7E, 0xCD, - 0xD8, 0x44, - 0xB1, - 0x86, - 0x2C, - 0x8C, - 0x20, - 0xC3, - 0xB5, - 0x0F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICThumbnailMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x59, 0x29, 0x01, 0xFB, - 0xF6, 0xF4, - 0xD7, 0x44, - 0x9D, - 0x09, - 0xDA, - 0xA0, - 0x87, - 0xA9, - 0xDB, - 0x57 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICThumbnailMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0C, 0xB2, 0x49, 0xD0, - 0xD0, 0x5D, - 0xFE, 0x44, - 0xB0, - 0xB3, - 0x8F, - 0x92, - 0xC8, - 0xE6, - 0xD0, - 0x80 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIPTCMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x59, 0x29, 0x01, 0x03, - 0xF6, 0xF4, - 0xD7, 0x44, - 0x9D, - 0x09, - 0xDA, - 0xA0, - 0x87, - 0xA9, - 0xDB, - 0x57 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIPTCMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0C, 0xB2, 0x49, 0x12, - 0xD0, 0x5D, - 0xFE, 0x44, - 0xB0, - 0xB3, - 0x8F, - 0x92, - 0xC8, - 0xE6, - 0xD0, - 0x80 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIRBMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xD7, 0xD3, 0xDC, 0xD4, - 0xC2, 0xB4, - 0xD9, 0x47, - 0xA6, - 0xBF, - 0xB8, - 0x9B, - 0xA3, - 0x96, - 0xA4, - 0xA3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIRBMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x35, 0x19, 0x5C, 0x5C, - 0x35, 0x02, - 0x34, 0x44, - 0x80, - 0xBC, - 0x25, - 0x1B, - 0xC1, - 0xEC, - 0x39, - 0xC6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMIPTCMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8C, 0x66, 0x10, 0x00, - 0x01, 0x08, - 0xA6, 0x4D, - 0xA4, - 0xA4, - 0x82, - 0x65, - 0x22, - 0xB6, - 0xD2, - 0x8F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMIPTCMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x26, 0x82, 0x10, 0x00, - 0x41, 0xEE, - 0xA2, 0x44, - 0x9E, - 0x9C, - 0x4B, - 0xE4, - 0xD5, - 0xB1, - 0xD2, - 0xCD - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMResolutionInfoMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7A, 0x13, 0x05, 0x58, - 0x48, 0xE3, - 0x7C, 0x4F, - 0xB3, - 0xCC, - 0x6D, - 0xB9, - 0x96, - 0x5A, - 0x05, - 0x99 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMResolutionInfoMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0E, 0xFE, 0xF2, 0x4F, - 0x4A, 0xE7, - 0x71, 0x4B, - 0x98, - 0xC4, - 0xAB, - 0x7D, - 0xC1, - 0x67, - 0x07, - 0xBA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMIPTCDigestMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1E, 0x5F, 0x80, 0x02, - 0xAA, 0xD5, - 0x5B, 0x41, - 0x82, - 0xC5, - 0x61, - 0xC0, - 0x33, - 0xA9, - 0x88, - 0xA6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WIC8BIMIPTCDigestMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x2B, 0xE6, 0xB5, 0x2D, - 0x67, 0x0D, - 0x5F, 0x49, - 0x8F, - 0x9D, - 0xC2, - 0xF0, - 0x18, - 0x86, - 0x47, - 0xAC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngTextMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCC, 0xAF, 0x59, 0x4B, - 0xC3, 0xB8, - 0x8A, 0x40, - 0xB6, - 0x70, - 0x89, - 0xE5, - 0xFA, - 0xB6, - 0xFD, - 0xA7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngTextMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB9, 0xAF, 0xEB, 0xB5, - 0x3E, 0x25, - 0x72, 0x4A, - 0xA7, - 0x44, - 0x07, - 0x62, - 0xD2, - 0x68, - 0x56, - 0x83 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDF, 0x24, 0xB6, 0x72, - 0x11, 0xAE, - 0x48, 0x49, - 0xA6, - 0x5C, - 0x35, - 0x1E, - 0xB0, - 0x82, - 0x94, - 0x19 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4E, 0xE1, 0x65, 0x17, - 0xD4, 0x1B, - 0x2E, 0x46, - 0xB6, - 0xB1, - 0x59, - 0x0B, - 0xF1, - 0x26, - 0x2A, - 0xC6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPStructMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x9A, 0x0D, 0xB9, 0x01, - 0x09, 0x82, - 0xF7, 0x47, - 0x9C, - 0x52, - 0xE1, - 0x24, - 0x4B, - 0xF5, - 0x0C, - 0xED - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPStructMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x93, 0x1F, 0xC2, 0x22, - 0xDB, 0x7D, - 0x1C, 0x41, - 0x9B, - 0x17, - 0xC5, - 0xB7, - 0xBD, - 0x06, - 0x4A, - 0xBC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPBagMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x30, 0x9A, 0xE7, 0xE7, - 0x2C, 0x4F, - 0xAB, 0x4F, - 0x8D, - 0x00, - 0x39, - 0x4F, - 0x2D, - 0x6B, - 0xBE, - 0xBE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPBagMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x8C, 0x2C, 0x82, 0xED, - 0xBE, 0xD6, - 0x01, 0x43, - 0xA6, - 0x31, - 0x0E, - 0x14, - 0x16, - 0xBA, - 0xD2, - 0x8F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPSeqMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x53, 0xE7, 0x12, 0x7F, - 0x71, 0xFC, - 0xD7, 0x43, - 0xA5, - 0x1D, - 0x92, - 0xF3, - 0x59, - 0x77, - 0xAB, - 0xB5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPSeqMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xDE, 0xD1, 0x68, 0x6D, - 0x32, 0xD4, - 0x0F, 0x4B, - 0x92, - 0x3A, - 0x09, - 0x11, - 0x83, - 0xA9, - 0xBD, - 0xA7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPAltMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC2, 0xDC, 0x94, 0xAA, - 0xB0, 0xB8, - 0x98, 0x48, - 0xB8, - 0x35, - 0x00, - 0x0A, - 0xAB, - 0xD7, - 0x43, - 0x93 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICXMPAltMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x6C, 0x2A, 0x6C, 0x07, - 0x8F, 0xF7, - 0x46, 0x4C, - 0xA7, - 0x23, - 0x35, - 0x83, - 0xE7, - 0x08, - 0x76, - 0xEA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICLSDMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x93, 0x07, 0x07, 0x41, - 0xE4, 0x59, - 0x9A, 0x47, - 0xA1, - 0xF7, - 0x95, - 0x4A, - 0xDC, - 0x2E, - 0xF5, - 0xFC - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICLSDMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xE7, 0x37, 0xC0, 0x73, - 0xD9, 0xE5, - 0x54, 0x49, - 0x87, - 0x6A, - 0x6D, - 0xA8, - 0x1D, - 0x6E, - 0x57, - 0x68 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGCEMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5D, 0x34, 0x2E, 0xB9, - 0x2D, 0xF5, - 0xF3, 0x41, - 0xB5, - 0x62, - 0x08, - 0x1B, - 0xC7, - 0x72, - 0xE3, - 0xB9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGCEMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x76, 0xDC, 0x95, 0xAF, - 0xB2, 0x16, - 0xF4, 0x47, - 0xB3, - 0xEA, - 0x3C, - 0x31, - 0x79, - 0x66, - 0x93, - 0xE7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIMDMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x67, 0xA2, 0x47, 0x74, - 0x15, 0x00, - 0xC8, 0x42, - 0xA8, - 0xF1, - 0xFB, - 0x3B, - 0x94, - 0xC6, - 0x83, - 0x61 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICIMDMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x1F, 0x07, 0x89, 0x8C, - 0x2E, 0x45, - 0x95, 0x4E, - 0x96, - 0x82, - 0x9D, - 0x10, - 0x24, - 0x62, - 0x71, - 0x72 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICAPEMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3A, 0xB9, 0x67, 0x17, - 0x21, 0xB0, - 0xEA, 0x44, - 0x92, - 0x0F, - 0x86, - 0x3C, - 0x11, - 0xF4, - 0xF7, - 0x68 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICAPEMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCA, 0xDF, 0x6E, 0xBD, - 0x90, 0x28, - 0x2F, 0x48, - 0xB2, - 0x33, - 0x8D, - 0x73, - 0x39, - 0xA1, - 0xCF, - 0x8D - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegChrominanceMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x4B, 0x90, 0xB1, 0x50, - 0x8F, 0xF2, - 0x74, 0x45, - 0x93, - 0xF4, - 0x0B, - 0xAD, - 0xE8, - 0x2C, - 0x69, - 0xE9 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegChrominanceMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xF0, 0x66, 0xF5, 0x3F, - 0x6B, 0x6E, - 0xD4, 0x49, - 0x96, - 0xE6, - 0xB7, - 0x88, - 0x86, - 0x69, - 0x2C, - 0x62 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegLuminanceMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x88, 0x2F, 0x6F, 0x35, - 0xA6, 0x05, - 0x28, 0x47, - 0xB9, - 0xA4, - 0x1B, - 0xFB, - 0xCE, - 0x04, - 0xD8, - 0x38 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegLuminanceMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xBC, 0x3A, 0x58, 0x1D, - 0x0E, 0x8A, - 0x57, 0x46, - 0x99, - 0x82, - 0xA3, - 0x80, - 0xCA, - 0x58, - 0xFB, - 0x4B - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegCommentMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x7C, 0x34, 0x66, 0x9F, - 0xC4, 0x60, - 0x4D, 0x4C, - 0xAB, - 0x58, - 0xD2, - 0x35, - 0x86, - 0x85, - 0xF6, - 0x07 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICJpegCommentMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x6F, 0x23, 0x73, 0xE5, - 0xB1, 0x55, - 0xDA, 0x4E, - 0x81, - 0xEA, - 0x9F, - 0x65, - 0xDB, - 0x02, - 0x90, - 0xD3 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGifCommentMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3B, 0x7D, 0x55, 0x32, - 0xDC, 0x69, - 0x95, 0x4F, - 0x83, - 0x6E, - 0xF5, - 0x97, - 0x2B, - 0x2F, - 0x61, - 0x59 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICGifCommentMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFC, 0x97, 0x27, 0xA0, - 0xAE, 0xC4, - 0x8C, 0x41, - 0xAF, - 0x95, - 0xE6, - 0x37, - 0xC7, - 0xEA, - 0xD2, - 0xA1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngGamaMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x39, 0xCA, 0x92, 0x36, - 0x82, 0xE0, - 0x50, 0x43, - 0x9E, - 0x1F, - 0x37, - 0x04, - 0xCB, - 0x08, - 0x3C, - 0xD5 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngGamaMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x13, 0x6D, 0x03, 0xFF, - 0x4B, 0x5D, - 0xDD, 0x46, - 0xB1, - 0x0F, - 0x10, - 0x66, - 0x93, - 0xD9, - 0xFE, - 0x4F - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngBkgdMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xA6, 0xA4, 0xE7, 0x0C, - 0xE8, 0x03, - 0x60, 0x4A, - 0x9D, - 0x15, - 0x28, - 0x2E, - 0xF3, - 0x2E, - 0xE7, - 0xDA - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngBkgdMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFD, 0xF2, 0xE3, 0x68, - 0xAE, 0x31, - 0x41, 0x44, - 0xBB, - 0x6A, - 0xFD, - 0x70, - 0x47, - 0x52, - 0x5F, - 0x90 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngItxtMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xFA, 0xB2, 0xBF, 0xAA, - 0x1E, 0x3E, - 0x8F, 0x4A, - 0x89, - 0x77, - 0x55, - 0x56, - 0xFB, - 0x94, - 0xEA, - 0x23 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngItxtMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x19, 0x97, 0x87, 0x31, - 0x51, 0xE7, - 0xF8, 0x4D, - 0x98, - 0x1D, - 0x68, - 0xDF, - 0xF6, - 0x77, - 0x04, - 0xED - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngChrmMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x36, 0x5F, 0x0B, 0xF9, - 0x7B, 0x36, - 0x2A, 0x40, - 0x9D, - 0xD1, - 0xBC, - 0x0F, - 0xD5, - 0x9D, - 0x8F, - 0x62 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngChrmMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xEB, 0xE3, 0x3C, 0xE2, - 0x08, 0x56, - 0x83, 0x4E, - 0xBC, - 0xEF, - 0x27, - 0xB1, - 0x98, - 0x7E, - 0x51, - 0xD7 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngHistMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xB7, 0x0B, 0x7A, 0x87, - 0x13, 0xA3, - 0x91, 0x44, - 0x87, - 0xB5, - 0x2E, - 0x6D, - 0x05, - 0x94, - 0xF5, - 0x20 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngHistMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x49, 0xE7, 0x03, 0x8A, - 0x2E, 0x67, - 0x6E, 0x44, - 0xBF, - 0x1F, - 0x2C, - 0x11, - 0xD2, - 0x33, - 0xB6, - 0xFF - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngIccpMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3B, 0xE6, 0xD3, 0xF5, - 0x0F, 0xCB, - 0x28, 0x46, - 0xA4, - 0x78, - 0x6D, - 0x82, - 0x44, - 0xBE, - 0x36, - 0xB1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngIccpMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x5F, 0x1E, 0x67, 0x16, - 0xE6, 0x0C, - 0xC4, 0x4C, - 0x97, - 0x68, - 0xE8, - 0x9F, - 0xE5, - 0x01, - 0x8A, - 0xDE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngSrgbMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x0C, 0x36, 0x40, 0xFB, - 0x7E, 0x54, - 0x56, 0x49, - 0xA3, - 0xB9, - 0xD4, - 0x41, - 0x88, - 0x59, - 0xBA, - 0x66 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngSrgbMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xC6, 0x35, 0xEE, 0xA6, - 0xEC, 0x87, - 0xDF, 0x47, - 0x9F, - 0x22, - 0x1D, - 0x5A, - 0xAD, - 0x84, - 0x0C, - 0x82 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngTimeMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x02, 0xDF, 0x4E, 0xD9, - 0xE5, 0xEF, - 0x0D, 0x4F, - 0x85, - 0xC8, - 0xF5, - 0xA6, - 0x8B, - 0x30, - 0x00, - 0xB1 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICPngTimeMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x00, 0x84, 0xB7, 0x1A, - 0xA3, 0xB5, - 0x91, 0x4D, - 0x8A, - 0xCE, - 0x33, - 0xFC, - 0xD1, - 0x49, - 0x9B, - 0xE6 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICDdsMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xCA, 0x88, 0x6C, 0x27, - 0x33, 0x75, - 0x86, 0x4A, - 0xB6, - 0x76, - 0x66, - 0xB3, - 0x60, - 0x80, - 0xD4, - 0x84 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICDdsMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0xBD, 0x8B, 0x68, 0xFD, - 0xED, 0x31, - 0xB7, 0x4D, - 0xA7, - 0x23, - 0x93, - 0x49, - 0x27, - 0xD3, - 0x83, - 0x67 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICHeifMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3F, 0xFC, 0xDD, 0xAC, - 0xEC, 0x85, - 0xBC, 0x41, - 0xBD, - 0xEF, - 0x1B, - 0xC2, - 0x62, - 0xE4, - 0xDB, - 0x05 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICHeifMetadataWriter - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x79, 0x5E, 0xE4, 0x3A, - 0xBC, 0x40, - 0x01, 0x44, - 0xAC, - 0xE5, - 0xDD, - 0x3C, - 0xB1, - 0x6E, - 0x6A, - 0xFE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICHeifHDRMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x3D, 0xDE, 0x38, 0x24, - 0xD9, 0x94, - 0xE8, 0x4B, - 0x84, - 0xA8, - 0x4D, - 0xE9, - 0x5A, - 0x57, - 0x5E, - 0x75 - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICWebpAnimMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x11, 0x99, 0x6F, 0x07, - 0x48, 0xA3, - 0x5C, 0x46, - 0xA8, - 0x07, - 0xA2, - 0x52, - 0xF3, - 0xF2, - 0xD3, - 0xDE - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - - public static ref readonly Guid CLSID_WICWebpAnmfMetadataReader - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - ReadOnlySpan data = new byte[] { - 0x03, 0x0B, 0xA1, 0x85, - 0xF6, 0xC9, - 0x9F, 0x43, - 0xBE, - 0x5E, - 0xC0, - 0xFB, - 0xEF, - 0x67, - 0x80, - 0x7C - }; - - Debug.Assert(data.Length == Unsafe.SizeOf()); - return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); - } - } - -} - -#region Enums -/// -/// WICColorContextType -public enum WICColorContextType : int -{ - /// - /// WICColorContextUninitialized - Uninitialized = 0, - /// - /// WICColorContextProfile - Profile = 1, - /// - /// WICColorContextExifColorSpace - ExifColorSpace = 2, -} - -/// -/// WICBitmapCreateCacheOption -public enum WICBitmapCreateCacheOption : int -{ - /// - /// WICBitmapNoCache - NoCache = 0, - /// - /// WICBitmapCacheOnDemand - CacheOnDemand = 1, - /// - /// WICBitmapCacheOnLoad - CacheOnLoad = 2, -} - -/// -/// WICDecodeOptions -public enum WICDecodeOptions : int -{ - /// - /// WICDecodeMetadataCacheOnDemand - CacheOnDemand = 0, - /// - /// WICDecodeMetadataCacheOnLoad - CacheOnLoad = 1, -} - -/// -/// WICBitmapEncoderCacheOption -public enum WICBitmapEncoderCacheOption : int -{ - /// - /// WICBitmapEncoderCacheInMemory - CacheInMemory = 0, - /// - /// WICBitmapEncoderCacheTempFile - CacheTempFile = 1, - /// - /// WICBitmapEncoderNoCache - NoCache = 2, -} - -/// -/// WICComponentType -public enum WICComponentType : int -{ - /// - /// WICDecoder - Decoder = 1, - /// - /// WICEncoder - Encoder = 2, - /// - /// WICPixelFormatConverter - PixelFormatConverter = 4, - /// - /// WICMetadataReader - MetadataReader = 8, - /// - /// WICMetadataWriter - MetadataWriter = 16, - /// - /// WICPixelFormat - PixelFormat = 32, - /// - /// WICAllComponents - AllComponents = 63, -} - -/// -/// WICComponentEnumerateOptions -public enum WICComponentEnumerateOptions : int -{ - /// - /// WICComponentEnumerateDefault - Default = 0, - /// - /// WICComponentEnumerateRefresh - Refresh = 1, - /// - /// WICComponentEnumerateDisabled - Disabled = -2147483648, - /// - /// WICComponentEnumerateUnsigned - Unsigned = 1073741824, - /// - /// WICComponentEnumerateBuiltInOnly - BuiltInOnly = 536870912, -} - -/// -/// WICBitmapInterpolationMode -public enum WICBitmapInterpolationMode : int -{ - /// - /// WICBitmapInterpolationModeNearestNeighbor - ModeNearestNeighbor = 0, - /// - /// WICBitmapInterpolationModeLinear - ModeLinear = 1, - /// - /// WICBitmapInterpolationModeCubic - ModeCubic = 2, - /// - /// WICBitmapInterpolationModeFant - ModeFant = 3, - /// - /// WICBitmapInterpolationModeHighQualityCubic - ModeHighQualityCubic = 4, -} - -/// -/// WICBitmapPaletteType -public enum WICBitmapPaletteType : int -{ - /// - /// WICBitmapPaletteTypeCustom - Custom = 0, - /// - /// WICBitmapPaletteTypeMedianCut - MedianCut = 1, - /// - /// WICBitmapPaletteTypeFixedBW - FixedBW = 2, - /// - /// WICBitmapPaletteTypeFixedHalftone8 - FixedHalftone8 = 3, - /// - /// WICBitmapPaletteTypeFixedHalftone27 - FixedHalftone27 = 4, - /// - /// WICBitmapPaletteTypeFixedHalftone64 - FixedHalftone64 = 5, - /// - /// WICBitmapPaletteTypeFixedHalftone125 - FixedHalftone125 = 6, - /// - /// WICBitmapPaletteTypeFixedHalftone216 - FixedHalftone216 = 7, - /// - /// WICBitmapPaletteTypeFixedWebPalette - FixedWebPalette = 7, - /// - /// WICBitmapPaletteTypeFixedHalftone252 - FixedHalftone252 = 8, - /// - /// WICBitmapPaletteTypeFixedHalftone256 - FixedHalftone256 = 9, - /// - /// WICBitmapPaletteTypeFixedGray4 - FixedGray4 = 10, - /// - /// WICBitmapPaletteTypeFixedGray16 - FixedGray16 = 11, - /// - /// WICBitmapPaletteTypeFixedGray256 - FixedGray256 = 12, -} - -/// -/// WICBitmapDitherType -public enum WICBitmapDitherType : int -{ - /// - /// WICBitmapDitherTypeNone - None = 0, - /// - /// WICBitmapDitherTypeSolid - Solid = 0, - /// - /// WICBitmapDitherTypeOrdered4x4 - Ordered4x4 = 1, - /// - /// WICBitmapDitherTypeOrdered8x8 - Ordered8x8 = 2, - /// - /// WICBitmapDitherTypeOrdered16x16 - Ordered16x16 = 3, - /// - /// WICBitmapDitherTypeSpiral4x4 - Spiral4x4 = 4, - /// - /// WICBitmapDitherTypeSpiral8x8 - Spiral8x8 = 5, - /// - /// WICBitmapDitherTypeDualSpiral4x4 - DualSpiral4x4 = 6, - /// - /// WICBitmapDitherTypeDualSpiral8x8 - DualSpiral8x8 = 7, - /// - /// WICBitmapDitherTypeErrorDiffusion - ErrorDiffusion = 8, -} - -/// -/// WICBitmapAlphaChannelOption -public enum WICBitmapAlphaChannelOption : int -{ - /// - /// WICBitmapUseAlpha - UseAlpha = 0, - /// - /// WICBitmapUsePremultipliedAlpha - UsePremultipliedAlpha = 1, - /// - /// WICBitmapIgnoreAlpha - IgnoreAlpha = 2, -} - -/// -/// WICBitmapTransformOptions -public enum WICBitmapTransformOptions : int -{ - /// - /// WICBitmapTransformRotate0 - Rotate0 = 0, - /// - /// WICBitmapTransformRotate90 - Rotate90 = 1, - /// - /// WICBitmapTransformRotate180 - Rotate180 = 2, - /// - /// WICBitmapTransformRotate270 - Rotate270 = 3, - /// - /// WICBitmapTransformFlipHorizontal - FlipHorizontal = 8, - /// - /// WICBitmapTransformFlipVertical - FlipVertical = 16, -} - -/// -/// WICBitmapLockFlags -[Flags] -public enum WICBitmapLockFlags : int -{ - None = 0, - /// - /// WICBitmapLockRead - Read = 1, - /// - /// WICBitmapLockWrite - Write = 2, -} - -/// -/// WICBitmapDecoderCapabilities -public enum WICBitmapDecoderCapabilities : int -{ - /// - /// WICBitmapDecoderCapabilitySameEncoder - SameEncoder = 1, - /// - /// WICBitmapDecoderCapabilityCanDecodeAllImages - CanDecodeAllImages = 2, - /// - /// WICBitmapDecoderCapabilityCanDecodeSomeImages - CanDecodeSomeImages = 4, - /// - /// WICBitmapDecoderCapabilityCanEnumerateMetadata - CanEnumerateMetadata = 8, - /// - /// WICBitmapDecoderCapabilityCanDecodeThumbnail - CanDecodeThumbnail = 16, -} - -/// -/// WICProgressOperation -public enum WICProgressOperation : int -{ - /// - /// WICProgressOperationCopyPixels - CopyPixels = 1, - /// - /// WICProgressOperationWritePixels - WritePixels = 2, - /// - /// WICProgressOperationAll - All = 65535, -} - -/// -/// WICProgressNotification -public enum WICProgressNotification : int -{ - /// - /// WICProgressNotificationBegin - Begin = 65536, - /// - /// WICProgressNotificationEnd - End = 131072, - /// - /// WICProgressNotificationFrequent - Frequent = 262144, - /// - /// WICProgressNotificationAll - All = -65536, -} - -/// -/// WICComponentSigning -public enum WICComponentSigning : int -{ - /// - /// WICComponentSigned - Signed = 1, - /// - /// WICComponentUnsigned - Unsigned = 2, - /// - /// WICComponentSafe - Safe = 4, - /// - /// WICComponentDisabled - Disabled = -2147483648, -} - -/// -/// WICGifLogicalScreenDescriptorProperties -public enum WICGifLogicalScreenDescriptorProperties : uint -{ - /// - /// WICGifLogicalScreenSignature - WICGifLogicalScreenSignature = 1, - /// - /// WICGifLogicalScreenDescriptorWidth - WICGifLogicalScreenDescriptorWidth = 2, - /// - /// WICGifLogicalScreenDescriptorHeight - WICGifLogicalScreenDescriptorHeight = 3, - /// - /// WICGifLogicalScreenDescriptorGlobalColorTableFlag - WICGifLogicalScreenDescriptorGlobalColorTableFlag = 4, - /// - /// WICGifLogicalScreenDescriptorColorResolution - WICGifLogicalScreenDescriptorColorResolution = 5, - /// - /// WICGifLogicalScreenDescriptorSortFlag - WICGifLogicalScreenDescriptorSortFlag = 6, - /// - /// WICGifLogicalScreenDescriptorGlobalColorTableSize - WICGifLogicalScreenDescriptorGlobalColorTableSize = 7, - /// - /// WICGifLogicalScreenDescriptorBackgroundColorIndex - WICGifLogicalScreenDescriptorBackgroundColorIndex = 8, - /// - /// WICGifLogicalScreenDescriptorPixelAspectRatio - WICGifLogicalScreenDescriptorPixelAspectRatio = 9, -} - -/// -/// WICGifImageDescriptorProperties -public enum WICGifImageDescriptorProperties : uint -{ - /// - /// WICGifImageDescriptorLeft - WICGifImageDescriptorLeft = 1, - /// - /// WICGifImageDescriptorTop - WICGifImageDescriptorTop = 2, - /// - /// WICGifImageDescriptorWidth - WICGifImageDescriptorWidth = 3, - /// - /// WICGifImageDescriptorHeight - WICGifImageDescriptorHeight = 4, - /// - /// WICGifImageDescriptorLocalColorTableFlag - WICGifImageDescriptorLocalColorTableFlag = 5, - /// - /// WICGifImageDescriptorInterlaceFlag - WICGifImageDescriptorInterlaceFlag = 6, - /// - /// WICGifImageDescriptorSortFlag - WICGifImageDescriptorSortFlag = 7, - /// - /// WICGifImageDescriptorLocalColorTableSize - WICGifImageDescriptorLocalColorTableSize = 8, -} - -/// -/// WICGifGraphicControlExtensionProperties -public enum WICGifGraphicControlExtensionProperties : uint -{ - /// - /// WICGifGraphicControlExtensionDisposal - WICGifGraphicControlExtensionDisposal = 1, - /// - /// WICGifGraphicControlExtensionUserInputFlag - WICGifGraphicControlExtensionUserInputFlag = 2, - /// - /// WICGifGraphicControlExtensionTransparencyFlag - WICGifGraphicControlExtensionTransparencyFlag = 3, - /// - /// WICGifGraphicControlExtensionDelay - WICGifGraphicControlExtensionDelay = 4, - /// - /// WICGifGraphicControlExtensionTransparentColorIndex - WICGifGraphicControlExtensionTransparentColorIndex = 5, -} - -/// -/// WICGifApplicationExtensionProperties -public enum WICGifApplicationExtensionProperties : uint -{ - /// - /// WICGifApplicationExtensionApplication - WICGifApplicationExtensionApplication = 1, - /// - /// WICGifApplicationExtensionData - WICGifApplicationExtensionData = 2, -} - -/// -/// WICGifCommentExtensionProperties -public enum WICGifCommentExtensionProperties : uint -{ - /// - /// WICGifCommentExtensionText - WICGifCommentExtensionText = 1, -} - -/// -/// WICJpegCommentProperties -public enum WICJpegCommentProperties : uint -{ - /// - /// WICJpegCommentText - WICJpegCommentText = 1, -} - -/// -/// WICJpegLuminanceProperties -public enum WICJpegLuminanceProperties : uint -{ - /// - /// WICJpegLuminanceTable - WICJpegLuminanceTable = 1, -} - -/// -/// WICJpegChrominanceProperties -public enum WICJpegChrominanceProperties : uint -{ - /// - /// WICJpegChrominanceTable - WICJpegChrominanceTable = 1, -} - -/// -/// WIC8BIMIptcProperties -public enum WIC8BIMIptcProperties : uint -{ - /// - /// WIC8BIMIptcPString - WIC8BIMIptcPString = 0, - /// - /// WIC8BIMIptcEmbeddedIPTC - WIC8BIMIptcEmbeddedIPTC = 1, -} - -/// -/// WIC8BIMResolutionInfoProperties -public enum WIC8BIMResolutionInfoProperties : uint -{ - /// - /// WIC8BIMResolutionInfoPString - WIC8BIMResolutionInfoPString = 1, - /// - /// WIC8BIMResolutionInfoHResolution - WIC8BIMResolutionInfoHResolution = 2, - /// - /// WIC8BIMResolutionInfoHResolutionUnit - WIC8BIMResolutionInfoHResolutionUnit = 3, - /// - /// WIC8BIMResolutionInfoWidthUnit - WIC8BIMResolutionInfoWidthUnit = 4, - /// - /// WIC8BIMResolutionInfoVResolution - WIC8BIMResolutionInfoVResolution = 5, - /// - /// WIC8BIMResolutionInfoVResolutionUnit - WIC8BIMResolutionInfoVResolutionUnit = 6, - /// - /// WIC8BIMResolutionInfoHeightUnit - WIC8BIMResolutionInfoHeightUnit = 7, -} - -/// -/// WIC8BIMIptcDigestProperties -public enum WIC8BIMIptcDigestProperties : uint -{ - /// - /// WIC8BIMIptcDigestPString - WIC8BIMIptcDigestPString = 1, - /// - /// WIC8BIMIptcDigestIptcDigest - WIC8BIMIptcDigestIptcDigest = 2, -} - -/// -/// WICPngGamaProperties -public enum WICPngGamaProperties : uint -{ - /// - /// WICPngGamaGamma - WICPngGamaGamma = 1, -} - -/// -/// WICPngBkgdProperties -public enum WICPngBkgdProperties : uint -{ - /// - /// WICPngBkgdBackgroundColor - WICPngBkgdBackgroundColor = 1, -} - -/// -/// WICPngItxtProperties -public enum WICPngItxtProperties : uint -{ - /// - /// WICPngItxtKeyword - WICPngItxtKeyword = 1, - /// - /// WICPngItxtCompressionFlag - WICPngItxtCompressionFlag = 2, - /// - /// WICPngItxtLanguageTag - WICPngItxtLanguageTag = 3, - /// - /// WICPngItxtTranslatedKeyword - WICPngItxtTranslatedKeyword = 4, - /// - /// WICPngItxtText - WICPngItxtText = 5, -} - -/// -/// WICPngChrmProperties -public enum WICPngChrmProperties : uint -{ - /// - /// WICPngChrmWhitePointX - WICPngChrmWhitePointX = 1, - /// - /// WICPngChrmWhitePointY - WICPngChrmWhitePointY = 2, - /// - /// WICPngChrmRedX - WICPngChrmRedX = 3, - /// - /// WICPngChrmRedY - WICPngChrmRedY = 4, - /// - /// WICPngChrmGreenX - WICPngChrmGreenX = 5, - /// - /// WICPngChrmGreenY - WICPngChrmGreenY = 6, - /// - /// WICPngChrmBlueX - WICPngChrmBlueX = 7, - /// - /// WICPngChrmBlueY - WICPngChrmBlueY = 8, -} - -/// -/// WICPngHistProperties -public enum WICPngHistProperties : uint -{ - /// - /// WICPngHistFrequencies - WICPngHistFrequencies = 1, -} - -/// -/// WICPngIccpProperties -public enum WICPngIccpProperties : uint -{ - /// - /// WICPngIccpProfileName - WICPngIccpProfileName = 1, - /// - /// WICPngIccpProfileData - WICPngIccpProfileData = 2, -} - -/// -/// WICPngSrgbProperties -public enum WICPngSrgbProperties : uint -{ - /// - /// WICPngSrgbRenderingIntent - WICPngSrgbRenderingIntent = 1, -} - -/// -/// WICPngTimeProperties -public enum WICPngTimeProperties : uint -{ - /// - /// WICPngTimeYear - WICPngTimeYear = 1, - /// - /// WICPngTimeMonth - WICPngTimeMonth = 2, - /// - /// WICPngTimeDay - WICPngTimeDay = 3, - /// - /// WICPngTimeHour - WICPngTimeHour = 4, - /// - /// WICPngTimeMinute - WICPngTimeMinute = 5, - /// - /// WICPngTimeSecond - WICPngTimeSecond = 6, -} - -/// -/// WICHeifProperties -public enum WICHeifProperties : uint -{ - /// - /// WICHeifOrientation - WICHeifOrientation = 1, -} - -/// -/// WICHeifHdrProperties -public enum WICHeifHdrProperties : uint -{ - /// - /// WICHeifHdrMaximumLuminanceLevel - WICHeifHdrMaximumLuminanceLevel = 1, - /// - /// WICHeifHdrMaximumFrameAverageLuminanceLevel - WICHeifHdrMaximumFrameAverageLuminanceLevel = 2, - /// - /// WICHeifHdrMinimumMasteringDisplayLuminanceLevel - WICHeifHdrMinimumMasteringDisplayLuminanceLevel = 3, - /// - /// WICHeifHdrMaximumMasteringDisplayLuminanceLevel - WICHeifHdrMaximumMasteringDisplayLuminanceLevel = 4, - /// - /// WICHeifHdrCustomVideoPrimaries - WICHeifHdrCustomVideoPrimaries = 5, -} - -/// -/// WICWebpAnimProperties -public enum WICWebpAnimProperties : uint -{ - /// - /// WICWebpAnimLoopCount - WICWebpAnimLoopCount = 1, -} - -/// -/// WICWebpAnmfProperties -public enum WICWebpAnmfProperties : uint -{ - /// - /// WICWebpAnmfFrameDuration - WICWebpAnmfFrameDuration = 1, -} - -/// -/// WICSectionAccessLevel -public enum WICSectionAccessLevel : uint -{ - /// - /// WICSectionAccessLevelRead - WICSectionAccessLevelRead = 1, - /// - /// WICSectionAccessLevelReadWrite - WICSectionAccessLevelReadWrite = 3, -} - -/// -/// WICPixelFormatNumericRepresentation -public enum WICPixelFormatNumericRepresentation : uint -{ - /// - /// WICPixelFormatNumericRepresentationUnspecified - Unspecified = 0, - /// - /// WICPixelFormatNumericRepresentationIndexed - Indexed = 1, - /// - /// WICPixelFormatNumericRepresentationUnsignedInteger - UnsignedInteger = 2, - /// - /// WICPixelFormatNumericRepresentationSignedInteger - SignedInteger = 3, - /// - /// WICPixelFormatNumericRepresentationFixed - Fixed = 4, - /// - /// WICPixelFormatNumericRepresentationFloat - Float = 5, -} - -/// -/// WICPlanarOptions -public enum WICPlanarOptions : int -{ - /// - /// WICPlanarOptionsDefault - Default = 0, - /// - /// WICPlanarOptionsPreserveSubsampling - PreserveSubsampling = 1, -} - -/// -/// WICJpegIndexingOptions -public enum WICJpegIndexingOptions : uint -{ - /// - /// WICJpegIndexingOptionsGenerateOnDemand - WICJpegIndexingOptionsGenerateOnDemand = 0, - /// - /// WICJpegIndexingOptionsGenerateOnLoad - WICJpegIndexingOptionsGenerateOnLoad = 1, -} - -/// -/// WICJpegTransferMatrix -public enum WICJpegTransferMatrix : uint -{ - /// - /// WICJpegTransferMatrixIdentity - WICJpegTransferMatrixIdentity = 0, - /// - /// WICJpegTransferMatrixBT601 - WICJpegTransferMatrixBT601 = 1, -} - -/// -/// WICJpegScanType -public enum WICJpegScanType : uint -{ - /// - /// WICJpegScanTypeInterleaved - WICJpegScanTypeInterleaved = 0, - /// - /// WICJpegScanTypePlanarComponents - WICJpegScanTypePlanarComponents = 1, - /// - /// WICJpegScanTypeProgressive - WICJpegScanTypeProgressive = 2, -} - -/// -/// WICTiffCompressionOption -public enum WICTiffCompressionOption : int -{ - /// - /// WICTiffCompressionDontCare - WICTiffCompressionDontCare = 0, - /// - /// WICTiffCompressionNone - WICTiffCompressionNone = 1, - /// - /// WICTiffCompressionCCITT3 - WICTiffCompressionCCITT3 = 2, - /// - /// WICTiffCompressionCCITT4 - WICTiffCompressionCCITT4 = 3, - /// - /// WICTiffCompressionLZW - WICTiffCompressionLZW = 4, - /// - /// WICTiffCompressionRLE - WICTiffCompressionRLE = 5, - /// - /// WICTiffCompressionZIP - WICTiffCompressionZIP = 6, - /// - /// WICTiffCompressionLZWHDifferencing - WICTiffCompressionLZWHDifferencing = 7, -} - -/// -/// WICJpegYCrCbSubsamplingOption -public enum WICJpegYCrCbSubsamplingOption : int -{ - /// - /// WICJpegYCrCbSubsamplingDefault - WICJpegYCrCbSubsamplingDefault = 0, - /// - /// WICJpegYCrCbSubsampling420 - WICJpegYCrCbSubsampling420 = 1, - /// - /// WICJpegYCrCbSubsampling422 - WICJpegYCrCbSubsampling422 = 2, - /// - /// WICJpegYCrCbSubsampling444 - WICJpegYCrCbSubsampling444 = 3, - /// - /// WICJpegYCrCbSubsampling440 - WICJpegYCrCbSubsampling440 = 4, -} - -/// -/// WICPngFilterOption -public enum WICPngFilterOption : int -{ - /// - /// WICPngFilterUnspecified - WICPngFilterUnspecified = 0, - /// - /// WICPngFilterNone - WICPngFilterNone = 1, - /// - /// WICPngFilterSub - WICPngFilterSub = 2, - /// - /// WICPngFilterUp - WICPngFilterUp = 3, - /// - /// WICPngFilterAverage - WICPngFilterAverage = 4, - /// - /// WICPngFilterPaeth - WICPngFilterPaeth = 5, - /// - /// WICPngFilterAdaptive - WICPngFilterAdaptive = 6, -} - -/// -/// WICNamedWhitePoint -public enum WICNamedWhitePoint : int -{ - /// - /// WICWhitePointDefault - WICWhitePointDefault = 1, - /// - /// WICWhitePointDaylight - WICWhitePointDaylight = 2, - /// - /// WICWhitePointCloudy - WICWhitePointCloudy = 4, - /// - /// WICWhitePointShade - WICWhitePointShade = 8, - /// - /// WICWhitePointTungsten - WICWhitePointTungsten = 16, - /// - /// WICWhitePointFluorescent - WICWhitePointFluorescent = 32, - /// - /// WICWhitePointFlash - WICWhitePointFlash = 64, - /// - /// WICWhitePointUnderwater - WICWhitePointUnderwater = 128, - /// - /// WICWhitePointCustom - WICWhitePointCustom = 256, - /// - /// WICWhitePointAutoWhiteBalance - WICWhitePointAutoWhiteBalance = 512, - /// - /// WICWhitePointAsShot - WICWhitePointAsShot = 1, -} - -/// -/// WICRawCapabilities -public enum WICRawCapabilities : int -{ - /// - /// WICRawCapabilityNotSupported - WICRawCapabilityNotSupported = 0, - /// - /// WICRawCapabilityGetSupported - WICRawCapabilityGetSupported = 1, - /// - /// WICRawCapabilityFullySupported - WICRawCapabilityFullySupported = 2, -} - -/// -/// WICRawRotationCapabilities -public enum WICRawRotationCapabilities : int -{ - /// - /// WICRawRotationCapabilityNotSupported - WICRawRotationCapabilityNotSupported = 0, - /// - /// WICRawRotationCapabilityGetSupported - WICRawRotationCapabilityGetSupported = 1, - /// - /// WICRawRotationCapabilityNinetyDegreesSupported - WICRawRotationCapabilityNinetyDegreesSupported = 2, - /// - /// WICRawRotationCapabilityFullySupported - WICRawRotationCapabilityFullySupported = 3, -} - -/// -/// WICRawParameterSet -public enum WICRawParameterSet : int -{ - /// - /// WICAsShotParameterSet - WICAsShotParameterSet = 1, - /// - /// WICUserAdjustedParameterSet - WICUserAdjustedParameterSet = 2, - /// - /// WICAutoAdjustedParameterSet - WICAutoAdjustedParameterSet = 3, -} - -/// -/// WICRawRenderMode -public enum WICRawRenderMode : int -{ - /// - /// WICRawRenderModeDraft - WICRawRenderModeDraft = 1, - /// - /// WICRawRenderModeNormal - WICRawRenderModeNormal = 2, - /// - /// WICRawRenderModeBestQuality - WICRawRenderModeBestQuality = 3, -} - -/// -/// WICDdsDimension -public enum WICDdsDimension : int -{ - /// - /// WICDdsTexture1D - WICDdsTexture1D = 0, - /// - /// WICDdsTexture2D - WICDdsTexture2D = 1, - /// - /// WICDdsTexture3D - WICDdsTexture3D = 2, - /// - /// WICDdsTextureCube - WICDdsTextureCube = 3, -} - -/// -/// WICDdsAlphaMode -public enum WICDdsAlphaMode : int -{ - /// - /// WICDdsAlphaModeUnknown - WICDdsAlphaModeUnknown = 0, - /// - /// WICDdsAlphaModeStraight - WICDdsAlphaModeStraight = 1, - /// - /// WICDdsAlphaModePremultiplied - WICDdsAlphaModePremultiplied = 2, - /// - /// WICDdsAlphaModeOpaque - WICDdsAlphaModeOpaque = 3, - /// - /// WICDdsAlphaModeCustom - WICDdsAlphaModeCustom = 4, -} - -/// -/// WICMetadataCreationOptions -public enum WICMetadataCreationOptions : int -{ - /// - /// WICMetadataCreationDefault - WICMetadataCreationDefault = 0, - /// - /// WICMetadataCreationAllowUnknown - WICMetadataCreationAllowUnknown = 0, - /// - /// WICMetadataCreationFailUnknown - WICMetadataCreationFailUnknown = 65536, - /// - /// WICMetadataCreationMask - WICMetadataCreationMask = -65536, -} - -/// -/// WICPersistOptions -public enum WICPersistOptions : int -{ - /// - /// WICPersistOptionDefault - WICPersistOptionDefault = 0, - /// - /// WICPersistOptionLittleEndian - WICPersistOptionLittleEndian = 0, - /// - /// WICPersistOptionBigEndian - WICPersistOptionBigEndian = 1, - /// - /// WICPersistOptionStrictFormat - WICPersistOptionStrictFormat = 2, - /// - /// WICPersistOptionNoCacheStream - WICPersistOptionNoCacheStream = 4, - /// - /// WICPersistOptionPreferUTF8 - WICPersistOptionPreferUTF8 = 8, - /// - /// WICPersistOptionMask - WICPersistOptionMask = 65535, -} -#endregion Enums - -#region Structs - -/// -/// WICBitmapPattern -public partial struct WICBitmapPattern -{ - /// - public ULargeInteger Position; - - /// - public uint Length; - - /// - public unsafe byte* Pattern; - - /// - public unsafe byte* Mask; - - /// - public Bool32 EndOfStream; -} - -/// -/// WICImageParameters -public partial struct WICImageParameters -{ - /// - public Graphics.Direct2D.Common.PixelFormat PixelFormat; - - /// - public float DpiX; - - /// - public float DpiY; - - /// - public float Top; - - /// - public float Left; - - /// - public uint PixelWidth; - - /// - public uint PixelHeight; -} - -/// -/// WICBitmapPlaneDescription -public partial struct WICBitmapPlaneDescription -{ - /// - public Guid Format; - - /// - public uint Width; - - /// - public uint Height; -} - -/// -/// WICBitmapPlane -public partial struct WICBitmapPlane -{ - /// - public Guid Format; - - /// - public unsafe byte* pbBuffer; - - /// - public uint cbStride; - - /// - public uint cbBufferSize; -} - -/// -/// WICJpegFrameHeader -public partial struct WICJpegFrameHeader -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public WICJpegTransferMatrix TransferMatrix; - - /// - public WICJpegScanType ScanType; - - /// - public uint cComponents; - - /// - public uint ComponentIdentifiers; - - /// - public uint SampleFactors; - - /// - public uint QuantizationTableIndices; -} - -/// -/// WICJpegScanHeader -public partial struct WICJpegScanHeader -{ - /// - public uint cComponents; - - /// - public uint RestartInterval; - - /// - public uint ComponentSelectors; - - /// - public uint HuffmanTableIndices; - - /// - public byte StartSpectralSelection; - - /// - public byte EndSpectralSelection; - - /// - public byte SuccessiveApproximationHigh; - - /// - public byte SuccessiveApproximationLow; -} - -/// -/// WICRawCapabilitiesInfo -public partial struct WICRawCapabilitiesInfo -{ - /// - public uint cbSize; - - /// - public uint CodecMajorVersion; - - /// - public uint CodecMinorVersion; - - /// - public WICRawCapabilities ExposureCompensationSupport; - - /// - public WICRawCapabilities ContrastSupport; - - /// - public WICRawCapabilities RGBWhitePointSupport; - - /// - public WICRawCapabilities NamedWhitePointSupport; - - /// - public uint NamedWhitePointSupportMask; - - /// - public WICRawCapabilities KelvinWhitePointSupport; - - /// - public WICRawCapabilities GammaSupport; - - /// - public WICRawCapabilities TintSupport; - - /// - public WICRawCapabilities SaturationSupport; - - /// - public WICRawCapabilities SharpnessSupport; - - /// - public WICRawCapabilities NoiseReductionSupport; - - /// - public WICRawCapabilities DestinationColorProfileSupport; - - /// - public WICRawCapabilities ToneCurveSupport; - - /// - public WICRawRotationCapabilities RotationSupport; - - /// - public WICRawCapabilities RenderModeSupport; -} - -/// -/// WICRawToneCurvePoint -public partial struct WICRawToneCurvePoint -{ - /// - public double Input; - - /// - public double Output; -} - -/// -/// WICRawToneCurve -public partial struct WICRawToneCurve -{ - /// - public uint cPoints; - - /// - public aPoints__FixedBuffer aPoints; - - public unsafe struct aPoints__FixedBuffer - { - public WICRawToneCurvePoint e0; - - [UnscopedRef] - public ref WICRawToneCurvePoint this[int index] - { - [MethodImpl(MethodImplOptions.AggressiveInlining)] - get - { - return ref AsSpan()[index]; - } - } - - [UnscopedRef] - [MethodImpl(MethodImplOptions.AggressiveInlining)] - public Span AsSpan() - { - return MemoryMarshal.CreateSpan(ref e0, 1); - } - } -} - -/// -/// WICDdsParameters -public partial struct WICDdsParameters -{ - /// - public uint Width; - - /// - public uint Height; - - /// - public uint Depth; - - /// - public uint MipLevels; - - /// - public uint ArraySize; - - /// - public Graphics.Dxgi.Common.Format DxgiFormat; - - /// - public WICDdsDimension Dimension; - - /// - public WICDdsAlphaMode AlphaMode; -} - -/// -/// WICDdsFormatInfo -public partial struct WICDdsFormatInfo -{ - /// - public Graphics.Dxgi.Common.Format DxgiFormat; - - /// - public uint BytesPerBlock; - - /// - public uint BlockWidth; - - /// - public uint BlockHeight; -} - -/// -/// WICMetadataPattern -public partial struct WICMetadataPattern -{ - /// - public ULargeInteger Position; - - /// - public uint Length; - - /// - public unsafe byte* Pattern; - - /// - public unsafe byte* Mask; - - /// - public ULargeInteger DataOffset; -} - -/// -/// WICMetadataHeader -public partial struct WICMetadataHeader -{ - /// - public ULargeInteger Position; - - /// - public uint Length; - - /// - public unsafe byte* Header; - - /// - public ULargeInteger DataOffset; -} -#endregion Structs - -#region COM Types -#endregion Com Types - -#region Functions -public static unsafe partial class Apis -{ - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICConvertBitmapSource(Guid* dstFormat, IWICBitmapSource* pISrc, IWICBitmapSource** ppIDst); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICCreateBitmapFromSection(uint width, uint height, Guid* pixelFormat, Handle hSection, uint stride, uint offset, IWICBitmap** ppIBitmap); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICCreateBitmapFromSectionEx(uint width, uint height, Guid* pixelFormat, Handle hSection, uint stride, uint offset, WICSectionAccessLevel desiredAccessLevel, IWICBitmap** ppIBitmap); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICMapGuidToShortName(Guid* guid, uint cchName, ushort* wzName, uint* pcchActual); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICMapShortNameToGuid(ushort* wzName, Guid* pguid); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICMapSchemaToName(Guid* guidMetadataFormat, ushort* pwzSchema, uint cchName, ushort* wzName, uint* pcchActual); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICMatchMetadataContent(Guid* guidContainerFormat, Guid* pguidVendor, Com.IStream* pIStream, Guid* pguidMetadataFormat); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICSerializeMetadataContent(Guid* guidContainerFormat, IWICMetadataWriter* pIWriter, uint dwPersistOptions, Com.IStream* pIStream); - - [DllImport("WindowsCodecs.dll", ExactSpelling = true)] - public static extern HResult WICGetMetadataContentSize(Guid* guidContainerFormat, IWICMetadataWriter* pIWriter, ULargeInteger* pcbSize); -} -#endregion Functions diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.Functions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.Functions.cs new file mode 100644 index 0000000..291d4fc --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.Functions.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +public static unsafe partial class Apis +{ + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICConvertBitmapSource(Guid* dstFormat, IWICBitmapSource* pISrc, IWICBitmapSource** ppIDst); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICCreateBitmapFromSection(uint width, uint height, Guid* pixelFormat, Handle hSection, uint stride, uint offset, IWICBitmap** ppIBitmap); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICCreateBitmapFromSectionEx(uint width, uint height, Guid* pixelFormat, Handle hSection, uint stride, uint offset, WICSectionAccessLevel desiredAccessLevel, IWICBitmap** ppIBitmap); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICMapGuidToShortName(Guid* guid, uint cchName, ushort* wzName, uint* pcchActual); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICMapShortNameToGuid(ushort* wzName, Guid* pguid); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICMapSchemaToName(Guid* guidMetadataFormat, ushort* pwzSchema, uint cchName, ushort* wzName, uint* pcchActual); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICMatchMetadataContent(Guid* guidContainerFormat, Guid* pguidVendor, Com.IStream* pIStream, Guid* pguidMetadataFormat); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICSerializeMetadataContent(Guid* guidContainerFormat, IWICMetadataWriter* pIWriter, uint dwPersistOptions, Com.IStream* pIStream); + + [DllImport("WindowsCodecs.dll", ExactSpelling = true)] + public static extern HResult WICGetMetadataContentSize(Guid* guidContainerFormat, IWICMetadataWriter* pIWriter, ULargeInteger* pcbSize); +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.cs new file mode 100644 index 0000000..cc297cf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/Apis.cs @@ -0,0 +1,6446 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +public static partial class Apis +{ + public const uint WINCODEC_SDK_VERSION1 = 566; + + public const uint WINCODEC_SDK_VERSION2 = 567; + + public static ref readonly Guid CLSID_WICImagingFactory + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0xF2, 0xCA, 0xCA, + 0x70, 0x93, + 0x15, 0x46, + 0xA1, + 0x3B, + 0x9F, + 0x55, + 0x39, + 0xDA, + 0x4C, + 0x0A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICImagingFactory1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0xF2, 0xCA, 0xCA, + 0x70, 0x93, + 0x15, 0x46, + 0xA1, + 0x3B, + 0x9F, + 0x55, + 0x39, + 0xDA, + 0x4C, + 0x0A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICImagingFactory2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0x06, 0x7D, 0x31, + 0x24, 0x5F, + 0x3D, 0x43, + 0xBD, + 0xF7, + 0x79, + 0xCE, + 0x68, + 0xD8, + 0xAB, + 0xC2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint WINCODEC_SDK_VERSION = 567; + + public static ref readonly Guid GUID_VendorMicrosoft + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCA, 0x49, 0xE7, 0xF0, + 0xEF, 0xED, + 0x89, 0x45, + 0xA7, + 0x3A, + 0xEE, + 0x0E, + 0x62, + 0x6A, + 0x2A, + 0x2B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_VendorMicrosoftBuiltIn + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFD, 0x30, 0x7A, 0x25, + 0xB6, 0x06, + 0x2B, 0x46, + 0xAE, + 0xA4, + 0x63, + 0xF7, + 0x0B, + 0x86, + 0xE5, + 0x33 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0xA1, 0x9E, 0x38, + 0x78, 0x50, + 0xDE, 0x4C, + 0xB6, + 0xEF, + 0x25, + 0xC1, + 0x51, + 0x75, + 0xC7, + 0x51 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngDecoder1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7B, 0xA1, 0x9E, 0x38, + 0x78, 0x50, + 0xDE, 0x4C, + 0xB6, + 0xEF, + 0x25, + 0xC1, + 0x51, + 0x75, + 0xC7, + 0x51 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngDecoder2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x94, 0x18, 0xE0, + 0x86, 0xAA, + 0x08, 0x40, + 0x9B, + 0xD4, + 0x67, + 0x77, + 0xA1, + 0xE4, + 0x0C, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICBmpDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0x20, 0x46, 0x6B, + 0xBF, 0x7C, + 0x0D, 0x40, + 0x9F, + 0xDB, + 0x81, + 0x3D, + 0xD1, + 0x0F, + 0x27, + 0x78 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIcoDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDF, 0xFC, 0x1B, 0xC6, + 0x0F, 0x2E, + 0xAD, 0x4A, + 0xA8, + 0xD7, + 0xE0, + 0x6B, + 0xAF, + 0xEB, + 0xCD, + 0xFE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x80, 0xA4, 0x56, 0x94, + 0x8B, 0xE8, + 0xEA, 0x43, + 0x9E, + 0x73, + 0x0B, + 0x2D, + 0x9B, + 0x71, + 0xB1, + 0xCA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGifDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xDA, 0x1D, 0x38, + 0xE9, 0x9C, + 0x34, 0x48, + 0xA2, + 0x3E, + 0x1F, + 0x98, + 0xF8, + 0xFC, + 0x52, + 0xBE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICTiffDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD9, 0x85, 0x4E, 0xB5, + 0x23, 0xFE, + 0x9F, 0x49, + 0x8B, + 0x88, + 0x6A, + 0xCE, + 0xA7, + 0x13, + 0x75, + 0x2B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICWmpDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0xEC, 0x6C, 0xA2, + 0x4C, 0x23, + 0x50, 0x49, + 0xAE, + 0x16, + 0xE3, + 0x4A, + 0xAC, + 0xE7, + 0x1D, + 0x0D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICDdsDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0x69, 0x53, 0x90, + 0x41, 0xA3, + 0x9D, 0x42, + 0x9E, + 0x90, + 0xEE, + 0x43, + 0x7C, + 0xF8, + 0x0C, + 0x73 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICBmpEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB4, 0x8B, 0xBE, 0x69, + 0x6D, 0xD6, + 0xC8, 0x47, + 0x86, + 0x5A, + 0xED, + 0x15, + 0x89, + 0x43, + 0x37, + 0x82 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0x99, 0x94, 0x27, + 0x6A, 0x87, + 0xD7, 0x41, + 0x94, + 0x47, + 0x56, + 0x8F, + 0x6A, + 0x35, + 0xA4, + 0xDC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC1, 0xF5, 0x34, 0x1A, + 0x5A, 0x4A, + 0xDC, 0x46, + 0xB6, + 0x44, + 0x1F, + 0x45, + 0x67, + 0xE7, + 0xA6, + 0x76 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGifEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x98, 0x55, 0x4F, 0x11, + 0x22, 0x0B, + 0xA0, 0x40, + 0x86, + 0xA1, + 0xC8, + 0x3E, + 0xA4, + 0x95, + 0xAD, + 0xBD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICTiffEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x10, 0xBE, 0x31, 0x01, + 0x01, 0x20, + 0x5F, 0x4C, + 0xA9, + 0xB0, + 0xCC, + 0x88, + 0xFA, + 0xB6, + 0x4C, + 0xE8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICWmpEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCB, 0xE3, 0x4C, 0xAC, + 0xC1, 0xE1, + 0xCD, 0x44, + 0x82, + 0x15, + 0x5A, + 0x16, + 0x65, + 0x50, + 0x9E, + 0xC2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICDdsEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0xDE, 0x1D, 0xA6, + 0xCE, 0x66, + 0xC1, 0x4A, + 0x88, + 0x1B, + 0x71, + 0x68, + 0x05, + 0x88, + 0x89, + 0x5E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICAdngDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x11, 0x94, 0x1D, 0x98, + 0x9E, 0x90, + 0xA7, 0x42, + 0x8F, + 0x5D, + 0xA7, + 0x47, + 0xFF, + 0x05, + 0x2E, + 0xDB + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegQualcommPhoneEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x62, 0x5C, 0xED, 0x68, + 0x34, 0xF5, + 0x79, 0x49, + 0xB2, + 0xB3, + 0x68, + 0x6A, + 0x12, + 0xB2, + 0xB3, + 0x4C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICHeifDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0A, 0xA8, 0xA4, 0xE9, + 0xFE, 0x44, + 0xE4, 0x4D, + 0x89, + 0x71, + 0x71, + 0x50, + 0xB1, + 0x0A, + 0x51, + 0x99 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICHeifEncoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC1, 0xCE, 0xBE, 0x0D, + 0xB3, 0x9E, + 0x60, 0x48, + 0x9C, + 0x6F, + 0xDD, + 0xBE, + 0x86, + 0x63, + 0x45, + 0x75 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICWebpDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0xE8, 0x93, 0x76, + 0xC9, 0x51, + 0x70, 0x40, + 0x84, + 0x19, + 0x9F, + 0x70, + 0x73, + 0x8E, + 0xC8, + 0xFA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICRAWDecoder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0x57, 0x94, 0x41, + 0x02, 0x83, + 0xA6, 0x44, + 0x94, + 0x45, + 0xAC, + 0x98, + 0xE8, + 0xAF, + 0xA0, + 0x86 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatBmp + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7E, 0xD8, 0xF1, 0x0A, + 0xFE, 0xFC, + 0x88, 0x41, + 0xBD, + 0xEB, + 0xA7, + 0x90, + 0x64, + 0x71, + 0xCB, + 0xE3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatPng + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF4, 0xFA, 0x7C, 0x1B, + 0x3F, 0x71, + 0x3C, 0x47, + 0xBB, + 0xCD, + 0x61, + 0x37, + 0x42, + 0x5F, + 0xAE, + 0xAF + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatIco + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC4, 0x60, 0xA8, 0xA3, + 0x8F, 0x33, + 0x17, 0x4C, + 0x91, + 0x9A, + 0xFB, + 0xA4, + 0xB5, + 0x62, + 0x8F, + 0x21 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatJpeg + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAA, 0xA5, 0xE4, 0x19, + 0x62, 0x56, + 0xC5, 0x4F, + 0xA0, + 0xC0, + 0x17, + 0x58, + 0x02, + 0x8E, + 0x10, + 0x57 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatTiff + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0xCC, 0x3B, 0x16, + 0xE9, 0xE2, + 0x0B, 0x4F, + 0x96, + 0x1D, + 0xA3, + 0xE9, + 0xFD, + 0xB7, + 0x88, + 0xA3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatGif + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x01, 0x56, 0x8A, 0x1F, + 0x4D, 0x7D, + 0xBD, 0x4C, + 0x9C, + 0x82, + 0x1B, + 0xC8, + 0xD4, + 0xEE, + 0xB9, + 0xA5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatWmp + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAA, 0x7C, 0xA3, 0x57, + 0x7A, 0x36, + 0x40, 0x45, + 0x91, + 0x6B, + 0xF1, + 0x83, + 0xC5, + 0x09, + 0x3A, + 0x4B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatDds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x95, 0xCB, 0x67, 0x99, + 0x85, 0x2E, + 0xC8, 0x4A, + 0x8C, + 0xA2, + 0x83, + 0xD7, + 0xCC, + 0xD4, + 0x25, + 0xC9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatAdng + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0D, 0x6D, 0xFF, 0xF3, + 0xC0, 0x38, + 0xC4, 0x41, + 0xB1, + 0xFE, + 0x1F, + 0x38, + 0x24, + 0xF1, + 0x7B, + 0x84 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatHeif + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x21, 0x25, 0xE6, 0xE1, + 0x87, 0x67, + 0x5B, 0x40, + 0xA3, + 0x39, + 0x50, + 0x07, + 0x15, + 0xB5, + 0x76, + 0x3F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatWebp + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE2, 0xB0, 0x94, 0xE0, + 0xF2, 0x67, + 0xB3, 0x45, + 0xB0, + 0xEA, + 0x11, + 0x53, + 0x37, + 0xCA, + 0x7C, + 0xF3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_ContainerFormatRaw + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x60, 0xCE, 0x99, 0xFE, + 0x9C, 0xF1, + 0x3C, 0x43, + 0xA3, + 0xAE, + 0x00, + 0xAC, + 0xEF, + 0xA9, + 0xCA, + 0x21 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICImagingCategories + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x80, 0xD3, 0xE3, 0xFA, + 0xA4, 0xFE, + 0x23, 0x46, + 0x8C, + 0x75, + 0xC6, + 0xB6, + 0x11, + 0x10, + 0xB6, + 0x81 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICBitmapDecoders + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x37, 0x68, 0xD9, 0x7E, + 0xF0, 0x96, + 0x12, 0x48, + 0xB2, + 0x11, + 0xF1, + 0x3C, + 0x24, + 0x11, + 0x7E, + 0xD3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICBitmapEncoders + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x96, 0x72, 0x75, 0xAC, + 0x22, 0x35, + 0x11, 0x4E, + 0x98, + 0x62, + 0xC1, + 0x7B, + 0xE5, + 0xA1, + 0x76, + 0x7E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICPixelFormats + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0F, 0xE7, 0x46, 0x2B, + 0xA7, 0xCD, + 0x3E, 0x47, + 0x89, + 0xF6, + 0xDC, + 0x96, + 0x30, + 0xA2, + 0x39, + 0x0B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICFormatConverters + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE8, 0xEA, 0x35, 0x78, + 0x14, 0xBF, + 0xD1, 0x49, + 0x93, + 0xCE, + 0x53, + 0x3A, + 0x40, + 0x7B, + 0x22, + 0x48 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0x94, 0xAF, 0x05, + 0x74, 0x71, + 0xD2, 0x4C, + 0xBE, + 0x4A, + 0x41, + 0x24, + 0xB8, + 0x0E, + 0xE4, + 0xB8 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CATID_WICMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA4, 0xB9, 0xE3, 0xAB, + 0x7D, 0x25, + 0x97, 0x4B, + 0xBD, + 0x1A, + 0x29, + 0x4A, + 0xF4, + 0x96, + 0x22, + 0x2E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICDefaultFormatConverter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDC, 0x11, 0x3F, 0x1A, + 0x14, 0xB5, + 0x17, 0x4B, + 0x8C, + 0x5F, + 0x21, + 0x54, + 0x51, + 0x38, + 0x52, + 0xF1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICFormatConverterHighColor + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0xD4, 0x75, 0xAC, + 0x37, 0x9F, + 0xF8, 0x48, + 0xB9, + 0x72, + 0x4E, + 0x19, + 0xBC, + 0x85, + 0x60, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICFormatConverterNChannel + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB2, 0xAB, 0x7C, 0xC1, + 0xA3, 0xD4, + 0xD7, 0x47, + 0xA5, + 0x57, + 0x33, + 0x9B, + 0x2E, + 0xFB, + 0xD4, + 0xF1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICFormatConverterWMPhoto + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0x17, 0xB5, 0x9C, + 0x00, 0xD6, + 0xBA, 0x46, + 0xAB, + 0x77, + 0x77, + 0xBB, + 0x7E, + 0x3A, + 0x00, + 0xD9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPlanarFormatConverter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB8, 0x32, 0x41, 0x18, + 0xF8, 0x32, + 0x84, 0x47, + 0x91, + 0x31, + 0xDD, + 0x72, + 0x24, + 0xB2, + 0x34, + 0x38 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint WIC_JPEG_MAX_COMPONENT_COUNT = 4; + + public const uint WIC_JPEG_MAX_TABLE_INDEX = 3; + + public const uint WIC_JPEG_SAMPLE_FACTORS_ONE = 17; + + public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_420 = 1118498; + + public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_422 = 1118497; + + public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_440 = 1118482; + + public const uint WIC_JPEG_SAMPLE_FACTORS_THREE_444 = 1118481; + + public const uint WIC_JPEG_QUANTIZATION_BASELINE_ONE = 0; + + public const uint WIC_JPEG_QUANTIZATION_BASELINE_THREE = 65792; + + public const uint WIC_JPEG_HUFFMAN_BASELINE_ONE = 0; + + public const uint WIC_JPEG_HUFFMAN_BASELINE_THREE = 1118464; + + public static ref readonly Guid GUID_WICPixelFormatDontCare + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x00 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat1bppIndexed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x01 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat2bppIndexed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x02 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat4bppIndexed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x03 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppIndexed + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x04 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormatBlackWhite + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x05 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat2bppGray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x06 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat4bppGray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x07 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppGray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x16, 0x01, 0xCD, 0xE6, + 0xBA, 0xEE, + 0x61, 0x41, + 0xAA, + 0x85, + 0x27, + 0xDD, + 0x9F, + 0xB3, + 0xA8, + 0x95 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppBGR555 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x09 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppBGR565 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppBGRA5551 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0x7C, 0xEC, 0x05, + 0xE6, 0xF1, + 0x61, 0x49, + 0xAD, + 0x46, + 0xE1, + 0xCC, + 0x81, + 0x0A, + 0x87, + 0xD2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppGray + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat24bppBGR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat24bppRGB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppBGR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppBGRA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x0F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppPBGRA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x10 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppGrayFloat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x11 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppRGB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x95, 0x6B, 0x8C, 0xD9, + 0xFE, 0x3E, + 0xD6, 0x47, + 0xBB, + 0x25, + 0xEB, + 0x17, + 0x48, + 0xAB, + 0x0C, + 0xF1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppRGBA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2D, 0xAD, 0xC7, 0xF5, + 0x8D, 0x6A, + 0xDD, 0x43, + 0xA7, + 0xA8, + 0xA2, + 0x99, + 0x35, + 0x26, + 0x1A, + 0xE9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppPRGBA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x50, 0xA6, 0xC4, 0x3C, + 0x27, 0xA5, + 0x37, 0x4D, + 0xA9, + 0x16, + 0x31, + 0x42, + 0xC7, + 0xEB, + 0xED, + 0xBA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bppRGB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x15 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bppBGR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x84, 0xA3, 0x05, 0xE6, + 0x68, 0xB4, + 0xCE, 0x46, + 0xBB, + 0x2E, + 0x36, + 0xF1, + 0x80, + 0xE6, + 0x43, + 0x13 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x11, 0x21, 0x18, 0xA1, + 0x6D, 0x18, + 0x42, 0x4D, + 0xBC, + 0x6A, + 0x9C, + 0x83, + 0x03, + 0xA8, + 0xDF, + 0xF9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGBA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x16 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppBGRA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0xFF, 0x62, 0x15, + 0x52, 0xD3, + 0xF9, 0x46, + 0x97, + 0x9E, + 0x42, + 0x97, + 0x6B, + 0x79, + 0x22, + 0x46 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppPRGBA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x17 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppPBGRA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8E, 0x8E, 0x51, 0x8C, + 0xEC, 0xA4, + 0x8B, 0x46, + 0xAE, + 0x70, + 0xC9, + 0xA3, + 0x5A, + 0x9C, + 0x55, + 0x30 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppGrayFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x13 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppBGR101010 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x14 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bppRGBFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x12 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bppBGRFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0E, 0x14, 0xCA, 0x49, + 0xB6, 0xCA, + 0x3B, 0x49, + 0x9D, + 0xDF, + 0x60, + 0x18, + 0x7C, + 0x37, + 0x53, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat96bppRGBFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x18 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat96bppRGBFloat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8F, 0xD7, 0xFE, 0xE3, + 0xDB, 0xE8, + 0xCF, 0x4A, + 0x84, + 0xC1, + 0xE9, + 0x7F, + 0x61, + 0x36, + 0xB3, + 0x27 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bppRGBAFloat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x19 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bppPRGBAFloat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bppRGBFloat + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppCMYK + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGBAFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppBGRAFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3C, 0xE3, 0x6D, 0x35, + 0xD2, 0x54, + 0x23, 0x4A, + 0xBB, + 0x04, + 0x9B, + 0x7B, + 0xF9, + 0xB1, + 0xD4, + 0x2D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGBFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x40 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bppRGBAFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bppRGBFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x41 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGBAHalf + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x3A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppPRGBAHalf + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0x26, 0xAD, 0x58, + 0x23, 0xC6, + 0x9D, 0x4D, + 0xB3, + 0x20, + 0x38, + 0x7E, + 0x49, + 0xF8, + 0xC4, + 0x42 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppRGBHalf + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x42 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bppRGBHalf + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x3B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppRGBE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x3D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppGrayHalf + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x3E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppGrayFixedPoint + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x3F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppRGBA1010102 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x72, 0x8D, 0x23, 0x25, + 0xF9, 0xFC, + 0x22, 0x45, + 0xB5, + 0x14, + 0x55, + 0x78, + 0xE5, + 0xAD, + 0x55, + 0xE0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppRGBA1010102XR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9A, 0x6B, 0xDE, 0x00, + 0x01, 0xC1, + 0x4B, 0x43, + 0xB5, + 0x02, + 0xD0, + 0x16, + 0x5E, + 0xE1, + 0x12, + 0x2C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppR10G10B10A2 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB5, 0x1B, 0x4E, 0x60, + 0x3C, 0x8A, + 0x65, 0x4B, + 0xB1, + 0x1C, + 0xBC, + 0x0B, + 0x8D, + 0xD7, + 0x5B, + 0x7F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bppR10G10B10A2HDR10 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x5C, 0x21, 0x9C, + 0xCC, 0x1A, + 0x0E, 0x4F, + 0xA4, + 0xBC, + 0x70, + 0xFB, + 0x3A, + 0xE8, + 0xFD, + 0x28 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bppCMYK + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x1F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat24bpp3Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x20 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bpp4Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x21 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat40bpp5Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x22 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bpp6Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x23 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat56bpp7Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x24 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bpp8Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x25 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bpp3Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x26 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bpp4Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x27 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat80bpp5Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x28 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat96bpp6Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x29 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat112bpp7Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bpp8Channels + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat40bppCMYKAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat80bppCMYKAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat32bpp3ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat40bpp4ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x2F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat48bpp5ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x30 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat56bpp6ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x31 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bpp7ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x32 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat72bpp8ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x33 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat64bpp3ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x34 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat80bpp4ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x35 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat96bpp5ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x36 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat112bpp6ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x37 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat128bpp7ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x38 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat144bpp8ChannelsAlpha + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xC3, 0xDD, 0x6F, + 0x03, 0x4E, + 0xFE, 0x4B, + 0xB1, + 0x85, + 0x3D, + 0x77, + 0x76, + 0x8D, + 0xC9, + 0x39 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppY + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x54, 0xDB, 0xB4, 0x91, + 0xF9, 0x2D, + 0xF0, 0x42, + 0xB4, + 0x49, + 0x29, + 0x09, + 0xBB, + 0x3D, + 0xF8, + 0x8E + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppCb + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x24, 0xF2, 0x39, 0x13, + 0xFE, 0x6B, + 0x3E, 0x4C, + 0x93, + 0x02, + 0xE4, + 0xF3, + 0xA6, + 0xD0, + 0xCA, + 0x2A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat8bppCr + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0x50, 0x14, 0xB8, + 0x16, 0x21, + 0xF0, 0x49, + 0x88, + 0x35, + 0xED, + 0x84, + 0x4B, + 0x20, + 0x5C, + 0x51 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppCbCr + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6E, 0xBA, 0x95, 0xFF, + 0xE0, 0x11, + 0x63, 0x42, + 0xBB, + 0x45, + 0x01, + 0x72, + 0x1F, + 0x34, + 0x60, + 0xA4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppYQuantizedDctCoefficients + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x33, 0xF4, 0x55, 0xA3, + 0xE8, 0x48, + 0x42, 0x4A, + 0x84, + 0xD8, + 0xE2, + 0xAA, + 0x26, + 0xCA, + 0x80, + 0xA4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppCbQuantizedDctCoefficients + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x61, 0xFF, 0xC4, 0xD2, + 0xA5, 0x56, + 0xC2, 0x49, + 0x8B, + 0x5C, + 0x4C, + 0x19, + 0x25, + 0x96, + 0x48, + 0x37 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_WICPixelFormat16bppCrQuantizedDctCoefficients + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF0, 0x54, 0xE3, 0x2F, + 0x80, 0x16, + 0xD8, 0x42, + 0x92, + 0x31, + 0xE7, + 0x3C, + 0x05, + 0x65, + 0xBF, + 0xC1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public const uint FACILITY_WINCODEC_ERR = 2200; + + public const uint WINCODEC_ERR_BASE = 8192; + + public const int WINCODEC_ERR_GENERIC_ERROR = -2147467259; + + public const int WINCODEC_ERR_INVALIDPARAMETER = -2147024809; + + public const int WINCODEC_ERR_OUTOFMEMORY = -2147024882; + + public const int WINCODEC_ERR_NOTIMPLEMENTED = -2147467263; + + public const int WINCODEC_ERR_ABORTED = -2147467260; + + public const int WINCODEC_ERR_ACCESSDENIED = -2147024891; + + public const uint WICRawChangeNotification_ExposureCompensation = 1; + + public const uint WICRawChangeNotification_NamedWhitePoint = 2; + + public const uint WICRawChangeNotification_KelvinWhitePoint = 4; + + public const uint WICRawChangeNotification_RGBWhitePoint = 8; + + public const uint WICRawChangeNotification_Contrast = 16; + + public const uint WICRawChangeNotification_Gamma = 32; + + public const uint WICRawChangeNotification_Sharpness = 64; + + public const uint WICRawChangeNotification_Saturation = 128; + + public const uint WICRawChangeNotification_Tint = 256; + + public const uint WICRawChangeNotification_NoiseReduction = 512; + + public const uint WICRawChangeNotification_DestinationColorContext = 1024; + + public const uint WICRawChangeNotification_ToneCurve = 2048; + + public const uint WICRawChangeNotification_Rotation = 4096; + + public const uint WICRawChangeNotification_RenderMode = 8192; + + public static ref readonly Guid GUID_MetadataFormatUnknown + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2F, 0x59, 0x5E, 0xA4, + 0x78, 0x90, + 0x7C, 0x4A, + 0xAD, + 0xB5, + 0x4E, + 0xDC, + 0x4F, + 0xD6, + 0x1B, + 0x1F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatIfd + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC6, 0x96, 0x73, 0x53, + 0x8A, 0x2D, + 0xB6, 0x4B, + 0x9B, + 0xF8, + 0x2F, + 0x0A, + 0x8E, + 0x2A, + 0x3A, + 0xDF + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatSubIfd + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x28, 0xE1, 0xA2, 0x58, + 0xB9, 0x2D, + 0x57, 0x4E, + 0xBB, + 0x14, + 0x51, + 0x77, + 0x89, + 0x1E, + 0xD3, + 0x31 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatExif + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9D, 0x4F, 0x3C, 0x1C, + 0x4A, 0xB8, + 0x7D, 0x46, + 0x94, + 0x93, + 0x36, + 0xCF, + 0xBD, + 0x59, + 0xEA, + 0x57 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatGps + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0xAB, 0x34, 0x71, + 0x51, 0x93, + 0xAD, 0x44, + 0xAF, + 0x62, + 0x44, + 0x8D, + 0xB6, + 0xB5, + 0x02, + 0xEC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatInterop + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8E, 0x6F, 0x68, 0xED, + 0x1F, 0x68, + 0x8B, 0x4C, + 0xBD, + 0x41, + 0xA8, + 0xAD, + 0xDB, + 0xF6, + 0xB3, + 0xFC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatApp0 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x28, 0x70, 0x00, 0x79, + 0x8D, 0x26, + 0xD6, 0x45, + 0xA3, + 0xC2, + 0x35, + 0x4E, + 0x6A, + 0x50, + 0x4B, + 0xC9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatApp1 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC3, 0xDF, 0xD3, 0x8F, + 0x51, 0xF9, + 0x2B, 0x49, + 0x81, + 0x7F, + 0x69, + 0xC2, + 0xE6, + 0xD9, + 0xA5, + 0xB0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatApp13 + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x56, 0x65, 0x32, + 0x02, 0xF5, + 0x54, 0x43, + 0x9C, + 0xC0, + 0x8E, + 0x3F, + 0x48, + 0xEA, + 0xF6, + 0xB5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatIPTC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x14, 0x09, 0xAB, 0x4F, + 0x29, 0xE1, + 0x87, 0x40, + 0xA1, + 0xD1, + 0xBC, + 0x81, + 0x2D, + 0x45, + 0xA7, + 0xB5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatIRB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x66, 0x0D, 0x10, 0x16, + 0x70, 0x85, + 0xB9, 0x4B, + 0xB9, + 0x2D, + 0xFD, + 0xA4, + 0xB2, + 0x3E, + 0xCE, + 0x67 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormat8BIMIPTC + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0x56, 0x10, 0x00, + 0x52, 0x08, + 0x6A, 0x4E, + 0xB1, + 0x91, + 0x5C, + 0x33, + 0xAC, + 0x5B, + 0x04, + 0x30 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormat8BIMResolutionInfo + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x30, 0x9F, 0x73, + 0xDB, 0x81, + 0xCB, 0x43, + 0xAC, + 0x5E, + 0x55, + 0x01, + 0x3E, + 0xF9, + 0xF0, + 0x03 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormat8BIMIPTCDigest + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x85, 0x22, 0xA3, 0x1C, + 0xCD, 0x9C, + 0x86, 0x47, + 0x8B, + 0xD8, + 0x79, + 0x53, + 0x9D, + 0xB6, + 0xA0, + 0x06 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatXMP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x38, 0xCC, 0x5A, 0xBB, + 0x16, 0xF2, + 0xEC, 0x4C, + 0xA6, + 0xC5, + 0x5F, + 0x6E, + 0x73, + 0x97, + 0x63, + 0xA9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatThumbnail + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE9, 0xCE, 0x3D, 0x24, + 0x03, 0x87, + 0xEE, 0x40, + 0x8E, + 0xF0, + 0x22, + 0xA6, + 0x00, + 0xB8, + 0x05, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunktEXt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0x89, 0x8D, 0x56, + 0xA9, 0xC0, + 0x23, 0x49, + 0x90, + 0x5D, + 0xDF, + 0x2B, + 0x38, + 0x23, + 0x8F, + 0xBC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatXMPStruct + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF1, 0x3C, 0x38, 0x22, + 0x17, 0xED, + 0x2E, 0x4E, + 0xAF, + 0x17, + 0xD8, + 0x5B, + 0x8F, + 0x6B, + 0x30, + 0xD0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatXMPBag + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5F, 0xCA, 0x3C, 0x83, + 0xB7, 0xDC, + 0x16, 0x45, + 0x80, + 0x6F, + 0x65, + 0x96, + 0xAB, + 0x26, + 0xDC, + 0xE4 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatXMPSeq + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xDF, 0xE8, 0x63, + 0x6C, 0xEB, + 0x6C, 0x45, + 0xA2, + 0x24, + 0xB2, + 0x5E, + 0x79, + 0x4F, + 0xD6, + 0x48 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatXMPAlt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x75, 0xA6, 0x08, 0x7B, + 0xAA, 0x91, + 0x1B, 0x48, + 0xA7, + 0x98, + 0x4D, + 0xA9, + 0x49, + 0x08, + 0x61, + 0x3B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatLSD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x03, 0x56, 0xE2, + 0x99, 0x62, + 0x29, 0x49, + 0xB9, + 0x8D, + 0x5A, + 0xC8, + 0x84, + 0xAF, + 0xBA, + 0x92 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatIMD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0xB0, 0x2B, 0xBD, + 0x52, 0x4D, + 0xDD, 0x48, + 0x96, + 0x77, + 0xDB, + 0x48, + 0x3E, + 0x85, + 0xAE, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatGCE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD8, 0xCA, 0x25, 0x2A, + 0xEB, 0xDE, + 0x69, 0x4C, + 0xA7, + 0x88, + 0x0E, + 0xC2, + 0x26, + 0x6D, + 0xCA, + 0xFD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatAPE + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0x3D, 0x04, 0x2E, + 0x67, 0xC9, + 0x05, 0x4E, + 0x87, + 0x5E, + 0x61, + 0x8B, + 0xF6, + 0x7E, + 0x85, + 0xC3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatJpegChrominance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCF, 0x0D, 0x3D, 0xF7, + 0xC6, 0xCE, + 0x85, 0x4F, + 0x9B, + 0x0E, + 0x1C, + 0x39, + 0x56, + 0xB1, + 0xBE, + 0xF7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatJpegLuminance + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x07, 0x80, 0x90, 0x86, + 0xFC, 0xED, + 0x60, 0x48, + 0x8D, + 0x4B, + 0x4E, + 0xE6, + 0xE8, + 0x3E, + 0x60, + 0x58 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatJpegComment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x33, 0x5F, 0x0E, 0x22, + 0xD3, 0xAF, + 0x4E, 0x47, + 0x9D, + 0x31, + 0x7D, + 0x4F, + 0xE7, + 0x30, + 0xF5, + 0x57 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatGifComment + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE0, 0xE0, 0xB6, 0xC4, + 0xB4, 0xCF, + 0xD3, 0x4A, + 0xAB, + 0x33, + 0x9A, + 0xAD, + 0x23, + 0x55, + 0xA3, + 0x4A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkgAMA + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA5, 0x35, 0x09, 0xF0, + 0x5D, 0x1D, + 0xD1, 0x4C, + 0x81, + 0xB2, + 0x93, + 0x24, + 0xD7, + 0xEC, + 0xA7, + 0x81 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkbKGD + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x71, 0x35, 0x4D, 0xE1, + 0x47, 0x6B, + 0xEA, 0x4D, + 0xB6, + 0x0A, + 0x87, + 0xCE, + 0x0A, + 0x78, + 0xDF, + 0xB7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkiTXt + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x29, 0xC7, 0xBE, 0xC2, + 0x68, 0x0B, + 0x77, 0x4B, + 0xAA, + 0x0E, + 0x62, + 0x95, + 0xA6, + 0xAC, + 0x18, + 0x14 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkcHRM + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5B, 0x65, 0xB3, 0x9D, + 0x42, 0x28, + 0xB3, 0x44, + 0x80, + 0x67, + 0x12, + 0xE9, + 0xB3, + 0x75, + 0x55, + 0x6A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkhIST + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x82, 0x9A, 0xC5, + 0x74, 0xDB, + 0xA4, 0x48, + 0xBD, + 0x6A, + 0xB6, + 0x9C, + 0x49, + 0x31, + 0xEF, + 0x95 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunkiCCP + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAB, 0x49, 0x43, 0xEB, + 0x85, 0xB6, + 0x0F, 0x45, + 0x91, + 0xB5, + 0xE8, + 0x02, + 0xE8, + 0x92, + 0x53, + 0x6C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunksRGB + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0xFD, 0x15, 0xC1, + 0x6F, 0xCC, + 0x3F, 0x4E, + 0x83, + 0x63, + 0x52, + 0x4B, + 0x87, + 0xC6, + 0xB0, + 0xD9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatChunktIME + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2D, 0xAE, 0x00, 0x6B, + 0x4B, 0xE2, + 0x0A, 0x46, + 0x98, + 0xB6, + 0x87, + 0x8B, + 0xD0, + 0x30, + 0x72, + 0xFD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatDds + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x03, 0x46, 0x06, 0x4A, + 0x33, 0x8C, + 0x60, 0x4E, + 0x9C, + 0x29, + 0x13, + 0x62, + 0x31, + 0x70, + 0x2D, + 0x08 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatHeif + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE1, 0xF3, 0x7E, 0x81, + 0x88, 0x12, + 0xF4, 0x45, + 0xA8, + 0x52, + 0x26, + 0x0D, + 0x9E, + 0x7C, + 0xCE, + 0x83 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatHeifHDR + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8A, 0x8D, 0x8B, 0x56, + 0x65, 0x1E, + 0x8C, 0x43, + 0x89, + 0x68, + 0xD6, + 0x0E, + 0x10, + 0x12, + 0xBE, + 0xB9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatWebpANIM + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0xFD, 0xC4, 0x6D, + 0xE6, 0x78, + 0x02, 0x41, + 0xAE, + 0x35, + 0xBC, + 0xFA, + 0x1E, + 0xDC, + 0xC7, + 0x8B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid GUID_MetadataFormatWebpANMF + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEE, 0x05, 0xC1, 0x43, + 0x3B, 0xB9, + 0xBB, 0x4A, + 0xB0, + 0x03, + 0xA0, + 0x8C, + 0x0D, + 0x87, + 0x04, + 0x71 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICUnknownMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0x45, 0x97, 0x69, + 0x66, 0x50, + 0x82, 0x4B, + 0xA8, + 0xE3, + 0xD4, + 0x04, + 0x78, + 0xDB, + 0xEC, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICUnknownMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0xCA, 0x9C, 0xA0, + 0xBA, 0x27, + 0x39, 0x4F, + 0x90, + 0x53, + 0x12, + 0x1F, + 0xA4, + 0xDC, + 0x08, + 0xFC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp0MetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA2, 0x33, 0xC6, 0xF3, + 0xC8, 0x46, + 0x8E, 0x49, + 0x8F, + 0xBB, + 0xCC, + 0x6F, + 0x72, + 0x1B, + 0xBC, + 0xDE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp0MetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x33, 0x4B, 0x32, 0x43, + 0x8F, 0xA7, + 0x0F, 0x48, + 0x91, + 0x11, + 0x96, + 0x38, + 0xAA, + 0xCC, + 0xC8, + 0x32 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp1MetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x69, 0x60, 0x36, 0xEE, + 0x32, 0x18, + 0x0F, 0x42, + 0xB3, + 0x81, + 0x04, + 0x79, + 0xAD, + 0x06, + 0x6F, + 0x19 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp1MetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x13, 0x35, 0xE3, 0xDD, + 0x4E, 0x77, + 0xCD, 0x4B, + 0xAE, + 0x79, + 0x02, + 0xF4, + 0xAD, + 0xFE, + 0x62, + 0xFC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp13MetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0xA9, 0x19, 0x7B, + 0xD6, 0xA9, + 0xE5, 0x49, + 0xBD, + 0x45, + 0x02, + 0xC3, + 0x4E, + 0x4E, + 0x4C, + 0xD5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICApp13MetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x50, 0x3C, 0x7E, 0xAA, + 0x4C, 0x86, + 0x04, 0x46, + 0xBC, + 0x04, + 0x8B, + 0x0B, + 0x76, + 0xE6, + 0x37, + 0xF6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIfdMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x56, 0x46, 0x91, 0x8F, + 0x0A, 0x9D, + 0xB2, 0x4E, + 0x90, + 0x19, + 0x0B, + 0xF9, + 0x6D, + 0x8A, + 0x9E, + 0xE6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIfdMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x28, 0xFC, 0xEB, 0xB1, + 0xBD, 0xC9, + 0xA2, 0x47, + 0x8D, + 0x33, + 0xB9, + 0x48, + 0x76, + 0x97, + 0x77, + 0xA7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICSubIfdMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x09, 0x2F, 0xD4, 0x50, + 0xD1, 0xEC, + 0x41, 0x4B, + 0xB6, + 0x5D, + 0xDA, + 0x1F, + 0xDA, + 0xA7, + 0x56, + 0x63 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICSubIfdMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x86, 0x53, 0xDE, 0x8A, + 0x9B, 0x8E, + 0x4C, 0x4F, + 0xAC, + 0xF2, + 0xF0, + 0x00, + 0x87, + 0x06, + 0xB2, + 0x38 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICExifMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x60, 0x38, 0x40, 0xD9, + 0x7F, 0x29, + 0x49, 0x4A, + 0xBF, + 0x9B, + 0x77, + 0x89, + 0x81, + 0x50, + 0xA4, + 0x42 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICExifMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDA, 0x4C, 0xA1, 0xC9, + 0x39, 0xC3, + 0x0B, 0x46, + 0x90, + 0x78, + 0xD4, + 0xDE, + 0xBC, + 0xFA, + 0xBE, + 0x91 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGpsMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0B, 0x79, 0x97, 0x36, + 0x3B, 0x22, + 0x4E, 0x48, + 0x99, + 0x25, + 0xC4, + 0x86, + 0x92, + 0x18, + 0xF1, + 0x7A + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGpsMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE4, 0x13, 0x8C, 0xCB, + 0xB5, 0x62, + 0x96, 0x4C, + 0xA4, + 0x8B, + 0x6B, + 0xA6, + 0xAC, + 0xE3, + 0x9C, + 0x76 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICInteropMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x98, 0xB8, 0xC8, 0xB5, + 0x74, 0x00, + 0x9F, 0x45, + 0xB7, + 0x00, + 0x86, + 0x0D, + 0x46, + 0x51, + 0xEA, + 0x14 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICInteropMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x45, 0xC6, 0x2E, 0x12, + 0x7E, 0xCD, + 0xD8, 0x44, + 0xB1, + 0x86, + 0x2C, + 0x8C, + 0x20, + 0xC3, + 0xB5, + 0x0F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICThumbnailMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0x29, 0x01, 0xFB, + 0xF6, 0xF4, + 0xD7, 0x44, + 0x9D, + 0x09, + 0xDA, + 0xA0, + 0x87, + 0xA9, + 0xDB, + 0x57 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICThumbnailMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0xB2, 0x49, 0xD0, + 0xD0, 0x5D, + 0xFE, 0x44, + 0xB0, + 0xB3, + 0x8F, + 0x92, + 0xC8, + 0xE6, + 0xD0, + 0x80 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIPTCMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x59, 0x29, 0x01, 0x03, + 0xF6, 0xF4, + 0xD7, 0x44, + 0x9D, + 0x09, + 0xDA, + 0xA0, + 0x87, + 0xA9, + 0xDB, + 0x57 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIPTCMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0xB2, 0x49, 0x12, + 0xD0, 0x5D, + 0xFE, 0x44, + 0xB0, + 0xB3, + 0x8F, + 0x92, + 0xC8, + 0xE6, + 0xD0, + 0x80 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIRBMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xD7, 0xD3, 0xDC, 0xD4, + 0xC2, 0xB4, + 0xD9, 0x47, + 0xA6, + 0xBF, + 0xB8, + 0x9B, + 0xA3, + 0x96, + 0xA4, + 0xA3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIRBMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x35, 0x19, 0x5C, 0x5C, + 0x35, 0x02, + 0x34, 0x44, + 0x80, + 0xBC, + 0x25, + 0x1B, + 0xC1, + 0xEC, + 0x39, + 0xC6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMIPTCMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0x66, 0x10, 0x00, + 0x01, 0x08, + 0xA6, 0x4D, + 0xA4, + 0xA4, + 0x82, + 0x65, + 0x22, + 0xB6, + 0xD2, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMIPTCMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x26, 0x82, 0x10, 0x00, + 0x41, 0xEE, + 0xA2, 0x44, + 0x9E, + 0x9C, + 0x4B, + 0xE4, + 0xD5, + 0xB1, + 0xD2, + 0xCD + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMResolutionInfoMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7A, 0x13, 0x05, 0x58, + 0x48, 0xE3, + 0x7C, 0x4F, + 0xB3, + 0xCC, + 0x6D, + 0xB9, + 0x96, + 0x5A, + 0x05, + 0x99 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMResolutionInfoMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0E, 0xFE, 0xF2, 0x4F, + 0x4A, 0xE7, + 0x71, 0x4B, + 0x98, + 0xC4, + 0xAB, + 0x7D, + 0xC1, + 0x67, + 0x07, + 0xBA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMIPTCDigestMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1E, 0x5F, 0x80, 0x02, + 0xAA, 0xD5, + 0x5B, 0x41, + 0x82, + 0xC5, + 0x61, + 0xC0, + 0x33, + 0xA9, + 0x88, + 0xA6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WIC8BIMIPTCDigestMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x2B, 0xE6, 0xB5, 0x2D, + 0x67, 0x0D, + 0x5F, 0x49, + 0x8F, + 0x9D, + 0xC2, + 0xF0, + 0x18, + 0x86, + 0x47, + 0xAC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngTextMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCC, 0xAF, 0x59, 0x4B, + 0xC3, 0xB8, + 0x8A, 0x40, + 0xB6, + 0x70, + 0x89, + 0xE5, + 0xFA, + 0xB6, + 0xFD, + 0xA7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngTextMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB9, 0xAF, 0xEB, 0xB5, + 0x3E, 0x25, + 0x72, 0x4A, + 0xA7, + 0x44, + 0x07, + 0x62, + 0xD2, + 0x68, + 0x56, + 0x83 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDF, 0x24, 0xB6, 0x72, + 0x11, 0xAE, + 0x48, 0x49, + 0xA6, + 0x5C, + 0x35, + 0x1E, + 0xB0, + 0x82, + 0x94, + 0x19 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4E, 0xE1, 0x65, 0x17, + 0xD4, 0x1B, + 0x2E, 0x46, + 0xB6, + 0xB1, + 0x59, + 0x0B, + 0xF1, + 0x26, + 0x2A, + 0xC6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPStructMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9A, 0x0D, 0xB9, 0x01, + 0x09, 0x82, + 0xF7, 0x47, + 0x9C, + 0x52, + 0xE1, + 0x24, + 0x4B, + 0xF5, + 0x0C, + 0xED + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPStructMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x93, 0x1F, 0xC2, 0x22, + 0xDB, 0x7D, + 0x1C, 0x41, + 0x9B, + 0x17, + 0xC5, + 0xB7, + 0xBD, + 0x06, + 0x4A, + 0xBC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPBagMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x30, 0x9A, 0xE7, 0xE7, + 0x2C, 0x4F, + 0xAB, 0x4F, + 0x8D, + 0x00, + 0x39, + 0x4F, + 0x2D, + 0x6B, + 0xBE, + 0xBE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPBagMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x8C, 0x2C, 0x82, 0xED, + 0xBE, 0xD6, + 0x01, 0x43, + 0xA6, + 0x31, + 0x0E, + 0x14, + 0x16, + 0xBA, + 0xD2, + 0x8F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPSeqMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x53, 0xE7, 0x12, 0x7F, + 0x71, 0xFC, + 0xD7, 0x43, + 0xA5, + 0x1D, + 0x92, + 0xF3, + 0x59, + 0x77, + 0xAB, + 0xB5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPSeqMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xDE, 0xD1, 0x68, 0x6D, + 0x32, 0xD4, + 0x0F, 0x4B, + 0x92, + 0x3A, + 0x09, + 0x11, + 0x83, + 0xA9, + 0xBD, + 0xA7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPAltMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC2, 0xDC, 0x94, 0xAA, + 0xB0, 0xB8, + 0x98, 0x48, + 0xB8, + 0x35, + 0x00, + 0x0A, + 0xAB, + 0xD7, + 0x43, + 0x93 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICXMPAltMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6C, 0x2A, 0x6C, 0x07, + 0x8F, 0xF7, + 0x46, 0x4C, + 0xA7, + 0x23, + 0x35, + 0x83, + 0xE7, + 0x08, + 0x76, + 0xEA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICLSDMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x93, 0x07, 0x07, 0x41, + 0xE4, 0x59, + 0x9A, 0x47, + 0xA1, + 0xF7, + 0x95, + 0x4A, + 0xDC, + 0x2E, + 0xF5, + 0xFC + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICLSDMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xE7, 0x37, 0xC0, 0x73, + 0xD9, 0xE5, + 0x54, 0x49, + 0x87, + 0x6A, + 0x6D, + 0xA8, + 0x1D, + 0x6E, + 0x57, + 0x68 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGCEMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5D, 0x34, 0x2E, 0xB9, + 0x2D, 0xF5, + 0xF3, 0x41, + 0xB5, + 0x62, + 0x08, + 0x1B, + 0xC7, + 0x72, + 0xE3, + 0xB9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGCEMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x76, 0xDC, 0x95, 0xAF, + 0xB2, 0x16, + 0xF4, 0x47, + 0xB3, + 0xEA, + 0x3C, + 0x31, + 0x79, + 0x66, + 0x93, + 0xE7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIMDMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x67, 0xA2, 0x47, 0x74, + 0x15, 0x00, + 0xC8, 0x42, + 0xA8, + 0xF1, + 0xFB, + 0x3B, + 0x94, + 0xC6, + 0x83, + 0x61 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICIMDMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x1F, 0x07, 0x89, 0x8C, + 0x2E, 0x45, + 0x95, 0x4E, + 0x96, + 0x82, + 0x9D, + 0x10, + 0x24, + 0x62, + 0x71, + 0x72 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICAPEMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3A, 0xB9, 0x67, 0x17, + 0x21, 0xB0, + 0xEA, 0x44, + 0x92, + 0x0F, + 0x86, + 0x3C, + 0x11, + 0xF4, + 0xF7, + 0x68 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICAPEMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCA, 0xDF, 0x6E, 0xBD, + 0x90, 0x28, + 0x2F, 0x48, + 0xB2, + 0x33, + 0x8D, + 0x73, + 0x39, + 0xA1, + 0xCF, + 0x8D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegChrominanceMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x4B, 0x90, 0xB1, 0x50, + 0x8F, 0xF2, + 0x74, 0x45, + 0x93, + 0xF4, + 0x0B, + 0xAD, + 0xE8, + 0x2C, + 0x69, + 0xE9 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegChrominanceMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xF0, 0x66, 0xF5, 0x3F, + 0x6B, 0x6E, + 0xD4, 0x49, + 0x96, + 0xE6, + 0xB7, + 0x88, + 0x86, + 0x69, + 0x2C, + 0x62 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegLuminanceMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x88, 0x2F, 0x6F, 0x35, + 0xA6, 0x05, + 0x28, 0x47, + 0xB9, + 0xA4, + 0x1B, + 0xFB, + 0xCE, + 0x04, + 0xD8, + 0x38 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegLuminanceMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBC, 0x3A, 0x58, 0x1D, + 0x0E, 0x8A, + 0x57, 0x46, + 0x99, + 0x82, + 0xA3, + 0x80, + 0xCA, + 0x58, + 0xFB, + 0x4B + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegCommentMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x7C, 0x34, 0x66, 0x9F, + 0xC4, 0x60, + 0x4D, 0x4C, + 0xAB, + 0x58, + 0xD2, + 0x35, + 0x86, + 0x85, + 0xF6, + 0x07 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICJpegCommentMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x6F, 0x23, 0x73, 0xE5, + 0xB1, 0x55, + 0xDA, 0x4E, + 0x81, + 0xEA, + 0x9F, + 0x65, + 0xDB, + 0x02, + 0x90, + 0xD3 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGifCommentMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3B, 0x7D, 0x55, 0x32, + 0xDC, 0x69, + 0x95, 0x4F, + 0x83, + 0x6E, + 0xF5, + 0x97, + 0x2B, + 0x2F, + 0x61, + 0x59 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICGifCommentMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFC, 0x97, 0x27, 0xA0, + 0xAE, 0xC4, + 0x8C, 0x41, + 0xAF, + 0x95, + 0xE6, + 0x37, + 0xC7, + 0xEA, + 0xD2, + 0xA1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngGamaMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x39, 0xCA, 0x92, 0x36, + 0x82, 0xE0, + 0x50, 0x43, + 0x9E, + 0x1F, + 0x37, + 0x04, + 0xCB, + 0x08, + 0x3C, + 0xD5 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngGamaMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x13, 0x6D, 0x03, 0xFF, + 0x4B, 0x5D, + 0xDD, 0x46, + 0xB1, + 0x0F, + 0x10, + 0x66, + 0x93, + 0xD9, + 0xFE, + 0x4F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngBkgdMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xA6, 0xA4, 0xE7, 0x0C, + 0xE8, 0x03, + 0x60, 0x4A, + 0x9D, + 0x15, + 0x28, + 0x2E, + 0xF3, + 0x2E, + 0xE7, + 0xDA + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngBkgdMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFD, 0xF2, 0xE3, 0x68, + 0xAE, 0x31, + 0x41, 0x44, + 0xBB, + 0x6A, + 0xFD, + 0x70, + 0x47, + 0x52, + 0x5F, + 0x90 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngItxtMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFA, 0xB2, 0xBF, 0xAA, + 0x1E, 0x3E, + 0x8F, 0x4A, + 0x89, + 0x77, + 0x55, + 0x56, + 0xFB, + 0x94, + 0xEA, + 0x23 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngItxtMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x19, 0x97, 0x87, 0x31, + 0x51, 0xE7, + 0xF8, 0x4D, + 0x98, + 0x1D, + 0x68, + 0xDF, + 0xF6, + 0x77, + 0x04, + 0xED + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngChrmMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x36, 0x5F, 0x0B, 0xF9, + 0x7B, 0x36, + 0x2A, 0x40, + 0x9D, + 0xD1, + 0xBC, + 0x0F, + 0xD5, + 0x9D, + 0x8F, + 0x62 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngChrmMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xEB, 0xE3, 0x3C, 0xE2, + 0x08, 0x56, + 0x83, 0x4E, + 0xBC, + 0xEF, + 0x27, + 0xB1, + 0x98, + 0x7E, + 0x51, + 0xD7 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngHistMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xB7, 0x0B, 0x7A, 0x87, + 0x13, 0xA3, + 0x91, 0x44, + 0x87, + 0xB5, + 0x2E, + 0x6D, + 0x05, + 0x94, + 0xF5, + 0x20 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngHistMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x49, 0xE7, 0x03, 0x8A, + 0x2E, 0x67, + 0x6E, 0x44, + 0xBF, + 0x1F, + 0x2C, + 0x11, + 0xD2, + 0x33, + 0xB6, + 0xFF + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngIccpMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3B, 0xE6, 0xD3, 0xF5, + 0x0F, 0xCB, + 0x28, 0x46, + 0xA4, + 0x78, + 0x6D, + 0x82, + 0x44, + 0xBE, + 0x36, + 0xB1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngIccpMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x5F, 0x1E, 0x67, 0x16, + 0xE6, 0x0C, + 0xC4, 0x4C, + 0x97, + 0x68, + 0xE8, + 0x9F, + 0xE5, + 0x01, + 0x8A, + 0xDE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngSrgbMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x0C, 0x36, 0x40, 0xFB, + 0x7E, 0x54, + 0x56, 0x49, + 0xA3, + 0xB9, + 0xD4, + 0x41, + 0x88, + 0x59, + 0xBA, + 0x66 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngSrgbMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xC6, 0x35, 0xEE, 0xA6, + 0xEC, 0x87, + 0xDF, 0x47, + 0x9F, + 0x22, + 0x1D, + 0x5A, + 0xAD, + 0x84, + 0x0C, + 0x82 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngTimeMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x02, 0xDF, 0x4E, 0xD9, + 0xE5, 0xEF, + 0x0D, 0x4F, + 0x85, + 0xC8, + 0xF5, + 0xA6, + 0x8B, + 0x30, + 0x00, + 0xB1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICPngTimeMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x00, 0x84, 0xB7, 0x1A, + 0xA3, 0xB5, + 0x91, 0x4D, + 0x8A, + 0xCE, + 0x33, + 0xFC, + 0xD1, + 0x49, + 0x9B, + 0xE6 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICDdsMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xCA, 0x88, 0x6C, 0x27, + 0x33, 0x75, + 0x86, 0x4A, + 0xB6, + 0x76, + 0x66, + 0xB3, + 0x60, + 0x80, + 0xD4, + 0x84 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICDdsMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xBD, 0x8B, 0x68, 0xFD, + 0xED, 0x31, + 0xB7, 0x4D, + 0xA7, + 0x23, + 0x93, + 0x49, + 0x27, + 0xD3, + 0x83, + 0x67 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICHeifMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3F, 0xFC, 0xDD, 0xAC, + 0xEC, 0x85, + 0xBC, 0x41, + 0xBD, + 0xEF, + 0x1B, + 0xC2, + 0x62, + 0xE4, + 0xDB, + 0x05 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICHeifMetadataWriter + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x79, 0x5E, 0xE4, 0x3A, + 0xBC, 0x40, + 0x01, 0x44, + 0xAC, + 0xE5, + 0xDD, + 0x3C, + 0xB1, + 0x6E, + 0x6A, + 0xFE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICHeifHDRMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x3D, 0xDE, 0x38, 0x24, + 0xD9, 0x94, + 0xE8, 0x4B, + 0x84, + 0xA8, + 0x4D, + 0xE9, + 0x5A, + 0x57, + 0x5E, + 0x75 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICWebpAnimMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x11, 0x99, 0x6F, 0x07, + 0x48, 0xA3, + 0x5C, 0x46, + 0xA8, + 0x07, + 0xA2, + 0x52, + 0xF3, + 0xF2, + 0xD3, + 0xDE + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_WICWebpAnmfMetadataReader + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x03, 0x0B, 0xA1, 0x85, + 0xF6, 0xC9, + 0x9F, 0x43, + 0xBE, + 0x5E, + 0xC0, + 0xFB, + 0xEF, + 0x67, + 0x80, + 0x7C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } +} + diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmap.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmap.cs index c19ea27..b17ac9a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmap.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmap.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmap [Guid("00000121-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmap : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICBitmap +public unsafe partial struct IWICBitmap : INativeGuid { public static ref readonly Guid IID_IWICBitmap { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmap } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmap)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmap)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmap return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmap*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Lock(System.Drawing.Rectangle* prcLock, WICBitmapLockFlags flags, IWICBitmapLock** ppILock) @@ -118,7 +122,7 @@ public unsafe partial struct IWICBitmap return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICBitmap*)Unsafe.AsPointer(ref this), prcLock, flags, ppILock); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetPalette(IWICPalette* pIPalette) @@ -126,7 +130,7 @@ public unsafe partial struct IWICBitmap return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICBitmap*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetResolution(double dpiX, double dpiY) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapClipper.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapClipper.cs index 7b9b597..8980e6e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapClipper.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapClipper.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapClipper [Guid("e4fbcf03-223d-4e81-9333-d635556dd1b5")] [NativeTypeName("struct IWICBitmapClipper : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICBitmapClipper +public unsafe partial struct IWICBitmapClipper : INativeGuid { public static ref readonly Guid IID_IWICBitmapClipper { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapClipper } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapClipper)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapClipper)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapClipper return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapClipper*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource* pISource, System.Drawing.Rectangle* prc) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecInfo.cs index cc1a175..f2382c7 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapCodecInfo [Guid("e87a44c4-b76e-4c47-8b09-298eb12a2714")] [NativeTypeName("struct IWICBitmapCodecInfo : IWICComponentInfo")] [NativeInheritance("IWICComponentInfo")] -public unsafe partial struct IWICBitmapCodecInfo +public unsafe partial struct IWICBitmapCodecInfo : INativeGuid { public static ref readonly Guid IID_IWICBitmapCodecInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapCodecInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapCodecInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapCodecInfo)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchFriendlyName, wzFriendlyName, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetContainerFormat(Guid* pguidContainerFormat) @@ -142,7 +146,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), pguidContainerFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetPixelFormats(uint cFormats, Guid* pguidPixelFormats, uint* pcActual) @@ -150,7 +154,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cFormats, pguidPixelFormats, pcActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetColorManagementVersion(uint cchColorManagementVersion, ushort* wzColorManagementVersion, uint* pcchActual) @@ -158,7 +162,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchColorManagementVersion, wzColorManagementVersion, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetDeviceManufacturer(uint cchDeviceManufacturer, ushort* wzDeviceManufacturer, uint* pcchActual) @@ -166,7 +170,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchDeviceManufacturer, wzDeviceManufacturer, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetDeviceModels(uint cchDeviceModels, ushort* wzDeviceModels, uint* pcchActual) @@ -174,7 +178,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchDeviceModels, wzDeviceModels, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult GetMimeTypes(uint cchMimeTypes, ushort* wzMimeTypes, uint* pcchActual) @@ -182,7 +186,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchMimeTypes, wzMimeTypes, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetFileExtensions(uint cchFileExtensions, ushort* wzFileExtensions, uint* pcchActual) @@ -190,7 +194,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), cchFileExtensions, wzFileExtensions, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult DoesSupportAnimation(Bool32* pfSupportAnimation) @@ -198,7 +202,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), pfSupportAnimation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult DoesSupportChromakey(Bool32* pfSupportChromakey) @@ -206,7 +210,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), pfSupportChromakey); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult DoesSupportLossless(Bool32* pfSupportLossless) @@ -214,7 +218,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), pfSupportLossless); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult DoesSupportMultiframe(Bool32* pfSupportMultiframe) @@ -222,7 +226,7 @@ public unsafe partial struct IWICBitmapCodecInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IWICBitmapCodecInfo*)Unsafe.AsPointer(ref this), pfSupportMultiframe); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult MatchesMimeType(ushort* wzMimeType, Bool32* pfMatches) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecProgressNotification.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecProgressNotification.cs index 8937171..d3a4f9b 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecProgressNotification.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapCodecProgressNotification.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapCodecProgressNotification [Guid("64c1024e-c3cf-4462-8078-88c2b11c46d9")] [NativeTypeName("struct IWICBitmapCodecProgressNotification : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapCodecProgressNotification +public unsafe partial struct IWICBitmapCodecProgressNotification : INativeGuid { public static ref readonly Guid IID_IWICBitmapCodecProgressNotification { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapCodecProgressNotification } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapCodecProgressNotification)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapCodecProgressNotification)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapCodecProgressNotification return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult RegisterProgressNotification(delegate* unmanaged[Stdcall] pfnProgressNotification, void* pvData, uint dwProgressFlags) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoder.cs index 2763777..a70f842 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapDecoder [Guid("9edde9e7-8dee-47ea-99df-e6faf2ed44bf")] [NativeTypeName("struct IWICBitmapDecoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapDecoder +public unsafe partial struct IWICBitmapDecoder : INativeGuid { public static ref readonly Guid IID_IWICBitmapDecoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapDecoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapDecoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapDecoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult QueryCapability(Com.IStream* pIStream, uint* pdwCapability) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), pIStream, pdwCapability); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Initialize(Com.IStream* pIStream, WICDecodeOptions cacheOptions) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), pIStream, cacheOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetContainerFormat(Guid* pguidContainerFormat) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), pguidContainerFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetDecoderInfo(IWICBitmapDecoderInfo** ppIDecoderInfo) @@ -102,7 +106,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), ppIDecoderInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CopyPalette(IWICPalette* pIPalette) @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetMetadataQueryReader(IWICMetadataQueryReader** ppIMetadataQueryReader) @@ -118,7 +122,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), ppIMetadataQueryReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetPreview(IWICBitmapSource** ppIBitmapSource) @@ -126,7 +130,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), ppIBitmapSource); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetColorContexts(uint cCount, IWICColorContext** ppIColorContexts, uint* pcActualCount) @@ -134,7 +138,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), cCount, ppIColorContexts, pcActualCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetThumbnail(IWICBitmapSource** ppIThumbnail) @@ -142,7 +146,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), ppIThumbnail); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetFrameCount(uint* pCount) @@ -150,7 +154,7 @@ public unsafe partial struct IWICBitmapDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICBitmapDecoder*)Unsafe.AsPointer(ref this), pCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetFrame(uint index, IWICBitmapFrameDecode** ppIBitmapFrame) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoderInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoderInfo.cs index d423f3e..8d47c92 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoderInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapDecoderInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapDecoderInfo [Guid("d8cd007f-d08f-4191-9bfc-236ea7f0e4b5")] [NativeTypeName("struct IWICBitmapDecoderInfo : IWICBitmapCodecInfo")] [NativeInheritance("IWICBitmapCodecInfo")] -public unsafe partial struct IWICBitmapDecoderInfo +public unsafe partial struct IWICBitmapDecoderInfo : INativeGuid { public static ref readonly Guid IID_IWICBitmapDecoderInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapDecoderInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapDecoderInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapDecoderInfo)); +#endif public void** lpVtbl; @@ -230,7 +234,7 @@ public unsafe partial struct IWICBitmapDecoderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IWICBitmapDecoderInfo*)Unsafe.AsPointer(ref this), wzMimeType, pfMatches); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult GetPatterns(uint cbSizePatterns, WICBitmapPattern* pPatterns, uint* pcPatterns, uint* pcbPatternsActual) @@ -238,7 +242,7 @@ public unsafe partial struct IWICBitmapDecoderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IWICBitmapDecoderInfo*)Unsafe.AsPointer(ref this), cbSizePatterns, pPatterns, pcPatterns, pcbPatternsActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult MatchesPattern(Com.IStream* pIStream, Bool32* pfMatches) @@ -246,7 +250,7 @@ public unsafe partial struct IWICBitmapDecoderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IWICBitmapDecoderInfo*)Unsafe.AsPointer(ref this), pIStream, pfMatches); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CreateInstance(IWICBitmapDecoder** ppIBitmapDecoder) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoder.cs index 05d009f..d4f0277 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapEncoder [Guid("00000103-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmapEncoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapEncoder +public unsafe partial struct IWICBitmapEncoder : INativeGuid { public static ref readonly Guid IID_IWICBitmapEncoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapEncoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapEncoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapEncoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Initialize(Com.IStream* pIStream, WICBitmapEncoderCacheOption cacheOption) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), pIStream, cacheOption); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetContainerFormat(Guid* pguidContainerFormat) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), pguidContainerFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetEncoderInfo(IWICBitmapEncoderInfo** ppIEncoderInfo) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), ppIEncoderInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetColorContexts(uint cCount, IWICColorContext** ppIColorContext) @@ -102,7 +106,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), cCount, ppIColorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetPalette(IWICPalette* pIPalette) @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetThumbnail(IWICBitmapSource* pIThumbnail) @@ -118,7 +122,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), pIThumbnail); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetPreview(IWICBitmapSource* pIPreview) @@ -126,7 +130,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), pIPreview); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateNewFrame(IWICBitmapFrameEncode** ppIFrameEncode, Com.IPropertyBag2** ppIEncoderOptions) @@ -134,7 +138,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this), ppIFrameEncode, ppIEncoderOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult Commit() @@ -142,7 +146,7 @@ public unsafe partial struct IWICBitmapEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICBitmapEncoder*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoderInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoderInfo.cs index 51b7c2b..8ad8ab1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoderInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapEncoderInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapEncoderInfo [Guid("94c9b4ee-a09f-4f92-8a1e-4a9bce7e76fb")] [NativeTypeName("struct IWICBitmapEncoderInfo : IWICBitmapCodecInfo")] [NativeInheritance("IWICBitmapCodecInfo")] -public unsafe partial struct IWICBitmapEncoderInfo +public unsafe partial struct IWICBitmapEncoderInfo : INativeGuid { public static ref readonly Guid IID_IWICBitmapEncoderInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapEncoderInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapEncoderInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapEncoderInfo)); +#endif public void** lpVtbl; @@ -230,7 +234,7 @@ public unsafe partial struct IWICBitmapEncoderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IWICBitmapEncoderInfo*)Unsafe.AsPointer(ref this), wzMimeType, pfMatches); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult CreateInstance(IWICBitmapEncoder** ppIBitmapEncoder) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFlipRotator.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFlipRotator.cs index c306f50..5cdbba9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFlipRotator.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFlipRotator.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapFlipRotator [Guid("5009834f-2d6a-41ce-9e1b-17c5aff7a782")] [NativeTypeName("struct IWICBitmapFlipRotator : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICBitmapFlipRotator +public unsafe partial struct IWICBitmapFlipRotator : INativeGuid { public static ref readonly Guid IID_IWICBitmapFlipRotator { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapFlipRotator } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFlipRotator)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFlipRotator)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapFlipRotator return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapFlipRotator*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource* pISource, WICBitmapTransformOptions options) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameDecode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameDecode.cs index da978e1..2dd4352 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameDecode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameDecode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapFrameDecode [Guid("3b16811b-6a43-4ec9-a813-3d930c13b940")] [NativeTypeName("struct IWICBitmapFrameDecode : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICBitmapFrameDecode +public unsafe partial struct IWICBitmapFrameDecode : INativeGuid { public static ref readonly Guid IID_IWICBitmapFrameDecode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapFrameDecode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFrameDecode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFrameDecode)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapFrameDecode*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetMetadataQueryReader(IWICMetadataQueryReader** ppIMetadataQueryReader) @@ -118,7 +122,7 @@ public unsafe partial struct IWICBitmapFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICBitmapFrameDecode*)Unsafe.AsPointer(ref this), ppIMetadataQueryReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetColorContexts(uint cCount, IWICColorContext** ppIColorContexts, uint* pcActualCount) @@ -126,7 +130,7 @@ public unsafe partial struct IWICBitmapFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICBitmapFrameDecode*)Unsafe.AsPointer(ref this), cCount, ppIColorContexts, pcActualCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetThumbnail(IWICBitmapSource** ppIThumbnail) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameEncode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameEncode.cs index a4b1128..ca518dc 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameEncode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapFrameEncode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapFrameEncode [Guid("00000105-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmapFrameEncode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapFrameEncode +public unsafe partial struct IWICBitmapFrameEncode : INativeGuid { public static ref readonly Guid IID_IWICBitmapFrameEncode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapFrameEncode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFrameEncode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapFrameEncode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Initialize(Com.IPropertyBag2* pIEncoderOptions) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), pIEncoderOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetSize(uint uiWidth, uint uiHeight) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), uiWidth, uiHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetResolution(double dpiX, double dpiY) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), dpiX, dpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult SetPixelFormat(Guid* pPixelFormat) @@ -102,7 +106,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), pPixelFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetColorContexts(uint cCount, IWICColorContext** ppIColorContext) @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), cCount, ppIColorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult SetPalette(IWICPalette* pIPalette) @@ -118,7 +122,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetThumbnail(IWICBitmapSource* pIThumbnail) @@ -126,7 +130,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), pIThumbnail); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult WritePixels(uint lineCount, uint cbStride, uint cbBufferSize, byte* pbPixels) @@ -134,7 +138,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), lineCount, cbStride, cbBufferSize, pbPixels); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult WriteSource(IWICBitmapSource* pIBitmapSource, System.Drawing.Rectangle* prc) @@ -142,7 +146,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this), pIBitmapSource, prc); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult Commit() @@ -150,7 +154,7 @@ public unsafe partial struct IWICBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICBitmapFrameEncode*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapLock.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapLock.cs index 252a9d9..abec368 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapLock.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapLock.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapLock [Guid("00000123-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmapLock : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapLock +public unsafe partial struct IWICBitmapLock : INativeGuid { public static ref readonly Guid IID_IWICBitmapLock { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapLock } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapLock)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapLock)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapLock return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetSize(uint* puiWidth, uint* puiHeight) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapLock return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapLock*)Unsafe.AsPointer(ref this), puiWidth, puiHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetStride(uint* pcbStride) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapLock return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapLock*)Unsafe.AsPointer(ref this), pcbStride); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetDataPointer(uint* pcbBufferSize, byte** ppbData) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapLock return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapLock*)Unsafe.AsPointer(ref this), pcbBufferSize, ppbData); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetPixelFormat(Guid* pPixelFormat) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapScaler.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapScaler.cs index 0a09976..b7b6e99 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapScaler.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapScaler.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapScaler [Guid("00000302-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmapScaler : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICBitmapScaler +public unsafe partial struct IWICBitmapScaler : INativeGuid { public static ref readonly Guid IID_IWICBitmapScaler { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapScaler } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapScaler)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapScaler)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICBitmapScaler return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICBitmapScaler*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource* pISource, uint uiWidth, uint uiHeight, WICBitmapInterpolationMode mode) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSource.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSource.cs index 261a52d..2345a61 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSource.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSource.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapSource [Guid("00000120-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICBitmapSource : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapSource +public unsafe partial struct IWICBitmapSource : INativeGuid { public static ref readonly Guid IID_IWICBitmapSource { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapSource } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapSource)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapSource)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapSource return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetSize(uint* puiWidth, uint* puiHeight) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapSource return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapSource*)Unsafe.AsPointer(ref this), puiWidth, puiHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetPixelFormat(Guid* pPixelFormat) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapSource return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapSource*)Unsafe.AsPointer(ref this), pPixelFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetResolution(double* pDpiX, double* pDpiY) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapSource return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapSource*)Unsafe.AsPointer(ref this), pDpiX, pDpiY); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CopyPalette(IWICPalette* pIPalette) @@ -102,7 +106,7 @@ public unsafe partial struct IWICBitmapSource return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICBitmapSource*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CopyPixels(System.Drawing.Rectangle* prc, uint cbStride, uint cbBufferSize, byte* pbBuffer) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSourceTransform.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSourceTransform.cs index 0b42c3c..3e9863a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSourceTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICBitmapSourceTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICBitmapSourceTransform [Guid("3b16811b-6a43-4ec9-b713-3d5a0c13b940")] [NativeTypeName("struct IWICBitmapSourceTransform : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICBitmapSourceTransform +public unsafe partial struct IWICBitmapSourceTransform : INativeGuid { public static ref readonly Guid IID_IWICBitmapSourceTransform { @@ -40,7 +40,11 @@ public unsafe partial struct IWICBitmapSourceTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapSourceTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICBitmapSourceTransform)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CopyPixels(System.Drawing.Rectangle* prc, uint uiWidth, uint uiHeight, Guid* pguidDstFormat, WICBitmapTransformOptions dstTransform, uint nStride, uint cbBufferSize, byte* pbBuffer) @@ -78,7 +82,7 @@ public unsafe partial struct IWICBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICBitmapSourceTransform*)Unsafe.AsPointer(ref this), prc, uiWidth, uiHeight, pguidDstFormat, dstTransform, nStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetClosestSize(uint* puiWidth, uint* puiHeight) @@ -86,7 +90,7 @@ public unsafe partial struct IWICBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICBitmapSourceTransform*)Unsafe.AsPointer(ref this), puiWidth, puiHeight); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetClosestPixelFormat(Guid* pguidDstFormat) @@ -94,7 +98,7 @@ public unsafe partial struct IWICBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICBitmapSourceTransform*)Unsafe.AsPointer(ref this), pguidDstFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult DoesSupportTransform(WICBitmapTransformOptions dstTransform, Bool32* pfIsSupported) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorContext.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorContext.cs index 0bf63d5..a5784cc 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorContext.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorContext.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICColorContext [Guid("3c613a02-34b2-44ea-9a7c-45aea9c6fd6d")] [NativeTypeName("struct IWICColorContext : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICColorContext +public unsafe partial struct IWICColorContext : INativeGuid { public static ref readonly Guid IID_IWICColorContext { @@ -40,7 +40,11 @@ public unsafe partial struct IWICColorContext } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICColorContext)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICColorContext)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult InitializeFromFilename(ushort* wzFilename) @@ -78,7 +82,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICColorContext*)Unsafe.AsPointer(ref this), wzFilename); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult InitializeFromMemory(byte* pbBuffer, uint cbBufferSize) @@ -86,7 +90,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICColorContext*)Unsafe.AsPointer(ref this), pbBuffer, cbBufferSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult InitializeFromExifColorSpace(uint value) @@ -94,7 +98,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICColorContext*)Unsafe.AsPointer(ref this), value); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetType(WICColorContextType* pType) @@ -102,7 +106,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICColorContext*)Unsafe.AsPointer(ref this), pType); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetProfileBytes(uint cbBuffer, byte* pbBuffer, uint* pcbActual) @@ -110,7 +114,7 @@ public unsafe partial struct IWICColorContext return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICColorContext*)Unsafe.AsPointer(ref this), cbBuffer, pbBuffer, pcbActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetExifColorSpace(uint* pValue) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorTransform.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorTransform.cs index 07518a5..a829e1a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICColorTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICColorTransform [Guid("b66f034f-d0e2-40ab-b436-6de39e321a94")] [NativeTypeName("struct IWICColorTransform : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICColorTransform +public unsafe partial struct IWICColorTransform : INativeGuid { public static ref readonly Guid IID_IWICColorTransform { @@ -40,7 +40,11 @@ public unsafe partial struct IWICColorTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICColorTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICColorTransform)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICColorTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICColorTransform*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource* pIBitmapSource, IWICColorContext* pIContextSource, IWICColorContext* pIContextDest, Guid* pixelFmtDest) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentFactory.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentFactory.cs index 72391e3..6c7fcf2 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentFactory.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentFactory.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICComponentFactory [Guid("412d0c3a-9650-44fa-af5b-dd2a06c8e8fb")] [NativeTypeName("struct IWICComponentFactory : IWICImagingFactory")] [NativeInheritance("IWICImagingFactory")] -public unsafe partial struct IWICComponentFactory +public unsafe partial struct IWICComponentFactory : INativeGuid { public static ref readonly Guid IID_IWICComponentFactory { @@ -40,7 +40,11 @@ public unsafe partial struct IWICComponentFactory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICComponentFactory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICComponentFactory)); +#endif public void** lpVtbl; @@ -270,7 +274,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), pIQueryReader, pguidVendor, ppIQueryWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult CreateMetadataReader(Guid* guidMetadataFormat, Guid* pguidVendor, uint dwOptions, Com.IStream* pIStream, IWICMetadataReader** ppIReader) @@ -278,7 +282,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), guidMetadataFormat, pguidVendor, dwOptions, pIStream, ppIReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult CreateMetadataReaderFromContainer(Guid* guidContainerFormat, Guid* pguidVendor, uint dwOptions, Com.IStream* pIStream, IWICMetadataReader** ppIReader) @@ -286,7 +290,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), guidContainerFormat, pguidVendor, dwOptions, pIStream, ppIReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult CreateMetadataWriter(Guid* guidMetadataFormat, Guid* pguidVendor, uint dwMetadataOptions, IWICMetadataWriter** ppIWriter) @@ -294,7 +298,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), guidMetadataFormat, pguidVendor, dwMetadataOptions, ppIWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult CreateMetadataWriterFromReader(IWICMetadataReader* pIReader, Guid* pguidVendor, IWICMetadataWriter** ppIWriter) @@ -302,7 +306,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), pIReader, pguidVendor, ppIWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult CreateQueryReaderFromBlockReader(IWICMetadataBlockReader* pIBlockReader, IWICMetadataQueryReader** ppIQueryReader) @@ -310,7 +314,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), pIBlockReader, ppIQueryReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult CreateQueryWriterFromBlockWriter(IWICMetadataBlockWriter* pIBlockWriter, IWICMetadataQueryWriter** ppIQueryWriter) @@ -318,7 +322,7 @@ public unsafe partial struct IWICComponentFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IWICComponentFactory*)Unsafe.AsPointer(ref this), pIBlockWriter, ppIQueryWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult CreateEncoderPropertyBag(Com.PropertyBagMetadata** ppropOptions, uint cCount, Com.IPropertyBag2** ppIPropertyBag) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentInfo.cs index 6e968a1..caa7051 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICComponentInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICComponentInfo [Guid("23bc3f0a-698b-4357-886b-f24d50671334")] [NativeTypeName("struct IWICComponentInfo : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICComponentInfo +public unsafe partial struct IWICComponentInfo : INativeGuid { public static ref readonly Guid IID_IWICComponentInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICComponentInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICComponentInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICComponentInfo)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetComponentType(WICComponentType* pType) @@ -78,7 +82,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), pType); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCLSID(Guid* pclsid) @@ -86,7 +90,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), pclsid); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetSigningStatus(uint* pStatus) @@ -94,7 +98,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), pStatus); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetAuthor(uint cchAuthor, ushort* wzAuthor, uint* pcchActual) @@ -102,7 +106,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), cchAuthor, wzAuthor, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetVendorGUID(Guid* pguidVendor) @@ -110,7 +114,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), pguidVendor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetVersion(uint cchVersion, ushort* wzVersion, uint* pcchActual) @@ -118,7 +122,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), cchVersion, wzVersion, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetSpecVersion(uint cchSpecVersion, ushort* wzSpecVersion, uint* pcchActual) @@ -126,7 +130,7 @@ public unsafe partial struct IWICComponentInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICComponentInfo*)Unsafe.AsPointer(ref this), cchSpecVersion, wzSpecVersion, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetFriendlyName(uint cchFriendlyName, ushort* wzFriendlyName, uint* pcchActual) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsDecoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsDecoder.cs index 3f85214..fa36467 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsDecoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsDecoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICDdsDecoder [Guid("409cd537-8532-40cb-9774-e2feb2df4e9c")] [NativeTypeName("struct IWICDdsDecoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICDdsDecoder +public unsafe partial struct IWICDdsDecoder : INativeGuid { public static ref readonly Guid IID_IWICDdsDecoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICDdsDecoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsDecoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsDecoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICDdsDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetParameters(WICDdsParameters* pParameters) @@ -78,7 +82,7 @@ public unsafe partial struct IWICDdsDecoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICDdsDecoder*)Unsafe.AsPointer(ref this), pParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFrame(uint arrayIndex, uint mipLevel, uint sliceIndex, IWICBitmapFrameDecode** ppIBitmapFrame) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsEncoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsEncoder.cs index 8da6f8b..7caa0ec 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsEncoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsEncoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICDdsEncoder [Guid("5cacdb4c-407e-41b3-b936-d0f010cd6732")] [NativeTypeName("struct IWICDdsEncoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICDdsEncoder +public unsafe partial struct IWICDdsEncoder : INativeGuid { public static ref readonly Guid IID_IWICDdsEncoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICDdsEncoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsEncoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsEncoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICDdsEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult SetParameters(WICDdsParameters* pParameters) @@ -78,7 +82,7 @@ public unsafe partial struct IWICDdsEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICDdsEncoder*)Unsafe.AsPointer(ref this), pParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetParameters(WICDdsParameters* pParameters) @@ -86,7 +90,7 @@ public unsafe partial struct IWICDdsEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICDdsEncoder*)Unsafe.AsPointer(ref this), pParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateNewFrame(IWICBitmapFrameEncode** ppIFrameEncode, uint* pArrayIndex, uint* pMipLevel, uint* pSliceIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsFrameDecode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsFrameDecode.cs index 4b063fe..b38320f 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsFrameDecode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDdsFrameDecode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICDdsFrameDecode [Guid("3d4c0c61-18a4-41e4-bd80-481a4fc9f464")] [NativeTypeName("struct IWICDdsFrameDecode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICDdsFrameDecode +public unsafe partial struct IWICDdsFrameDecode : INativeGuid { public static ref readonly Guid IID_IWICDdsFrameDecode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICDdsFrameDecode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsFrameDecode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDdsFrameDecode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICDdsFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetSizeInBlocks(uint* pWidthInBlocks, uint* pHeightInBlocks) @@ -78,7 +82,7 @@ public unsafe partial struct IWICDdsFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICDdsFrameDecode*)Unsafe.AsPointer(ref this), pWidthInBlocks, pHeightInBlocks); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetFormatInfo(WICDdsFormatInfo* pFormatInfo) @@ -86,7 +90,7 @@ public unsafe partial struct IWICDdsFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICDdsFrameDecode*)Unsafe.AsPointer(ref this), pFormatInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CopyBlocks(System.Drawing.Rectangle* prcBoundsInBlocks, uint cbStride, uint cbBufferSize, byte* pbBuffer) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRaw.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRaw.cs index 076f753..eebb8a1 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRaw.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRaw.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICDevelopRaw [Guid("fbec5e44-f7be-4b65-b7f8-c0c81fef026d")] [NativeTypeName("struct IWICDevelopRaw : IWICBitmapFrameDecode")] [NativeInheritance("IWICBitmapFrameDecode")] -public unsafe partial struct IWICDevelopRaw +public unsafe partial struct IWICDevelopRaw : INativeGuid { public static ref readonly Guid IID_IWICDevelopRaw { @@ -40,7 +40,11 @@ public unsafe partial struct IWICDevelopRaw } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDevelopRaw)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDevelopRaw)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), ppIThumbnail); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult QueryRawCapabilitiesInfo(WICRawCapabilitiesInfo* pInfo) @@ -142,7 +146,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult LoadParameterSet(WICRawParameterSet ParameterSet) @@ -150,7 +154,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), ParameterSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetCurrentParameterSet(Com.IPropertyBag2** ppCurrentParameterSet) @@ -158,7 +162,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), ppCurrentParameterSet); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult SetExposureCompensation(double ev) @@ -166,7 +170,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), ev); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetExposureCompensation(double* pEV) @@ -174,7 +178,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pEV); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult SetWhitePointRGB(uint Red, uint Green, uint Blue) @@ -182,7 +186,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Red, Green, Blue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetWhitePointRGB(uint* pRed, uint* pGreen, uint* pBlue) @@ -190,7 +194,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pRed, pGreen, pBlue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult SetNamedWhitePoint(WICNamedWhitePoint WhitePoint) @@ -198,7 +202,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), WhitePoint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult GetNamedWhitePoint(WICNamedWhitePoint* pWhitePoint) @@ -206,7 +210,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pWhitePoint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult SetWhitePointKelvin(uint WhitePointKelvin) @@ -214,7 +218,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), WhitePointKelvin); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult GetWhitePointKelvin(uint* pWhitePointKelvin) @@ -222,7 +226,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pWhitePointKelvin); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult GetKelvinRangeInfo(uint* pMinKelvinTemp, uint* pMaxKelvinTemp, uint* pKelvinTempStepValue) @@ -230,7 +234,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pMinKelvinTemp, pMaxKelvinTemp, pKelvinTempStepValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult SetContrast(double Contrast) @@ -238,7 +242,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Contrast); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult GetContrast(double* pContrast) @@ -246,7 +250,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pContrast); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult SetGamma(double Gamma) @@ -254,7 +258,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Gamma); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult GetGamma(double* pGamma) @@ -262,7 +266,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pGamma); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult SetSharpness(double Sharpness) @@ -270,7 +274,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Sharpness); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] public HResult GetSharpness(double* pSharpness) @@ -278,7 +282,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pSharpness); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] public HResult SetSaturation(double Saturation) @@ -286,7 +290,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Saturation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] public HResult GetSaturation(double* pSaturation) @@ -294,7 +298,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pSaturation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] public HResult SetTint(double Tint) @@ -302,7 +306,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Tint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(32)] public HResult GetTint(double* pTint) @@ -310,7 +314,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pTint); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(33)] public HResult SetNoiseReduction(double NoiseReduction) @@ -318,7 +322,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), NoiseReduction); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(34)] public HResult GetNoiseReduction(double* pNoiseReduction) @@ -326,7 +330,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pNoiseReduction); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(35)] public HResult SetDestinationColorContext(IWICColorContext* pColorContext) @@ -334,7 +338,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pColorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(36)] public HResult SetToneCurve(uint cbToneCurveSize, WICRawToneCurve* pToneCurve) @@ -342,7 +346,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[36]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), cbToneCurveSize, pToneCurve); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(37)] public HResult GetToneCurve(uint cbToneCurveBufferSize, WICRawToneCurve* pToneCurve, uint* pcbActualToneCurveBufferSize) @@ -350,7 +354,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), cbToneCurveBufferSize, pToneCurve, pcbActualToneCurveBufferSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] public HResult SetRotation(double Rotation) @@ -358,7 +362,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[38]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), Rotation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(39)] public HResult GetRotation(double* pRotation) @@ -366,7 +370,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pRotation); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(40)] public HResult SetRenderMode(WICRawRenderMode RenderMode) @@ -374,7 +378,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[40]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), RenderMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(41)] public HResult GetRenderMode(WICRawRenderMode* pRenderMode) @@ -382,7 +386,7 @@ public unsafe partial struct IWICDevelopRaw return ((delegate* unmanaged[Stdcall])(lpVtbl[41]))((IWICDevelopRaw*)Unsafe.AsPointer(ref this), pRenderMode); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(42)] public HResult SetNotificationCallback(IWICDevelopRawNotificationCallback* pCallback) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRawNotificationCallback.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRawNotificationCallback.cs index a32589a..a70d7dc 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRawNotificationCallback.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICDevelopRawNotificationCallback.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICDevelopRawNotificationCallback [Guid("95c75a6e-3e8c-4ec2-85a8-aebcc551e59b")] [NativeTypeName("struct IWICDevelopRawNotificationCallback : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICDevelopRawNotificationCallback +public unsafe partial struct IWICDevelopRawNotificationCallback : INativeGuid { public static ref readonly Guid IID_IWICDevelopRawNotificationCallback { @@ -40,7 +40,11 @@ public unsafe partial struct IWICDevelopRawNotificationCallback } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDevelopRawNotificationCallback)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICDevelopRawNotificationCallback)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICDevelopRawNotificationCallback return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Notify(uint NotificationMask) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICEnumMetadataItem.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICEnumMetadataItem.cs index f7e277e..5a0cb65 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICEnumMetadataItem.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICEnumMetadataItem.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICEnumMetadataItem [Guid("dc2bb46d-3f07-481e-8625-220c4aedbb33")] [NativeTypeName("struct IWICEnumMetadataItem : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICEnumMetadataItem +public unsafe partial struct IWICEnumMetadataItem : INativeGuid { public static ref readonly Guid IID_IWICEnumMetadataItem { @@ -40,7 +40,11 @@ public unsafe partial struct IWICEnumMetadataItem } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICEnumMetadataItem)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICEnumMetadataItem)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICEnumMetadataItem return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Next(uint celt, Com.Variant** rgeltSchema, Com.Variant** rgeltId, Com.Variant** rgeltValue, uint* pceltFetched) @@ -78,7 +82,7 @@ public unsafe partial struct IWICEnumMetadataItem return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICEnumMetadataItem*)Unsafe.AsPointer(ref this), celt, rgeltSchema, rgeltId, rgeltValue, pceltFetched); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult Skip(uint celt) @@ -86,7 +90,7 @@ public unsafe partial struct IWICEnumMetadataItem return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICEnumMetadataItem*)Unsafe.AsPointer(ref this), celt); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult Reset() @@ -94,7 +98,7 @@ public unsafe partial struct IWICEnumMetadataItem return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICEnumMetadataItem*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult Clone(IWICEnumMetadataItem** ppIEnumMetadataItem) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFastMetadataEncoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFastMetadataEncoder.cs index a254bfc..2931195 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFastMetadataEncoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFastMetadataEncoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICFastMetadataEncoder [Guid("b84e2c09-78c9-4ac4-8bd3-524ae1663a2f")] [NativeTypeName("struct IWICFastMetadataEncoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICFastMetadataEncoder +public unsafe partial struct IWICFastMetadataEncoder : INativeGuid { public static ref readonly Guid IID_IWICFastMetadataEncoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICFastMetadataEncoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFastMetadataEncoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFastMetadataEncoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICFastMetadataEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Commit() @@ -78,7 +82,7 @@ public unsafe partial struct IWICFastMetadataEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICFastMetadataEncoder*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetMetadataQueryWriter(IWICMetadataQueryWriter** ppIMetadataQueryWriter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverter.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverter.cs index ba69886..7fd9fcc 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICFormatConverter [Guid("00000301-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICFormatConverter : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICFormatConverter +public unsafe partial struct IWICFormatConverter : INativeGuid { public static ref readonly Guid IID_IWICFormatConverter { @@ -40,7 +40,11 @@ public unsafe partial struct IWICFormatConverter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFormatConverter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFormatConverter)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICFormatConverter return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICFormatConverter*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource* pISource, Guid* dstFormat, WICBitmapDitherType dither, IWICPalette* pIPalette, double alphaThresholdPercent, WICBitmapPaletteType paletteTranslate) @@ -118,7 +122,7 @@ public unsafe partial struct IWICFormatConverter return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICFormatConverter*)Unsafe.AsPointer(ref this), pISource, dstFormat, dither, pIPalette, alphaThresholdPercent, paletteTranslate); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CanConvert(Guid* srcPixelFormat, Guid* dstPixelFormat, Bool32* pfCanConvert) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverterInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverterInfo.cs index 31ea5ea..a15a557 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverterInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICFormatConverterInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICFormatConverterInfo [Guid("9f34fb65-13f4-4f15-bc57-3726b5e53d9f")] [NativeTypeName("struct IWICFormatConverterInfo : IWICComponentInfo")] [NativeInheritance("IWICComponentInfo")] -public unsafe partial struct IWICFormatConverterInfo +public unsafe partial struct IWICFormatConverterInfo : INativeGuid { public static ref readonly Guid IID_IWICFormatConverterInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICFormatConverterInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFormatConverterInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICFormatConverterInfo)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IWICFormatConverterInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICFormatConverterInfo*)Unsafe.AsPointer(ref this), cchFriendlyName, wzFriendlyName, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetPixelFormats(uint cFormats, Guid* pPixelFormatGUIDs, uint* pcActual) @@ -142,7 +146,7 @@ public unsafe partial struct IWICFormatConverterInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICFormatConverterInfo*)Unsafe.AsPointer(ref this), cFormats, pPixelFormatGUIDs, pcActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateInstance(IWICFormatConverter** ppIConverter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImageEncoder.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImageEncoder.cs index 3b0c43f..639974a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImageEncoder.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImageEncoder.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging.D2D; -/// +/// /// IWICImageEncoder [Guid("04c75bf8-3ce1-473b-acc5-3cc4f5e94999")] [NativeTypeName("struct IWICImageEncoder : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICImageEncoder +public unsafe partial struct IWICImageEncoder : INativeGuid { public static ref readonly Guid IID_IWICImageEncoder { @@ -40,7 +40,11 @@ public unsafe partial struct IWICImageEncoder } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImageEncoder)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImageEncoder)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICImageEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult WriteFrame(Graphics.Direct2D.ID2D1Image* pImage, Graphics.Imaging.IWICBitmapFrameEncode* pFrameEncode, Graphics.Imaging.WICImageParameters* pImageParameters) @@ -78,7 +82,7 @@ public unsafe partial struct IWICImageEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICImageEncoder*)Unsafe.AsPointer(ref this), pImage, pFrameEncode, pImageParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult WriteFrameThumbnail(Graphics.Direct2D.ID2D1Image* pImage, Graphics.Imaging.IWICBitmapFrameEncode* pFrameEncode, Graphics.Imaging.WICImageParameters* pImageParameters) @@ -86,7 +90,7 @@ public unsafe partial struct IWICImageEncoder return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICImageEncoder*)Unsafe.AsPointer(ref this), pImage, pFrameEncode, pImageParameters); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult WriteThumbnail(Graphics.Direct2D.ID2D1Image* pImage, Graphics.Imaging.IWICBitmapEncoder* pEncoder, Graphics.Imaging.WICImageParameters* pImageParameters) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory.cs index 879619c..0e3a821 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICImagingFactory [Guid("ec5ec8a9-c395-4314-9c77-54d7a935ff70")] [NativeTypeName("struct IWICImagingFactory : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICImagingFactory +public unsafe partial struct IWICImagingFactory : INativeGuid { public static ref readonly Guid IID_IWICImagingFactory { @@ -40,7 +40,11 @@ public unsafe partial struct IWICImagingFactory } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImagingFactory)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImagingFactory)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult CreateDecoderFromFilename(ushort* wzFilename, Guid* pguidVendor, NativeFileAccess dwDesiredAccess, WICDecodeOptions metadataOptions, IWICBitmapDecoder** ppIDecoder) @@ -78,7 +82,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), wzFilename, pguidVendor, dwDesiredAccess, metadataOptions, ppIDecoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CreateDecoderFromStream(Com.IStream* pIStream, Guid* pguidVendor, WICDecodeOptions metadataOptions, IWICBitmapDecoder** ppIDecoder) @@ -86,7 +90,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), pIStream, pguidVendor, metadataOptions, ppIDecoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult CreateDecoderFromFileHandle(nuint hFile, Guid* pguidVendor, WICDecodeOptions metadataOptions, IWICBitmapDecoder** ppIDecoder) @@ -94,7 +98,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), hFile, pguidVendor, metadataOptions, ppIDecoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult CreateComponentInfo(Guid* clsidComponent, IWICComponentInfo** ppIInfo) @@ -102,7 +106,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), clsidComponent, ppIInfo); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult CreateDecoder(Guid* guidContainerFormat, Guid* pguidVendor, IWICBitmapDecoder** ppIDecoder) @@ -110,7 +114,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), guidContainerFormat, pguidVendor, ppIDecoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult CreateEncoder(Guid* guidContainerFormat, Guid* pguidVendor, IWICBitmapEncoder** ppIEncoder) @@ -118,7 +122,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), guidContainerFormat, pguidVendor, ppIEncoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CreatePalette(IWICPalette** ppIPalette) @@ -126,7 +130,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult CreateFormatConverter(IWICFormatConverter** ppIFormatConverter) @@ -134,7 +138,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIFormatConverter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CreateBitmapScaler(IWICBitmapScaler** ppIBitmapScaler) @@ -142,7 +146,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIBitmapScaler); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CreateBitmapClipper(IWICBitmapClipper** ppIBitmapClipper) @@ -150,7 +154,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIBitmapClipper); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult CreateBitmapFlipRotator(IWICBitmapFlipRotator** ppIBitmapFlipRotator) @@ -158,7 +162,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIBitmapFlipRotator); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult CreateStream(IWICStream** ppIWICStream) @@ -166,7 +170,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIWICStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult CreateColorContext(IWICColorContext** ppIWICColorContext) @@ -174,7 +178,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIWICColorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult CreateColorTransformer(IWICColorTransform** ppIWICColorTransform) @@ -182,7 +186,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), ppIWICColorTransform); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult CreateBitmap(uint uiWidth, uint uiHeight, Guid* pixelFormat, WICBitmapCreateCacheOption option, IWICBitmap** ppIBitmap) @@ -190,7 +194,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), uiWidth, uiHeight, pixelFormat, option, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult CreateBitmapFromSource(IWICBitmapSource* pIBitmapSource, WICBitmapCreateCacheOption option, IWICBitmap** ppIBitmap) @@ -198,7 +202,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), pIBitmapSource, option, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateBitmapFromSourceRect(IWICBitmapSource* pIBitmapSource, uint x, uint y, uint width, uint height, IWICBitmap** ppIBitmap) @@ -206,7 +210,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), pIBitmapSource, x, y, width, height, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult CreateBitmapFromMemory(uint uiWidth, uint uiHeight, Guid* pixelFormat, uint cbStride, uint cbBufferSize, byte* pbBuffer, IWICBitmap** ppIBitmap) @@ -214,7 +218,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), uiWidth, uiHeight, pixelFormat, cbStride, cbBufferSize, pbBuffer, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(21)] public HResult CreateBitmapFromHBITMAP(IntPtr hBitmap, IntPtr hPalette, WICBitmapAlphaChannelOption options, IWICBitmap** ppIBitmap) @@ -222,7 +226,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), hBitmap, hPalette, options, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(22)] public HResult CreateBitmapFromHICON(IntPtr hIcon, IWICBitmap** ppIBitmap) @@ -230,7 +234,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[22]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), hIcon, ppIBitmap); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(23)] public HResult CreateComponentEnumerator(uint componentTypes, uint options, Com.IEnumUnknown** ppIEnumUnknown) @@ -238,7 +242,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), componentTypes, options, ppIEnumUnknown); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(24)] public HResult CreateFastMetadataEncoderFromDecoder(IWICBitmapDecoder* pIDecoder, IWICFastMetadataEncoder** ppIFastEncoder) @@ -246,7 +250,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), pIDecoder, ppIFastEncoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CreateFastMetadataEncoderFromFrameDecode(IWICBitmapFrameDecode* pIFrameDecoder, IWICFastMetadataEncoder** ppIFastEncoder) @@ -254,7 +258,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), pIFrameDecoder, ppIFastEncoder); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(26)] public HResult CreateQueryWriter(Guid* guidMetadataFormat, Guid* pguidVendor, IWICMetadataQueryWriter** ppIQueryWriter) @@ -262,7 +266,7 @@ public unsafe partial struct IWICImagingFactory return ((delegate* unmanaged[Stdcall])(lpVtbl[26]))((IWICImagingFactory*)Unsafe.AsPointer(ref this), guidMetadataFormat, pguidVendor, ppIQueryWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(27)] public HResult CreateQueryWriterFromReader(IWICMetadataQueryReader* pIQueryReader, Guid* pguidVendor, IWICMetadataQueryWriter** ppIQueryWriter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory2.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory2.cs index 96c03b3..1b59d80 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICImagingFactory2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging.D2D; -/// +/// /// IWICImagingFactory2 [Guid("7b816b45-1996-4476-b132-de9e247c8af0")] [NativeTypeName("struct IWICImagingFactory2 : IWICImagingFactory")] [NativeInheritance("IWICImagingFactory")] -public unsafe partial struct IWICImagingFactory2 +public unsafe partial struct IWICImagingFactory2 : INativeGuid { public static ref readonly Guid IID_IWICImagingFactory2 { @@ -40,7 +40,11 @@ public unsafe partial struct IWICImagingFactory2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImagingFactory2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICImagingFactory2)); +#endif public void** lpVtbl; @@ -244,7 +248,7 @@ public unsafe partial struct IWICImagingFactory2 return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((IWICImagingFactory2*)Unsafe.AsPointer(ref this), pIQueryReader, pguidVendor, ppIQueryWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(25)] public HResult CreateImageEncoder(Graphics.Direct2D.ID2D1Device* pD2DDevice, IWICImageEncoder** ppWICImageEncoder) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameDecode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameDecode.cs index bf434be..dd17039 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameDecode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameDecode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICJpegFrameDecode [Guid("8939f66e-c46a-4c21-a9d1-98b327ce1679")] [NativeTypeName("struct IWICJpegFrameDecode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICJpegFrameDecode +public unsafe partial struct IWICJpegFrameDecode : INativeGuid { public static ref readonly Guid IID_IWICJpegFrameDecode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICJpegFrameDecode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICJpegFrameDecode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICJpegFrameDecode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult DoesSupportIndexing(Bool32* pfIndexingSupported) @@ -78,7 +82,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), pfIndexingSupported); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult SetIndexing(WICJpegIndexingOptions options, uint horizontalIntervalSize) @@ -86,7 +90,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), options, horizontalIntervalSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult ClearIndexing() @@ -94,7 +98,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetAcHuffmanTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegAcHuffmanTable* pAcHuffmanTable) @@ -102,7 +106,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pAcHuffmanTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetDcHuffmanTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegDCHuffmanTable* pDcHuffmanTable) @@ -110,7 +114,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pDcHuffmanTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetQuantizationTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegQuantizationTable* pQuantizationTable) @@ -118,7 +122,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pQuantizationTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetFrameHeader(WICJpegFrameHeader* pFrameHeader) @@ -126,7 +130,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), pFrameHeader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult GetScanHeader(uint scanIndex, WICJpegScanHeader* pScanHeader) @@ -134,7 +138,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), scanIndex, pScanHeader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult CopyScan(uint scanIndex, uint scanOffset, uint cbScanData, byte* pbScanData, uint* pcbScanDataActual) @@ -142,7 +146,7 @@ public unsafe partial struct IWICJpegFrameDecode return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICJpegFrameDecode*)Unsafe.AsPointer(ref this), scanIndex, scanOffset, cbScanData, pbScanData, pcbScanDataActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult CopyMinimalStream(uint streamOffset, uint cbStreamData, byte* pbStreamData, uint* pcbStreamDataActual) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameEncode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameEncode.cs index 9fd30f4..db62354 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameEncode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICJpegFrameEncode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICJpegFrameEncode [Guid("2f0c601f-d2c6-468c-abfa-49495d983ed1")] [NativeTypeName("struct IWICJpegFrameEncode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICJpegFrameEncode +public unsafe partial struct IWICJpegFrameEncode : INativeGuid { public static ref readonly Guid IID_IWICJpegFrameEncode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICJpegFrameEncode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICJpegFrameEncode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICJpegFrameEncode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICJpegFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetAcHuffmanTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegAcHuffmanTable* pAcHuffmanTable) @@ -78,7 +82,7 @@ public unsafe partial struct IWICJpegFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICJpegFrameEncode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pAcHuffmanTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetDcHuffmanTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegDCHuffmanTable* pDcHuffmanTable) @@ -86,7 +90,7 @@ public unsafe partial struct IWICJpegFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICJpegFrameEncode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pDcHuffmanTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetQuantizationTable(uint scanIndex, uint tableIndex, Graphics.Dxgi.Common.JpegQuantizationTable* pQuantizationTable) @@ -94,7 +98,7 @@ public unsafe partial struct IWICJpegFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICJpegFrameEncode*)Unsafe.AsPointer(ref this), scanIndex, tableIndex, pQuantizationTable); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult WriteScan(uint cbScanData, byte* pbScanData) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockReader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockReader.cs index 76265c0..59a61a9 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockReader.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockReader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataBlockReader [Guid("feaa2a8d-b3f3-43e4-b25c-d1de990a1ae1")] [NativeTypeName("struct IWICMetadataBlockReader : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICMetadataBlockReader +public unsafe partial struct IWICMetadataBlockReader : INativeGuid { public static ref readonly Guid IID_IWICMetadataBlockReader { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataBlockReader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataBlockReader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataBlockReader)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICMetadataBlockReader return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetContainerFormat(Guid* pguidContainerFormat) @@ -78,7 +82,7 @@ public unsafe partial struct IWICMetadataBlockReader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICMetadataBlockReader*)Unsafe.AsPointer(ref this), pguidContainerFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCount(uint* pcCount) @@ -86,7 +90,7 @@ public unsafe partial struct IWICMetadataBlockReader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICMetadataBlockReader*)Unsafe.AsPointer(ref this), pcCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetReaderByIndex(uint nIndex, IWICMetadataReader** ppIMetadataReader) @@ -94,7 +98,7 @@ public unsafe partial struct IWICMetadataBlockReader return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICMetadataBlockReader*)Unsafe.AsPointer(ref this), nIndex, ppIMetadataReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetEnumerator(Com.IEnumUnknown** ppIEnumMetadata) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockWriter.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockWriter.cs index dff277c..4f78e83 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockWriter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataBlockWriter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataBlockWriter [Guid("08fb9676-b444-41e8-8dbe-6a53a542bff1")] [NativeTypeName("struct IWICMetadataBlockWriter : IWICMetadataBlockReader")] [NativeInheritance("IWICMetadataBlockReader")] -public unsafe partial struct IWICMetadataBlockWriter +public unsafe partial struct IWICMetadataBlockWriter : INativeGuid { public static ref readonly Guid IID_IWICMetadataBlockWriter { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataBlockWriter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataBlockWriter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataBlockWriter)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IWICMetadataBlockWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICMetadataBlockWriter*)Unsafe.AsPointer(ref this), ppIEnumMetadata); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult InitializeFromBlockReader(IWICMetadataBlockReader* pIMDBlockReader) @@ -110,7 +114,7 @@ public unsafe partial struct IWICMetadataBlockWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICMetadataBlockWriter*)Unsafe.AsPointer(ref this), pIMDBlockReader); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetWriterByIndex(uint nIndex, IWICMetadataWriter** ppIMetadataWriter) @@ -118,7 +122,7 @@ public unsafe partial struct IWICMetadataBlockWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICMetadataBlockWriter*)Unsafe.AsPointer(ref this), nIndex, ppIMetadataWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult AddWriter(IWICMetadataWriter* pIMetadataWriter) @@ -126,7 +130,7 @@ public unsafe partial struct IWICMetadataBlockWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICMetadataBlockWriter*)Unsafe.AsPointer(ref this), pIMetadataWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetWriterByIndex(uint nIndex, IWICMetadataWriter* pIMetadataWriter) @@ -134,7 +138,7 @@ public unsafe partial struct IWICMetadataBlockWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICMetadataBlockWriter*)Unsafe.AsPointer(ref this), nIndex, pIMetadataWriter); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult RemoveWriterByIndex(uint nIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataHandlerInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataHandlerInfo.cs index 8c5aabd..e8801ac 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataHandlerInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataHandlerInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataHandlerInfo [Guid("aba958bf-c672-44d1-8d61-ce6df2e682c2")] [NativeTypeName("struct IWICMetadataHandlerInfo : IWICComponentInfo")] [NativeInheritance("IWICComponentInfo")] -public unsafe partial struct IWICMetadataHandlerInfo +public unsafe partial struct IWICMetadataHandlerInfo : INativeGuid { public static ref readonly Guid IID_IWICMetadataHandlerInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataHandlerInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataHandlerInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataHandlerInfo)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), cchFriendlyName, wzFriendlyName, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetMetadataFormat(Guid* pguidMetadataFormat) @@ -142,7 +146,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), pguidMetadataFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetContainerFormats(uint cContainerFormats, Guid* pguidContainerFormats, uint* pcchActual) @@ -150,7 +154,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), cContainerFormats, pguidContainerFormats, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetDeviceManufacturer(uint cchDeviceManufacturer, ushort* wzDeviceManufacturer, uint* pcchActual) @@ -158,7 +162,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), cchDeviceManufacturer, wzDeviceManufacturer, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetDeviceModels(uint cchDeviceModels, ushort* wzDeviceModels, uint* pcchActual) @@ -166,7 +170,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), cchDeviceModels, wzDeviceModels, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult DoesRequireFullStream(Bool32* pfRequiresFullStream) @@ -174,7 +178,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), pfRequiresFullStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult DoesSupportPadding(Bool32* pfSupportsPadding) @@ -182,7 +186,7 @@ public unsafe partial struct IWICMetadataHandlerInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IWICMetadataHandlerInfo*)Unsafe.AsPointer(ref this), pfSupportsPadding); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult DoesRequireFixedSize(Bool32* pfFixedSize) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryReader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryReader.cs index 6595430..b16a007 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryReader.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryReader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataQueryReader [Guid("30989668-e1c9-4597-b395-458eedb808df")] [NativeTypeName("struct IWICMetadataQueryReader : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICMetadataQueryReader +public unsafe partial struct IWICMetadataQueryReader : INativeGuid { public static ref readonly Guid IID_IWICMetadataQueryReader { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataQueryReader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataQueryReader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataQueryReader)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICMetadataQueryReader return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetContainerFormat(Guid* pguidContainerFormat) @@ -78,7 +82,7 @@ public unsafe partial struct IWICMetadataQueryReader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICMetadataQueryReader*)Unsafe.AsPointer(ref this), pguidContainerFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetLocation(uint cchMaxLength, ushort* wzNamespace, uint* pcchActualLength) @@ -86,7 +90,7 @@ public unsafe partial struct IWICMetadataQueryReader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICMetadataQueryReader*)Unsafe.AsPointer(ref this), cchMaxLength, wzNamespace, pcchActualLength); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetMetadataByName(ushort* wzName, Com.Variant** pvarValue) @@ -94,7 +98,7 @@ public unsafe partial struct IWICMetadataQueryReader return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICMetadataQueryReader*)Unsafe.AsPointer(ref this), wzName, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetEnumerator(Com.IEnumString** ppIEnumString) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryWriter.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryWriter.cs index 0607db9..6b3aeff 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryWriter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataQueryWriter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataQueryWriter [Guid("a721791a-0def-4d06-bd91-2118bf1db10b")] [NativeTypeName("struct IWICMetadataQueryWriter : IWICMetadataQueryReader")] [NativeInheritance("IWICMetadataQueryReader")] -public unsafe partial struct IWICMetadataQueryWriter +public unsafe partial struct IWICMetadataQueryWriter : INativeGuid { public static ref readonly Guid IID_IWICMetadataQueryWriter { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataQueryWriter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataQueryWriter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataQueryWriter)); +#endif public void** lpVtbl; @@ -102,7 +106,7 @@ public unsafe partial struct IWICMetadataQueryWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICMetadataQueryWriter*)Unsafe.AsPointer(ref this), ppIEnumString); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult SetMetadataByName(ushort* wzName, Com.Variant* pvarValue) @@ -110,7 +114,7 @@ public unsafe partial struct IWICMetadataQueryWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICMetadataQueryWriter*)Unsafe.AsPointer(ref this), wzName, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult RemoveMetadataByName(ushort* wzName) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReader.cs index 0c004a9..de91eb4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReader.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReader.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataReader [Guid("9204fe99-d8fc-4fd5-a001-9536b067a899")] [NativeTypeName("struct IWICMetadataReader : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICMetadataReader +public unsafe partial struct IWICMetadataReader : INativeGuid { public static ref readonly Guid IID_IWICMetadataReader { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataReader } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataReader)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataReader)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetMetadataFormat(Guid* pguidMetadataFormat) @@ -78,7 +82,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICMetadataReader*)Unsafe.AsPointer(ref this), pguidMetadataFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetMetadataHandlerInfo(IWICMetadataHandlerInfo** ppIHandler) @@ -86,7 +90,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICMetadataReader*)Unsafe.AsPointer(ref this), ppIHandler); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetCount(uint* pcCount) @@ -94,7 +98,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICMetadataReader*)Unsafe.AsPointer(ref this), pcCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult GetValueByIndex(uint nIndex, Com.Variant** pvarSchema, Com.Variant** pvarId, Com.Variant** pvarValue) @@ -102,7 +106,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICMetadataReader*)Unsafe.AsPointer(ref this), nIndex, pvarSchema, pvarId, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetValue(Com.Variant* pvarSchema, Com.Variant* pvarId, Com.Variant** pvarValue) @@ -110,7 +114,7 @@ public unsafe partial struct IWICMetadataReader return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICMetadataReader*)Unsafe.AsPointer(ref this), pvarSchema, pvarId, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetEnumerator(IWICEnumMetadataItem** ppIEnumMetadata) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReaderInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReaderInfo.cs index 5731076..624061e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReaderInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataReaderInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataReaderInfo [Guid("eebf1f5b-07c1-4447-a3ab-22acaf78a804")] [NativeTypeName("struct IWICMetadataReaderInfo : IWICMetadataHandlerInfo")] [NativeInheritance("IWICMetadataHandlerInfo")] -public unsafe partial struct IWICMetadataReaderInfo +public unsafe partial struct IWICMetadataReaderInfo : INativeGuid { public static ref readonly Guid IID_IWICMetadataReaderInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataReaderInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataReaderInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataReaderInfo)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IWICMetadataReaderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICMetadataReaderInfo*)Unsafe.AsPointer(ref this), pfFixedSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetPatterns(Guid* guidContainerFormat, uint cbSize, WICMetadataPattern* pPattern, uint* pcCount, uint* pcbActual) @@ -198,7 +202,7 @@ public unsafe partial struct IWICMetadataReaderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IWICMetadataReaderInfo*)Unsafe.AsPointer(ref this), guidContainerFormat, cbSize, pPattern, pcCount, pcbActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult MatchesPattern(Guid* guidContainerFormat, Com.IStream* pIStream, Bool32* pfMatches) @@ -206,7 +210,7 @@ public unsafe partial struct IWICMetadataReaderInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((IWICMetadataReaderInfo*)Unsafe.AsPointer(ref this), guidContainerFormat, pIStream, pfMatches); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(20)] public HResult CreateInstance(IWICMetadataReader** ppIReader) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriter.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriter.cs index 7e11329..b4aac77 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataWriter [Guid("f7836e16-3be0-470b-86bb-160d0aecd7de")] [NativeTypeName("struct IWICMetadataWriter : IWICMetadataReader")] [NativeInheritance("IWICMetadataReader")] -public unsafe partial struct IWICMetadataWriter +public unsafe partial struct IWICMetadataWriter : INativeGuid { public static ref readonly Guid IID_IWICMetadataWriter { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataWriter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataWriter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataWriter)); +#endif public void** lpVtbl; @@ -118,7 +122,7 @@ public unsafe partial struct IWICMetadataWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICMetadataWriter*)Unsafe.AsPointer(ref this), ppIEnumMetadata); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult SetValue(Com.Variant* pvarSchema, Com.Variant* pvarId, Com.Variant* pvarValue) @@ -126,7 +130,7 @@ public unsafe partial struct IWICMetadataWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICMetadataWriter*)Unsafe.AsPointer(ref this), pvarSchema, pvarId, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult SetValueByIndex(uint nIndex, Com.Variant* pvarSchema, Com.Variant* pvarId, Com.Variant* pvarValue) @@ -134,7 +138,7 @@ public unsafe partial struct IWICMetadataWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICMetadataWriter*)Unsafe.AsPointer(ref this), nIndex, pvarSchema, pvarId, pvarValue); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult RemoveValue(Com.Variant* pvarSchema, Com.Variant* pvarId) @@ -142,7 +146,7 @@ public unsafe partial struct IWICMetadataWriter return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICMetadataWriter*)Unsafe.AsPointer(ref this), pvarSchema, pvarId); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult RemoveValueByIndex(uint nIndex) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriterInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriterInfo.cs index 469f49b..439f70a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriterInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICMetadataWriterInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICMetadataWriterInfo [Guid("b22e3fba-3925-4323-b5c1-9ebfc430f236")] [NativeTypeName("struct IWICMetadataWriterInfo : IWICMetadataHandlerInfo")] [NativeInheritance("IWICMetadataHandlerInfo")] -public unsafe partial struct IWICMetadataWriterInfo +public unsafe partial struct IWICMetadataWriterInfo : INativeGuid { public static ref readonly Guid IID_IWICMetadataWriterInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICMetadataWriterInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataWriterInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICMetadataWriterInfo)); +#endif public void** lpVtbl; @@ -190,7 +194,7 @@ public unsafe partial struct IWICMetadataWriterInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((IWICMetadataWriterInfo*)Unsafe.AsPointer(ref this), pfFixedSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(18)] public HResult GetHeader(Guid* guidContainerFormat, uint cbSize, WICMetadataHeader* pHeader, uint* pcbActual) @@ -198,7 +202,7 @@ public unsafe partial struct IWICMetadataWriterInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[18]))((IWICMetadataWriterInfo*)Unsafe.AsPointer(ref this), guidContainerFormat, cbSize, pHeader, pcbActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(19)] public HResult CreateInstance(IWICMetadataWriter** ppIWriter) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPalette.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPalette.cs index 8404559..073376e 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPalette.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPalette.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPalette [Guid("00000040-a8f2-4877-ba0a-fd2b6645fb94")] [NativeTypeName("struct IWICPalette : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICPalette +public unsafe partial struct IWICPalette : INativeGuid { public static ref readonly Guid IID_IWICPalette { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPalette } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPalette)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPalette)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult InitializePredefined(WICBitmapPaletteType ePaletteType, Bool32 fAddTransparentColor) @@ -78,7 +82,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICPalette*)Unsafe.AsPointer(ref this), ePaletteType, fAddTransparentColor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult InitializeCustom(uint* pColors, uint cCount) @@ -86,7 +90,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICPalette*)Unsafe.AsPointer(ref this), pColors, cCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult InitializeFromBitmap(IWICBitmapSource* pISurface, uint cCount, Bool32 fAddTransparentColor) @@ -94,7 +98,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICPalette*)Unsafe.AsPointer(ref this), pISurface, cCount, fAddTransparentColor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult InitializeFromPalette(IWICPalette* pIPalette) @@ -102,7 +106,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((IWICPalette*)Unsafe.AsPointer(ref this), pIPalette); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] public HResult GetType(WICBitmapPaletteType* pePaletteType) @@ -110,7 +114,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICPalette*)Unsafe.AsPointer(ref this), pePaletteType); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult GetColorCount(uint* pcCount) @@ -118,7 +122,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICPalette*)Unsafe.AsPointer(ref this), pcCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult GetColors(uint cCount, uint* pColors, uint* pcActualColors) @@ -126,7 +130,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((IWICPalette*)Unsafe.AsPointer(ref this), cCount, pColors, pcActualColors); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] public HResult IsBlackWhite(Bool32* pfIsBlackWhite) @@ -134,7 +138,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICPalette*)Unsafe.AsPointer(ref this), pfIsBlackWhite); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult IsGrayscale(Bool32* pfIsGrayscale) @@ -142,7 +146,7 @@ public unsafe partial struct IWICPalette return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICPalette*)Unsafe.AsPointer(ref this), pfIsGrayscale); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult HasAlpha(Bool32* pfHasAlpha) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPersistStream.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPersistStream.cs index 7a53de7..2defb27 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPersistStream.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPersistStream.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPersistStream [Guid("00675040-6908-45f8-86a3-49c7dfd6d9ad")] [NativeTypeName("struct IWICPersistStream : IPersistStream")] [NativeInheritance("IPersistStream")] -public unsafe partial struct IWICPersistStream +public unsafe partial struct IWICPersistStream : INativeGuid { public static ref readonly Guid IID_IWICPersistStream { @@ -40,11 +40,15 @@ public unsafe partial struct IWICPersistStream } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPersistStream)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPersistStream)); +#endif public void** lpVtbl; - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult LoadEx(Com.IStream* pIStream, Guid* pguidPreferredVendor, uint dwPersistOptions) @@ -52,7 +56,7 @@ public unsafe partial struct IWICPersistStream return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((IWICPersistStream*)Unsafe.AsPointer(ref this), pIStream, pguidPreferredVendor, dwPersistOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] public HResult SaveEx(Com.IStream* pIStream, uint dwPersistOptions, Bool32 fClearDirty) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo.cs index 85542fa..b12e2cf 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPixelFormatInfo [Guid("e8eda601-3d48-431a-ab44-69059be88bbe")] [NativeTypeName("struct IWICPixelFormatInfo : IWICComponentInfo")] [NativeInheritance("IWICComponentInfo")] -public unsafe partial struct IWICPixelFormatInfo +public unsafe partial struct IWICPixelFormatInfo : INativeGuid { public static ref readonly Guid IID_IWICPixelFormatInfo { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPixelFormatInfo } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPixelFormatInfo)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPixelFormatInfo)); +#endif public void** lpVtbl; @@ -134,7 +138,7 @@ public unsafe partial struct IWICPixelFormatInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((IWICPixelFormatInfo*)Unsafe.AsPointer(ref this), cchFriendlyName, wzFriendlyName, pcchActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] public HResult GetFormatGUID(Guid* pFormat) @@ -142,7 +146,7 @@ public unsafe partial struct IWICPixelFormatInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((IWICPixelFormatInfo*)Unsafe.AsPointer(ref this), pFormat); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] public HResult GetColorContext(IWICColorContext** ppIColorContext) @@ -150,7 +154,7 @@ public unsafe partial struct IWICPixelFormatInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((IWICPixelFormatInfo*)Unsafe.AsPointer(ref this), ppIColorContext); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(13)] public HResult GetBitsPerPixel(uint* puiBitsPerPixel) @@ -158,7 +162,7 @@ public unsafe partial struct IWICPixelFormatInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((IWICPixelFormatInfo*)Unsafe.AsPointer(ref this), puiBitsPerPixel); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(14)] public HResult GetChannelCount(uint* puiChannelCount) @@ -166,7 +170,7 @@ public unsafe partial struct IWICPixelFormatInfo return ((delegate* unmanaged[Stdcall])(lpVtbl[14]))((IWICPixelFormatInfo*)Unsafe.AsPointer(ref this), puiChannelCount); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(15)] public HResult GetChannelMask(uint uiChannelIndex, uint cbMaskBuffer, byte* pbMaskBuffer, uint* pcbActual) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo2.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo2.cs index 436cefc..597ac82 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo2.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPixelFormatInfo2.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPixelFormatInfo2 [Guid("a9db33a2-af5f-43c7-b679-74f5984b5aa4")] [NativeTypeName("struct IWICPixelFormatInfo2 : IWICPixelFormatInfo")] [NativeInheritance("IWICPixelFormatInfo")] -public unsafe partial struct IWICPixelFormatInfo2 +public unsafe partial struct IWICPixelFormatInfo2 : INativeGuid { public static ref readonly Guid IID_IWICPixelFormatInfo2 { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPixelFormatInfo2 } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPixelFormatInfo2)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPixelFormatInfo2)); +#endif public void** lpVtbl; @@ -174,7 +178,7 @@ public unsafe partial struct IWICPixelFormatInfo2 return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((IWICPixelFormatInfo2*)Unsafe.AsPointer(ref this), uiChannelIndex, cbMaskBuffer, pbMaskBuffer, pcbActual); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(16)] public HResult SupportsTransparency(Bool32* pfSupportsTransparency) @@ -182,7 +186,7 @@ public unsafe partial struct IWICPixelFormatInfo2 return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((IWICPixelFormatInfo2*)Unsafe.AsPointer(ref this), pfSupportsTransparency); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(17)] public HResult GetNumericRepresentation(WICPixelFormatNumericRepresentation* pNumericRepresentation) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapFrameEncode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapFrameEncode.cs index b69998b..8faee9c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapFrameEncode.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapFrameEncode.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPlanarBitmapFrameEncode [Guid("f928b7b8-2221-40c1-b72e-7e82f1974d1a")] [NativeTypeName("struct IWICPlanarBitmapFrameEncode : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICPlanarBitmapFrameEncode +public unsafe partial struct IWICPlanarBitmapFrameEncode : INativeGuid { public static ref readonly Guid IID_IWICPlanarBitmapFrameEncode { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPlanarBitmapFrameEncode } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarBitmapFrameEncode)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarBitmapFrameEncode)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICPlanarBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult WritePixels(uint lineCount, WICBitmapPlane* pPlanes, uint cPlanes) @@ -78,7 +82,7 @@ public unsafe partial struct IWICPlanarBitmapFrameEncode return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICPlanarBitmapFrameEncode*)Unsafe.AsPointer(ref this), lineCount, pPlanes, cPlanes); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult WriteSource(IWICBitmapSource** ppPlanes, uint cPlanes, System.Drawing.Rectangle* prcSource) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapSourceTransform.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapSourceTransform.cs index d357638..038812c 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapSourceTransform.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarBitmapSourceTransform.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPlanarBitmapSourceTransform [Guid("3aff9cce-be95-4303-b927-e7d16ff4a613")] [NativeTypeName("struct IWICPlanarBitmapSourceTransform : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICPlanarBitmapSourceTransform +public unsafe partial struct IWICPlanarBitmapSourceTransform : INativeGuid { public static ref readonly Guid IID_IWICPlanarBitmapSourceTransform { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPlanarBitmapSourceTransform } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarBitmapSourceTransform)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarBitmapSourceTransform)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICPlanarBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult DoesSupportTransform(uint* puiWidth, uint* puiHeight, WICBitmapTransformOptions dstTransform, WICPlanarOptions dstPlanarOptions, Guid* pguidDstFormats, WICBitmapPlaneDescription* pPlaneDescriptions, uint cPlanes, Bool32* pfIsSupported) @@ -78,7 +82,7 @@ public unsafe partial struct IWICPlanarBitmapSourceTransform return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICPlanarBitmapSourceTransform*)Unsafe.AsPointer(ref this), puiWidth, puiHeight, dstTransform, dstPlanarOptions, pguidDstFormats, pPlaneDescriptions, cPlanes, pfIsSupported); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult CopyPixels(System.Drawing.Rectangle* prcSource, uint uiWidth, uint uiHeight, WICBitmapTransformOptions dstTransform, WICPlanarOptions dstPlanarOptions, WICBitmapPlane* pDstPlanes, uint cPlanes) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarFormatConverter.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarFormatConverter.cs index c152604..d520f29 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarFormatConverter.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICPlanarFormatConverter.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICPlanarFormatConverter [Guid("bebee9cb-83b0-4dcc-8132-b0aaa55eac96")] [NativeTypeName("struct IWICPlanarFormatConverter : IWICBitmapSource")] [NativeInheritance("IWICBitmapSource")] -public unsafe partial struct IWICPlanarFormatConverter +public unsafe partial struct IWICPlanarFormatConverter : INativeGuid { public static ref readonly Guid IID_IWICPlanarFormatConverter { @@ -40,7 +40,11 @@ public unsafe partial struct IWICPlanarFormatConverter } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarFormatConverter)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICPlanarFormatConverter)); +#endif public void** lpVtbl; @@ -110,7 +114,7 @@ public unsafe partial struct IWICPlanarFormatConverter return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((IWICPlanarFormatConverter*)Unsafe.AsPointer(ref this), prc, cbStride, cbBufferSize, pbBuffer); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] public HResult Initialize(IWICBitmapSource** ppPlanes, uint cPlanes, Guid* dstFormat, WICBitmapDitherType dither, IWICPalette* pIPalette, double alphaThresholdPercent, WICBitmapPaletteType paletteTranslate) @@ -118,7 +122,7 @@ public unsafe partial struct IWICPlanarFormatConverter return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((IWICPlanarFormatConverter*)Unsafe.AsPointer(ref this), ppPlanes, cPlanes, dstFormat, dither, pIPalette, alphaThresholdPercent, paletteTranslate); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(9)] public HResult CanConvert(Guid* pSrcPixelFormats, uint cSrcPlanes, Guid* dstPixelFormat, Bool32* pfCanConvert) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressCallback.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressCallback.cs index d6533b0..b2cc293 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressCallback.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressCallback.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICProgressCallback [Guid("4776f9cd-9517-45fa-bf24-e89c5ec5c60c")] [NativeTypeName("struct IWICProgressCallback : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICProgressCallback +public unsafe partial struct IWICProgressCallback : INativeGuid { public static ref readonly Guid IID_IWICProgressCallback { @@ -40,7 +40,11 @@ public unsafe partial struct IWICProgressCallback } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICProgressCallback)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICProgressCallback)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICProgressCallback return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult Notify(uint uFrameNum, WICProgressOperation operation, double dblProgress) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressiveLevelControl.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressiveLevelControl.cs index 6658c39..c8addb8 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressiveLevelControl.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICProgressiveLevelControl.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICProgressiveLevelControl [Guid("daac296f-7aa5-4dbf-8d15-225c5976f891")] [NativeTypeName("struct IWICProgressiveLevelControl : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICProgressiveLevelControl +public unsafe partial struct IWICProgressiveLevelControl : INativeGuid { public static ref readonly Guid IID_IWICProgressiveLevelControl { @@ -40,7 +40,11 @@ public unsafe partial struct IWICProgressiveLevelControl } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICProgressiveLevelControl)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICProgressiveLevelControl)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICProgressiveLevelControl return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetLevelCount(uint* pcLevels) @@ -78,7 +82,7 @@ public unsafe partial struct IWICProgressiveLevelControl return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICProgressiveLevelControl*)Unsafe.AsPointer(ref this), pcLevels); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetCurrentLevel(uint* pnLevel) @@ -86,7 +90,7 @@ public unsafe partial struct IWICProgressiveLevelControl return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICProgressiveLevelControl*)Unsafe.AsPointer(ref this), pnLevel); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult SetCurrentLevel(uint nLevel) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStream.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStream.cs index 27eb7e5..78514bf 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStream.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStream.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICStream [Guid("135ff860-22b7-4ddf-b0f6-218f4f299a43")] [NativeTypeName("struct IWICStream : IStream")] [NativeInheritance("IStream")] -public unsafe partial struct IWICStream +public unsafe partial struct IWICStream : INativeGuid { public static ref readonly Guid IID_IWICStream { @@ -40,11 +40,15 @@ public unsafe partial struct IWICStream } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICStream)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICStream)); +#endif public void** lpVtbl; - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult InitializeFromIStream(Com.IStream* pIStream) @@ -52,7 +56,7 @@ public unsafe partial struct IWICStream return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((IWICStream*)Unsafe.AsPointer(ref this), pIStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(1)] public HResult InitializeFromFilename(ushort* wzFileName, uint dwDesiredAccess) @@ -60,7 +64,7 @@ public unsafe partial struct IWICStream return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((IWICStream*)Unsafe.AsPointer(ref this), wzFileName, dwDesiredAccess); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] public HResult InitializeFromMemory(byte* pbBuffer, uint cbBufferSize) @@ -68,7 +72,7 @@ public unsafe partial struct IWICStream return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IWICStream*)Unsafe.AsPointer(ref this), pbBuffer, cbBufferSize); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult InitializeFromIStreamRegion(Com.IStream* pIStream, ULargeInteger ulOffset, ULargeInteger ulMaxSize) diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStreamProvider.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStreamProvider.cs index 415fb20..bb7b5d4 100644 --- a/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStreamProvider.cs +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/IWICStreamProvider.cs @@ -9,12 +9,12 @@ namespace Win32.Graphics.Imaging; -/// +/// /// IWICStreamProvider [Guid("449494bc-b468-4927-96d7-ba90d31ab505")] [NativeTypeName("struct IWICStreamProvider : IUnknown")] [NativeInheritance("IUnknown")] -public unsafe partial struct IWICStreamProvider +public unsafe partial struct IWICStreamProvider : INativeGuid { public static ref readonly Guid IID_IWICStreamProvider { @@ -40,7 +40,11 @@ public unsafe partial struct IWICStreamProvider } } +#if NET6_0_OR_GREATER + static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICStreamProvider)); +#else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IWICStreamProvider)); +#endif public void** lpVtbl; @@ -70,7 +74,7 @@ public unsafe partial struct IWICStreamProvider return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this)); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] public HResult GetStream(Com.IStream** ppIStream) @@ -78,7 +82,7 @@ public unsafe partial struct IWICStreamProvider return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((IWICStreamProvider*)Unsafe.AsPointer(ref this), ppIStream); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] public HResult GetPersistOptions(uint* pdwPersistOptions) @@ -86,7 +90,7 @@ public unsafe partial struct IWICStreamProvider return ((delegate* unmanaged[Stdcall])(lpVtbl[4]))((IWICStreamProvider*)Unsafe.AsPointer(ref this), pdwPersistOptions); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] public HResult GetPreferredVendorGUID(Guid* pguidPreferredVendor) @@ -94,7 +98,7 @@ public unsafe partial struct IWICStreamProvider return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((IWICStreamProvider*)Unsafe.AsPointer(ref this), pguidPreferredVendor); } - /// + /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] public HResult RefreshStream() diff --git a/src/Vortice.Win32/Generated/Imaging.xml b/src/Vortice.Win32/Generated/Graphics/Imaging/Imaging.xml similarity index 100% rename from src/Vortice.Win32/Generated/Imaging.xml rename to src/Vortice.Win32/Generated/Graphics/Imaging/Imaging.xml diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcDigestProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcDigestProperties.cs new file mode 100644 index 0000000..434b785 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcDigestProperties.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WIC8BIMIptcDigestProperties +public enum WIC8BIMIptcDigestProperties : uint +{ + /// + /// WIC8BIMIptcDigestPString + WIC8BIMIptcDigestPString = 1, + /// + /// WIC8BIMIptcDigestIptcDigest + WIC8BIMIptcDigestIptcDigest = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcProperties.cs new file mode 100644 index 0000000..99a82f3 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMIptcProperties.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WIC8BIMIptcProperties +public enum WIC8BIMIptcProperties : uint +{ + /// + /// WIC8BIMIptcPString + WIC8BIMIptcPString = 0, + /// + /// WIC8BIMIptcEmbeddedIPTC + WIC8BIMIptcEmbeddedIPTC = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMResolutionInfoProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMResolutionInfoProperties.cs new file mode 100644 index 0000000..8e18879 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WIC8BIMResolutionInfoProperties.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WIC8BIMResolutionInfoProperties +public enum WIC8BIMResolutionInfoProperties : uint +{ + /// + /// WIC8BIMResolutionInfoPString + WIC8BIMResolutionInfoPString = 1, + /// + /// WIC8BIMResolutionInfoHResolution + WIC8BIMResolutionInfoHResolution = 2, + /// + /// WIC8BIMResolutionInfoHResolutionUnit + WIC8BIMResolutionInfoHResolutionUnit = 3, + /// + /// WIC8BIMResolutionInfoWidthUnit + WIC8BIMResolutionInfoWidthUnit = 4, + /// + /// WIC8BIMResolutionInfoVResolution + WIC8BIMResolutionInfoVResolution = 5, + /// + /// WIC8BIMResolutionInfoVResolutionUnit + WIC8BIMResolutionInfoVResolutionUnit = 6, + /// + /// WIC8BIMResolutionInfoHeightUnit + WIC8BIMResolutionInfoHeightUnit = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapAlphaChannelOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapAlphaChannelOption.cs new file mode 100644 index 0000000..6cc4d12 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapAlphaChannelOption.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapAlphaChannelOption +public enum WICBitmapAlphaChannelOption : int +{ + /// + /// WICBitmapUseAlpha + UseAlpha = 0, + /// + /// WICBitmapUsePremultipliedAlpha + UsePremultipliedAlpha = 1, + /// + /// WICBitmapIgnoreAlpha + IgnoreAlpha = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapCreateCacheOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapCreateCacheOption.cs new file mode 100644 index 0000000..c3ac6df --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapCreateCacheOption.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapCreateCacheOption +public enum WICBitmapCreateCacheOption : int +{ + /// + /// WICBitmapNoCache + NoCache = 0, + /// + /// WICBitmapCacheOnDemand + CacheOnDemand = 1, + /// + /// WICBitmapCacheOnLoad + CacheOnLoad = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDecoderCapabilities.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDecoderCapabilities.cs new file mode 100644 index 0000000..c0b8f17 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDecoderCapabilities.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapDecoderCapabilities +public enum WICBitmapDecoderCapabilities : int +{ + /// + /// WICBitmapDecoderCapabilitySameEncoder + SameEncoder = 1, + /// + /// WICBitmapDecoderCapabilityCanDecodeAllImages + CanDecodeAllImages = 2, + /// + /// WICBitmapDecoderCapabilityCanDecodeSomeImages + CanDecodeSomeImages = 4, + /// + /// WICBitmapDecoderCapabilityCanEnumerateMetadata + CanEnumerateMetadata = 8, + /// + /// WICBitmapDecoderCapabilityCanDecodeThumbnail + CanDecodeThumbnail = 16, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDitherType.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDitherType.cs new file mode 100644 index 0000000..043f86c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapDitherType.cs @@ -0,0 +1,46 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapDitherType +public enum WICBitmapDitherType : int +{ + /// + /// WICBitmapDitherTypeNone + None = 0, + /// + /// WICBitmapDitherTypeSolid + Solid = 0, + /// + /// WICBitmapDitherTypeOrdered4x4 + Ordered4x4 = 1, + /// + /// WICBitmapDitherTypeOrdered8x8 + Ordered8x8 = 2, + /// + /// WICBitmapDitherTypeOrdered16x16 + Ordered16x16 = 3, + /// + /// WICBitmapDitherTypeSpiral4x4 + Spiral4x4 = 4, + /// + /// WICBitmapDitherTypeSpiral8x8 + Spiral8x8 = 5, + /// + /// WICBitmapDitherTypeDualSpiral4x4 + DualSpiral4x4 = 6, + /// + /// WICBitmapDitherTypeDualSpiral8x8 + DualSpiral8x8 = 7, + /// + /// WICBitmapDitherTypeErrorDiffusion + ErrorDiffusion = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapEncoderCacheOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapEncoderCacheOption.cs new file mode 100644 index 0000000..1ad85e6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapEncoderCacheOption.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapEncoderCacheOption +public enum WICBitmapEncoderCacheOption : int +{ + /// + /// WICBitmapEncoderCacheInMemory + CacheInMemory = 0, + /// + /// WICBitmapEncoderCacheTempFile + CacheTempFile = 1, + /// + /// WICBitmapEncoderNoCache + NoCache = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapInterpolationMode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapInterpolationMode.cs new file mode 100644 index 0000000..c2b8637 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapInterpolationMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapInterpolationMode +public enum WICBitmapInterpolationMode : int +{ + /// + /// WICBitmapInterpolationModeNearestNeighbor + ModeNearestNeighbor = 0, + /// + /// WICBitmapInterpolationModeLinear + ModeLinear = 1, + /// + /// WICBitmapInterpolationModeCubic + ModeCubic = 2, + /// + /// WICBitmapInterpolationModeFant + ModeFant = 3, + /// + /// WICBitmapInterpolationModeHighQualityCubic + ModeHighQualityCubic = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapLockFlags.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapLockFlags.cs new file mode 100644 index 0000000..3e19747 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapLockFlags.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapLockFlags +[Flags] +public enum WICBitmapLockFlags : int +{ + None = 0, + /// + /// WICBitmapLockRead + Read = 1, + /// + /// WICBitmapLockWrite + Write = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPaletteType.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPaletteType.cs new file mode 100644 index 0000000..3db49b2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPaletteType.cs @@ -0,0 +1,58 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapPaletteType +public enum WICBitmapPaletteType : int +{ + /// + /// WICBitmapPaletteTypeCustom + Custom = 0, + /// + /// WICBitmapPaletteTypeMedianCut + MedianCut = 1, + /// + /// WICBitmapPaletteTypeFixedBW + FixedBW = 2, + /// + /// WICBitmapPaletteTypeFixedHalftone8 + FixedHalftone8 = 3, + /// + /// WICBitmapPaletteTypeFixedHalftone27 + FixedHalftone27 = 4, + /// + /// WICBitmapPaletteTypeFixedHalftone64 + FixedHalftone64 = 5, + /// + /// WICBitmapPaletteTypeFixedHalftone125 + FixedHalftone125 = 6, + /// + /// WICBitmapPaletteTypeFixedHalftone216 + FixedHalftone216 = 7, + /// + /// WICBitmapPaletteTypeFixedWebPalette + FixedWebPalette = 7, + /// + /// WICBitmapPaletteTypeFixedHalftone252 + FixedHalftone252 = 8, + /// + /// WICBitmapPaletteTypeFixedHalftone256 + FixedHalftone256 = 9, + /// + /// WICBitmapPaletteTypeFixedGray4 + FixedGray4 = 10, + /// + /// WICBitmapPaletteTypeFixedGray16 + FixedGray16 = 11, + /// + /// WICBitmapPaletteTypeFixedGray256 + FixedGray256 = 12, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPattern.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPattern.cs new file mode 100644 index 0000000..6af67ab --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPattern.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapPattern +public partial struct WICBitmapPattern +{ + /// + public ULargeInteger Position; + + /// + public uint Length; + + /// + public unsafe byte* Pattern; + + /// + public unsafe byte* Mask; + + /// + public Bool32 EndOfStream; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlane.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlane.cs new file mode 100644 index 0000000..8ff4e20 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlane.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapPlane +public partial struct WICBitmapPlane +{ + /// + public Guid Format; + + /// + public unsafe byte* pbBuffer; + + /// + public uint cbStride; + + /// + public uint cbBufferSize; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlaneDescription.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlaneDescription.cs new file mode 100644 index 0000000..3e5554f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapPlaneDescription.cs @@ -0,0 +1,24 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapPlaneDescription +public partial struct WICBitmapPlaneDescription +{ + /// + public Guid Format; + + /// + public uint Width; + + /// + public uint Height; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapTransformOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapTransformOptions.cs new file mode 100644 index 0000000..848347a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICBitmapTransformOptions.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICBitmapTransformOptions +public enum WICBitmapTransformOptions : int +{ + /// + /// WICBitmapTransformRotate0 + Rotate0 = 0, + /// + /// WICBitmapTransformRotate90 + Rotate90 = 1, + /// + /// WICBitmapTransformRotate180 + Rotate180 = 2, + /// + /// WICBitmapTransformRotate270 + Rotate270 = 3, + /// + /// WICBitmapTransformFlipHorizontal + FlipHorizontal = 8, + /// + /// WICBitmapTransformFlipVertical + FlipVertical = 16, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICColorContextType.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICColorContextType.cs new file mode 100644 index 0000000..292e15f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICColorContextType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICColorContextType +public enum WICColorContextType : int +{ + /// + /// WICColorContextUninitialized + Uninitialized = 0, + /// + /// WICColorContextProfile + Profile = 1, + /// + /// WICColorContextExifColorSpace + ExifColorSpace = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentEnumerateOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentEnumerateOptions.cs new file mode 100644 index 0000000..57b3d0e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentEnumerateOptions.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICComponentEnumerateOptions +public enum WICComponentEnumerateOptions : int +{ + /// + /// WICComponentEnumerateDefault + Default = 0, + /// + /// WICComponentEnumerateRefresh + Refresh = 1, + /// + /// WICComponentEnumerateDisabled + Disabled = -2147483648, + /// + /// WICComponentEnumerateUnsigned + Unsigned = 1073741824, + /// + /// WICComponentEnumerateBuiltInOnly + BuiltInOnly = 536870912, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentSigning.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentSigning.cs new file mode 100644 index 0000000..c411ad7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentSigning.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICComponentSigning +public enum WICComponentSigning : int +{ + /// + /// WICComponentSigned + Signed = 1, + /// + /// WICComponentUnsigned + Unsigned = 2, + /// + /// WICComponentSafe + Safe = 4, + /// + /// WICComponentDisabled + Disabled = -2147483648, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentType.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentType.cs new file mode 100644 index 0000000..6a2e2ac --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICComponentType.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICComponentType +public enum WICComponentType : int +{ + /// + /// WICDecoder + Decoder = 1, + /// + /// WICEncoder + Encoder = 2, + /// + /// WICPixelFormatConverter + PixelFormatConverter = 4, + /// + /// WICMetadataReader + MetadataReader = 8, + /// + /// WICMetadataWriter + MetadataWriter = 16, + /// + /// WICPixelFormat + PixelFormat = 32, + /// + /// WICAllComponents + AllComponents = 63, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsAlphaMode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsAlphaMode.cs new file mode 100644 index 0000000..fd9176e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsAlphaMode.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICDdsAlphaMode +public enum WICDdsAlphaMode : int +{ + /// + /// WICDdsAlphaModeUnknown + WICDdsAlphaModeUnknown = 0, + /// + /// WICDdsAlphaModeStraight + WICDdsAlphaModeStraight = 1, + /// + /// WICDdsAlphaModePremultiplied + WICDdsAlphaModePremultiplied = 2, + /// + /// WICDdsAlphaModeOpaque + WICDdsAlphaModeOpaque = 3, + /// + /// WICDdsAlphaModeCustom + WICDdsAlphaModeCustom = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsDimension.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsDimension.cs new file mode 100644 index 0000000..4d05e4c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsDimension.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICDdsDimension +public enum WICDdsDimension : int +{ + /// + /// WICDdsTexture1D + WICDdsTexture1D = 0, + /// + /// WICDdsTexture2D + WICDdsTexture2D = 1, + /// + /// WICDdsTexture3D + WICDdsTexture3D = 2, + /// + /// WICDdsTextureCube + WICDdsTextureCube = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsFormatInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsFormatInfo.cs new file mode 100644 index 0000000..16ec508 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsFormatInfo.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICDdsFormatInfo +public partial struct WICDdsFormatInfo +{ + /// + public Graphics.Dxgi.Common.Format DxgiFormat; + + /// + public uint BytesPerBlock; + + /// + public uint BlockWidth; + + /// + public uint BlockHeight; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsParameters.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsParameters.cs new file mode 100644 index 0000000..ab9684c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDdsParameters.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICDdsParameters +public partial struct WICDdsParameters +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public uint Depth; + + /// + public uint MipLevels; + + /// + public uint ArraySize; + + /// + public Graphics.Dxgi.Common.Format DxgiFormat; + + /// + public WICDdsDimension Dimension; + + /// + public WICDdsAlphaMode AlphaMode; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICDecodeOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDecodeOptions.cs new file mode 100644 index 0000000..af04bed --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICDecodeOptions.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICDecodeOptions +public enum WICDecodeOptions : int +{ + /// + /// WICDecodeMetadataCacheOnDemand + CacheOnDemand = 0, + /// + /// WICDecodeMetadataCacheOnLoad + CacheOnLoad = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifApplicationExtensionProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifApplicationExtensionProperties.cs new file mode 100644 index 0000000..8f19ba2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifApplicationExtensionProperties.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICGifApplicationExtensionProperties +public enum WICGifApplicationExtensionProperties : uint +{ + /// + /// WICGifApplicationExtensionApplication + WICGifApplicationExtensionApplication = 1, + /// + /// WICGifApplicationExtensionData + WICGifApplicationExtensionData = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifCommentExtensionProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifCommentExtensionProperties.cs new file mode 100644 index 0000000..698dbc9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifCommentExtensionProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICGifCommentExtensionProperties +public enum WICGifCommentExtensionProperties : uint +{ + /// + /// WICGifCommentExtensionText + WICGifCommentExtensionText = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifGraphicControlExtensionProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifGraphicControlExtensionProperties.cs new file mode 100644 index 0000000..4f492a5 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifGraphicControlExtensionProperties.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICGifGraphicControlExtensionProperties +public enum WICGifGraphicControlExtensionProperties : uint +{ + /// + /// WICGifGraphicControlExtensionDisposal + WICGifGraphicControlExtensionDisposal = 1, + /// + /// WICGifGraphicControlExtensionUserInputFlag + WICGifGraphicControlExtensionUserInputFlag = 2, + /// + /// WICGifGraphicControlExtensionTransparencyFlag + WICGifGraphicControlExtensionTransparencyFlag = 3, + /// + /// WICGifGraphicControlExtensionDelay + WICGifGraphicControlExtensionDelay = 4, + /// + /// WICGifGraphicControlExtensionTransparentColorIndex + WICGifGraphicControlExtensionTransparentColorIndex = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifImageDescriptorProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifImageDescriptorProperties.cs new file mode 100644 index 0000000..a8244ba --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifImageDescriptorProperties.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICGifImageDescriptorProperties +public enum WICGifImageDescriptorProperties : uint +{ + /// + /// WICGifImageDescriptorLeft + WICGifImageDescriptorLeft = 1, + /// + /// WICGifImageDescriptorTop + WICGifImageDescriptorTop = 2, + /// + /// WICGifImageDescriptorWidth + WICGifImageDescriptorWidth = 3, + /// + /// WICGifImageDescriptorHeight + WICGifImageDescriptorHeight = 4, + /// + /// WICGifImageDescriptorLocalColorTableFlag + WICGifImageDescriptorLocalColorTableFlag = 5, + /// + /// WICGifImageDescriptorInterlaceFlag + WICGifImageDescriptorInterlaceFlag = 6, + /// + /// WICGifImageDescriptorSortFlag + WICGifImageDescriptorSortFlag = 7, + /// + /// WICGifImageDescriptorLocalColorTableSize + WICGifImageDescriptorLocalColorTableSize = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifLogicalScreenDescriptorProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifLogicalScreenDescriptorProperties.cs new file mode 100644 index 0000000..a7679dd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICGifLogicalScreenDescriptorProperties.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICGifLogicalScreenDescriptorProperties +public enum WICGifLogicalScreenDescriptorProperties : uint +{ + /// + /// WICGifLogicalScreenSignature + WICGifLogicalScreenSignature = 1, + /// + /// WICGifLogicalScreenDescriptorWidth + WICGifLogicalScreenDescriptorWidth = 2, + /// + /// WICGifLogicalScreenDescriptorHeight + WICGifLogicalScreenDescriptorHeight = 3, + /// + /// WICGifLogicalScreenDescriptorGlobalColorTableFlag + WICGifLogicalScreenDescriptorGlobalColorTableFlag = 4, + /// + /// WICGifLogicalScreenDescriptorColorResolution + WICGifLogicalScreenDescriptorColorResolution = 5, + /// + /// WICGifLogicalScreenDescriptorSortFlag + WICGifLogicalScreenDescriptorSortFlag = 6, + /// + /// WICGifLogicalScreenDescriptorGlobalColorTableSize + WICGifLogicalScreenDescriptorGlobalColorTableSize = 7, + /// + /// WICGifLogicalScreenDescriptorBackgroundColorIndex + WICGifLogicalScreenDescriptorBackgroundColorIndex = 8, + /// + /// WICGifLogicalScreenDescriptorPixelAspectRatio + WICGifLogicalScreenDescriptorPixelAspectRatio = 9, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifHdrProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifHdrProperties.cs new file mode 100644 index 0000000..f1894cf --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifHdrProperties.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICHeifHdrProperties +public enum WICHeifHdrProperties : uint +{ + /// + /// WICHeifHdrMaximumLuminanceLevel + WICHeifHdrMaximumLuminanceLevel = 1, + /// + /// WICHeifHdrMaximumFrameAverageLuminanceLevel + WICHeifHdrMaximumFrameAverageLuminanceLevel = 2, + /// + /// WICHeifHdrMinimumMasteringDisplayLuminanceLevel + WICHeifHdrMinimumMasteringDisplayLuminanceLevel = 3, + /// + /// WICHeifHdrMaximumMasteringDisplayLuminanceLevel + WICHeifHdrMaximumMasteringDisplayLuminanceLevel = 4, + /// + /// WICHeifHdrCustomVideoPrimaries + WICHeifHdrCustomVideoPrimaries = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifProperties.cs new file mode 100644 index 0000000..7e0f57c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICHeifProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICHeifProperties +public enum WICHeifProperties : uint +{ + /// + /// WICHeifOrientation + WICHeifOrientation = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICImageParameters.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICImageParameters.cs new file mode 100644 index 0000000..b0c3091 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICImageParameters.cs @@ -0,0 +1,36 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICImageParameters +public partial struct WICImageParameters +{ + /// + public Graphics.Direct2D.Common.PixelFormat PixelFormat; + + /// + public float DpiX; + + /// + public float DpiY; + + /// + public float Top; + + /// + public float Left; + + /// + public uint PixelWidth; + + /// + public uint PixelHeight; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegChrominanceProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegChrominanceProperties.cs new file mode 100644 index 0000000..33b2cf8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegChrominanceProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegChrominanceProperties +public enum WICJpegChrominanceProperties : uint +{ + /// + /// WICJpegChrominanceTable + WICJpegChrominanceTable = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegCommentProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegCommentProperties.cs new file mode 100644 index 0000000..3114075 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegCommentProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegCommentProperties +public enum WICJpegCommentProperties : uint +{ + /// + /// WICJpegCommentText + WICJpegCommentText = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegFrameHeader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegFrameHeader.cs new file mode 100644 index 0000000..4b1fd77 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegFrameHeader.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegFrameHeader +public partial struct WICJpegFrameHeader +{ + /// + public uint Width; + + /// + public uint Height; + + /// + public WICJpegTransferMatrix TransferMatrix; + + /// + public WICJpegScanType ScanType; + + /// + public uint cComponents; + + /// + public uint ComponentIdentifiers; + + /// + public uint SampleFactors; + + /// + public uint QuantizationTableIndices; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegIndexingOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegIndexingOptions.cs new file mode 100644 index 0000000..c25107b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegIndexingOptions.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegIndexingOptions +public enum WICJpegIndexingOptions : uint +{ + /// + /// WICJpegIndexingOptionsGenerateOnDemand + WICJpegIndexingOptionsGenerateOnDemand = 0, + /// + /// WICJpegIndexingOptionsGenerateOnLoad + WICJpegIndexingOptionsGenerateOnLoad = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegLuminanceProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegLuminanceProperties.cs new file mode 100644 index 0000000..f759ea2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegLuminanceProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegLuminanceProperties +public enum WICJpegLuminanceProperties : uint +{ + /// + /// WICJpegLuminanceTable + WICJpegLuminanceTable = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanHeader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanHeader.cs new file mode 100644 index 0000000..7edc1ab --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanHeader.cs @@ -0,0 +1,39 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegScanHeader +public partial struct WICJpegScanHeader +{ + /// + public uint cComponents; + + /// + public uint RestartInterval; + + /// + public uint ComponentSelectors; + + /// + public uint HuffmanTableIndices; + + /// + public byte StartSpectralSelection; + + /// + public byte EndSpectralSelection; + + /// + public byte SuccessiveApproximationHigh; + + /// + public byte SuccessiveApproximationLow; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanType.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanType.cs new file mode 100644 index 0000000..eecd8d8 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegScanType.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegScanType +public enum WICJpegScanType : uint +{ + /// + /// WICJpegScanTypeInterleaved + WICJpegScanTypeInterleaved = 0, + /// + /// WICJpegScanTypePlanarComponents + WICJpegScanTypePlanarComponents = 1, + /// + /// WICJpegScanTypeProgressive + WICJpegScanTypeProgressive = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegTransferMatrix.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegTransferMatrix.cs new file mode 100644 index 0000000..e9d630a --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegTransferMatrix.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegTransferMatrix +public enum WICJpegTransferMatrix : uint +{ + /// + /// WICJpegTransferMatrixIdentity + WICJpegTransferMatrixIdentity = 0, + /// + /// WICJpegTransferMatrixBT601 + WICJpegTransferMatrixBT601 = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegYCrCbSubsamplingOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegYCrCbSubsamplingOption.cs new file mode 100644 index 0000000..1866037 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICJpegYCrCbSubsamplingOption.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICJpegYCrCbSubsamplingOption +public enum WICJpegYCrCbSubsamplingOption : int +{ + /// + /// WICJpegYCrCbSubsamplingDefault + WICJpegYCrCbSubsamplingDefault = 0, + /// + /// WICJpegYCrCbSubsampling420 + WICJpegYCrCbSubsampling420 = 1, + /// + /// WICJpegYCrCbSubsampling422 + WICJpegYCrCbSubsampling422 = 2, + /// + /// WICJpegYCrCbSubsampling444 + WICJpegYCrCbSubsampling444 = 3, + /// + /// WICJpegYCrCbSubsampling440 + WICJpegYCrCbSubsampling440 = 4, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataCreationOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataCreationOptions.cs new file mode 100644 index 0000000..e56ddbb --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataCreationOptions.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICMetadataCreationOptions +public enum WICMetadataCreationOptions : int +{ + /// + /// WICMetadataCreationDefault + WICMetadataCreationDefault = 0, + /// + /// WICMetadataCreationAllowUnknown + WICMetadataCreationAllowUnknown = 0, + /// + /// WICMetadataCreationFailUnknown + WICMetadataCreationFailUnknown = 65536, + /// + /// WICMetadataCreationMask + WICMetadataCreationMask = -65536, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataHeader.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataHeader.cs new file mode 100644 index 0000000..125e03b --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataHeader.cs @@ -0,0 +1,27 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICMetadataHeader +public partial struct WICMetadataHeader +{ + /// + public ULargeInteger Position; + + /// + public uint Length; + + /// + public unsafe byte* Header; + + /// + public ULargeInteger DataOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataPattern.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataPattern.cs new file mode 100644 index 0000000..ae413b2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICMetadataPattern.cs @@ -0,0 +1,30 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICMetadataPattern +public partial struct WICMetadataPattern +{ + /// + public ULargeInteger Position; + + /// + public uint Length; + + /// + public unsafe byte* Pattern; + + /// + public unsafe byte* Mask; + + /// + public ULargeInteger DataOffset; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICNamedWhitePoint.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICNamedWhitePoint.cs new file mode 100644 index 0000000..ddfafa7 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICNamedWhitePoint.cs @@ -0,0 +1,49 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICNamedWhitePoint +public enum WICNamedWhitePoint : int +{ + /// + /// WICWhitePointDefault + WICWhitePointDefault = 1, + /// + /// WICWhitePointDaylight + WICWhitePointDaylight = 2, + /// + /// WICWhitePointCloudy + WICWhitePointCloudy = 4, + /// + /// WICWhitePointShade + WICWhitePointShade = 8, + /// + /// WICWhitePointTungsten + WICWhitePointTungsten = 16, + /// + /// WICWhitePointFluorescent + WICWhitePointFluorescent = 32, + /// + /// WICWhitePointFlash + WICWhitePointFlash = 64, + /// + /// WICWhitePointUnderwater + WICWhitePointUnderwater = 128, + /// + /// WICWhitePointCustom + WICWhitePointCustom = 256, + /// + /// WICWhitePointAutoWhiteBalance + WICWhitePointAutoWhiteBalance = 512, + /// + /// WICWhitePointAsShot + WICWhitePointAsShot = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPersistOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPersistOptions.cs new file mode 100644 index 0000000..1274531 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPersistOptions.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPersistOptions +public enum WICPersistOptions : int +{ + /// + /// WICPersistOptionDefault + WICPersistOptionDefault = 0, + /// + /// WICPersistOptionLittleEndian + WICPersistOptionLittleEndian = 0, + /// + /// WICPersistOptionBigEndian + WICPersistOptionBigEndian = 1, + /// + /// WICPersistOptionStrictFormat + WICPersistOptionStrictFormat = 2, + /// + /// WICPersistOptionNoCacheStream + WICPersistOptionNoCacheStream = 4, + /// + /// WICPersistOptionPreferUTF8 + WICPersistOptionPreferUTF8 = 8, + /// + /// WICPersistOptionMask + WICPersistOptionMask = 65535, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPixelFormatNumericRepresentation.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPixelFormatNumericRepresentation.cs new file mode 100644 index 0000000..681b3de --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPixelFormatNumericRepresentation.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPixelFormatNumericRepresentation +public enum WICPixelFormatNumericRepresentation : uint +{ + /// + /// WICPixelFormatNumericRepresentationUnspecified + Unspecified = 0, + /// + /// WICPixelFormatNumericRepresentationIndexed + Indexed = 1, + /// + /// WICPixelFormatNumericRepresentationUnsignedInteger + UnsignedInteger = 2, + /// + /// WICPixelFormatNumericRepresentationSignedInteger + SignedInteger = 3, + /// + /// WICPixelFormatNumericRepresentationFixed + Fixed = 4, + /// + /// WICPixelFormatNumericRepresentationFloat + Float = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPlanarOptions.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPlanarOptions.cs new file mode 100644 index 0000000..abb2dbd --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPlanarOptions.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPlanarOptions +public enum WICPlanarOptions : int +{ + /// + /// WICPlanarOptionsDefault + Default = 0, + /// + /// WICPlanarOptionsPreserveSubsampling + PreserveSubsampling = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngBkgdProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngBkgdProperties.cs new file mode 100644 index 0000000..af95f32 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngBkgdProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngBkgdProperties +public enum WICPngBkgdProperties : uint +{ + /// + /// WICPngBkgdBackgroundColor + WICPngBkgdBackgroundColor = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngChrmProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngChrmProperties.cs new file mode 100644 index 0000000..0345460 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngChrmProperties.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngChrmProperties +public enum WICPngChrmProperties : uint +{ + /// + /// WICPngChrmWhitePointX + WICPngChrmWhitePointX = 1, + /// + /// WICPngChrmWhitePointY + WICPngChrmWhitePointY = 2, + /// + /// WICPngChrmRedX + WICPngChrmRedX = 3, + /// + /// WICPngChrmRedY + WICPngChrmRedY = 4, + /// + /// WICPngChrmGreenX + WICPngChrmGreenX = 5, + /// + /// WICPngChrmGreenY + WICPngChrmGreenY = 6, + /// + /// WICPngChrmBlueX + WICPngChrmBlueX = 7, + /// + /// WICPngChrmBlueY + WICPngChrmBlueY = 8, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngFilterOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngFilterOption.cs new file mode 100644 index 0000000..ab6741d --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngFilterOption.cs @@ -0,0 +1,37 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngFilterOption +public enum WICPngFilterOption : int +{ + /// + /// WICPngFilterUnspecified + WICPngFilterUnspecified = 0, + /// + /// WICPngFilterNone + WICPngFilterNone = 1, + /// + /// WICPngFilterSub + WICPngFilterSub = 2, + /// + /// WICPngFilterUp + WICPngFilterUp = 3, + /// + /// WICPngFilterAverage + WICPngFilterAverage = 4, + /// + /// WICPngFilterPaeth + WICPngFilterPaeth = 5, + /// + /// WICPngFilterAdaptive + WICPngFilterAdaptive = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngGamaProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngGamaProperties.cs new file mode 100644 index 0000000..8581339 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngGamaProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngGamaProperties +public enum WICPngGamaProperties : uint +{ + /// + /// WICPngGamaGamma + WICPngGamaGamma = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngHistProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngHistProperties.cs new file mode 100644 index 0000000..a2446f6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngHistProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngHistProperties +public enum WICPngHistProperties : uint +{ + /// + /// WICPngHistFrequencies + WICPngHistFrequencies = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngIccpProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngIccpProperties.cs new file mode 100644 index 0000000..62be199 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngIccpProperties.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngIccpProperties +public enum WICPngIccpProperties : uint +{ + /// + /// WICPngIccpProfileName + WICPngIccpProfileName = 1, + /// + /// WICPngIccpProfileData + WICPngIccpProfileData = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngItxtProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngItxtProperties.cs new file mode 100644 index 0000000..906487c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngItxtProperties.cs @@ -0,0 +1,31 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngItxtProperties +public enum WICPngItxtProperties : uint +{ + /// + /// WICPngItxtKeyword + WICPngItxtKeyword = 1, + /// + /// WICPngItxtCompressionFlag + WICPngItxtCompressionFlag = 2, + /// + /// WICPngItxtLanguageTag + WICPngItxtLanguageTag = 3, + /// + /// WICPngItxtTranslatedKeyword + WICPngItxtTranslatedKeyword = 4, + /// + /// WICPngItxtText + WICPngItxtText = 5, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngSrgbProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngSrgbProperties.cs new file mode 100644 index 0000000..eee3e44 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngSrgbProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngSrgbProperties +public enum WICPngSrgbProperties : uint +{ + /// + /// WICPngSrgbRenderingIntent + WICPngSrgbRenderingIntent = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngTimeProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngTimeProperties.cs new file mode 100644 index 0000000..9baced6 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICPngTimeProperties.cs @@ -0,0 +1,34 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICPngTimeProperties +public enum WICPngTimeProperties : uint +{ + /// + /// WICPngTimeYear + WICPngTimeYear = 1, + /// + /// WICPngTimeMonth + WICPngTimeMonth = 2, + /// + /// WICPngTimeDay + WICPngTimeDay = 3, + /// + /// WICPngTimeHour + WICPngTimeHour = 4, + /// + /// WICPngTimeMinute + WICPngTimeMinute = 5, + /// + /// WICPngTimeSecond + WICPngTimeSecond = 6, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressNotification.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressNotification.cs new file mode 100644 index 0000000..3776c92 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressNotification.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICProgressNotification +public enum WICProgressNotification : int +{ + /// + /// WICProgressNotificationBegin + Begin = 65536, + /// + /// WICProgressNotificationEnd + End = 131072, + /// + /// WICProgressNotificationFrequent + Frequent = 262144, + /// + /// WICProgressNotificationAll + All = -65536, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressOperation.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressOperation.cs new file mode 100644 index 0000000..9359633 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICProgressOperation.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICProgressOperation +public enum WICProgressOperation : int +{ + /// + /// WICProgressOperationCopyPixels + CopyPixels = 1, + /// + /// WICProgressOperationWritePixels + WritePixels = 2, + /// + /// WICProgressOperationAll + All = 65535, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilities.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilities.cs new file mode 100644 index 0000000..e84b96f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilities.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawCapabilities +public enum WICRawCapabilities : int +{ + /// + /// WICRawCapabilityNotSupported + WICRawCapabilityNotSupported = 0, + /// + /// WICRawCapabilityGetSupported + WICRawCapabilityGetSupported = 1, + /// + /// WICRawCapabilityFullySupported + WICRawCapabilityFullySupported = 2, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilitiesInfo.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilitiesInfo.cs new file mode 100644 index 0000000..f84655e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawCapabilitiesInfo.cs @@ -0,0 +1,69 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawCapabilitiesInfo +public partial struct WICRawCapabilitiesInfo +{ + /// + public uint cbSize; + + /// + public uint CodecMajorVersion; + + /// + public uint CodecMinorVersion; + + /// + public WICRawCapabilities ExposureCompensationSupport; + + /// + public WICRawCapabilities ContrastSupport; + + /// + public WICRawCapabilities RGBWhitePointSupport; + + /// + public WICRawCapabilities NamedWhitePointSupport; + + /// + public uint NamedWhitePointSupportMask; + + /// + public WICRawCapabilities KelvinWhitePointSupport; + + /// + public WICRawCapabilities GammaSupport; + + /// + public WICRawCapabilities TintSupport; + + /// + public WICRawCapabilities SaturationSupport; + + /// + public WICRawCapabilities SharpnessSupport; + + /// + public WICRawCapabilities NoiseReductionSupport; + + /// + public WICRawCapabilities DestinationColorProfileSupport; + + /// + public WICRawCapabilities ToneCurveSupport; + + /// + public WICRawRotationCapabilities RotationSupport; + + /// + public WICRawCapabilities RenderModeSupport; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawParameterSet.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawParameterSet.cs new file mode 100644 index 0000000..006df4e --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawParameterSet.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawParameterSet +public enum WICRawParameterSet : int +{ + /// + /// WICAsShotParameterSet + WICAsShotParameterSet = 1, + /// + /// WICUserAdjustedParameterSet + WICUserAdjustedParameterSet = 2, + /// + /// WICAutoAdjustedParameterSet + WICAutoAdjustedParameterSet = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRenderMode.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRenderMode.cs new file mode 100644 index 0000000..2a2ea9c --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRenderMode.cs @@ -0,0 +1,25 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawRenderMode +public enum WICRawRenderMode : int +{ + /// + /// WICRawRenderModeDraft + WICRawRenderModeDraft = 1, + /// + /// WICRawRenderModeNormal + WICRawRenderModeNormal = 2, + /// + /// WICRawRenderModeBestQuality + WICRawRenderModeBestQuality = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRotationCapabilities.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRotationCapabilities.cs new file mode 100644 index 0000000..375e593 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawRotationCapabilities.cs @@ -0,0 +1,28 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawRotationCapabilities +public enum WICRawRotationCapabilities : int +{ + /// + /// WICRawRotationCapabilityNotSupported + WICRawRotationCapabilityNotSupported = 0, + /// + /// WICRawRotationCapabilityGetSupported + WICRawRotationCapabilityGetSupported = 1, + /// + /// WICRawRotationCapabilityNinetyDegreesSupported + WICRawRotationCapabilityNinetyDegreesSupported = 2, + /// + /// WICRawRotationCapabilityFullySupported + WICRawRotationCapabilityFullySupported = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurve.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurve.cs new file mode 100644 index 0000000..b570e90 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurve.cs @@ -0,0 +1,43 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawToneCurve +public partial struct WICRawToneCurve +{ + /// + public uint cPoints; + + /// + public aPoints__FixedBuffer aPoints; + + public unsafe struct aPoints__FixedBuffer + { + public WICRawToneCurvePoint e0; + + [UnscopedRef] + public ref WICRawToneCurvePoint this[int index] + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + return ref AsSpan()[index]; + } + } + + [UnscopedRef] + [MethodImpl(MethodImplOptions.AggressiveInlining)] + public Span AsSpan() + { + return MemoryMarshal.CreateSpan(ref e0, 1); + } + } +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurvePoint.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurvePoint.cs new file mode 100644 index 0000000..1cea5d1 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICRawToneCurvePoint.cs @@ -0,0 +1,21 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICRawToneCurvePoint +public partial struct WICRawToneCurvePoint +{ + /// + public double Input; + + /// + public double Output; +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICSectionAccessLevel.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICSectionAccessLevel.cs new file mode 100644 index 0000000..0fbe17f --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICSectionAccessLevel.cs @@ -0,0 +1,22 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICSectionAccessLevel +public enum WICSectionAccessLevel : uint +{ + /// + /// WICSectionAccessLevelRead + WICSectionAccessLevelRead = 1, + /// + /// WICSectionAccessLevelReadWrite + WICSectionAccessLevelReadWrite = 3, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICTiffCompressionOption.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICTiffCompressionOption.cs new file mode 100644 index 0000000..d2c0801 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICTiffCompressionOption.cs @@ -0,0 +1,40 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICTiffCompressionOption +public enum WICTiffCompressionOption : int +{ + /// + /// WICTiffCompressionDontCare + WICTiffCompressionDontCare = 0, + /// + /// WICTiffCompressionNone + WICTiffCompressionNone = 1, + /// + /// WICTiffCompressionCCITT3 + WICTiffCompressionCCITT3 = 2, + /// + /// WICTiffCompressionCCITT4 + WICTiffCompressionCCITT4 = 3, + /// + /// WICTiffCompressionLZW + WICTiffCompressionLZW = 4, + /// + /// WICTiffCompressionRLE + WICTiffCompressionRLE = 5, + /// + /// WICTiffCompressionZIP + WICTiffCompressionZIP = 6, + /// + /// WICTiffCompressionLZWHDifferencing + WICTiffCompressionLZWHDifferencing = 7, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnimProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnimProperties.cs new file mode 100644 index 0000000..a5d3ea2 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnimProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICWebpAnimProperties +public enum WICWebpAnimProperties : uint +{ + /// + /// WICWebpAnimLoopCount + WICWebpAnimLoopCount = 1, +} diff --git a/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnmfProperties.cs b/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnmfProperties.cs new file mode 100644 index 0000000..a43c8c9 --- /dev/null +++ b/src/Vortice.Win32/Generated/Graphics/Imaging/WICWebpAnmfProperties.cs @@ -0,0 +1,19 @@ +// ------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +// ------------------------------------------------------------------------------ + +namespace Win32.Graphics.Imaging; + +/// +/// WICWebpAnmfProperties +public enum WICWebpAnmfProperties : uint +{ + /// + /// WICWebpAnmfFrameDuration + WICWebpAnmfFrameDuration = 1, +} diff --git a/src/Vortice.Win32/Graphics/Dxc.Manual.cs b/src/Vortice.Win32/Graphics/Dxc.Manual.cs index e395d26..b5c4332 100644 --- a/src/Vortice.Win32/Graphics/Dxc.Manual.cs +++ b/src/Vortice.Win32/Graphics/Dxc.Manual.cs @@ -7,6 +7,318 @@ namespace Win32.Graphics.Direct3D.Dxc; public static unsafe partial class Apis { + public const string DXC_ARG_DEBUG = "-Zi"; + + public const string DXC_ARG_SKIP_VALIDATION = "-Vd"; + + public const string DXC_ARG_SKIP_OPTIMIZATIONS = "-Od"; + + public const string DXC_ARG_PACK_MATRIX_ROW_MAJOR = "-Zpr"; + + public const string DXC_ARG_PACK_MATRIX_COLUMN_MAJOR = "-Zpc"; + + public const string DXC_ARG_AVOID_FLOW_CONTROL = "-Gfa"; + + public const string DXC_ARG_PREFER_FLOW_CONTROL = "-Gfp"; + + public const string DXC_ARG_ENABLE_STRICTNESS = "-Ges"; + + public const string DXC_ARG_ENABLE_BACKWARDS_COMPATIBILITY = "-Gec"; + + public const string DXC_ARG_IEEE_STRICTNESS = "-Gis"; + + public const string DXC_ARG_OPTIMIZATION_LEVEL0 = "-O0"; + + public const string DXC_ARG_OPTIMIZATION_LEVEL1 = "-O1"; + + public const string DXC_ARG_OPTIMIZATION_LEVEL2 = "-O2"; + + public const string DXC_ARG_OPTIMIZATION_LEVEL3 = "-O3"; + + public const string DXC_ARG_WARNINGS_ARE_ERRORS = "-WX"; + + public const string DXC_ARG_RESOURCES_MAY_ALIAS = "-res_may_alias"; + + public const string DXC_ARG_ALL_RESOURCES_BOUND = "-all_resources_bound"; + + public const string DXC_ARG_DEBUG_NAME_FOR_SOURCE = "-Zss"; + + public const string DXC_ARG_DEBUG_NAME_FOR_BINARY = "-Zsb"; + + public const string DXC_EXTRA_OUTPUT_NAME_STDOUT = "*stdout*"; + + public const string DXC_EXTRA_OUTPUT_NAME_STDERR = "*stderr*"; + + public static ref readonly Guid CLSID_DxcCompiler + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x93, 0x2D, 0xE2, 0x73, + 0xCE, 0xE6, + 0xF3, 0x47, + 0xB5, + 0xBF, + 0xF0, + 0x66, + 0x4F, + 0x39, + 0xC1, + 0xB0 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcLinker + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x87, 0x80, 0x6A, 0xEF, + 0xEA, 0xB0, + 0x56, 0x4D, + 0x9E, + 0x45, + 0xD0, + 0x7E, + 0x1A, + 0x8B, + 0x78, + 0x06 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcDiaDataSource + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x73, 0x6B, 0x1F, 0xCD, + 0xB0, 0x2A, + 0x4D, 0x48, + 0x8E, + 0xDC, + 0xEB, + 0xE7, + 0xA4, + 0x3C, + 0xA0, + 0x9F + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcCompilerArgs + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x82, 0xAE, 0x56, 0x3E, + 0x4D, 0x22, + 0x0F, 0x47, + 0xA1, + 0xA1, + 0xFE, + 0x30, + 0x16, + 0xEE, + 0x9F, + 0x9D + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcLibrary + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xAF, 0xD6, 0x45, 0x62, + 0xE0, 0x66, + 0xFD, 0x48, + 0x80, + 0xB4, + 0x4D, + 0x27, + 0x17, + 0x96, + 0x74, + 0x8C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcValidator + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x15, 0xE2, 0xA3, 0x8C, + 0x28, 0xF7, + 0xF3, 0x4C, + 0x8C, + 0xDD, + 0x88, + 0xAF, + 0x91, + 0x75, + 0x87, + 0xA1 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcAssembler + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x68, 0xDB, 0x28, 0xD7, + 0x03, 0xF9, + 0x80, 0x4F, + 0x94, + 0xCD, + 0xDC, + 0xCF, + 0x76, + 0xEC, + 0x71, + 0x51 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcContainerReflection + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x89, 0x44, 0xF5, 0xB9, + 0xB8, 0x55, + 0x0C, 0x40, + 0xBA, + 0x3A, + 0x16, + 0x75, + 0xE4, + 0x72, + 0x8B, + 0x91 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcOptimizer + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x9F, 0xD7, 0x2C, 0xAE, + 0x22, 0xCC, + 0x3F, 0x45, + 0x9B, + 0x6B, + 0xB1, + 0x24, + 0xE7, + 0xA5, + 0x20, + 0x4C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcContainerBuilder + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0x94, 0x42, 0x13, 0x94, + 0x1F, 0x41, + 0x74, 0x45, + 0xB4, + 0xD0, + 0x87, + 0x41, + 0xE2, + 0x52, + 0x40, + 0xD2 + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + public static ref readonly Guid CLSID_DxcPdbUtils + { + [MethodImpl(MethodImplOptions.AggressiveInlining)] + get + { + ReadOnlySpan data = new byte[] { + 0xFB, 0x1D, 0x62, 0x54, + 0xCE, 0xF2, + 0x7E, 0x45, + 0xAE, + 0x8C, + 0xEC, + 0x35, + 0x5F, + 0xAE, + 0xEC, + 0x7C + }; + + Debug.Assert(data.Length == Unsafe.SizeOf()); + return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); + } + } + + [DllImport("dxcompiler.dll", ExactSpelling = true)] + public static extern HResult DxcCreateInstance(Guid* rclsid, Guid* riid, void** ppv); + + [DllImport("dxcompiler.dll", ExactSpelling = true)] + public static extern HResult DxcCreateInstance2(Com.IMalloc* pMalloc, Guid* rclsid, Guid* riid, void** ppv); + public static HResult DxcCreateInstance(in Guid rclsid, Guid* riid, void** ppv) { return DxcCreateInstance( diff --git a/src/Vortice.Win32/Graphics/Dxgi.Manual.cs b/src/Vortice.Win32/Graphics/Dxgi.Manual.cs index c680a3d..599d831 100644 --- a/src/Vortice.Win32/Graphics/Dxgi.Manual.cs +++ b/src/Vortice.Win32/Graphics/Dxgi.Manual.cs @@ -8,7 +8,7 @@ namespace Win32.Graphics.Dxgi; public unsafe partial struct AdapterDescription { - /// + /// public readonly string GetDescription() { fixed (ushort* ptr = Description) @@ -20,7 +20,7 @@ public unsafe partial struct AdapterDescription public unsafe partial struct AdapterDescription1 { - /// + /// public readonly string GetDescription() { fixed (ushort* ptr = Description) @@ -32,7 +32,7 @@ public unsafe partial struct AdapterDescription1 public unsafe partial struct AdapterDescription2 { - /// + /// public readonly string GetDescription() { fixed (ushort* ptr = Description) diff --git a/src/Vortice.Win32/Win32.cs b/src/Vortice.Win32/Win32.cs index 27733da..30fe47f 100644 --- a/src/Vortice.Win32/Win32.cs +++ b/src/Vortice.Win32/Win32.cs @@ -15,7 +15,7 @@ public static unsafe partial class Apis /// A value wrapping a pointer to the GUID data for the input type. This value can be either converted to a pointer, or implicitly assigned to a value. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe UuidOfType __uuidof(T value) // for type inference similar to C++'s __uuidof - where T : unmanaged + where T : unmanaged, INativeGuid { return new UuidOfType(UUID.RIID); } @@ -26,7 +26,7 @@ public static unsafe partial class Apis /// A value wrapping a pointer to the GUID data for the input type. This value can be either converted to a pointer, or implicitly assigned to a value. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe UuidOfType __uuidof(T* value) // for type inference similar to C++'s __uuidof - where T : unmanaged + where T : unmanaged, INativeGuid { return new UuidOfType(UUID.RIID); } @@ -36,7 +36,7 @@ public static unsafe partial class Apis /// A value wrapping a pointer to the GUID data for the input type. This value can be either converted to a pointer, or implicitly assigned to a value. [MethodImpl(MethodImplOptions.AggressiveInlining)] public static unsafe UuidOfType __uuidof() - where T : unmanaged + where T : unmanaged, INativeGuid { return new UuidOfType(UUID.RIID); } @@ -45,20 +45,20 @@ public static unsafe partial class Apis [EditorBrowsable(EditorBrowsableState.Never)] public readonly unsafe ref struct UuidOfType { - private readonly Guid* riid; + private readonly Guid* _value; - internal UuidOfType(Guid* riid) + internal UuidOfType(Guid* value) { - this.riid = riid; + _value = value; } /// Reads a value from the GUID buffer for a given instance. /// The input instance to read data for. - public static implicit operator Guid(UuidOfType guid) => *guid.riid; + public static implicit operator Guid(UuidOfType guid) => *guid._value; /// Returns the * pointer to the GUID buffer for a given instance. /// The input instance to read data for. - public static implicit operator Guid*(UuidOfType guid) => guid.riid; + public static implicit operator Guid*(UuidOfType guid) => guid._value; } /// A helper type to provide static GUID buffers for specific types.