diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 22:42:39 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-07-18 22:42:39 +0300 |
commit | 2f15a1f66e3092158d330db97a33dc8d087ca053 (patch) | |
tree | 468d1d039b88a669c2db229d54200b7265c325d0 /source/blenderplayer/bad_level_call_stubs | |
parent | 92a37993a54f8c9ebb4fa878df5ebe4a76722637 (diff) |
Point density: Add utility function to sample density outside of render pipeline
Not currently used, it's a preparation for the further work.
Should not be functional changes.
Diffstat (limited to 'source/blenderplayer/bad_level_call_stubs')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 0e664941c1a..a94d9200a74 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -628,6 +628,7 @@ void RE_engine_update_memory_stats(struct RenderEngine *engine, float mem_used, struct RenderEngine *RE_engine_create(struct RenderEngineType *type) RET_NULL void RE_engine_frame_set(struct RenderEngine *engine, int frame, float subframe) RET_NONE void RE_FreePersistentData(void) RET_NONE +void RE_sample_point_density(struct Scene *scene, struct PointDensity *pd, int resolution, float *values) RET_NONE; void RE_instance_get_particle_info(struct ObjectInstanceRen *obi, float *index, float *age, float *lifetime, float co[3], float *size, float vel[3], float angvel[3]) RET_NONE /* python */ |