/// <summary>To be documented.</summary> public static unsafe Result GetMemoryAndroidHardwareBuffer(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <MemoryGetAndroidHardwareBufferInfoANDROID> pInfo, [Count(Count = 0), Flow(FlowDirection.Out)] out nint *pBuffer) { // SpanOverloader return(thisApi.GetMemoryAndroidHardwareBuffer(device, in pInfo.GetPinnableReference(), out pBuffer)); }
public static unsafe Result GetAndroidHardwareBufferProperties(this AndroidExternalMemoryAndroidHardwareBuffer thisApi, [Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ReadOnlySpan <nint> buffer, [Count(Count = 0), Flow(FlowDirection.Out)] Span <AndroidHardwareBufferPropertiesANDROID> pProperties) { // SpanOverloader return(thisApi.GetAndroidHardwareBufferProperties(device, in buffer.GetPinnableReference(), out pProperties.GetPinnableReference())); }