Blender V5.0
rna_texture.cc File Reference
#include <cfloat>
#include <cstdlib>
#include "DNA_texture_types.h"
#include "BKE_paint.hh"
#include "BLT_translation.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "WM_api.hh"
#include "WM_types.hh"

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

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()

◆ rna_def_filter_common()

◆ rna_def_mtex()

◆ rna_def_texmapping()

◆ RNA_def_texture()

void RNA_def_texture ( BlenderRNA * brna)

◆ rna_def_texture()

◆ rna_def_texture_blend()

◆ rna_def_texture_clouds()

◆ rna_def_texture_distorted_noise()

◆ rna_def_texture_image()

◆ rna_def_texture_magic()

◆ rna_def_texture_marble()

◆ rna_def_texture_musgrave()

◆ rna_def_texture_noise()

void rna_def_texture_noise ( BlenderRNA * brna)
static

Definition at line 1057 of file rna_texture.cc.

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

Referenced by rna_def_texture().

◆ rna_def_texture_stucci()

◆ rna_def_texture_voronoi()

◆ rna_def_texture_wood()

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, nullptr, 0, nullptr, nullptr},
}
@ MTEX_DIFF
@ MTEX_DIV
@ MTEX_BLEND_VAL
@ MTEX_MUL
@ MTEX_DARK
@ MTEX_BLEND_HUE
@ MTEX_LIGHT
@ MTEX_BLEND_COLOR
@ MTEX_BLEND
@ MTEX_SOFT_LIGHT
@ MTEX_LIN_LIGHT
@ MTEX_SUB
@ MTEX_ADD
@ MTEX_OVERLAY
@ MTEX_SCREEN
@ MTEX_BLEND_SAT
#define RNA_ENUM_ITEM_SEPR
Definition RNA_types.hh:676

Definition at line 80 of file rna_texture.cc.

Referenced by rna_def_colormapping(), and rna_def_mtex().

◆ prop_noise_basis_items

◆ 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, nullptr, 0, nullptr, nullptr},
}
@ TEX_NOISEPERL
@ TEX_NOISESOFT

Definition at line 733 of file rna_texture.cc.

Referenced by def_sh_tex_noise(), 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 26 of file rna_texture.cc.

Referenced by RNA_def_main_textures(), and rna_def_texture().