|
Blender V5.3
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceIDRange ()=default | |
| ResourceIDRange (ResourceID id) | |
| ResourceIDRange (ResourceID first_id, uint len) | |
| bool | has_inverted_handedness () const |
| IndexRange | id_range () const |
Public Attributes | |
| ResourceID | 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 87 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 94 of file draw_handle.hh.
References first.
|
inline |
Definition at line 95 of file draw_handle.hh.
|
inline |
Definition at line 97 of file draw_handle.hh.
References first, and blender::draw::ResourceID::has_inverted_handedness().
Referenced by blender::draw::command::DrawMultiBuf::append_draw().
|
inline |
Definition at line 102 of file draw_handle.hh.
References blender::BLI_assert(), count, first, and blender::draw::ResourceID::raw.
Referenced by blender::draw::command::DrawCommandBuf::append_draw(), and blender::draw::command::DrawMultiBuf::append_draw().
| uint32_t blender::draw::ResourceIDRange::count = 1 |
Definition at line 91 of file draw_handle.hh.
Referenced by id_range(), and ResourceIDRange().
| ResourceID blender::draw::ResourceIDRange::first = 0 |
Definition at line 89 of file draw_handle.hh.
Referenced by has_inverted_handedness(), id_range(), ResourceIDRange(), and ResourceIDRange().