mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-28 19:59:02 +02:00
[vk] Wrapper for Sampler Image Filter
This commit is contained in:
parent
53b9915c11
commit
e5b27578be
4 changed files with 51 additions and 17 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue