SCNGeometryElement.FromBuffer 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.
Overloads
| Name | Description |
|---|---|
| FromBuffer(IMTLBuffer, SCNGeometryPrimitiveType, IntPtr, IntPtr) | |
| FromBuffer(IMTLBuffer, SCNGeometryPrimitiveType, IntPtr, IntPtr, Boolean, IntPtr) |
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