NVIDIA Iray API
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
iallocator.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// Copyright 1986, 2014 NVIDIA Corporation. All rights reserved.
3
//*****************************************************************************
6
//*****************************************************************************
7
8
#ifndef MI_NEURAYLIB_IALLOCATOR_H
9
#define MI_NEURAYLIB_IALLOCATOR_H
10
11
#include <
mi/base/types.h
>
12
#include <
mi/base/interface_declare.h
>
13
#include <
mi/base/iallocator.h
>
14
15
namespace
mi {
16
17
namespace
neuraylib {
18
23
class
IAllocator :
public
31
mi::base::Interface_declare
<0x952af060,0xe2a6,0x4bd7,0xa2,0x52,0x9f,0x6d,0x39,0xfb,0x50,0xa3,
32
base::IAllocator>
33
{
34
public
:
59
virtual
void
*
malloc
(
Size
size) = 0;
60
68
virtual
void
free
(
void
* memory) = 0;
69
77
virtual
Size
get_used_extra_memory
() = 0;
78
};
79
// end group mi_neuray_ineuray
81
82
}
// namespace neuraylib
83
84
}
// namespace mi
85
86
#endif // MI_NEURAYLIB_IALLOCATOR_H
mi
neuraylib
iallocator.h
Generated on Tue Aug 12 2014 15:28:34. Build 221133.3991, Doxygen 1.8.4