Flutter Impeller
entity_playground.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
6 #define FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
7 
9 
11 #include "impeller/entity/entity.h"
13 
14 namespace impeller {
15 
17  public:
19  std::function<bool(ContentContext& context, RenderPass& pass)>;
20 
22 
24 
25  bool OpenPlaygroundHere(Entity entity);
26 
28 
29  private:
30  EntityPlayground(const EntityPlayground&) = delete;
31 
32  EntityPlayground& operator=(const EntityPlayground&) = delete;
33 };
34 
35 } // namespace impeller
36 
37 #endif // FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
bool OpenPlaygroundHere(Entity entity)
std::function< bool(ContentContext &context, RenderPass &pass)> EntityPlaygroundCallback
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:30
std::shared_ptr< ContextGLES > context