Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (19 sloc) 413 Bytes
#ifndef _TEXTURE_H_
#define _TEXTURE_H_
#include "common.h"
namespace Renzoku {
class Texture {
Texture(const string img);
Texture(ImageFloat &img);
virtual ~Texture();
Rgb lookup(const Vec2 &uv);
inline ImageFloat *get_buffer() const;
ImageFloat *buf;
inline ImageFloat* Texture::get_buffer() const {
return buf;
} // end namespace Renzoku
You can’t perform that action at this time.