C# Class ScreenshotInject.DXHookD3D11

Direct3D 11 Hook - this hooks the SwapChain.Present to take screenshots
Inheritance: BaseDXHook
Afficher le fichier Open project: stani/GScreensTool

Méthodes publiques

Méthode Description
Cleanup ( ) : void
DXHookD3D11 ( ScreenshotInterface ssInterface ) : System
Hook ( ) : void

Private Methods

Méthode Description
CopyMemory ( IntPtr Destination, IntPtr Source, uint Length ) : void
GetImageFileFormat ( String format ) : ImageFileFormat
PresentHook ( IntPtr swapChainPtr, int syncInterval, SlimDX flags ) : int

Our present hook that will grab a copy of the backbuffer when requested. Note: this supports multi-sampling (anti-aliasing)

Method Details

Cleanup() public méthode

public Cleanup ( ) : void
Résultat void

DXHookD3D11() public méthode

public DXHookD3D11 ( ScreenshotInterface ssInterface ) : System
ssInterface ScreenshotInterface
Résultat System

Hook() public méthode

public Hook ( ) : void
Résultat void