linux-wallpaperengine/src/WallpaperEngine/Render/Shaders/Parameters/CShaderParameterVector4.h
Alexis Maiquez 3587fdec1e ~ changed all iterators to auto
~ changed most pointers to const references to prevent modification, specially from the background parser

Signed-off-by: Alexis Maiquez <almamu@almamu.com>
2019-09-10 11:02:45 +02:00

25 lines
575 B
C++

#pragma once
#include <irrlicht/irrlicht.h>
#include "WallpaperEngine/Render/Shaders/Parameters/CShaderParameter.h"
namespace WallpaperEngine::Render::Shaders::Parameters
{
class CShaderParameterVector4 : public CShaderParameter
{
public:
CShaderParameterVector4 (const irr::core::vector3df& defaultValue);
const int getSize () const override;
void setValue (irr::core::vector3df value);
static const std::string Type;
private:
irr::core::vector3df m_defaultValue;
irr::core::vector3df m_value;
};
}