mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00

~ changed most pointers to const references to prevent modification, specially from the background parser Signed-off-by: Alexis Maiquez <almamu@almamu.com>
25 lines
575 B
C++
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;
|
|
};
|
|
}
|