Struct piet_direct2d::d3d::D3D11Device
source · pub struct D3D11Device(_);
Implementations§
source§impl D3D11Device
impl D3D11Device
pub fn inner(&self) -> &ComPtr<ID3D11Device>
pub fn create() -> Result<(D3D11Device, D3D11DeviceContext), Error>
pub fn as_dxgi(&self) -> Option<DxgiDevice>
pub fn create_texture(
&self,
width: u32,
height: u32,
mode: TextureMode
) -> Result<D3D11Texture2D, Error>
Trait Implementations§
impl Send for D3D11Device
impl Sync for D3D11Device
Auto Trait Implementations§
Blanket Implementations§
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.