MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / input_pointer_count

Function input_pointer_count

StereoKitC/systems/input.cpp:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47///////////////////////////////////////////
48
49int32_t input_pointer_count(input_source_ filter) {
50 int32_t result = 0;
51 for (int32_t i = 0; i < input_pointers.count; i++) {
52 if (input_pointers[i].source & filter)
53 result += 1;
54 }
55 return result;
56}
57
58///////////////////////////////////////////
59

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected