mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.Jolt.Generate; do not edit by hand.
|
|
#nullable enable
|
|
|
|
using Brutal.Interop;
|
|
using Brutal.Numerics;
|
|
namespace Brutal.JoltApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/jrouwe/JoltPhysics/blob/23dadd0e603f1b321142d4c74df07fce85064989/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>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// 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
|
|
/// </code>
|
|
/// </remarks>
|
|
[InteropHandle]
|
|
public readonly partial struct FPFlushDenormals : IDisposable
|
|
{
|
|
public static FPFlushDenormals Create() => Jolt.PInvoke.FPFlushDenormals_Create();
|
|
public void Dispose() => Jolt.PInvoke.FPFlushDenormals_Destroy(this);
|
|
}
|
|
}
|