ドキュメント

Unity Engine

Download Unity

Unity Engine

GetDirectBufferAddress(nint)

Fetches and returns the starting address of the memory region referenced by the given direct java.nio.Buffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetDirectBufferAddress(IntPtr)

public static sbyte* GetDirectBufferAddress(nint buffer)

Parameters

buffer

The direct java.nio.Buffer.

Returns

Type

Description

sbyte*The starting address of the memory region, or null if the buffer isn't a direct buffer or direct buffers aren't supported.

Remarks