MTKTextureLoader
MTKTextureLoader(IMTLDevice)
MTKTextureLoader(IntPtr)
MTKTextureLoader(NativeHandle)
MTKTextureLoader(NSObjectFlag)
ClassHandle
Device
FromCGImage(CGImage, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromCGImage(CGImage, MTKTextureLoaderOptions, NSError)
FromCGImageAsync(CGImage, MTKTextureLoaderOptions)
FromData(NSData, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromData(NSData, MTKTextureLoaderOptions, NSError)
FromDataAsync(NSData, MTKTextureLoaderOptions)
FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, NFloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, nfloat, NSBundle, MTKTextureLoaderOptions, NSError)
FromName(String, NFloat, NSBundle, MTKTextureLoaderOptions, NSError)
FromName(String, nfloat, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, NFloat, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, nfloat, NSBundle, NSDictionary, NSError)
FromName(String, NFloat, NSBundle, NSDictionary, NSError)
FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, NFloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromName(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, NSError)
FromName(String, NFloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, NSError)
FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, NFloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderCallback)
FromName(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary, NSError)
FromName(String, NFloat, NSDisplayGamut, NSBundle, NSDictionary, NSError)
FromNameAsync(String, nfloat, NSBundle, MTKTextureLoaderOptions)
FromNameAsync(String, NFloat, NSBundle, MTKTextureLoaderOptions)
FromNameAsync(String, nfloat, NSBundle, NSDictionary)
FromNameAsync(String, NFloat, NSBundle, NSDictionary)
FromNameAsync(String, nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions)
FromNameAsync(String, NFloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions)
FromNameAsync(String, nfloat, NSDisplayGamut, NSBundle, NSDictionary)
FromNameAsync(String, NFloat, NSDisplayGamut, NSBundle, NSDictionary)
FromNames(String[], nfloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromNames(String[], NFloat, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNames(String[], NFloat, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromNames(String[], NFloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromNames(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNames(String[], NFloat, NSDisplayGamut, NSBundle, NSDictionary, MTKTextureLoaderArrayCallback)
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions)
FromNamesAsync(String[], NFloat, NSBundle, MTKTextureLoaderOptions)
FromNamesAsync(String[], nfloat, NSBundle, NSDictionary)
FromNamesAsync(String[], NFloat, NSBundle, NSDictionary)
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions)
FromNamesAsync(String[], NFloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions)
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary)
FromNamesAsync(String[], NFloat, NSDisplayGamut, NSBundle, NSDictionary)
FromTexture(MDLTexture, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromTexture(MDLTexture, MTKTextureLoaderOptions, NSError)
FromTexture(MDLTexture, NSDictionary, MTKTextureLoaderCallback)
FromTexture(MDLTexture, NSDictionary, NSError)
FromTextureAsync(MDLTexture, MTKTextureLoaderOptions)
FromTextureAsync(MDLTexture, NSDictionary)
FromUrl(NSUrl, MTKTextureLoaderOptions, MTKTextureLoaderCallback)
FromUrl(NSUrl, MTKTextureLoaderOptions, NSError)
FromUrlAsync(NSUrl, MTKTextureLoaderOptions)
FromUrls(NSUrl[], MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)
FromUrls(NSUrl[], MTKTextureLoaderOptions, NSError)
FromUrls(NSUrl[], NSDictionary, MTKTextureLoaderArrayCallback)
FromUrls(NSUrl[], NSDictionary, NSError)
FromUrlsAsync(NSUrl[], MTKTextureLoaderOptions)
FromUrlsAsync(NSUrl[], NSDictionary)
net9.0-macos14.2
namespace MetalKit
{
[Register("MTKTextureLoader", true)]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("macos")]
[SupportedOSPlatform("tvos")]
public class MTKTextureLoader : NSObject
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("newTextureWithName:scaleFactor:displayGamut:bundle:options:error:")]
[SupportedOSPlatform("macos")]
[UnsupportedOSPlatform("ios")]
[UnsupportedOSPlatform("tvos")]
[UnsupportedOSPlatform("maccatalyst")]
public virtual IMTLTexture? FromName(string! name, NFloat scaleFactor, NSDisplayGamut displayGamut, NSBundle? bundle, NSDictionary? options, out NSError? error);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
Information specific to net9.0-macos14.2 | |
Assembly | Microsoft.macOS , Version=14.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API