|
Blender V5.0
|
#include <draw_handle.hh>
Public Member Functions | |
| ResourceIndex ()=default | |
| ResourceIndex (uint raw_) | |
| ResourceIndex (uint index, bool inverted_handedness) | |
| bool | has_inverted_handedness () const |
| uint | resource_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 56 of file draw_handle.hh.
|
default |
|
inline |
Definition at line 60 of file draw_handle.hh.
References raw.
|
inline |
Definition at line 61 of file draw_handle.hh.
References raw, and SET_FLAG_FROM_TEST.
|
inline |
Definition at line 67 of file draw_handle.hh.
References raw.
Referenced by blender::draw::command::DrawMulti::serialize().
|
inline |
Definition at line 72 of file draw_handle.hh.
References raw.
Referenced by blender::draw::command::DrawMulti::serialize().
| uint32_t blender::draw::ResourceIndex::raw |
Definition at line 57 of file draw_handle.hh.
Referenced by has_inverted_handedness(), resource_index(), ResourceIndex(), and ResourceIndex().