Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freeing pointers stored in a custom AOV

1 REPLY 1
Reply
Message 1 of 2
trevoragray
164 Views, 1 Reply

Freeing pointers stored in a custom AOV

I am storing pointers in a custom AOV and passing them a custom filter that I created. In the shader node I am mallocing the memory and storing them using AiAOVSetPtr. Then in the filter node, I am reading the values using AiAOVSampleIteratorGetAOVPtr. Are the pointers stored in the AOV automatically freed? If they are not, what is the proper way to free pointers?

Tags (3)
Labels (3)
1 REPLY 1
Message 2 of 2
Stephen.Blair
in reply to: trevoragray

I think you need to to delete your pointers in the filter node_finish



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report