|
Blender V5.0
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceHandle ()=default | |
| bool | is_valid () const |
| bool | has_inverted_handedness () const |
| uint | resource_index () const |
| operator ResourceIndex () const | |
Friends | |
| class | Manager |
| class | ResourceHandleRange |
Safety wrapper around ResourceIndex, meant to be used by engine code. Valid handles can only be created by the Draw Manager.
NOTE: This class is deprecated. Some Draw Manager functions can't work with ranged synchronization and returns ResourceHandles for clarity, but engine code should always use ResourceHandleRange.
Definition at line 114 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 131 of file draw_handle.hh.
|
inline |
Definition at line 126 of file draw_handle.hh.
Referenced by operator ResourceIndex().
|
inline |
Definition at line 141 of file draw_handle.hh.
References BLI_assert, and is_valid().
|
inline |
Definition at line 136 of file draw_handle.hh.
Referenced by blender::draw::Manager::extract_object_attributes(), blender::draw::Manager::extract_object_attributes(), blender::draw::test_eevee_shadow_tag_update(), and blender::draw::Manager::update_handle_bounds().
|
friend |
|
friend |
Definition at line 116 of file draw_handle.hh.
References ResourceHandleRange.
Referenced by ResourceHandleRange.