Share via


SCNGeometryElement.FromBuffer Method

Definition

Overloads

FromBuffer(IMTLBuffer, SCNGeometryPrimitiveType, IntPtr, IntPtr)

[Foundation.Export("geometryElementWithBuffer:primitiveType:primitiveCount:bytesPerIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometryElement FromBuffer(Metal.IMTLBuffer buffer, SceneKit.SCNGeometryPrimitiveType primitiveType, IntPtr primitiveCount, IntPtr bytesPerIndex);
[<Foundation.Export("geometryElementWithBuffer:primitiveType:primitiveCount:bytesPerIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromBuffer : Metal.IMTLBuffer * SceneKit.SCNGeometryPrimitiveType * nativeint * nativeint -> SceneKit.SCNGeometryElement

Parameters

buffer
IMTLBuffer
primitiveType
SCNGeometryPrimitiveType
primitiveCount
IntPtr

nativeint

bytesPerIndex
IntPtr

nativeint

Returns

Attributes

Applies to

FromBuffer(IMTLBuffer, SCNGeometryPrimitiveType, IntPtr, IntPtr, Boolean, IntPtr)

[Foundation.Export("geometryElementWithBuffer:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNGeometryElement FromBuffer(Metal.IMTLBuffer data, SceneKit.SCNGeometryPrimitiveType primitiveType, IntPtr primitiveCount, IntPtr indicesChannelCount, bool interleavedIndicesChannels, IntPtr bytesPerIndex);
[<Foundation.Export("geometryElementWithBuffer:primitiveType:primitiveCount:indicesChannelCount:interleavedIndicesChannels:bytesPerIndex:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromBuffer : Metal.IMTLBuffer * SceneKit.SCNGeometryPrimitiveType * nativeint * nativeint * bool * nativeint -> SceneKit.SCNGeometryElement

Parameters

data
IMTLBuffer
primitiveType
SCNGeometryPrimitiveType
primitiveCount
IntPtr

nativeint

indicesChannelCount
IntPtr

nativeint

interleavedIndicesChannels
Boolean
bytesPerIndex
IntPtr

nativeint

Returns

Attributes

Applies to