-
-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,131 additions
and
14 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLUserCalibration.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
using Silk.NET.OpenXR; | ||
using Extension = Silk.NET.Core.Attributes.ExtensionAttribute; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenXR.Extensions.ML | ||
{ | ||
[Extension("XR_ML_user_calibration")] | ||
public unsafe partial class MLUserCalibration : NativeExtension<XR> | ||
{ | ||
public const string ExtensionName = "XR_ML_user_calibration"; | ||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "xrEnableUserCalibrationEventsML", Convention = CallingConvention.Winapi)] | ||
public unsafe partial Result EnableUserCalibrationEventsML([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] UserCalibrationEnableEventsInfoML* enableInfo); | ||
|
||
/// <summary>To be documented.</summary> | ||
[NativeApi(EntryPoint = "xrEnableUserCalibrationEventsML", Convention = CallingConvention.Winapi)] | ||
public partial Result EnableUserCalibrationEventsML([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] in UserCalibrationEnableEventsInfoML enableInfo); | ||
|
||
public MLUserCalibration(INativeContext ctx) | ||
: base(ctx) | ||
{ | ||
} | ||
} | ||
} | ||
|
28 changes: 28 additions & 0 deletions
28
src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.ML/MLUserCalibrationOverloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenXR.Extensions.ML | ||
{ | ||
public static class MLUserCalibrationOverloads | ||
{ | ||
/// <summary>To be documented.</summary> | ||
public static unsafe Result EnableUserCalibrationEventsML(this MLUserCalibration thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<UserCalibrationEnableEventsInfoML> enableInfo) | ||
{ | ||
// SpanOverloader | ||
return thisApi.EnableUserCalibrationEventsML(instance, in enableInfo.GetPinnableReference()); | ||
} | ||
|
||
} | ||
} | ||
|
181 changes: 181 additions & 0 deletions
181
src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.MSFT/MsftSceneMarker.gen.cs
Large diffs are not rendered by default.
Oops, something went wrong.
161 changes: 161 additions & 0 deletions
161
src/OpenXR/Extensions/Silk.NET.OpenXR.Extensions.MSFT/MsftSceneMarkerOverloads.gen.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
using System; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.CompilerServices; | ||
using System.Text; | ||
using Silk.NET.Core; | ||
using Silk.NET.Core.Native; | ||
using Silk.NET.Core.Attributes; | ||
using Silk.NET.Core.Contexts; | ||
using Silk.NET.Core.Loader; | ||
|
||
#pragma warning disable 1591 | ||
|
||
namespace Silk.NET.OpenXR.Extensions.MSFT | ||
{ | ||
public static class MsftSceneMarkerOverloads | ||
{ | ||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, markerId, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerDecodedStringMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerDecodedStringMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, markerId, bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] Guid* markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, markerId, bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] uint* bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, bufferCountOutput, buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] byte* buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [Count(Parameter = "bufferCapacityInput")] Span<byte> buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), ref buffer.GetPinnableReference()); | ||
} | ||
|
||
/// <summary>To be documented.</summary> | ||
public static unsafe Result GetSceneMarkerRawDataMsft(this MsftSceneMarker thisApi, [Count(Count = 0)] SceneMSFT scene, [Count(Count = 0), Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan<Guid> markerId, [Count(Count = 0)] uint bufferCapacityInput, [Count(Count = 0)] Span<uint> bufferCountOutput, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string buffer) | ||
{ | ||
// SpanOverloader | ||
return thisApi.GetSceneMarkerRawDataMsft(scene, in markerId.GetPinnableReference(), bufferCapacityInput, ref bufferCountOutput.GetPinnableReference(), buffer); | ||
} | ||
|
||
} | ||
} | ||
|
Oops, something went wrong.