Searched defs:ObjectValidityChecker (Results 1 – 1 of 1) sorted by relevance
43 struct ObjectValidityChecker { struct44 bool operator()(absl::monostate) const { return false; } in operator ()()45 bool operator()(OpenGlBuffer obj) const { return obj.id != GL_INVALID_INDEX; } in operator ()()46 bool operator()(OpenGlTexture obj) const { in operator ()()49 bool operator()(OpenClBuffer obj) const { return obj.memobj; } in operator ()()50 bool operator()(OpenClTexture obj) const { return obj.memobj; } in operator ()()51 bool operator()(VulkanBuffer obj) const { return obj.memory; } in operator ()()52 bool operator()(VulkanTexture obj) const { return obj.memory; } in operator ()()53 bool operator()(CpuMemory obj) const { in operator ()()58 DataType data_type;