Cycles: enable improved closure sampling, this should give less noise for mix, add
[blender.git] / intern / cycles / device / device.h
index 0b3c66dbb2c13f5ef9e2d6a851aef45b62f2cccc..360478cfd75c5f3785b4121a3c87de8b2ad24014 100644 (file)
@@ -75,12 +75,14 @@ class Device {
 protected:
        Device() {}
 
-       DeviceType type;
+       DeviceType device_type;
        bool background;
 
 public:
        virtual ~Device() {}
 
+       DeviceType type() { return device_type; }
+
        /* info */
        virtual string description() = 0;