Flutter Engine
The Flutter Engine
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
14
15namespace impeller {
16
18 public:
20 std::function<bool(ContentContext& context, RenderPass& pass)>;
21
23
25
27 std::shared_ptr<TypographerContext> typographer_context);
28
29 bool OpenPlaygroundHere(Entity entity);
30
31 bool OpenPlaygroundHere(EntityPass& entity_pass);
32
34
35 std::shared_ptr<ContentContext> GetContentContext() const;
36
37 private:
38 std::shared_ptr<TypographerContext> typographer_context_;
39
40 EntityPlayground(const EntityPlayground&) = delete;
41
42 EntityPlayground& operator=(const EntityPlayground&) = delete;
43};
44
45} // namespace impeller
46
47#endif // FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
bool OpenPlaygroundHere(Entity entity)
std::shared_ptr< ContentContext > GetContentContext() const
std::function< bool(ContentContext &context, RenderPass &pass)> EntityPlaygroundCallback
void SetTypographerContext(std::shared_ptr< TypographerContext > typographer_context)
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition: render_pass.h:33
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function
Definition: fuchsia.cc:51