Blender V4.3
BPy_FrsNoise.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
15#include "../geometry/Noise.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
23
24extern PyTypeObject FrsNoise_Type;
25
26#define BPy_FrsNoise_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FrsNoise_Type))
27
28/*---------------------------Python BPy_FrsNoise structure definition----------*/
29typedef struct {
30 PyObject_HEAD
34
35/*---------------------------Python BPy_FrsNoise visible prototypes-----------*/
36
37int FrsNoise_Init(PyObject *module);
38
40
41#ifdef __cplusplus
42}
43#endif
int FrsNoise_Init(PyObject *module)
PyTypeObject FrsNoise_Type
Class to define Perlin noise.
Class to define a pseudo Perlin noise.
static struct PyModuleDef module
Definition python.cpp:991
Freestyle::PseudoNoise * pn
PyObject_HEAD Freestyle::Noise * n