Skip to main content
Version: 21 Aug 2024

NativePlane

NameSpace: Android

Public Fields

PixelStride


public int PixelStride { get; set; }


RowStride


public int RowStride { get; set; }


Public Methods

NativeArray< byte > CopyToNativeArray

public NativeArray< byte > CopyToNativeArray(
Allocator allocator
)

Parameters

TypeNameDescription
Allocatorallocator

T GetDataAtOffset< T >

public T GetDataAtOffset< T >(
int offset
)

Parameters

TypeNameDescription
intoffset

Public Attributes

IsValid


public bool IsValid => _Plane.IsValid;