Engine → Platform → input_state.h
key_bitset
| Type | Struct |
| Namespace | conjure::platform |
| Include File Path | engine/include/conjure/platform/input_state.h |
| Source File Path | engine/src/platform/input_state.cpp |
| API ↗ | Input |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | WORD_COUNT | static constexpr u32 | KEY_COUNT / 64 | |
| public | words | std:: | {} |
Functions
Public
any
any[[nodiscard]] constexpr bool any() const noexcept;True when at least one bit is set.
clear
clearconstexpr void clear() noexcept;Clears every bit.