|
Blender V5.0
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceIndexRange ()=default | |
| ResourceIndexRange (ResourceIndex index) | |
| ResourceIndexRange (ResourceIndex index, uint len) | |
| bool | has_inverted_handedness () const |
| IndexRange | index_range () const |
Public Attributes | |
| ResourceIndex | first = 0 |
| uint32_t | count = 1 |
Refers to a range of contiguous indices in the Draw Manager resource arrays. Typically used to render instances of an object, but can represent a single instance too. The associated objects must share handedness and state so they can be rendered together.
Definition at line 83 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 90 of file draw_handle.hh.
|
inline |
Definition at line 91 of file draw_handle.hh.
|
inline |
Definition at line 93 of file draw_handle.hh.
References first.
Referenced by blender::draw::command::DrawMultiBuf::append_draw().
|
inline |
Definition at line 98 of file draw_handle.hh.
References BLI_assert, count, and first.
Referenced by blender::draw::command::DrawCommandBuf::append_draw(), and blender::draw::command::DrawMultiBuf::append_draw().
| uint32_t blender::draw::ResourceIndexRange::count = 1 |
Definition at line 87 of file draw_handle.hh.
Referenced by index_range(), ResourceIndexRange(), and ResourceIndexRange().
| ResourceIndex blender::draw::ResourceIndexRange::first = 0 |
Definition at line 85 of file draw_handle.hh.
Referenced by has_inverted_handedness(), index_range(), ResourceIndexRange(), and ResourceIndexRange().