| 186 | explicit BufferId(GLuint id) : id_(id) {} |
| 187 | |
| 188 | ~BufferId() { |
| 189 | if (id_ != GL_INVALID_INDEX) { |
| 190 | TFLITE_GPU_CALL_GL(glDeleteBuffers, 1, &id_).IgnoreError(); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | GLuint id() const { return id_; } |
| 195 |
nothing calls this directly
no test coverage detected