MTLCommonCounterExtensions.GetValue Method
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.
Overloads
| Name | Description |
|---|---|
| GetValue(NSString) |
Retrieves the MTLCommonCounter value named by |
| GetValue(NativeHandle) |
Retrieves the MTLCommonCounter value represented by the backing field value in |
GetValue(NSString)
Retrieves the MTLCommonCounter value named by constant.
public static Metal.MTLCommonCounter GetValue(Foundation.NSString constant);
static member GetValue : Foundation.NSString -> Metal.MTLCommonCounter
Parameters
- constant
- NSString
The name of the constant to retrieve.
Returns
Applies to
GetValue(NativeHandle)
Retrieves the MTLCommonCounter value represented by the backing field value in handle.
public static Metal.MTLCommonCounter GetValue(ObjCRuntime.NativeHandle handle);
static member GetValue : ObjCRuntime.NativeHandle -> Metal.MTLCommonCounter
Parameters
- handle
- NativeHandle
The native handle with the name of the constant to retrieve.