AllocModelMemory

Allocates model associated memory. Memory is disposed when model is closed

Syntax

//
//   Strong typing definition
//
int64_t         AllocModelMemory(
                        OwlModel                model,
                        int64_t                 size
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall AllocModelMemory(
                                                int64_t                 model,
                                                int64_t                 size
                                            );
    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property size

Size: 64 bit / 8 byte (value)
The given size.