MDL SDK API nvidia_logo_transpbg.gif Up
ibuffer.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2022 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IBUFFER_H
8#define MI_NEURAYLIB_IBUFFER_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
23class IBuffer : public
24 mi::base::Interface_declare<0xfb925baf,0x1e38,0x461b,0x8e,0xcd,0x65,0xa3,0xf5,0x20,0xe5,0x92>
25{
26public:
28 virtual const Uint8* get_data() const = 0;
29
31 virtual Size get_data_size() const = 0;
32};
33 // end group mi_neuray_types
35
36} // namespace neuraylib
37
38} // namespace mi
39
40#endif // MI_NEURAYLIB_IBUFFER_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Abstract interface for a simple buffer with binary data.
Definition: ibuffer.h:25
virtual const Uint8 * get_data() const =0
Returns a pointer to the data represented by the buffer.
virtual Size get_data_size() const =0
Returns the size of the buffer.
unsigned char Uint8
8-bit unsigned integer.
Definition: types.h:45
Uint64 Size
Unsigned integral type that is large enough to hold the size of all types.
Definition: types.h:110
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5