MTLDrawable_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to the IMTLDrawable interface to support all the methods from the MTLDrawable protocol.
public static class MTLDrawable_Extensions
type MTLDrawable_Extensions = class
- Inheritance
-
MTLDrawable_Extensions
Remarks
The extension methods for IMTLDrawable allow developers to treat instances of the interface as having all the optional methods of the original MTLDrawable protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.
Methods
AddPresentedHandler(IMTLDrawable, Action<IMTLDrawable>) |
Causes the provided |
GetDrawableID(IMTLDrawable) |
Returns the positive integer that identifies the drawable. |
GetPresentedTime(IMTLDrawable) |
Returns the time, in seconds, when the host displayed this drawable. |
PresentAfter(IMTLDrawable, Double) |
Causes the drawable to be presented at least |