Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

plugin.h File Reference

#include "externdef.h"
#include "iff.h"
#include "util.h"
#include "floatpatch.h"

Go to the source code of this file.

Classes

struct  VarStruct
struct  _PluginInfo

Defines

#define B_PLUGIN_VERSION   6
#define CHA   32
#define INT   96
#define FLO   128
#define TOG   (3<<9)
#define NUM   (5<<9)
#define LABEL   (10<<9)
#define NUMSLI   (14<<9)
#define COL   (15<<9)
#define TEX_INT   0
#define TEX_RGB   1
#define TEX_NOR   2

Typedefs

typedef int(* TexDoit )(int, void *, float *, float *, float *, float *)
typedef int(* TexDoitold )(int, void *, float *, float *, float *)
typedef void(* SeqDoit )(void *, float, float, int, int, ImBuf *, ImBuf *, ImBuf *, ImBuf *)
typedef struct VarStruct VarStruct
typedef struct _PluginInfo PluginInfo

Functions

LIBEXPORT int plugin_tex_getversion (void)
LIBEXPORT int plugin_seq_getversion (void)
LIBEXPORT void plugin_getinfo (PluginInfo *)
LIBIMPORT float hnoise (float noisesize, float x, float y, float z)
LIBIMPORT float hnoisep (float noisesize, float x, float y, float z)
LIBIMPORT float turbulence (float noisesize, float x, float y, float z, int depth)
LIBIMPORT float turbulence1 (float noisesize, float x, float y, float z, int depth)

Detailed Description

Definition in file plugin.h.


Define Documentation

#define B_PLUGIN_VERSION   6

Definition at line 41 of file plugin.h.

#define CHA   32
#define COL   (15<<9)

Definition at line 86 of file plugin.h.

#define FLO   128

Definition at line 80 of file plugin.h.

#define INT   96

Definition at line 79 of file plugin.h.

#define LABEL   (10<<9)
#define NUM   (5<<9)
#define NUMSLI   (14<<9)
#define TEX_INT   0
#define TEX_NOR   2
#define TEX_RGB   1
#define TOG   (3<<9)

Typedef Documentation

typedef struct _PluginInfo PluginInfo
typedef void(* SeqDoit)(void *, float, float, int, int, ImBuf *, ImBuf *, ImBuf *, ImBuf *)

Definition at line 45 of file plugin.h.

typedef int(* TexDoit)(int, void *, float *, float *, float *, float *)

Definition at line 43 of file plugin.h.

typedef int(* TexDoitold)(int, void *, float *, float *, float *)

Definition at line 44 of file plugin.h.

typedef struct VarStruct VarStruct

Function Documentation

LIBIMPORT float hnoise ( float  noisesize,
float  x,
float  y,
float  z 
)

Definition at line 230 of file pluginapi.c.

References BLI_hnoise().

Referenced by pluginapi_force_ref().

LIBIMPORT float hnoisep ( float  noisesize,
float  x,
float  y,
float  z 
)

Definition at line 238 of file pluginapi.c.

References BLI_hnoisep().

Referenced by pluginapi_force_ref().

LIBEXPORT void plugin_getinfo ( PluginInfo )
LIBEXPORT int plugin_seq_getversion ( void  )
LIBEXPORT int plugin_tex_getversion ( void  )
LIBIMPORT float turbulence ( float  noisesize,
float  x,
float  y,
float  z,
int  depth 
)

Definition at line 246 of file pluginapi.c.

References BLI_turbulence().

Referenced by pluginapi_force_ref().

LIBIMPORT float turbulence1 ( float  noisesize,
float  x,
float  y,
float  z,
int  depth 
)

Definition at line 255 of file pluginapi.c.

References BLI_turbulence1().

Referenced by pluginapi_force_ref().