[vk] Wrapper for Sampler Image Filter

This commit is contained in:
CamilleLaVey 2025-11-29 16:39:00 -04:00 committed by lizzie
parent 53b9915c11
commit e5b27578be
4 changed files with 51 additions and 17 deletions

View file

@ -195,6 +195,11 @@ public:
/// Return a reference to the given sampler id
[[nodiscard]] Sampler& GetSampler(SamplerId id) noexcept;
/// Returns true when the runtime format supports linear filtering
[[nodiscard]] bool SupportsLinearFilter(PixelFormat format) const noexcept {
return runtime.SupportsLinearFilter(format);
}
/// Refresh the state for graphics image view and sampler descriptors
void SynchronizeGraphicsDescriptors();