#include <sampler_library.h>
Definition at line 13 of file sampler_library.h.
◆ ~SamplerLibrary()
impeller::SamplerLibrary::~SamplerLibrary |
( |
| ) |
|
|
virtualdefault |
◆ SamplerLibrary()
impeller::SamplerLibrary::SamplerLibrary |
( |
| ) |
|
|
protecteddefault |
◆ GetSampler()
Retrieve a backend specific sampler object for the given sampler descriptor.
If the descriptor is invalid or there is a loss of rendering context, this method may return a nullptr.
The sampler library implementations must cache this sampler object and guarantee that the reference will continue to be valid throughout the lifetime of the Impeller context.
Implemented in impeller::SamplerLibraryGLES, impeller::SamplerLibraryMTL, and impeller::SamplerLibraryVK.
The documentation for this class was generated from the following files: