Прочитать на английском

Поделиться через


SCNGeometrySource.FromMetalBuffer Метод

Определение

Перегрузки

FromMetalBuffer(IMTLBuffer, MTLVertexFormat, NSString, nint, nint, nint)

Метод фабрики для создания нового SCNGeometrySource объекта из буфера данных.

FromMetalBuffer(IMTLBuffer, MTLVertexFormat, SCNGeometrySourceSemantics, nint, nint, nint)

Метод фабрики для создания нового SCNGeometrySource объекта из буфера данных.

FromMetalBuffer(IMTLBuffer, MTLVertexFormat, NSString, nint, nint, nint)

Метод фабрики для создания нового SCNGeometrySource объекта из буфера данных.

[Foundation.Export("geometrySourceWithBuffer:vertexFormat:semantic:vertexCount:dataOffset:dataStride:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 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 SceneKit.SCNGeometrySource FromMetalBuffer(Metal.IMTLBuffer mtlBuffer, Metal.MTLVertexFormat vertexFormat, Foundation.NSString geometrySourceSemantic, nint vertexCount, nint offset, nint stride);

Параметры

mtlBuffer
IMTLBuffer
vertexFormat
MTLVertexFormat
geometrySourceSemantic
NSString
vertexCount
System.System.IntPtr
offset
System.System.IntPtr
stride
System.System.IntPtr

Возвращаемое значение

Атрибуты

Применяется к

FromMetalBuffer(IMTLBuffer, MTLVertexFormat, SCNGeometrySourceSemantics, nint, nint, nint)

Метод фабрики для создания нового SCNGeometrySource объекта из буфера данных.

public static SceneKit.SCNGeometrySource FromMetalBuffer(Metal.IMTLBuffer mtlBuffer, Metal.MTLVertexFormat vertexFormat, SceneKit.SCNGeometrySourceSemantics semantic, nint vertexCount, nint offset, nint stride);

Параметры

mtlBuffer
IMTLBuffer
vertexFormat
MTLVertexFormat
vertexCount
System.System.IntPtr
offset
System.System.IntPtr
stride
System.System.IntPtr

Возвращаемое значение

Применяется к