diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2015-10-20 06:03:00 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2015-10-20 06:15:03 +0300 |
commit | 0173116117858ae60fb33bf37707278f1721f980 (patch) | |
tree | e8f03ef25ebaec1fd63ebc0ec75c13e1f69a302c /source/blender/python/intern/gpu.h | |
parent | 70dfb6130042cea53956c2044d409a55fb814d2f (diff) |
New function to draw offscreen, and related API changes
This expose the capability of handling offscreen drawing. The initial
support lays the barebones for addons to work with framebuffer objects
and implement 3d viewport offscreen drawing. This can be used by script
writers to make fisheye lens preview, head mounted display support, ...
The complete documentation is here: http://www.blender.org/api/blender_python_api_2_76_1/gpu.offscreen.html
Review and many changes by Campbell Barton (thank you :)
https://developer.blender.org/D1533
Diffstat (limited to 'source/blender/python/intern/gpu.h')
-rw-r--r-- | source/blender/python/intern/gpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/gpu.h b/source/blender/python/intern/gpu.h index 82338869b9d..0da44a4eb87 100644 --- a/source/blender/python/intern/gpu.h +++ b/source/blender/python/intern/gpu.h @@ -36,4 +36,6 @@ PyObject *GPU_initPython(void); +PyObject *BPyInit_gpu_offscreen(void); + #endif /* __GPU_H__ */ |