Struct direct3d11::texture2d::Texture2D
source · pub struct Texture2D { /* private fields */ }
Implementations
sourceimpl Texture2D
impl Texture2D
pub fn create(device: &Device) -> Texture2DBuilder<'_, '_>
pub fn as_dxgi(&self) -> DxgiSurface
pub unsafe fn from_raw(raw: *mut ID3D11Texture2D) -> Self
Trait Implementations
sourceimpl BackbufferTexture for Texture2D
impl BackbufferTexture for Texture2D
sourceimpl ComWrapper for Texture2D
impl ComWrapper for Texture2D
impl Send for Texture2D
impl Sync for Texture2D
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more