Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_BokehImageOperation.h
| Show All 10 Lines | |||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * Copyright 2011, Blender Foundation. | * Copyright 2011, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_BOKEHIMAGEOPERATION_H__ | #pragma once | ||||
| #define __COM_BOKEHIMAGEOPERATION_H__ | |||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| /** | /** | ||||
| * \brief The BokehImageOperation class is an operation that creates an image useful to mimic the | * \brief The BokehImageOperation class is an operation that creates an image useful to mimic the | ||||
| *internals of a camera. | *internals of a camera. | ||||
| * | * | ||||
| * features: | * features: | ||||
| * - number of flaps | * - number of flaps | ||||
| ▲ Show 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | public: | ||||
| * the deleteDataOnFinish must only be called when the data has been created by the compositor. | * the deleteDataOnFinish must only be called when the data has been created by the compositor. | ||||
| *It should not be called when the data has been created by the node-editor/user. | *It should not be called when the data has been created by the node-editor/user. | ||||
| */ | */ | ||||
| void deleteDataOnFinish() | void deleteDataOnFinish() | ||||
| { | { | ||||
| this->m_deleteData = true; | this->m_deleteData = true; | ||||
| } | } | ||||
| }; | }; | ||||
| #endif | |||||