Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
impeller
scene
scene.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_SCENE_SCENE_H_
6
#define FLUTTER_IMPELLER_SCENE_SCENE_H_
7
8
#include <memory>
9
10
#include "
impeller/renderer/render_target.h
"
11
#include "
impeller/scene/camera.h
"
12
#include "
impeller/scene/node.h
"
13
#include "
impeller/scene/scene_context.h
"
14
15
namespace
impeller
{
16
namespace
scene {
17
18
class
Scene
{
19
public
:
20
Scene
() =
delete
;
21
22
explicit
Scene
(std::shared_ptr<SceneContext> scene_context);
23
24
~Scene
();
25
26
Node
&
GetRoot
();
27
28
bool
Render
(
const
RenderTarget
& render_target,
29
const
Matrix
& camera_transform);
30
31
bool
Render
(
const
RenderTarget
& render_target,
const
Camera
& camera);
32
33
private
:
34
std::shared_ptr<SceneContext> scene_context_;
35
Node
root_;
36
37
Scene
(
const
Scene
&) =
delete
;
38
39
Scene
& operator=(
const
Scene
&) =
delete
;
40
};
41
42
}
// namespace scene
43
}
// namespace impeller
44
45
#endif
// FLUTTER_IMPELLER_SCENE_SCENE_H_
camera.h
impeller::RenderTarget
Definition:
render_target.h:38
impeller::scene::Camera
Definition:
camera.h:15
impeller::scene::Node
Definition:
node.h:26
impeller::scene::Scene
Definition:
scene.h:18
impeller::scene::Scene::Render
bool Render(const RenderTarget &render_target, const Matrix &camera_transform)
Definition:
scene.cc:34
impeller::scene::Scene::Scene
Scene()=delete
impeller::scene::Scene::~Scene
~Scene()
Definition:
scene.cc:24
impeller::scene::Scene::GetRoot
Node & GetRoot()
Definition:
scene.cc:30
impeller
Definition:
texture.h:18
node.h
render_target.h
scene_context.h
impeller::Matrix
A 4x4 matrix using column-major storage.
Definition:
matrix.h:37
Generated on Sun Jun 23 2024 21:55:05 for Flutter Engine by
1.9.4