| Flutter Impeller |

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
8 #include "impeller/core/sampler_descriptor.h"
9
10 namespace impeller {
11
12 class Sampler {
13 public:
14 virtual ~Sampler();
15
16 const SamplerDescriptor& GetDescriptor() const;
17
18 protected:
19 SamplerDescriptor desc_;
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_
impeller::Sampler
Definition: sampler.h:12
impeller::Sampler::Sampler
Sampler(const SamplerDescriptor &desc)
Definition: sampler.cc:9
impeller::Sampler::~Sampler
virtual ~Sampler()
impeller::Sampler::GetDescriptor
const SamplerDescriptor & GetDescriptor() const
Definition: sampler.cc:13
impeller::Sampler::desc_
SamplerDescriptor desc_
Definition: sampler.h:19
impeller
Definition: allocation.cc:12
sampler_descriptor.h
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:14