⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

Tex.GetHardwareBuffer

IntPtr GetHardwareBuffer()

This will return the AHardwareBuffer* backing this texture, if it was created from one. This call will block execution until the texture is loaded, if it is not already.

   
RETURNS: IntPtr An AHardwareBuffer* coerced into an IntPtr, or IntPtr.Zero if the texture is not backed by a hardware buffer, or when not on Android.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!