Blender Git Loki

Git Commits -> Revision a53ef07

Revision a53ef07 by Campbell Barton (master)
March 6, 2010, 12:37 (GMT)
python api function for rna objects: object.as_pointer()

This means we can write low level apis in pyton or C where blender data is passed to external C modules without having to have blender support this directly.

Example use case is to get an image pointer then use ctypes to get the image buffer and pass it to a C image processing function.

Commit Details:

Full Hash: a53ef075aefb3626be583b561850537f5ba9cb8a
SVN Revision: 27292
Parent Commit: 1687a0b
Lines Changed: +10, -0

1 Modified Path:

/source/blender/python/intern/bpy_rna.c (+10, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021