Creates an instance of Layer.
Layer() { assert(debugMaybeDispatchCreated('rendering', 'Layer', this)); }