imagebufferquestion

BlitzMax Forums/BlitzMax Beginners Area/imagebufferquestion

Panno(Posted 2005) [#1]
hi

for a while i've written the start of an eye toy project
in b3d.
now its bmax time but ...
how can i read or write direct to /from a bmax imagebuffer with a other programm (dll) ?

in b3d i call the dll with a bank and read this bank out with b3d commands ...
is it possible ?
and what is the fastet way ?
mfg panno


Dreamora(Posted 2005) [#2]
You can't
There are not buffers at all.

If you want to modify an image you have to lock it (-> creates a TPixmap out of it which is saved in system ram) and use that to pass it and after that you have to create an image out of it again ...