#include "../../../include/RenderBackend/OpenGL/ShaderVec.hpp" #include "../../../include/RenderBackend/OpenGL/VertexShader.hpp" #include "../../../include/RenderBackend/OpenGL/PixelShader.hpp" using namespace std; namespace amalgine { const string& ShaderInputVec2::getName() const { return vertexShader->getInputAttributeName(attributeIndex); } const string& ShaderOutputVec4::getName() const { return pixelShader->getOutputAttributeName(attributeIndex); } void ShaderOutputVec4::operator=(const ShaderVec4 &shaderVec4) { pixelShader->assign(*this, shaderVec4); } }