mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19: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
|
|
@ -4,7 +4,9 @@
|
|||
|
||||
PostEffect::Param::Param() : type(Type::FLOAT) {}
|
||||
|
||||
PostEffect::Param::Param(Type type) : type(type) {}
|
||||
PostEffect::Param::Param(Type type, Value defValue)
|
||||
: type(type), defValue(std::move(defValue)) {
|
||||
}
|
||||
|
||||
PostEffect::PostEffect(std::unique_ptr<Shader> shader)
|
||||
: shader(std::move(shader)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue