resonance 1.0.1
Loading...
Searching...
No Matches
keychannel.h File Reference
#include <list>
#include "math/color.h"
#include "math/vector3.h"
Include dependency graph for keychannel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Rnd::ColorKey
 One keyframe of a colour channel. More...
struct  Rnd::FloatKey
 One keyframe of a scalar channel. More...
struct  Rnd::Vector3Key
 One keyframe of a three-component vector channel. More...

Namespaces

namespace  Rnd
 The rendering engine.

Functions

Dbg & Rnd::DumpColorKeys (Dbg &sink, const std::list< ColorKey > &keys)
 Write a channel of colour keyframes to the engine text sink.
Dbg & Rnd::DumpFloatKeys (Dbg &sink, const std::list< FloatKey > &keys)
 Write a channel of scalar keyframes to the engine text sink.
Stream & Rnd::ReadColorKeys (Stream &stream, std::list< ColorKey > &keys)
 Read a channel of colour keyframes from a .rnd stream.
Stream & Rnd::WriteColorKeys (Stream &stream, const std::list< ColorKey > &keys)
 Write a channel of colour keyframes to a .rnd stream.
Stream & Rnd::WriteFloatKeys (Stream &stream, const std::list< FloatKey > &keys)
 Write a channel of scalar keyframes to a .rnd stream.
Stream & Rnd::ReadFloatKeys (Stream &stream, std::list< FloatKey > &keys)
 Read a channel of scalar keyframes from a .rnd stream.
Dbg & Rnd::DumpVector3Keys (Dbg &sink, const std::list< Vector3Key > &keys)
 Write a channel of vector keyframes to the engine text sink.
Stream & Rnd::ReadVector3Keys (Stream &stream, std::list< Vector3Key > &keys)
 Read a channel of vector keyframes from a .rnd stream.
Stream & Rnd::operator<< (Stream &stream, const std::list< Vector3Key > &keys)
 Write a channel of vector keyframes to a .rnd stream.
template<class Key>
float Rnd::ChannelEndFrame (const std::list< Key > &keys)
 Report the frame of the last keyframe of a channel, and zero for an empty channel.
template<class Key>
void Rnd::SelectKeyPair (const std::list< Key > &keys, float flFrame, const Key *&pFrom, const Key *&pTo, float &flBlend)
 Select the keyframe pair bracketing a frame, and the blend between the pair.