blocksLoader.h 211 B

123456789101112131415
  1. #pragma once
  2. #include <gl2d/gl2d.h>
  3. struct BlocksLoader
  4. {
  5. std::vector<GLuint64> gpuIds;
  6. std::vector<GLuint> texturesIds;
  7. void loadAllTextures();
  8. };
  9. uint16_t getGpuIdIndexForBlock(short type, int face);