-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Here is a summary of all the types in OWL, and their create / release / destroy functions.
| Type | Create | Release | Destroy |
|---|---|---|---|
OWLContext |
owlContextCreate |
N/A | owlContextDestroy |
OWLBuffer |
owlDeviceBufferCreate, owlHostPinnedBufferCreate, owlManagedMemoryBufferCreate, owlGraphicsBufferCreate |
owlBufferRelease |
owlBufferDestroy |
OWLTexture |
owlTexture2DCreate |
*1 | owlTexture2DDestroy |
OWLGeom |
owlGeomCreate |
owlGeomRelease |
N/A |
OWLGeomType |
owlGeomTypeCreate |
Missing | N/A |
OWLVariable |
*2 | owlVariableRelease |
N/A |
OWLModule |
owlModuleCreate |
owlModuleRelease |
N/A |
OWLGroup |
owlUserGeomGroupCreate, owlTrianglesGeomGroupCreate, owlInstanceGroupCreate |
owlGroupRelease |
N/A |
OWLRayGen |
owlRayGenCreate |
owlRayGenRelease |
N/A |
OWLMissProg |
owlMissProgCreate |
Missing | N/A |
OWLParams, OWLLaunchParams, OWLGlobals |
owlParamsCreate |
Missing | N/A |
owlGeomTypeRelease, owlMissProgRelease, and owlParamsRelease are missing.
*1: OWLBuffer has both a release and a destroy, but OWLTexture which is conceptually similar only has a destroy. This seems inconsistent?
*2: Probably created internally and returned through owlGeomGetVariable, owlRayGenGetVariable, owlMissProgGetVariable, and owlParamsGetVariable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels