mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
GEEKING
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user