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 readonly 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 readonly 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 readonly 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 readonly int rowStride { get; }
Property Value
Type |
Description |
Int32 |
The stride for iterating through the rows of the native image data.
|
Methods
Equals(System.Object)
Declaration
public override bool Equals(System.Object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Equals(XRCameraSubsystem.CameraImagePlaneCinfo)
Declaration
public bool Equals(XRCameraSubsystem.CameraImagePlaneCinfo other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
ToString()
Declaration
public override string ToString()
Returns
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