|
Blender V5.3
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceHandle ()=default | |
| bool | is_valid () const |
| bool | has_inverted_handedness () const |
| uint | raw () const |
| uint | index () const |
| operator ResourceID () const | |
Friends | |
| class | Manager |
| class | ResourceHandleRange |
Safety wrapper around ResourceID, meant to be used by engine code. Valid handles can only be created by the Draw Manager.
ResourceHandleRange is usually preferred over this class. ResourceHandle should only be used in paths where handling objects in batches is not possible.
Definition at line 117 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 134 of file draw_handle.hh.
|
inline |
Definition at line 144 of file draw_handle.hh.
Referenced by blender::draw::overlay::GreasePencil::compute_depth_planes(), blender::eevee::VelocityModule::step_object_sync(), blender::draw::test_eevee_shadow_tag_update(), and blender::draw::Manager::update_handle_bounds().
|
inline |
Definition at line 129 of file draw_handle.hh.
Referenced by operator ResourceID(), and blender::eevee::ShadowModule::sync_object().
|
inline |
Definition at line 149 of file draw_handle.hh.
References blender::BLI_assert(), and is_valid().
|
inline |
Definition at line 139 of file draw_handle.hh.
Referenced by blender::eevee::ShadowModule::end_sync(), and blender::eevee::ShadowModule::sync_object().
|
friend |
|
friend |
Definition at line 119 of file draw_handle.hh.
References ResourceHandleRange.
Referenced by ResourceHandleRange.