Blender V5.3
half.h File Reference
#include "util/defines.h"
#include "util/math_base.h"
#include "util/math_float4.h"
#include "util/math_int4.h"
#include "util/types_base.h"
#include "util/types_float4.h"
#include "util/types_int4.h"
#include "util/types_uint4.h"

Go to the source code of this file.

Classes

class  half
struct  packed_half3
struct  half4

Functions

ccl_device_inline float fallback_half_to_float (const half h)
ccl_device_inline float4 fallback_half4_to_float4 (const half4 h)
ccl_device_inline float3 fallback_packed_half3_to_float3 (const packed_half3 h)
ccl_device_inline half fallback_float_to_half (const float f)
ccl_device_inline half4 fallback_float4_to_half4 (const float4 f)
ccl_device_inline packed_half3 fallback_float3_to_packed_half3 (const float3 f)
ccl_device_inline float half_to_float (half h)
ccl_device_inline half float_to_half (const float f)
ccl_device_inline half4 float4_to_half4 (const float4 f)
ccl_device_inline float4 half4_to_float4 (const half4 h)
ccl_device_inline packed_half3 float3_to_packed_half3 (const float3 f)
ccl_device_inline float3 packed_half3_to_float3 (const packed_half3 h)
ccl_device_inline half float_to_half_image (const float f)
ccl_device_inline float half_to_float_image (half h)
ccl_device_inline float4 half4_to_float4_image (const half4 h)
ccl_device_inline half float_to_half_display (const float f)
ccl_device_inline half4 float4_to_half4_display (const float4 f)
ccl_device_inline float half_is_finite (const half h)

Function Documentation

◆ fallback_float3_to_packed_half3()

◆ fallback_float4_to_half4()

◆ fallback_float_to_half()

ccl_device_inline half fallback_float_to_half ( const float f)

◆ fallback_half4_to_float4()

◆ fallback_half_to_float()

ccl_device_inline float fallback_half_to_float ( const half h)

◆ fallback_packed_half3_to_float3()

◆ float3_to_packed_half3()

◆ float4_to_half4()

◆ float4_to_half4_display()

ccl_device_inline half4 float4_to_half4_display ( const float4 f)

◆ float_to_half()

◆ float_to_half_display()

ccl_device_inline half float_to_half_display ( const float f)

◆ float_to_half_image()

◆ half4_to_float4()

◆ half4_to_float4_image()

◆ half_is_finite()

ccl_device_inline float half_is_finite ( const half h)

Definition at line 343 of file half.h.

References ccl_device_inline, and half_is_finite().

Referenced by half_is_finite(), and util_image_is_finite().

◆ half_to_float()

◆ half_to_float_image()

◆ packed_half3_to_float3()