Flutter Impeller
impeller::Sampler Class Reference

#include <sampler.h>

Inheritance diagram for impeller::Sampler:
impeller::SamplerGLES impeller::SamplerMTL impeller::SamplerVK

Public Member Functions

virtual ~Sampler ()
 
const SamplerDescriptorGetDescriptor () 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 ( )
virtualdefault

◆ Sampler()

impeller::Sampler::Sampler ( SamplerDescriptor  desc)
explicitprotected

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().

Member Data Documentation

◆ desc_

SamplerDescriptor impeller::Sampler::desc_
protected

Definition at line 22 of file sampler.h.

Referenced by impeller::SamplerVK::CreateVariantForConversion(), and GetDescriptor().


The documentation for this class was generated from the following files:
impeller::Sampler::desc_
SamplerDescriptor desc_
Definition: sampler.h:22