IMTLBuffer.CreateTexture(MTLTextureDescriptor, nuint, nuint) 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.
[Foundation.Export("newTextureWithDescriptor:offset:bytesPerRow:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public Metal.IMTLTexture CreateTexture (Metal.MTLTextureDescriptor descriptor, nuint offset, nuint bytesPerRow);
abstract member CreateTexture : Metal.MTLTextureDescriptor * nuint * nuint -> Metal.IMTLTexture
Parameters
- descriptor
- MTLTextureDescriptor
- offset
- System.System.UIntPtr System.unativeint
- bytesPerRow
- System.System.UIntPtr System.unativeint
Returns
- Attributes