111 const struct Brush *br,
112 const float point[3],
118 const float point[2],
127 bool display_gradient);
141 float unprojected_radius);
165 float new_unprojected_radius,
166 float old_unprojected_radius);
169 #define BKE_brush_tool_get(brush, p) \
170 (CHECK_TYPE_ANY(brush, struct Brush *, const struct Brush *), \
171 *(const char *)POINTER_OFFSET(brush, (p)->runtime.tool_offset))
172 #define BKE_brush_tool_set(brush, p, tool) \
174 CHECK_TYPE_ANY(brush, struct Brush *); \
175 *(char *)POINTER_OFFSET(brush, (p)->runtime.tool_offset) = tool; \
bool BKE_brush_delete(struct Main *bmain, struct Brush *brush)
struct Brush * BKE_brush_add(struct Main *bmain, const char *name, eObjectMode ob_mode)
float BKE_brush_sample_masktex(const struct Scene *scene, struct Brush *br, const float point[2], int thread, struct ImagePool *pool)
float BKE_brush_curve_strength_clamped(const struct Brush *br, float p, float len)
void BKE_brush_size_set(struct Scene *scene, struct Brush *brush, int size)
void BKE_brush_alpha_set(struct Scene *scene, struct Brush *brush, float alpha)
float BKE_brush_curve_strength(const struct Brush *br, float p, float len)
float BKE_brush_sample_tex_3d(const struct Scene *scene, const struct Brush *br, const float point[3], float rgba[4], int thread, struct ImagePool *pool)
void BKE_brush_curve_preset(struct Brush *b, enum eCurveMappingPreset preset)
void BKE_brush_init_curves_sculpt_settings(struct Brush *brush)
bool BKE_brush_use_size_pressure(const struct Brush *brush)
void BKE_brush_init_gpencil_settings(struct Brush *brush)
struct ImBuf * BKE_brush_gen_radial_control_imbuf(struct Brush *br, bool secondary, bool display_gradient)
void BKE_brush_gpencil_paint_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
void BKE_brush_system_exit(void)
bool BKE_brush_sculpt_has_secondary_color(const struct Brush *brush)
void BKE_gpencil_brush_preset_set(struct Main *bmain, struct Brush *brush, short type)
struct Brush * BKE_brush_add_gpencil(struct Main *bmain, struct ToolSettings *ts, const char *name, eObjectMode mode)
float BKE_brush_weight_get(const struct Scene *scene, const struct Brush *brush)
const float * BKE_brush_secondary_color_get(const struct Scene *scene, const struct Brush *brush)
float BKE_brush_alpha_get(const struct Scene *scene, const struct Brush *brush)
const float * BKE_brush_color_get(const struct Scene *scene, const struct Brush *brush)
void BKE_brush_sculpt_reset(struct Brush *brush)
void BKE_brush_randomize_texture_coords(struct UnifiedPaintSettings *ups, bool mask)
void BKE_brush_system_init(void)
void BKE_brush_gpencil_weight_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
int BKE_brush_size_get(const struct Scene *scene, const struct Brush *brush)
float BKE_brush_unprojected_radius_get(const struct Scene *scene, const struct Brush *brush)
void BKE_brush_scale_size(int *r_brush_size, float new_unprojected_radius, float old_unprojected_radius)
void BKE_brush_unprojected_radius_set(struct Scene *scene, struct Brush *brush, float unprojected_radius)
void BKE_brush_gpencil_sculpt_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
void BKE_brush_weight_set(const struct Scene *scene, struct Brush *brush, float value)
bool BKE_brush_use_locked_size(const struct Scene *scene, const struct Brush *brush)
void BKE_brush_debug_print_state(struct Brush *br)
void BKE_brush_color_set(struct Scene *scene, struct Brush *brush, const float color[3])
void BKE_brush_jitter_pos(const struct Scene *scene, struct Brush *brush, const float pos[2], float jitterpos[2])
void BKE_brush_scale_unprojected_radius(float *unprojected_radius, int new_brush_size, int old_brush_size)
struct Brush * BKE_brush_first_search(struct Main *bmain, eObjectMode ob_mode)
void BKE_brush_gpencil_vertex_presets(struct Main *bmain, struct ToolSettings *ts, bool reset)
bool BKE_brush_use_alpha_pressure(const struct Brush *brush)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
ccl_gpu_kernel_postfix ccl_global float int int int int float bool reset
clear internal cached data and reset random seed
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
static const pxr::TfToken b("b", pxr::TfToken::Immortal)
static const pxr::TfToken rgba("rgba", pxr::TfToken::Immortal)