| 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
5 #include "impeller/core/sampler.h"
6
7 namespace impeller {
8
9 Sampler::Sampler(const SamplerDescriptor& desc) : desc_(desc) {}
10
11 Sampler::~Sampler() = default;
12
13 const SamplerDescriptor& Sampler::GetDescriptor() const {
14 return desc_;
15 }
16
17 } // namespace impeller
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
desc_
std::optional< PipelineDescriptor > desc_
Definition: content_context.cc:77
impeller
Definition: allocation.cc:12
sampler.h
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:14