BLContextCookie Struct Reference

Holds an arbitrary 128-bit value (cookie) that can be used to match other cookies. Blend2D uses cookies in places where it allows to "lock" some state that can only be unlocked by a matching cookie. Please don't confuse cookies with a security of any kind, it's just an arbitrary data that must match to proceed with a certain operation.

Cookies can be used with BLContext::save() and BLContext::restore() operations.

Public Members

Member Functions