Select Git revision
Resource.cpp
Forked from
einsteinathome / graphicsframework
247 commits behind the upstream repository.
-
Oliver Bock authoredOliver Bock authored
Resource.cpp 313 B
#include "Resource.h"
Resource::Resource(const string identifier, const vector<unsigned char>& data) : m_Data(data)
{
m_Identifier = identifier;
}
Resource::~Resource()
{
}
string Resource::identifier() const
{
return m_Identifier;
}
const vector<unsigned char>* Resource::data() const
{
return &m_Data;
}