|
Blender
V3.3
|
#include <COM_BufferArea.h>
Public Types | |
| using | Iterator = BufferAreaIterator< T > |
| using | ConstIterator = BufferAreaIterator< const T > |
Public Member Functions | |
| constexpr | BufferArea ()=default |
| constexpr | BufferArea (T *buffer, int buffer_width, const rcti &area, int elem_stride=1) |
| constexpr | BufferArea (T *buffer, int buffer_width, int buffer_height, int elem_stride=1) |
| constexpr const rcti & | get_rect () const |
| constexpr int | width () const |
| constexpr int | height () const |
| constexpr Iterator | begin () |
| constexpr Iterator | end () |
| constexpr ConstIterator | begin () const |
| constexpr ConstIterator | end () const |
Friends | |
| constexpr friend bool | operator== (const BufferArea &a, const BufferArea &b) |
A rectangle area of buffer elements.
Definition at line 18 of file COM_BufferArea.h.
| using blender::compositor::BufferArea< T >::ConstIterator = BufferAreaIterator<const T> |
Definition at line 21 of file COM_BufferArea.h.
| using blender::compositor::BufferArea< T >::Iterator = BufferAreaIterator<T> |
Definition at line 20 of file COM_BufferArea.h.
|
constexprdefault |
|
inlineconstexpr |
Create a buffer area containing given rectangle area.
Definition at line 36 of file COM_BufferArea.h.
|
inlineconstexpr |
Create a buffer area containing whole buffer with no offsets.
Definition at line 44 of file COM_BufferArea.h.
References BLI_rcti_init().
|
inlineconstexpr |
Definition at line 76 of file COM_BufferArea.h.
|
inlineconstexpr |
Definition at line 86 of file COM_BufferArea.h.
|
inlineconstexpr |
Definition at line 81 of file COM_BufferArea.h.
|
inlineconstexpr |
Definition at line 91 of file COM_BufferArea.h.
|
inlineconstexpr |
Definition at line 55 of file COM_BufferArea.h.
|
inlineconstexpr |
Number of elements in a column.
Definition at line 71 of file COM_BufferArea.h.
References BLI_rcti_size_y().
|
inlineconstexpr |
Number of elements in a row.
Definition at line 63 of file COM_BufferArea.h.
References BLI_rcti_size_x().
|
friend |
Definition at line 50 of file COM_BufferArea.h.