다음을 통해 공유


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);
static member FromMetalBuffer : Metal.IMTLBuffer * Metal.MTLVertexFormat * Foundation.NSString * nint * nint * nint -> SceneKit.SCNGeometrySource

매개 변수

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

반환

특성

적용 대상

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);
static member FromMetalBuffer : Metal.IMTLBuffer * Metal.MTLVertexFormat * SceneKit.SCNGeometrySourceSemantics * nint * nint * nint -> SceneKit.SCNGeometrySource

매개 변수

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

반환

적용 대상