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