HDK
|
Contains colors for each agent. More...
#include <GT_AgentSupport.h>
Public Member Functions | |
void | setColors (const GT_DataArrayHandle &colors, GT_Owner owner, exint num_agents) |
bool | hasColor () const |
void | fetchColor (exint agent_idx, uint8 *data) const |
Fetch the (4 uint8) color for an agent. More... | |
![]() | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter () noexcept |
Default constructor: Sets counter to 0. More... | |
SYS_FORCE_INLINE | UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept |
Copy constructor: Sets counter to 0. More... | |
UT_IntrusiveRefCounter & | operator= (const UT_IntrusiveRefCounter &) noexcept |
Assignment operator: Does not modify counter. More... | |
SYS_FORCE_INLINE uint32 | use_count () const noexcept |
Return current counter. More... | |
Additional Inherited Members | |
![]() | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Contains colors for each agent.
Definition at line 231 of file GT_AgentSupport.h.
Fetch the (4 uint8) color for an agent.
Definition at line 262 of file GT_AgentSupport.h.
|
inline |
Definition at line 259 of file GT_AgentSupport.h.
|
inline |
Definition at line 235 of file GT_AgentSupport.h.