Skip to content

Missing releases and related #120

@lpisha

Description

@lpisha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions