| Flutter Impeller |

Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
impeller::Sampler Class Referenceabstract

`#include <sampler.h>`

Inheritance diagram for impeller::Sampler:

## Public Member Functions
virtual | ~Sampler ()
virtual bool | IsValid () const =0
const SamplerDescriptor & | GetDescriptor () const

## Protected Member Functions
| Sampler (SamplerDescriptor desc)

## Protected Attributes
SamplerDescriptor | desc_

## Detailed Description

Definition at line 15 of file sampler.h.

## Constructor & Destructor Documentation

## ◆ ~Sampler()

impeller::Sampler::~Sampler | ( |  | ) |
| virtual default

## ◆ Sampler()

impeller::Sampler::Sampler | ( | SamplerDescriptor | desc | ) |
| explicit protected

Definition at line 9 of file sampler.cc.

9 : desc_(std::move(desc)) {}

## Member Function Documentation

## ◆ GetDescriptor()

const SamplerDescriptor & impeller::Sampler::GetDescriptor | ( |  | ) | const

Definition at line 13 of file sampler.cc.

13 {
14 return desc_;
15 }

References desc_.

Referenced by impeller::SamplerGLES::ConfigureBoundTexture().

## ◆ IsValid()

virtual bool impeller::Sampler::IsValid | ( |  | ) | const
| pure virtual

Referenced by impeller::Bind().

## Member Data Documentation

## ◆ desc_

SamplerDescriptor impeller::Sampler::desc_
| protected

Definition at line 24 of file sampler.h.

Referenced by GetDescriptor().

The documentation for this class was generated from the following files:

- impeller/core/sampler.h
- impeller/core/sampler.cc

impeller::Sampler::desc_
SamplerDescriptor desc_
Definition: sampler.h:24