blob: c66e3e627d0ce74153e98602f59e4123b455b8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// this is just an example of using the pixels-class..
#include "plugin.h"
#include "pixels.h"
void perform_effect(_frame f, _args a)
{
pixels p(f);
while(!p.eof())
{
p.putrgb(0, p.green(), 0);
p.next();
}
}
|