mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-18 04:09:21 +02:00
[vk] Wrapper for Sampler Image Filter
This commit is contained in:
parent
088de307d2
commit
e366f702ef
5 changed files with 56 additions and 17 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue