54inline uint32_t
packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a = 0xFF)
56 return (a << 24) | (b << 16) | (g << 8) | r;
129 : m_token(std::make_shared<char>())
142 const void*
id()
const
144 return m_token.get();
148 std::weak_ptr<const void>
token()
const
154 std::shared_ptr<char> m_token;
Library export/import macros and namespace marker for the disp3D library.
3-D brain visualisation using the Qt RHI rendering backend.
uint32_t packABGR(uint32_t r, uint32_t g, uint32_t b, uint32_t a=0xFF)
CPU-side contents of one GPU buffer of a renderable.
CPU streams of an instanced mesh: one shape (vertices, indices) drawn once per instance.
RenderKey(const RenderKey &)
RenderKey & operator=(const RenderKey &)
std::weak_ptr< const void > token() const