~sircmpwn/xrgears

ref: 1ac9460a3fe49c9a47bc6d8262e124fd3d369758 xrgears/vitamin-k/system/vikAssets.hpp -rw-r--r-- 500 bytes
1ac9460aDrew DeVault Add wayland-direct window mode 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * vitamin-k
 *
 * Copyright 2017-2018 Collabora Ltd.
 *
 * Authors: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
 * SPDX-License-Identifier: MIT
 */

#pragma once

#include <string>

namespace vik {
class Assets {
 public:
  static const std::string get_asset_path() {
    return "./assets/";
  }

  static const std::string get_shader_path() {
    return "./shaders/";
  }

  static const std::string get_texture_path() {
    return get_asset_path() + "textures/";
  }
};
}  // namespace vik