20 #ifndef FASTUIDRAW_COLORSTOP_HPP 21 #define FASTUIDRAW_COLORSTOP_HPP 132 template<
typename iterator>
134 add(iterator begin, iterator end)
136 for(; begin != end; ++begin)
181 texel_location(
void)
const;
ColorStop(u8vec4 c, float p)
all classes and functions of FastUIDraw are in the namespace fastuidraw.
A ColorStop is a pair consisting of an RGBA value and a place. The value of the place is a floating p...
A ColorStopArray is a sequence of ColorStop values used to define the color stops of a gradient...
A ColorStopAtlas is a common location to all color stop data of an application. Ideally, all color stop sequences are placed into a single ColorStopAtlas (changes of ColorStopAtlas force draw-call breaks).
A c_array is a wrapper over a C pointer with a size parameter to facilitate bounds checking and provi...
A common base class to use for resources that need to be saved opaquely.
A ColorStopSequence is a ColorStopArray on a ColorStopAtlas. A ColorStopAtlas is backed by a 1D textu...
Class for which copy ctor and assignment operator are private functions.
bool operator<(const ColorStop &rhs) const
void add(iterator begin, iterator end)
file reference_counted.hpp