pub struct D3D12FrameInfo {
pub resource: u64,
pub fence: u64,
pub fence_value: u64,
pub device: u64,
pub dxgi_format: u32,
pub width: i32,
pub height: i32,
pub software_format: i32,
pub surface_width: u32,
pub surface_height: u32,
}Expand description
D3D12 resource and decode fence retained by one hardware frame.
Defined on every target so a change to the shim’s record fails to compile everywhere.
Fields§
§resource: u64Borrowed ID3D12Resource pointer.
fence: u64Borrowed decode ID3D12Fence pointer.
fence_value: u64Fence value signaled after decode completes.
device: u64ID3D12Device identity that allocated the resource.
dxgi_format: u32Native DXGI_FORMAT value.
width: i32Width with the right crop applied but not the left.
height: i32Height with the bottom crop applied but not the top.
software_format: i32Software pixel format represented by the hardware frame.
surface_width: u32Width of the texture the frame was decoded into.
surface_height: u32Height of the texture the frame was decoded into.
Trait Implementations§
Source§impl Clone for D3D12FrameInfo
impl Clone for D3D12FrameInfo
impl Copy for D3D12FrameInfo
Source§impl Debug for D3D12FrameInfo
impl Debug for D3D12FrameInfo
impl Eq for D3D12FrameInfo
Source§impl PartialEq for D3D12FrameInfo
impl PartialEq for D3D12FrameInfo
impl StructuralPartialEq for D3D12FrameInfo
Auto Trait Implementations§
impl Freeze for D3D12FrameInfo
impl RefUnwindSafe for D3D12FrameInfo
impl Send for D3D12FrameInfo
impl Sync for D3D12FrameInfo
impl Unpin for D3D12FrameInfo
impl UnsafeUnpin for D3D12FrameInfo
impl UnwindSafe for D3D12FrameInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more