Page MenuHomePhorge

Shader.cpp
No OneTemporary

Size
611 B
Referenced Files
None
Subscribers
None

Shader.cpp

#include <echo/Graphics/Shader.h>
namespace Echo
{
Shader::Shader(const std::string& shaderType, const std::string& name) :
mType(shaderType),
mName(name),
mVersion(0)
{
}
Shader::~Shader()
{
}
const std::string& Shader::GetType() const
{
return mType;
}
const std::string& Shader::GetName() const
{
return mName;
}
const std::string& Shader::GetSource() const
{
return mSource;
}
void Shader::SetSource(const std::string& source)
{
mSource = source;
mVersion++;
}
size_t Shader::GetVersion() const
{
return mVersion;
}
}

File Metadata

Mime Type
text/x-c++
Expires
Wed, Jan 15, 11:49 PM (6 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71931
Default Alt Text
Shader.cpp (611 B)

Event Timeline