Blender V5.0
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
8
9#pragma once
10
11extern "C" {
12#include <Python.h>
13}
14
15#include "../geometry/Noise.h"
17
19
20extern PyTypeObject FrsNoise_Type;
21
22#define BPy_FrsNoise_Check(v) (PyObject_IsInstance((PyObject *)v, (PyObject *)&FrsNoise_Type))
23
24/*---------------------------Python BPy_FrsNoise structure definition----------*/
25typedef struct {
26 PyObject_HEAD
30
31/*---------------------------Python BPy_FrsNoise visible prototypes-----------*/
32
33int FrsNoise_Init(PyObject *module);
34
PyTypeObject FrsNoise_Type
int FrsNoise_Init(PyObject *module)
Class to define Perlin noise.
Class to define a pseudo Perlin noise.
static struct PyModuleDef module
Definition python.cpp:796
Freestyle::PseudoNoise * pn
PyObject_HEAD Freestyle::Noise * n