#include <sampler_descriptor.h>
Public Member Functions | |
SamplerDescriptor () | |
SamplerDescriptor (std::string label, MinMagFilter min_filter, MinMagFilter mag_filter, MipFilter mip_filter) | |
std::size_t | GetHash () const override |
bool | IsEqual (const SamplerDescriptor &o) const override |
![]() | |
virtual std::size_t | GetHash () const=0 |
Definition at line 15 of file sampler_descriptor.h.
|
default |
impeller::SamplerDescriptor::SamplerDescriptor | ( | std::string | label, |
MinMagFilter | min_filter, | ||
MinMagFilter | mag_filter, | ||
MipFilter | mip_filter | ||
) |
Definition at line 13 of file sampler_descriptor.cc.
|
inlineoverride |
Definition at line 34 of file sampler_descriptor.h.
References depth_address_mode, height_address_mode, mag_filter, min_filter, mip_filter, and width_address_mode.
Referenced by impeller::ImmutableSamplerKeyVK::GetHash().
|
inlineoverridevirtual |
Implements impeller::Comparable< SamplerDescriptor >.
Definition at line 41 of file sampler_descriptor.h.
References depth_address_mode, height_address_mode, mag_filter, min_filter, mip_filter, and width_address_mode.
Referenced by impeller::ImmutableSamplerKeyVK::IsEqual().
SamplerAddressMode impeller::SamplerDescriptor::depth_address_mode = SamplerAddressMode::kClampToEdge |
Definition at line 22 of file sampler_descriptor.h.
Referenced by impeller::CreateSampler(), GetHash(), and IsEqual().
SamplerAddressMode impeller::SamplerDescriptor::height_address_mode = SamplerAddressMode::kClampToEdge |
Definition at line 21 of file sampler_descriptor.h.
Referenced by impeller::CreateSampler(), GetHash(), IsEqual(), impeller::TiledTextureContents::Render(), and impeller::testing::TEST_P().
std::string impeller::SamplerDescriptor::label = "NN Clamp Sampler" |
Definition at line 24 of file sampler_descriptor.h.
Referenced by impeller::scene::UnlitMaterial::BindToCommand(), impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::CreateSampler(), and impeller::ToSamplerDescriptor().
MinMagFilter impeller::SamplerDescriptor::mag_filter = MinMagFilter::kNearest |
Definition at line 17 of file sampler_descriptor.h.
Referenced by impeller::scene::UnlitMaterial::BindToCommand(), impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::CreateSampler(), GetHash(), IsEqual(), impeller::TextContents::Render(), and impeller::ToSamplerDescriptor().
MinMagFilter impeller::SamplerDescriptor::min_filter = MinMagFilter::kNearest |
Definition at line 16 of file sampler_descriptor.h.
Referenced by impeller::scene::UnlitMaterial::BindToCommand(), impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::CreateSampler(), GetHash(), IsEqual(), impeller::TextContents::Render(), impeller::testing::TEST_P(), and impeller::ToSamplerDescriptor().
MipFilter impeller::SamplerDescriptor::mip_filter = MipFilter::kNearest |
Definition at line 18 of file sampler_descriptor.h.
Referenced by impeller::scene::UnlitMaterial::BindToCommand(), impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::CreateSampler(), GetHash(), IsEqual(), impeller::TextContents::Render(), impeller::testing::TEST_P(), and impeller::ToSamplerDescriptor().
SamplerAddressMode impeller::SamplerDescriptor::width_address_mode = SamplerAddressMode::kClampToEdge |
Definition at line 20 of file sampler_descriptor.h.
Referenced by impeller::scene::SkinnedVertexBufferGeometry::BindToCommand(), impeller::CreateSampler(), GetHash(), IsEqual(), impeller::TiledTextureContents::Render(), impeller::AtlasContents::Render(), and impeller::testing::TEST_P().