librashader/librashader-runtime-d3d12/src/samplers.rs

8 lines
251 B
Rust
Raw Normal View History

2023-01-22 07:34:13 +11:00
use rustc_hash::FxHashMap;
use windows::Win32::Graphics::Direct3D12::D3D12_GPU_DESCRIPTOR_HANDLE;
use librashader_common::{FilterMode, WrapMode};
pub struct SamplerSet {
samplers: FxHashMap<(WrapMode, FilterMode), D3D12_GPU_DESCRIPTOR_HANDLE>,
}