Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Freeing pointers stored in a custom AOV

1 ANTWORT 1
Antworten
Nachricht 1 von 2
Anonymous
240 Aufrufe, 1 Antwort

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)
Beschriftungen (3)
1 ANTWORT 1
Nachricht 2 von 2
Stephen.Blair
als Antwort auf: Anonymous

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



// Stephen Blair
// Arnold Renderer Support

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report