include/sampler.h
branchpyrit
changeset 93 96d65f841791
parent 90 f6a72eb99631
child 94 4c8abb8977dc
equal deleted inserted replaced
92:9af5c039b678 93:96d65f841791
    55  * initSampleSet returns zero and picture can be read from buffer.
    55  * initSampleSet returns zero and picture can be read from buffer.
    56  */
    56  */
    57 class Sampler
    57 class Sampler
    58 {
    58 {
    59 protected:
    59 protected:
    60 
       
    61 	Pixmap pixmap;
    60 	Pixmap pixmap;
    62 	bool packetable;
    61 	bool packetable;
    63 public:
    62 public:
    64 	Sampler(Float *buffer, const int &w, const int &h):
    63 	Sampler(Float *buffer, const int &w, const int &h):
    65 		pixmap(buffer, w, h), packetable(false) {};
    64 		pixmap(buffer, w, h), packetable(false) {};