다음을 통해 공유


MTLDevice_Extensions.CreateTexture 메서드

정의

지정된 값을 사용하여 Metal 텍스처를 만듭니다.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLTexture CreateTexture (this Metal.IMTLDevice This, Metal.MTLTextureDescriptor descriptor, IOSurface.IOSurface iosurface, nuint plane);
static member CreateTexture : Metal.IMTLDevice * Metal.MTLTextureDescriptor * IOSurface.IOSurface * nuint -> Metal.IMTLTexture

매개 변수

This
IMTLDevice

이 메서드가 작동하는 인스턴스입니다.

iosurface
IOSurface
plane
System.System.UIntPtr System.unativeint

반환

특성

적용 대상