MCPcopy Create free account
hub / github.com/aliasIsolation/aliasIsolation / ShaderHandle

Class ShaderHandle

src/dll/common.h:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#endif
17
18struct ShaderHandle {
19 size_t id;
20
21 bool operator==(const ShaderHandle& rhs) const {
22 return id == rhs.id;
23 }
24
25 bool isValid() const { return id != ~size_t(0); }
26
27 ShaderHandle() : id(~size_t(0)) {}
28 explicit ShaderHandle(size_t id_) : id(id_) {}
29};

Callers 1

getReplacedShaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected