|
Blender V5.3
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceID ()=default | |
| ResourceID (uint raw_) | |
| ResourceID (uint index, bool inverted_handedness) | |
| bool | has_inverted_handedness () const |
| uint | index () const |
Public Attributes | |
| uint32_t | raw |
Index for getting a specific resource from the Draw Manager resource arrays. (e.g. object matrices) Last bit contains handedness.
NOTE: From the draw_pass and draw_command perspective, the 0 index is still valid and points to default initialized Manager resources. Valid ResourceHandles start at index 1.
Definition at line 60 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 64 of file draw_handle.hh.
References raw.
|
inline |
Definition at line 65 of file draw_handle.hh.
References index(), raw, and SET_FLAG_FROM_TEST.
|
inline |
Definition at line 71 of file draw_handle.hh.
References raw.
Referenced by blender::draw::command::Draw::execute(), blender::draw::command::DrawIndirect::execute(), blender::draw::ResourceIDRange::has_inverted_handedness(), and blender::draw::command::DrawMulti::serialize().
|
inline |
Definition at line 76 of file draw_handle.hh.
References raw.
Referenced by ResourceID(), blender::draw::command::Draw::serialize(), and blender::draw::command::DrawMulti::serialize().
| uint32_t blender::draw::ResourceID::raw |
Definition at line 61 of file draw_handle.hh.
Referenced by blender::draw::command::Draw::execute(), has_inverted_handedness(), blender::draw::ResourceIDRange::id_range(), index(), ResourceID(), and ResourceID().