UnsafePlane
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
Type | Name | Description |
---|---|---|
Allocator | allocator |
T GetDataAtOffset< T >
public T GetDataAtOffset< T >(
int offset
)
Parameters
Type | Name | Description |
---|---|---|
int | offset |
T GetDataAtOffsetUnchecked< T >
public T GetDataAtOffsetUnchecked< T >(
int offset
)
Parameters
Type | Name | Description |
---|---|---|
int | offset |
Public Attributes
Data
public byte * Data => data;
DataLength
public int DataLength => layout.DataLength;
IsValid
public bool IsValid => data != null;