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

20 lines
462 B
Rust
Raw Normal View History

2023-01-24 18:02:27 +11:00
use windows::Win32::Graphics::Direct3D12::{D3D12_RESOURCE_DESC, ID3D12Device, ID3D12Resource};
use librashader_common::{FilterMode, WrapMode};
use librashader_runtime::image::Image;
pub struct LutTexture {
handle: ID3D12Resource,
}
impl LutTexture {
pub fn new(
device: &ID3D12Device,
source: &Image,
desc: D3D12_RESOURCE_DESC,
filter: FilterMode,
wrap_mode: WrapMode,
) {
// todo: d3d12:800
}
}