Blender  V3.3
Functions | Variables
rna_texture.c File Reference
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include "DNA_brush_types.h"
#include "DNA_light_types.h"
#include "DNA_material_types.h"
#include "DNA_node_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DNA_texture_types.h"
#include "DNA_world_types.h"
#include "BLI_utildefines.h"
#include "BKE_node.h"
#include "BKE_node_tree_update.h"
#include "BKE_paint.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

static void rna_def_texmapping (BlenderRNA *brna)
 
static void rna_def_colormapping (BlenderRNA *brna)
 
static void rna_def_mtex (BlenderRNA *brna)
 
static void rna_def_filter_common (StructRNA *srna)
 
static void rna_def_texture_clouds (BlenderRNA *brna)
 
static void rna_def_texture_wood (BlenderRNA *brna)
 
static void rna_def_texture_marble (BlenderRNA *brna)
 
static void rna_def_texture_magic (BlenderRNA *brna)
 
static void rna_def_texture_blend (BlenderRNA *brna)
 
static void rna_def_texture_stucci (BlenderRNA *brna)
 
static void rna_def_texture_noise (BlenderRNA *brna)
 
static void rna_def_texture_image (BlenderRNA *brna)
 
static void rna_def_texture_musgrave (BlenderRNA *brna)
 
static void rna_def_texture_voronoi (BlenderRNA *brna)
 
static void rna_def_texture_distorted_noise (BlenderRNA *brna)
 
static void rna_def_texture (BlenderRNA *brna)
 
void RNA_def_texture (BlenderRNA *brna)
 

Variables

static const EnumPropertyItem texture_filter_items []
 
const EnumPropertyItem rna_enum_texture_type_items []
 
static const EnumPropertyItem blend_type_items []
 
static const EnumPropertyItem prop_noise_basis_items []
 
static const EnumPropertyItem prop_noise_type []
 

Function Documentation

◆ rna_def_colormapping()

static void rna_def_colormapping ( BlenderRNA brna)
static

◆ rna_def_filter_common()

static void rna_def_filter_common ( StructRNA srna)
static

◆ rna_def_mtex()

static void rna_def_mtex ( BlenderRNA brna)
static

◆ rna_def_texmapping()

static void rna_def_texmapping ( BlenderRNA brna)
static

◆ rna_def_texture()

static void rna_def_texture ( BlenderRNA brna)
static

◆ RNA_def_texture()

void RNA_def_texture ( BlenderRNA brna)

◆ rna_def_texture_blend()

static void rna_def_texture_blend ( BlenderRNA brna)
static

◆ rna_def_texture_clouds()

static void rna_def_texture_clouds ( BlenderRNA brna)
static

◆ rna_def_texture_distorted_noise()

static void rna_def_texture_distorted_noise ( BlenderRNA brna)
static

◆ rna_def_texture_image()

static void rna_def_texture_image ( BlenderRNA brna)
static

◆ rna_def_texture_magic()

static void rna_def_texture_magic ( BlenderRNA brna)
static

◆ rna_def_texture_marble()

static void rna_def_texture_marble ( BlenderRNA brna)
static

◆ rna_def_texture_musgrave()

static void rna_def_texture_musgrave ( BlenderRNA brna)
static

◆ rna_def_texture_noise()

static void rna_def_texture_noise ( BlenderRNA brna)
static

Definition at line 1128 of file rna_texture.c.

References RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().

Referenced by rna_def_texture().

◆ rna_def_texture_stucci()

static void rna_def_texture_stucci ( BlenderRNA brna)
static

◆ rna_def_texture_voronoi()

static void rna_def_texture_voronoi ( BlenderRNA brna)
static

◆ rna_def_texture_wood()

static void rna_def_texture_wood ( BlenderRNA brna)
static

Variable Documentation

◆ blend_type_items

const EnumPropertyItem blend_type_items[]
static
Initial value:
= {
{MTEX_BLEND, "MIX", 0, "Mix", ""},
{MTEX_DARK, "DARKEN", 0, "Darken", ""},
{MTEX_MUL, "MULTIPLY", 0, "Multiply", ""},
{MTEX_LIGHT, "LIGHTEN", 0, "Lighten", ""},
{MTEX_SCREEN, "SCREEN", 0, "Screen", ""},
{MTEX_ADD, "ADD", 0, "Add", ""},
{MTEX_OVERLAY, "OVERLAY", 0, "Overlay", ""},
{MTEX_SOFT_LIGHT, "SOFT_LIGHT", 0, "Soft Light", ""},
{MTEX_LIN_LIGHT, "LINEAR_LIGHT", 0, "Linear Light", ""},
{MTEX_DIFF, "DIFFERENCE", 0, "Difference", ""},
{MTEX_SUB, "SUBTRACT", 0, "Subtract", ""},
{MTEX_DIV, "DIVIDE", 0, "Divide", ""},
{MTEX_BLEND_HUE, "HUE", 0, "Hue", ""},
{MTEX_BLEND_SAT, "SATURATION", 0, "Saturation", ""},
{MTEX_BLEND_COLOR, "COLOR", 0, "Color", ""},
{MTEX_BLEND_VAL, "VALUE", 0, "Value", ""},
{0, NULL, 0, NULL, NULL},
}
#define MTEX_LIGHT
#define MTEX_MUL
#define MTEX_BLEND_VAL
#define MTEX_OVERLAY
#define MTEX_DIV
#define MTEX_BLEND_HUE
#define MTEX_SUB
#define MTEX_SCREEN
#define MTEX_LIN_LIGHT
#define MTEX_DIFF
#define MTEX_BLEND_SAT
#define MTEX_BLEND
#define MTEX_SOFT_LIGHT
#define MTEX_BLEND_COLOR
#define MTEX_ADD
#define MTEX_DARK
#define RNA_ENUM_ITEM_SEPR
Definition: RNA_types.h:483

Definition at line 99 of file rna_texture.c.

Referenced by rna_def_colormapping(), and rna_def_mtex().

◆ prop_noise_basis_items

const EnumPropertyItem prop_noise_basis_items[]
static

◆ prop_noise_type

const EnumPropertyItem prop_noise_type[]
static
Initial value:
= {
{TEX_NOISESOFT, "SOFT_NOISE", 0, "Soft", "Generate soft noise (smooth transitions)"},
{TEX_NOISEPERL, "HARD_NOISE", 0, "Hard", "Generate hard noise (sharp transitions)"},
{0, NULL, 0, NULL, NULL},
}
#define TEX_NOISEPERL
#define TEX_NOISESOFT

Definition at line 807 of file rna_texture.c.

Referenced by rna_def_texture_clouds(), rna_def_texture_marble(), rna_def_texture_stucci(), and rna_def_texture_wood().

◆ rna_enum_texture_type_items

const EnumPropertyItem rna_enum_texture_type_items[]

Definition at line 45 of file rna_texture.c.

Referenced by RNA_def_main_textures(), and rna_def_texture().

◆ texture_filter_items

const EnumPropertyItem texture_filter_items[]
static
Initial value:
= {
{TXF_BOX, "BOX", 0, "Box", ""},
{TXF_EWA, "EWA", 0, "EWA", ""},
{TXF_FELINE, "FELINE", 0, "FELINE", ""},
{TXF_AREA, "AREA", 0, "Area", ""},
{0, NULL, 0, NULL, NULL},
}
#define TXF_AREA
#define TXF_EWA
#define TXF_BOX
#define TXF_FELINE

Definition at line 36 of file rna_texture.c.

Referenced by rna_def_filter_common().