writeInto method
Writes all fields directly into the native struct reference p.
For nested structs, use writeInto as well.
Implementation
@override
void writeInto(VrDeviceInfoC p) {
p.hResolution = hResolution;
p.vResolution = vResolution;
p.hScreenSize = hScreenSize;
p.vScreenSize = vScreenSize;
p.eyeToScreenDistance = eyeToScreenDistance;
p.lensSeparationDistance = lensSeparationDistance;
p.interpupillaryDistance = interpupillaryDistance;
for (int i = 0; i < paramCount; i++) {
p.lensDistortionValues[i] = lensDistortionValues[i];
}
for (int i = 0; i < paramCount; i++) {
p.chromaAbCorrection[i] = chromaAbCorrection[i];
}
}