Flutter Engine
 
Loading...
Searching...
No Matches
sampler.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_SAMPLER_H_
6#define FLUTTER_IMPELLER_CORE_SAMPLER_H_
7
9
10namespace impeller {
11
12class Sampler {
13 public:
14 virtual ~Sampler();
15
16 const SamplerDescriptor& GetDescriptor() const;
17
18 protected:
20
21 explicit Sampler(const SamplerDescriptor& desc);
22
23 private:
24 Sampler(const Sampler&) = delete;
25
26 Sampler& operator=(const Sampler&) = delete;
27};
28
29} // namespace impeller
30
31#endif // FLUTTER_IMPELLER_CORE_SAMPLER_H_
virtual ~Sampler()
const SamplerDescriptor & GetDescriptor() const
Definition sampler.cc:13
SamplerDescriptor desc_
Definition sampler.h:19