Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
impeller
core
buffer_view.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_CORE_BUFFER_VIEW_H_
6
#define FLUTTER_IMPELLER_CORE_BUFFER_VIEW_H_
7
8
#include <memory>
9
#include "
impeller/core/range.h
"
10
11
namespace
impeller
{
12
13
class
DeviceBuffer;
14
15
struct
BufferView
{
16
std::shared_ptr<const DeviceBuffer>
buffer
;
17
Range
range
;
18
19
constexpr
explicit
operator
bool()
const
{
return
static_cast<
bool
>
(
buffer
); }
20
};
21
22
}
// namespace impeller
23
24
#endif
// FLUTTER_IMPELLER_CORE_BUFFER_VIEW_H_
range.h
impeller
Definition
texture.h:18
impeller::BufferView
Definition
buffer_view.h:15
impeller::BufferView::range
Range range
Definition
buffer_view.h:17
impeller::BufferView::buffer
std::shared_ptr< const DeviceBuffer > buffer
Definition
buffer_view.h:16
impeller::Range
Definition
range.h:14
Generated on Fri Apr 26 2024 06:14:08 for Flutter Engine by
1.9.8