particle_stream_interface close

Use this forum for discussions specifically related to the Krakatoa SR C++ API.
For discussion of topics applicable to both the C++ and Py APIs, please use the parent forum.
Posts: 30
Joined: Tue Nov 15, 2011 1:09 pm

particle_stream_interface close

Postby arun » Mon Apr 22, 2013 2:21 pm

I'm trying to use the close() function in call in particle_stream_interface to free up some of the resources I had allocated. But it never gets called. Is there any precondition that should be met before close() gets called. thanks

User avatar
Conrad Wiebe
Posts: 777
Joined: Wed Aug 15, 2007 12:24 pm
Location: Thinkbox Software

Re: particle_stream_interface close

Postby Conrad Wiebe » Tue Apr 23, 2013 4:18 pm

Krakatoa does not call the stream's "close" function. I can change it so that it calls close prior to removing the streams from the renderer object (once the streams are exhausted). That seems like a good idea (:
Conrad Wiebe
Software Development Manager
Thinkbox Software

Return to “Krakatoa SR C++ API”

Who is online

Users browsing this forum: No registered users and 2 guests