If all these values will be set during initialization time, they should be const member variables, or even static members if a layer will not be taking flexible sizes.