Blender  V2.93
Macros | Functions
shader.cpp File Reference
#include "device/device.h"
#include "render/alembic.h"
#include "render/background.h"
#include "render/camera.h"
#include "render/colorspace.h"
#include "render/graph.h"
#include "render/integrator.h"
#include "render/light.h"
#include "render/mesh.h"
#include "render/nodes.h"
#include "render/object.h"
#include "render/osl.h"
#include "render/scene.h"
#include "render/shader.h"
#include "render/svm.h"
#include "render/tables.h"
#include "util/util_foreach.h"
#include "util/util_murmurhash.h"
#include "util/util_task.h"
#include "util/util_transform.h"

Go to the source code of this file.

Macros

#define MSVC_VOLATILE
 

Functions

static float beckmann_table_P22 (const float slope_x, const float slope_y)
 
static float beckmann_table_slope_max ()
 
static void beckmann_table_rows (float *table, int row_from, int row_to)
 
static void beckmann_table_build (vector< float > &table)
 
 NODE_DEFINE (Shader)
 

Macro Definition Documentation

◆ MSVC_VOLATILE

#define MSVC_VOLATILE

Definition at line 71 of file shader.cpp.

Function Documentation

◆ beckmann_table_build()

static void beckmann_table_build ( vector< float > &  table)
static

◆ beckmann_table_P22()

static float beckmann_table_P22 ( const float  slope_x,
const float  slope_y 
)
static

Definition at line 54 of file shader.cpp.

References expf.

Referenced by beckmann_table_rows().

◆ beckmann_table_rows()

static void beckmann_table_rows ( float table,
int  row_from,
int  row_to 
)
static

◆ beckmann_table_slope_max()

static float beckmann_table_slope_max ( )
static

Definition at line 60 of file shader.cpp.

Referenced by beckmann_table_rows().

◆ NODE_DEFINE()

NODE_DEFINE ( Shader  )