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 #pragma once
6 
7 #include <unordered_map>
8 
9 #include "flutter/fml/macros.h"
11 
12 namespace impeller {
13 
15  public:
16  virtual ~SamplerLibrary();
17 
18  virtual std::shared_ptr<const Sampler> GetSampler(
19  SamplerDescriptor descriptor) = 0;
20 
21  protected:
23 
24  private:
25  FML_DISALLOW_COPY_AND_ASSIGN(SamplerLibrary);
26 };
27 
28 } // namespace impeller
impeller::SamplerDescriptor
Definition: sampler_descriptor.h:18
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:14
impeller
Definition: aiks_context.cc:10