Flutter Impeller
sampler_library.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_RENDERER_SAMPLER_LIBRARY_H_
6 #define FLUTTER_IMPELLER_RENDERER_SAMPLER_LIBRARY_H_
7 
10 
11 namespace impeller {
12 
14  public:
15  virtual ~SamplerLibrary();
16 
17  virtual std::shared_ptr<const Sampler> GetSampler(
18  SamplerDescriptor descriptor) = 0;
19 
20  protected:
22 
23  private:
24  SamplerLibrary(const SamplerLibrary&) = delete;
25 
26  SamplerLibrary& operator=(const SamplerLibrary&) = delete;
27 };
28 
29 } // namespace impeller
30 
31 #endif // FLUTTER_IMPELLER_RENDERER_SAMPLER_LIBRARY_H_
sampler.h
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:15
impeller::SamplerLibrary::GetSampler
virtual std::shared_ptr< const Sampler > GetSampler(SamplerDescriptor descriptor)=0
sampler_descriptor.h
impeller::SamplerLibrary::~SamplerLibrary
virtual ~SamplerLibrary()
impeller::SamplerLibrary::SamplerLibrary
SamplerLibrary()
impeller::SamplerLibrary
Definition: sampler_library.h:13
impeller
Definition: aiks_context.cc:10