2023-08-16 00:20:26 +10:00
|
|
|
/* SPDX-FileCopyrightText: 2023 Blender Authors
|
2023-05-31 16:19:06 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-02-23 18:32:28 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup freestyle
|
2013-02-23 18:32:28 +00:00
|
|
|
*/
|
|
|
|
|
|
2013-02-23 18:50:33 +00:00
|
|
|
#pragma once
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
#include "../BPy_UnaryFunction0D.h"
|
|
|
|
|
|
2008-08-07 15:04:25 +00:00
|
|
|
#include "../../scene_graph/FrsMaterial.h"
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
extern PyTypeObject UnaryFunction0DMaterial_Type;
|
|
|
|
|
|
2013-03-07 23:17:23 +00:00
|
|
|
#define BPy_UnaryFunction0DMaterial_Check(v) \
|
|
|
|
|
(PyObject_IsInstance((PyObject *)v, (PyObject *)&UnaryFunction0DMaterial_Type))
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_UnaryFunction0DMaterial structure definition----------*/
|
|
|
|
|
typedef struct {
|
|
|
|
|
BPy_UnaryFunction0D py_uf0D;
|
2021-02-08 17:28:15 +02:00
|
|
|
Freestyle::UnaryFunction0D<Freestyle::FrsMaterial> *uf0D_material;
|
2008-07-27 06:57:46 +00:00
|
|
|
} BPy_UnaryFunction0DMaterial;
|
|
|
|
|
|
|
|
|
|
/*---------------------------Python BPy_UnaryFunction0DMaterial visible prototypes-----------*/
|
2013-02-23 18:50:33 +00:00
|
|
|
int UnaryFunction0DMaterial_Init(PyObject *module);
|
2008-07-27 06:57:46 +00:00
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////
|