Blender V5.3
RE_bake.h File Reference
#include "BLI_string_ref.hh"
#include "DNA_scene_types.h"
#include "RE_pipeline.h"

Go to the source code of this file.

Classes

struct  blender::BakeImage
struct  blender::BakeTargets
struct  blender::BakePixel
struct  blender::BakeHighPolyData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

bool blender::RE_bake_has_engine (const struct Render *re)
bool blender::RE_bake_engine (Render *re, Depsgraph *depsgraph, Object *object, const int object_id, const BakePixel pixel_array[], const BakeTargets *targets, const eScenePassType pass_type, const int pass_filter, float result[])
int blender::RE_pass_depth (const eScenePassType pass_type)
bool blender::RE_bake_pixels_populate_from_objects (Mesh *me_low, BakePixel pixel_array_from[], BakePixel pixel_array_to[], BakeHighPolyData highpoly[], const int highpoly_num, const size_t pixels_num, const bool is_custom_cage, const float cage_extrusion, const float max_ray_distance, const float mat_low[4][4], const float mat_cage[4][4], Mesh *me_cage)
void blender::RE_bake_pixels_populate (struct Mesh *mesh, struct BakePixel *pixel_array, size_t pixels_num, const struct BakeTargets *targets, StringRef uv_layer, int margin)
void blender::RE_bake_mask_fill (const BakePixel pixel_array[], const size_t pixels_num, char *mask)
void blender::RE_bake_margin (ImBuf *ibuf, char *mask, const int margin, const char margin_type, const Mesh *mesh, const StringRef uv_layer, const float uv_offset[2])
void blender::RE_bake_normal_world_to_object (const BakePixel pixel_array[], const size_t pixels_num, const int depth, float result[], Object *ob, const eBakeNormalSwizzle normal_swizzle[3])
void blender::RE_bake_normal_world_to_tangent (const BakePixel pixel_array[], const size_t pixels_num, const int depth, float result[], Mesh *mesh, const eBakeNormalSwizzle normal_swizzle[3], const float mat[4][4])
void blender::RE_bake_normal_world_to_world (const BakePixel pixel_array[], const size_t pixels_num, const int depth, float result[], const eBakeNormalSwizzle normal_swizzle[3])
void blender::RE_bake_ibuf_clear (Image *image, const bool is_tangent)