Struct XRCameraSubsystem.CameraImagePlaneCinfo
Container for the metadata describing access to the raw camera image plane data.
Syntax
protected struct CameraImagePlaneCinfo : IEquatable<XRCameraSubsystem.CameraImagePlaneCinfo>
Constructors
CameraImagePlaneCinfo(IntPtr, Int32, Int32, Int32)
Constructs the camera image plane cinfo.
Declaration
public CameraImagePlaneCinfo(IntPtr dataPtr, int dataLength, int rowStride, int pixelStride)
Parameters
Type |
Name |
Description |
IntPtr |
dataPtr |
The pointer to the raw native image data.
|
Int32 |
dataLength |
The length of the native image data.
|
Int32 |
rowStride |
The stride for iterating through the rows of the native image data.
|
Int32 |
pixelStride |
The stride for iterating through the pixels of the native image data.
|
Properties
dataLength
The length of the native image data.
Declaration
public int dataLength { get; }
Property Value
Type |
Description |
Int32 |
The length of the native image data.
|
dataPtr
The pointer to the raw native image data.
Declaration
public IntPtr dataPtr { get; }
Property Value
Type |
Description |
IntPtr |
The pointer to the raw native image data.
|
pixelStride
The stride for iterating through the pixels of the native image data.
Declaration
public int pixelStride { get; }
Property Value
Type |
Description |
Int32 |
The stride for iterating through the pixels of the native image data.
|
rowStride
The stride for iterating through the rows of the native image data.
Declaration
public int rowStride { get; }
Property Value
Type |
Description |
Int32 |
The stride for iterating through the rows of the native image data.
|
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(XRCameraSubsystem.CameraImagePlaneCinfo)
Declaration
public bool Equals(XRCameraSubsystem.CameraImagePlaneCinfo other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(XRCameraSubsystem.CameraImagePlaneCinfo, XRCameraSubsystem.CameraImagePlaneCinfo)
Declaration
public static bool operator ==(XRCameraSubsystem.CameraImagePlaneCinfo lhs, XRCameraSubsystem.CameraImagePlaneCinfo rhs)
Parameters
Returns
Inequality(XRCameraSubsystem.CameraImagePlaneCinfo, XRCameraSubsystem.CameraImagePlaneCinfo)
Declaration
public static bool operator !=(XRCameraSubsystem.CameraImagePlaneCinfo lhs, XRCameraSubsystem.CameraImagePlaneCinfo rhs)
Parameters
Returns