Search Results for

    Show / Hide Table of Contents

    Class Float16Compressor

    Utility for packing/unpacking floating point value from single precision (32 bit) to half precision (16 bit).

    Inheritance
    Float16Compressor
    Assembly: FlaxEngine.dll
    File: Engine/Core/Math/Half.h
    Syntax
    public class Float16Compressor

    Methods

    Compress(float value)

    Declaration
    public static Half Compress(float value)
    Parameters
    float value

    Returns
    Half

    Decompress(Half value)

    Declaration
    public static float Decompress(Half value)
    Parameters
    Half value

    Returns
    float

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat