MTLBuffer_Extensions.CreateTexture 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.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static Metal.IMTLTexture CreateTexture (this Metal.IMTLBuffer This, Metal.MTLTextureDescriptor descriptor, nuint offset, nuint bytesPerRow);
static member CreateTexture : Metal.IMTLBuffer * Metal.MTLTextureDescriptor * nuint * nuint -> Metal.IMTLTexture
Parameters
- This
- IMTLBuffer
- descriptor
- MTLTextureDescriptor
- offset
- System.System.UIntPtr System.unativeint
- bytesPerRow
- System.System.UIntPtr System.unativeint
Returns
- Attributes