Flutter Impeller
sampler.cc
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 
6 
7 namespace impeller {
8 
9 Sampler::Sampler(const SamplerDescriptor& desc) : desc_(desc) {}
10 
11 Sampler::~Sampler() = default;
12 
14  return desc_;
15 }
16 
17 } // namespace impeller
Sampler(const SamplerDescriptor &desc)
Definition: sampler.cc:9
virtual ~Sampler()
const SamplerDescriptor & GetDescriptor() const
Definition: sampler.cc:13
SamplerDescriptor desc_
Definition: sampler.h:19
std::optional< PipelineDescriptor > desc_