C language function:f32tof16 sample codes

Search sample code in the internet.It is the result.


TITLE : Implementing Deferred Rendering - Direct3D Rendering Cookbook (2014)
result = f32tof16(encN.x);.......
http://apprize.info/programming/direct3d/11.html


TITLE : Implementing Deferred Rendering - Direct3D Rendering Cookbook (2014)
result |= f32tof16(encN.y) << 16;.......
http://apprize.info/programming/direct3d/11.html
search Google

https://www.google.com/#q=f32tof16