FastUIDraw
Classes | Namespaces | Functions
c_array.hpp File Reference

file c_array.hpp More...

#include <fastuidraw/util/util.hpp>
#include <fastuidraw/util/vecN.hpp>
Include dependency graph for c_array.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fastuidraw::c_array< T >
 A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provide an STL-like iterator interface. More...
 

Namespaces

 fastuidraw
 all classes and functions of FastUIDraw are in the namespace fastuidraw.
 

Functions

void fastuidraw::convert_to_fp16 (c_array< const float > src, c_array< uint16_t > dst)
 
void fastuidraw::convert_to_fp32 (c_array< const uint16_t > src, c_array< float > dst)
 
uint32_t fastuidraw::pack_as_fp16 (vec2 src)
 
uint32_t fastuidraw::pack_as_fp16 (float x, float y)
 

Detailed Description

file c_array.hpp

Adapted from: c_array.hpp of WRATH:

Copyright 2013 by Nomovok Ltd. Contact: info@.nosp@m.nomo.nosp@m.vok.c.nosp@m.om This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Author
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.nomo.nosp@m.vok.c.nosp@m.om
Kevin Rogovin kevin.nosp@m..rog.nosp@m.ovin@.nosp@m.gmai.nosp@m.l.com

Definition in file c_array.hpp.