Python API: Initial 'imbuf' API

Support only basic operations new/load/write & resize.

Add now so we can extend as needed & more easily accept patches.
This commit is contained in:
2018-06-07 07:41:49 +02:00
parent 0e68751b8a
commit 409cfba1a3
4 changed files with 481 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* ***** END GPL LICENSE BLOCK *****
*/
#ifndef __IMBUF_PY_API_H__
#define __IMBUF_PY_API_H__
/** \file blender/python/generic/imbuf_py_api.h
* \ingroup pygen
*/
PyObject *BPyInit_imbuf(void);
#endif /* __IMBUF_PY_API_H__ */