slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
half结构体 参考

#include <slang-cpp-scalar-intrinsics.h>

Public 成员函数

 half ()=default
 
 half (float f)
 
SLANG_FORCE_INLINE void store (float f)
 
SLANG_FORCE_INLINE float load () const
 
half operator+ (half other) const
 
half operator- (half other) const
 
half operator* (half other) const
 
half operator/ (half other) const
 
halfoperator+= (half other)
 
halfoperator-= (half other)
 
halfoperator*= (half other)
 
halfoperator/= (half other)
 
bool operator< (half other) const
 
bool operator> (half other) const
 
bool operator<= (half other) const
 
bool operator>= (half other) const
 
bool operator== (half other) const
 
bool operator!= (half other) const
 
 operator float () const
 

Public 属性

uint16_t data
 

构造及析构函数说明

◆ half() [1/2]

half::half ( )
default

◆ half() [2/2]

half::half ( float f)
inlineexplicit

成员函数说明

◆ load()

SLANG_FORCE_INLINE float half::load ( ) const
inline
函数调用图:
这是这个函数的调用关系图:

◆ operator float()

half::operator float ( ) const
inlineexplicit

◆ operator!=()

bool half::operator!= ( half other) const
inline
函数调用图:

◆ operator*()

half half::operator* ( half other) const
inline
函数调用图:

◆ operator*=()

half & half::operator*= ( half other)
inline
函数调用图:

◆ operator+()

half half::operator+ ( half other) const
inline
函数调用图:

◆ operator+=()

half & half::operator+= ( half other)
inline
函数调用图:

◆ operator-()

half half::operator- ( half other) const
inline
函数调用图:

◆ operator-=()

half & half::operator-= ( half other)
inline
函数调用图:

◆ operator/()

half half::operator/ ( half other) const
inline
函数调用图:

◆ operator/=()

half & half::operator/= ( half other)
inline
函数调用图:

◆ operator<()

bool half::operator< ( half other) const
inline
函数调用图:

◆ operator<=()

bool half::operator<= ( half other) const
inline
函数调用图:

◆ operator==()

bool half::operator== ( half other) const
inline
函数调用图:

◆ operator>()

bool half::operator> ( half other) const
inline
函数调用图:

◆ operator>=()

bool half::operator>= ( half other) const
inline
函数调用图:

◆ store()

SLANG_FORCE_INLINE void half::store ( float f)
inline
函数调用图:

类成员变量说明

◆ data

uint16_t half::data

该结构体的文档由以下文件生成: