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... | |
Public Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentColors > | |
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... | |
SYS_FORCE_INLINE bool | conditionalAddRef () noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from UT_IntrusiveRefCounter< GT_AgentColors > | |
SYS_FORCE_INLINE | ~UT_IntrusiveRefCounter () |
Destructor: Only derived classes can destruct this. More... | |
Contains colors for each agent.
Definition at line 249 of file GT_AgentSupport.h.
Fetch the (4 uint8) color for an agent.
Definition at line 280 of file GT_AgentSupport.h.
|
inline |
Definition at line 277 of file GT_AgentSupport.h.
|
inline |
Definition at line 253 of file GT_AgentSupport.h.