Skip to main content
←API Reference ←NianticSpatial.NSDK.AR.PAM

NsdkCpuImage


Declaration​

public struct NsdkCpuImage : ValueType

Summary​

A Niantic Spatial Development Kit intermediate class to hold image data before sending down to native via NsdkFrameData. Should be able to hold references to XRCpuImage, MagicLeap and others' data. Does not own any of it. Is not related to NsdkCpuImageApi.


Constructors​

public NsdkCpuImage(ImageFormatCEnum format, uint width, uint height)

Fields​

NameTypeSummary
FormatImageFormatCEnum
-
Heightuint
-
static MaxPlanesint
-
PlanesNsdkCpuImagePlane[]
-
Widthuint
-

Methods​

NameTypeSummary
static CreateNsdkCpuImage
-
static TryGetFromXRCpuImagebool
-