Changeset View
Changeset View
Standalone View
Standalone View
source/blender/compositor/operations/COM_MaskOperation.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 2012, Blender Foundation. | * Copyright 2012, Blender Foundation. | ||||
| */ | */ | ||||
| #ifndef __COM_MASKOPERATION_H__ | #pragma once | ||||
| #define __COM_MASKOPERATION_H__ | |||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "COM_NodeOperation.h" | #include "COM_NodeOperation.h" | ||||
| #include "DNA_mask_types.h" | #include "DNA_mask_types.h" | ||||
| #include "IMB_imbuf_types.h" | #include "IMB_imbuf_types.h" | ||||
| /** | /** | ||||
| * Class with implementation of mask rasterization | * Class with implementation of mask rasterization | ||||
| ▲ Show 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | public: | ||||
| } | } | ||||
| void setMotionBlurShutter(float shutter) | void setMotionBlurShutter(float shutter) | ||||
| { | { | ||||
| this->m_frame_shutter = shutter; | this->m_frame_shutter = shutter; | ||||
| } | } | ||||
| void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | void executePixelSampled(float output[4], float x, float y, PixelSampler sampler); | ||||
| }; | }; | ||||
| #endif | |||||