mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-29 06:28:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
30
Brutal.Jolt/Generated/Classes/FPFlushDenormals.gen.cs
Normal file
30
Brutal.Jolt/Generated/Classes/FPFlushDenormals.gen.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
// <auto-generated/>
|
||||
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
||||
#nullable enable
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
using Brutal.Interop;
|
||||
using Brutal.Numerics;
|
||||
|
||||
namespace Brutal.JoltApi
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>
|
||||
/// Helper class that needs to be put on the stack to enable flushing denormals to zero This can make floating
|
||||
/// point operations much faster when working with very small numbers
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// C++:
|
||||
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/e77f175595e64cb44218cc9d9d56fc365ad0e36a/Jolt/Core/FPFlushDenormals.h#L20">Jolt/Core/FPFlushDenormals.h:20</see>
|
||||
/// <br/>
|
||||
/// <c>class FPFlushDenormals : public FPControlWord<_MM_FLUSH_ZERO_ON, _MM_FLUSH_ZERO_MASK> { }</c>
|
||||
/// </para>
|
||||
/// </summary>
|
||||
[InteropHandle]
|
||||
public readonly partial struct FPFlushDenormals : IDisposable
|
||||
{
|
||||
public static FPFlushDenormals Create() => Jolt.PInvoke.FPFlushDenormals_Create();
|
||||
|
||||
public void Dispose() => Jolt.PInvoke.FPFlushDenormals_Destroy(this);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue