Struct mltg::d3d12::Direct3D12
source · pub struct Direct3D12 { /* private fields */ }
Implementations§
source§impl Direct3D12
impl Direct3D12
pub fn new( d3d12_device: &ID3D12Device, command_queue: &ID3D12CommandQueue, nodemask: u32 ) -> Result<Self>
Trait Implementations§
source§impl Backend for Direct3D12
impl Backend for Direct3D12
type RenderTarget = RenderTarget
fn d2d1_device(&self) -> &ID2D1Device5
fn d2d1_factory(&self) -> &ID2D1Factory6
fn begin_draw(&self, target: &Self::RenderTarget)
fn end_draw(&self, target: &Self::RenderTarget, ret: Result<()>) -> Result<()>
source§impl Clone for Direct3D12
impl Clone for Direct3D12
source§fn clone(&self) -> Direct3D12
fn clone(&self) -> Direct3D12
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for Direct3D12
impl Send for Direct3D12
impl Sync for Direct3D12
impl Unpin for Direct3D12
impl UnwindSafe for Direct3D12
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