Share via


IMTLTexture.Create Method

Definition

[Foundation.Export("newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLTexture? Create(Metal.MTLPixelFormat pixelFormat, Metal.MTLTextureType textureType, Foundation.NSRange levelRange, Foundation.NSRange sliceRange, Metal.MTLTextureSwizzleChannels swizzle);
[<Foundation.Export("newTextureViewWithPixelFormat:textureType:levels:slices:swizzle:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Create : Metal.MTLPixelFormat * Metal.MTLTextureType * Foundation.NSRange * Foundation.NSRange * Metal.MTLTextureSwizzleChannels -> Metal.IMTLTexture
override this.Create : Metal.MTLPixelFormat * Metal.MTLTextureType * Foundation.NSRange * Foundation.NSRange * Metal.MTLTextureSwizzleChannels -> Metal.IMTLTexture

Parameters

pixelFormat
MTLPixelFormat
textureType
MTLTextureType
levelRange
NSRange
sliceRange
NSRange

Returns

Attributes

Applies to