| 1 |
/* |
| 2 |
* Copyright 2022 Google LLC |
| 3 |
* |
| 4 |
* Use of this source code is governed by a BSD-style license that can be |
| 5 |
* found in the LICENSE file. |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef skgpu_graphite_Sampler_DEFINED |
| 9 |
#define skgpu_graphite_Sampler_DEFINED |
| 10 |
|
| 11 |
#include "src/gpu/graphite/Resource.h" |
| 12 |
|
| 13 |
namespace skgpu::graphite { |
| 14 |
|
| 15 |
class Sampler : public Resource { |
| 16 |
public: |
| 17 |
~Sampler() override; |
| 18 |
|
| 19 |
const char* getResourceType() const override { return "Sampler"; } |
| 20 |
|
| 21 |
protected: |
| 22 |
explicit Sampler(const SharedContext*); |
| 23 |
|
| 24 |
private: |
| 25 |
}; |
| 26 |
|
| 27 |
} // namepsace skgpu::graphite |
| 28 |
|
| 29 |
#endif // skgpu_graphite_Sampler_DEFINED |