Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F123457
Shader.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
611 B
Referenced Files
None
Subscribers
None
Shader.cpp
View Options
#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
Details
Attached
Mime Type
text/x-c++
Expires
Wed, Jan 15, 11:49 PM (12 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71931
Default Alt Text
Shader.cpp (611 B)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment