Regenerate parser output

This commit is contained in:
lazaray 2022-05-04 10:57:00 +02:00
parent 717f712ece
commit 944df99d2a
4 changed files with 72 additions and 72 deletions

View File

@ -577,8 +577,8 @@
"description": "Material maps array (MAX_MATERIAL_MAPS)"
},
{
"type": "float",
"name": "params[4]",
"type": "float[4]",
"name": "params",
"description": "Material generic parameters (if required)"
}
]
@ -609,8 +609,8 @@
"description": "Bone, skeletal animation bone",
"fields": [
{
"type": "char",
"name": "name[32]",
"type": "char[32]",
"name": "name",
"description": "Bone name"
},
{
@ -909,13 +909,13 @@
"description": "IPD (distance between pupils) in meters"
},
{
"type": "float",
"name": "lensDistortionValues[4]",
"type": "float[4]",
"name": "lensDistortionValues",
"description": "Lens distortion constant parameters"
},
{
"type": "float",
"name": "chromaAbCorrection[4]",
"type": "float[4]",
"name": "chromaAbCorrection",
"description": "Chromatic aberration correction parameters"
}
]
@ -925,43 +925,43 @@
"description": "VrStereoConfig, VR stereo rendering configuration for simulator",
"fields": [
{
"type": "Matrix",
"name": "projection[2]",
"type": "Matrix[2]",
"name": "projection",
"description": "VR projection matrices (per eye)"
},
{
"type": "Matrix",
"name": "viewOffset[2]",
"type": "Matrix[2]",
"name": "viewOffset",
"description": "VR view offset matrices (per eye)"
},
{
"type": "float",
"name": "leftLensCenter[2]",
"type": "float[2]",
"name": "leftLensCenter",
"description": "VR left lens center"
},
{
"type": "float",
"name": "rightLensCenter[2]",
"type": "float[2]",
"name": "rightLensCenter",
"description": "VR right lens center"
},
{
"type": "float",
"name": "leftScreenCenter[2]",
"type": "float[2]",
"name": "leftScreenCenter",
"description": "VR left screen center"
},
{
"type": "float",
"name": "rightScreenCenter[2]",
"type": "float[2]",
"name": "rightScreenCenter",
"description": "VR right screen center"
},
{
"type": "float",
"name": "scale[2]",
"type": "float[2]",
"name": "scale",
"description": "VR distortion scale"
},
{
"type": "float",
"name": "scaleIn[2]",
"type": "float[2]",
"name": "scaleIn",
"description": "VR distortion scale in"
}
]

View File

@ -577,8 +577,8 @@ return {
description = "Material maps array (MAX_MATERIAL_MAPS)"
},
{
type = "float",
name = "params[4]",
type = "float[4]",
name = "params",
description = "Material generic parameters (if required)"
}
}
@ -609,8 +609,8 @@ return {
description = "Bone, skeletal animation bone",
fields = {
{
type = "char",
name = "name[32]",
type = "char[32]",
name = "name",
description = "Bone name"
},
{
@ -909,13 +909,13 @@ return {
description = "IPD (distance between pupils) in meters"
},
{
type = "float",
name = "lensDistortionValues[4]",
type = "float[4]",
name = "lensDistortionValues",
description = "Lens distortion constant parameters"
},
{
type = "float",
name = "chromaAbCorrection[4]",
type = "float[4]",
name = "chromaAbCorrection",
description = "Chromatic aberration correction parameters"
}
}
@ -925,43 +925,43 @@ return {
description = "VrStereoConfig, VR stereo rendering configuration for simulator",
fields = {
{
type = "Matrix",
name = "projection[2]",
type = "Matrix[2]",
name = "projection",
description = "VR projection matrices (per eye)"
},
{
type = "Matrix",
name = "viewOffset[2]",
type = "Matrix[2]",
name = "viewOffset",
description = "VR view offset matrices (per eye)"
},
{
type = "float",
name = "leftLensCenter[2]",
type = "float[2]",
name = "leftLensCenter",
description = "VR left lens center"
},
{
type = "float",
name = "rightLensCenter[2]",
type = "float[2]",
name = "rightLensCenter",
description = "VR right lens center"
},
{
type = "float",
name = "leftScreenCenter[2]",
type = "float[2]",
name = "leftScreenCenter",
description = "VR left screen center"
},
{
type = "float",
name = "rightScreenCenter[2]",
type = "float[2]",
name = "rightScreenCenter",
description = "VR right screen center"
},
{
type = "float",
name = "scale[2]",
type = "float[2]",
name = "scale",
description = "VR distortion scale"
},
{
type = "float",
name = "scaleIn[2]",
type = "float[2]",
name = "scaleIn",
description = "VR distortion scale in"
}
}

View File

@ -149,7 +149,7 @@ Struct 18: Material (3 fields)
Description: Material, includes shader and maps
Field[1]: Shader shader // Material shader
Field[2]: MaterialMap * maps // Material maps array (MAX_MATERIAL_MAPS)
Field[3]: float params[4] // Material generic parameters (if required)
Field[3]: float[4] params // Material generic parameters (if required)
Struct 19: Transform (3 fields)
Name: Transform
Description: Transform, vectex transformation data
@ -159,7 +159,7 @@ Struct 19: Transform (3 fields)
Struct 20: BoneInfo (2 fields)
Name: BoneInfo
Description: Bone, skeletal animation bone
Field[1]: char name[32] // Bone name
Field[1]: char[32] name // Bone name
Field[2]: int parent // Bone parent
Struct 21: Model (9 fields)
Name: Model
@ -237,19 +237,19 @@ Struct 30: VrDeviceInfo (10 fields)
Field[6]: float eyeToScreenDistance // Distance between eye and display in meters
Field[7]: float lensSeparationDistance // Lens separation distance in meters
Field[8]: float interpupillaryDistance // IPD (distance between pupils) in meters
Field[9]: float lensDistortionValues[4] // Lens distortion constant parameters
Field[10]: float chromaAbCorrection[4] // Chromatic aberration correction parameters
Field[9]: float[4] lensDistortionValues // Lens distortion constant parameters
Field[10]: float[4] chromaAbCorrection // Chromatic aberration correction parameters
Struct 31: VrStereoConfig (8 fields)
Name: VrStereoConfig
Description: VrStereoConfig, VR stereo rendering configuration for simulator
Field[1]: Matrix projection[2] // VR projection matrices (per eye)
Field[2]: Matrix viewOffset[2] // VR view offset matrices (per eye)
Field[3]: float leftLensCenter[2] // VR left lens center
Field[4]: float rightLensCenter[2] // VR right lens center
Field[5]: float leftScreenCenter[2] // VR left screen center
Field[6]: float rightScreenCenter[2] // VR right screen center
Field[7]: float scale[2] // VR distortion scale
Field[8]: float scaleIn[2] // VR distortion scale in
Field[1]: Matrix[2] projection // VR projection matrices (per eye)
Field[2]: Matrix[2] viewOffset // VR view offset matrices (per eye)
Field[3]: float[2] leftLensCenter // VR left lens center
Field[4]: float[2] rightLensCenter // VR right lens center
Field[5]: float[2] leftScreenCenter // VR left screen center
Field[6]: float[2] rightScreenCenter // VR right screen center
Field[7]: float[2] scale // VR distortion scale
Field[8]: float[2] scaleIn // VR distortion scale in
Aliases found: 5

View File

@ -130,7 +130,7 @@
<Struct name="Material" fieldCount="3" desc="Material, includes shader and maps">
<Field type="Shader" name="shader" desc="Material shader" />
<Field type="MaterialMap *" name="maps" desc="Material maps array (MAX_MATERIAL_MAPS)" />
<Field type="float" name="params[4]" desc="Material generic parameters (if required)" />
<Field type="float[4]" name="params" desc="Material generic parameters (if required)" />
</Struct>
<Struct name="Transform" fieldCount="3" desc="Transform, vectex transformation data">
<Field type="Vector3" name="translation" desc="Translation" />
@ -138,7 +138,7 @@
<Field type="Vector3" name="scale" desc="Scale" />
</Struct>
<Struct name="BoneInfo" fieldCount="2" desc="Bone, skeletal animation bone">
<Field type="char" name="name[32]" desc="Bone name" />
<Field type="char[32]" name="name" desc="Bone name" />
<Field type="int" name="parent" desc="Bone parent" />
</Struct>
<Struct name="Model" fieldCount="9" desc="Model, meshes, materials and animation data">
@ -206,18 +206,18 @@
<Field type="float" name="eyeToScreenDistance" desc="Distance between eye and display in meters" />
<Field type="float" name="lensSeparationDistance" desc="Lens separation distance in meters" />
<Field type="float" name="interpupillaryDistance" desc="IPD (distance between pupils) in meters" />
<Field type="float" name="lensDistortionValues[4]" desc="Lens distortion constant parameters" />
<Field type="float" name="chromaAbCorrection[4]" desc="Chromatic aberration correction parameters" />
<Field type="float[4]" name="lensDistortionValues" desc="Lens distortion constant parameters" />
<Field type="float[4]" name="chromaAbCorrection" desc="Chromatic aberration correction parameters" />
</Struct>
<Struct name="VrStereoConfig" fieldCount="8" desc="VrStereoConfig, VR stereo rendering configuration for simulator">
<Field type="Matrix" name="projection[2]" desc="VR projection matrices (per eye)" />
<Field type="Matrix" name="viewOffset[2]" desc="VR view offset matrices (per eye)" />
<Field type="float" name="leftLensCenter[2]" desc="VR left lens center" />
<Field type="float" name="rightLensCenter[2]" desc="VR right lens center" />
<Field type="float" name="leftScreenCenter[2]" desc="VR left screen center" />
<Field type="float" name="rightScreenCenter[2]" desc="VR right screen center" />
<Field type="float" name="scale[2]" desc="VR distortion scale" />
<Field type="float" name="scaleIn[2]" desc="VR distortion scale in" />
<Field type="Matrix[2]" name="projection" desc="VR projection matrices (per eye)" />
<Field type="Matrix[2]" name="viewOffset" desc="VR view offset matrices (per eye)" />
<Field type="float[2]" name="leftLensCenter" desc="VR left lens center" />
<Field type="float[2]" name="rightLensCenter" desc="VR right lens center" />
<Field type="float[2]" name="leftScreenCenter" desc="VR left screen center" />
<Field type="float[2]" name="rightScreenCenter" desc="VR right screen center" />
<Field type="float[2]" name="scale" desc="VR distortion scale" />
<Field type="float[2]" name="scaleIn" desc="VR distortion scale in" />
</Struct>
</Structs>
<Aliases count="5">