#[repr(C)]pub struct IUnityGraphicsD3D11 {
pub GetDevice: Option<unsafe extern "system" fn() -> *mut ID3D11Device>,
pub TextureFromRenderBuffer: Option<unsafe extern "system" fn(buffer: UnityRenderBuffer) -> *mut ID3D11Resource>,
pub TextureFromNativeTexture: Option<unsafe extern "system" fn(texture: UnityTextureID) -> *mut ID3D11Resource>,
pub RTVFromRenderBuffer: Option<unsafe extern "system" fn(surface: UnityRenderBuffer) -> *mut ID3D11RenderTargetView>,
pub SRVFromNativeTexture: Option<unsafe extern "system" fn(texture: UnityTextureID) -> *mut ID3D11ShaderResourceView>,
pub GetSwapChain: Option<unsafe extern "system" fn() -> *mut IDXGISwapChain>,
pub GetSyncInterval: Option<unsafe extern "system" fn() -> u32>,
pub GetPresentFlags: Option<unsafe extern "system" fn() -> u32>,
}
Fields§
§GetDevice: Option<unsafe extern "system" fn() -> *mut ID3D11Device>
§TextureFromRenderBuffer: Option<unsafe extern "system" fn(buffer: UnityRenderBuffer) -> *mut ID3D11Resource>
§TextureFromNativeTexture: Option<unsafe extern "system" fn(texture: UnityTextureID) -> *mut ID3D11Resource>
§RTVFromRenderBuffer: Option<unsafe extern "system" fn(surface: UnityRenderBuffer) -> *mut ID3D11RenderTargetView>
§SRVFromNativeTexture: Option<unsafe extern "system" fn(texture: UnityTextureID) -> *mut ID3D11ShaderResourceView>
§GetSwapChain: Option<unsafe extern "system" fn() -> *mut IDXGISwapChain>
§GetSyncInterval: Option<unsafe extern "system" fn() -> u32>
§GetPresentFlags: Option<unsafe extern "system" fn() -> u32>
Trait Implementations§
Source§impl Clone for IUnityGraphicsD3D11
impl Clone for IUnityGraphicsD3D11
Source§fn clone(&self) -> IUnityGraphicsD3D11
fn clone(&self) -> IUnityGraphicsD3D11
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for IUnityGraphicsD3D11
impl Default for IUnityGraphicsD3D11
Source§fn default() -> IUnityGraphicsD3D11
fn default() -> IUnityGraphicsD3D11
Returns the “default value” for a type. Read more
impl Copy for IUnityGraphicsD3D11
Auto Trait Implementations§
impl Freeze for IUnityGraphicsD3D11
impl RefUnwindSafe for IUnityGraphicsD3D11
impl Send for IUnityGraphicsD3D11
impl Sync for IUnityGraphicsD3D11
impl Unpin for IUnityGraphicsD3D11
impl UnwindSafe for IUnityGraphicsD3D11
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