mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 21:11:50 +00:00
add '#param' default value syntax
This commit is contained in:
parent
6043ae8331
commit
70cf308771
4 changed files with 74 additions and 6 deletions
|
|
@ -15,9 +15,10 @@ public:
|
|||
using Value = std::variant<float, glm::vec2, glm::vec3, glm::vec4>;
|
||||
|
||||
Type type;
|
||||
Value defValue;
|
||||
|
||||
Param();
|
||||
Param(Type type);
|
||||
Param(Type type, Value defValue);
|
||||
};
|
||||
|
||||
PostEffect(std::unique_ptr<Shader> shader);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue