rt(d3d12): derive clone on D3D12InputImage

This commit is contained in:
chyyran 2024-09-25 19:16:15 -04:00 committed by Ronny Chan
parent c54747d398
commit 341fbceb82

View file

@ -5,6 +5,7 @@ use windows::Win32::Graphics::Direct3D12::{ID3D12Resource, D3D12_CPU_DESCRIPTOR_
use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT; use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT;
/// An image for use as shader resource view. /// An image for use as shader resource view.
#[derive(Clone)]
pub struct D3D12InputImage { pub struct D3D12InputImage {
pub resource: ID3D12Resource, pub resource: ID3D12Resource,
pub descriptor: D3D12_CPU_DESCRIPTOR_HANDLE, pub descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,