[vk] Wrapper for Sampler Image Filter

This commit is contained in:
CamilleLaVey 2025-11-29 16:39:00 -04:00 committed by Caio Oliveira
parent 088de307d2
commit e366f702ef
No known key found for this signature in database
GPG key ID: AAAE6C7FD4186B0C
5 changed files with 56 additions and 17 deletions

View file

@ -182,6 +182,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();