文档

Unity Engine

Unity Engine

GetDirectSByteBuffer(nint)

Returns the NativeArray backed by the same memory region as the given direct java.nio.Buffer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AndroidJNIModule

GetDirectSByteBuffer(IntPtr)

public static NativeArray<sbyte> GetDirectSByteBuffer(nint buffer)

Parameters

buffer

Returns

Type

Description

NativeArray<sbyte>

Remarks

Additional Resources: AndroidJNI.GetDirectBufferAddress.