Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/extern/include/RE_bake.h
| Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | typedef struct BakeHighPolyData { | ||||
| struct Object *ob; | struct Object *ob; | ||||
| struct ModifierData *tri_mod; | struct ModifierData *tri_mod; | ||||
| struct Mesh *me; | struct Mesh *me; | ||||
| char restrict_flag; | char restrict_flag; | ||||
| bool is_flip_object; | bool is_flip_object; | ||||
| float obmat[4][4]; | float obmat[4][4]; | ||||
| float imat[4][4]; | float imat[4][4]; | ||||
| float mat[4][4]; | |||||
| } BakeHighPolyData; | } BakeHighPolyData; | ||||
| /* external_engine.c */ | /* external_engine.c */ | ||||
| bool RE_bake_has_engine(struct Render *re); | bool RE_bake_has_engine(struct Render *re); | ||||
| bool RE_bake_engine( | bool RE_bake_engine( | ||||
| struct Render *re, struct Object *object, const int object_id, const BakePixel pixel_array[], | struct Render *re, struct Object *object, const int object_id, const BakePixel pixel_array[], | ||||
| const size_t num_pixels, const int depth, const ScenePassType pass_type, float result[]); | const size_t num_pixels, const int depth, const ScenePassType pass_type, const float matrix[4][4], float result[]); | ||||
| /* bake.c */ | /* bake.c */ | ||||
| int RE_pass_depth(const ScenePassType pass_type); | int RE_pass_depth(const ScenePassType pass_type); | ||||
| bool RE_bake_internal( | bool RE_bake_internal( | ||||
| struct Render *re, struct Object *object, const BakePixel pixel_array[], | struct Render *re, struct Object *object, const BakePixel pixel_array[], | ||||
| const size_t num_pixels, const int depth, const ScenePassType pass_type, float result[]); | const size_t num_pixels, const int depth, const ScenePassType pass_type, float result[]); | ||||
| bool RE_bake_pixels_populate_from_objects( | bool RE_bake_pixels_populate_from_objects( | ||||
| Show All 25 Lines | |||||