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 (const SamplerDescriptor &desc)
 

Protected Attributes

SamplerDescriptor desc_
 

Detailed Description

Definition at line 12 of file sampler.h.

Constructor & Destructor Documentation

◆ ~Sampler()

impeller::Sampler::~Sampler ( )
virtualdefault

◆ Sampler()

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

Definition at line 9 of file sampler.cc.

9 : desc_(desc) {}
SamplerDescriptor desc_
Definition: sampler.h:19

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_.

Member Data Documentation

◆ desc_

SamplerDescriptor impeller::Sampler::desc_
protected

Definition at line 19 of file sampler.h.

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


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