SwapChainPresentationTarget Class |
Namespace: DigitalRune.Graphics.Interop
The SwapChainPresentationTarget type exposes the following members.
Name | Description | |
---|---|---|
SwapChainPresentationTarget | Initializes a new instance of the SwapChainPresentationTarget class |
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
GraphicsService |
Gets the graphics service.
| |
Lock |
Gets or sets the synchronization object that is used to lock operations on graphics data.
|
Name | Description | |
---|---|---|
IPresentationTargetBeginRender |
Called by the GraphicsManager before rendering into the presentation target.
| |
IPresentationTargetEndRender |
Called by the GraphicsManager after rendering into the presentation target.
| |
IPresentationTargetGraphicsService |
Gets or sets the graphics service.
| |
IPresentationTargetHandle |
Gets the window handle (HWND).
| |
IPresentationTargetHeight |
Gets the height of the presentation target in pixels.
| |
IPresentationTargetIsVisible |
Gets or sets a value indicating whether the presentation target is displayed.
| |
IPresentationTargetWidth |
Gets the width of the presentation target in pixels.
|
Thread-safety:
The SwapChainPresentationTarget can be used
if the game loop runs in a parallel thread. In this case, the property Lock must
be set to an object that is locked when the game loop is running. The
SwapChainPresentationTarget uses this lock when it access the graphics service.