This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "Util/ContentId.h"
namespace RBX {
class TextureId : public ContentId
{
public:
TextureId(const ContentId& id):ContentId(id) {}
TextureId(const char* id):ContentId(id) {}
TextureId(const std::string& id):ContentId(id) {}
TextureId() {}
static TextureId nullTexture() {
static TextureId t; // note - the name in the contentId will get a boost call_once
return t;
}
};
}