C# Class WpfInteropSample.D3D11Host

Host a Direct3D 11 scene.
Inheritance: Image
Afficher le fichier Open project: jmquigs/ModelMod

Méthodes publiques

Méthode Description
D3D11Host ( ) : System

Initializes a new instance of the D3D11Host class.

Initialize ( ) : void
Render ( System.TimeSpan time ) : void
Uninitialize ( ) : void

Méthodes protégées

Méthode Description
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void

Raises the FrameworkElement.SizeChanged event, using the specified information as part of the eventual event data.

Private Methods

Méthode Description
CreateBackBuffer ( ) : void
InitializeGraphicsDevice ( ) : void
InitializeImageSource ( ) : void
OnIsFrontBufferAvailableChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs eventArgs ) : void
OnLoaded ( object sender, RoutedEventArgs eventArgs ) : void
OnRendering ( object sender, EventArgs eventArgs ) : void
OnUnloaded ( object sender, RoutedEventArgs eventArgs ) : void
StartRendering ( ) : void
StopRendering ( ) : void
UninitializeGraphicsDevice ( ) : void
UnitializeImageSource ( ) : void

Method Details

D3D11Host() public méthode

Initializes a new instance of the D3D11Host class.
public D3D11Host ( ) : System
Résultat System

Initialize() public méthode

public Initialize ( ) : void
Résultat void

OnRenderSizeChanged() protected méthode

Raises the FrameworkElement.SizeChanged event, using the specified information as part of the eventual event data.
protected OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
sizeInfo System.Windows.SizeChangedInfo Details of the old and new size involved in the change.
Résultat void

Render() public méthode

public Render ( System.TimeSpan time ) : void
time System.TimeSpan
Résultat void

Uninitialize() public méthode

public Uninitialize ( ) : void
Résultat void