Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

7
api/Main.hx Normal file
View File

@ -0,0 +1,7 @@
package ;
class Main {
public static inline var projectName = 'untitled';
public static inline var projectPackage = 'lnx';
public static inline var projectVersion = '1.0.0';
public static function main() {}
}

6
api/README.md Normal file
View File

@ -0,0 +1,6 @@
Building API docs:
- Install [Haxe](https://haxe.org/) and [dox](https://github.com/HaxeFoundation/dox)
- Open terminal at `lnxsdk/api`
- Run `haxe api.hxml -xml build/api.xml -D doc-gen` to build xml description
- Run `haxe dox.hxml` to generate html into the `pages/` directory

63
api/api.hxml Normal file
View File

@ -0,0 +1,63 @@
-cp ../Kha/Sources
-cp ../Kha/Backends/Krom
-cp ../leenkx/Sources
-cp ../iron/Sources
-cp ../lib/haxebullet/Sources
-cp ../lib/haxerecast/Sources
-cp ../lib/zui/Sources
--macro include('iron', true, null, ['../iron/Sources'])
--macro include('haxebullet', true, null, ['../lib/haxebullet/Sources'])
--macro include('haxerecast', true, null, ['../lib/haxerecast/Sources'])
--macro include('leenkx', true, ['leenkx.network'], ['../leenkx/Sources','../iron/Sources'])
--macro include('zui', true, null, ['../lib/zui/Sources'])
-D lnx_bullet
-D lnx_physics
-D lnx_terrain
-D lnx_stream
-D rp_probes
-D lnx_batch
-D lnx_physics_soft
-D lnx_deferred
-D lnx_csm
-D lnx_ui
-D rp_hdr
-D rp_renderer=Deferred
-D rp_shadowmap
-D rp_shadowmap_cascade=1024
-D rp_shadowmap_cube=512
-D rp_background=World
-D rp_render_to_texture
-D rp_compositornodes
-D rp_antialiasing=SMAA
-D rp_supersampling=1
-D rp_ssgi=SSAO
-D lnx_audio
-D lnx_noembed
-D lnx_soundcompress
-D lnx_skin
-D lnx_morph_target
-D lnx_particles
-D sys_krom
-D sys_g1
-D sys_g2
-D sys_g3
-D sys_g4
-D sys_a1
-D sys_a2
-D kha_js
-D kha_krom
-D kha_krom_js
-D kha_direct3d11
-D kha_g1
-D kha_g2
-D kha_g3
-D kha_g4
-D kha_a1
-D kha_a2
-D kha
-D kha_version=1810
-D kha_project_name=untitled
--no-output
-dce no
-js krom\krom.js
-main Main

1
api/dox.hxml Normal file
View File

@ -0,0 +1 @@
-cmd haxelib run dox -i build -o pages --title "Leenkx 3D Engine" -D themeColor 0x2AE0E0 -D textColor 0xffffff -D website "https://leenkx.com/" -D logo "https://leenkx.com/images/LeenkxLogo.png" -theme ./theme

View File

@ -0,0 +1,403 @@
{
"files": [
{
"name": "painter_colored_frag",
"files": [
"painter-colored.frag.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "fragmentColor",
"type": "vec4"
}
],
"outputs": [
{
"name": "FragColor",
"type": "vec4"
}
],
"uniforms": [],
"types": []
},
{
"name": "painter_colored_vert",
"files": [
"painter-colored.vert.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "vertexPosition",
"type": "vec3"
},
{
"name": "vertexColor",
"type": "vec4"
},
{
"name": "gl_VertexID",
"type": "int"
},
{
"name": "gl_InstanceID",
"type": "int"
}
],
"outputs": [
{
"name": "fragmentColor",
"type": "vec4"
}
],
"uniforms": [
{
"name": "projectionMatrix",
"type": "mat4"
}
],
"types": [
{
"name": "gl_PerVertex",
"members": [
{
"type": "vec4",
"name": "gl_Position"
},
{
"type": "float",
"name": "gl_PointSize"
},
{
"type": "float[]",
"name": "gl_ClipDistance"
},
{
"type": "float[]",
"name": "gl_CullDistance"
}
]
}
]
},
{
"name": "painter_image_frag",
"files": [
"painter-image.frag.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "texCoord",
"type": "vec2"
},
{
"name": "color",
"type": "vec4"
}
],
"outputs": [
{
"name": "FragColor",
"type": "vec4"
}
],
"uniforms": [
{
"name": "tex",
"type": "sampler2D"
}
],
"types": []
},
{
"name": "painter_image_vert",
"files": [
"painter-image.vert.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "vertexPosition",
"type": "vec3"
},
{
"name": "texPosition",
"type": "vec2"
},
{
"name": "vertexColor",
"type": "vec4"
},
{
"name": "gl_VertexID",
"type": "int"
},
{
"name": "gl_InstanceID",
"type": "int"
}
],
"outputs": [
{
"name": "texCoord",
"type": "vec2"
},
{
"name": "color",
"type": "vec4"
}
],
"uniforms": [
{
"name": "projectionMatrix",
"type": "mat4"
}
],
"types": [
{
"name": "gl_PerVertex",
"members": [
{
"type": "vec4",
"name": "gl_Position"
},
{
"type": "float",
"name": "gl_PointSize"
},
{
"type": "float[]",
"name": "gl_ClipDistance"
},
{
"type": "float[]",
"name": "gl_CullDistance"
}
]
}
]
},
{
"name": "painter_text_frag",
"files": [
"painter-text.frag.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "fragmentColor",
"type": "vec4"
},
{
"name": "texCoord",
"type": "vec2"
}
],
"outputs": [
{
"name": "FragColor",
"type": "vec4"
}
],
"uniforms": [
{
"name": "tex",
"type": "sampler2D"
}
],
"types": []
},
{
"name": "painter_text_vert",
"files": [
"painter-text.vert.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "vertexPosition",
"type": "vec3"
},
{
"name": "texPosition",
"type": "vec2"
},
{
"name": "vertexColor",
"type": "vec4"
},
{
"name": "gl_VertexID",
"type": "int"
},
{
"name": "gl_InstanceID",
"type": "int"
}
],
"outputs": [
{
"name": "texCoord",
"type": "vec2"
},
{
"name": "fragmentColor",
"type": "vec4"
}
],
"uniforms": [
{
"name": "projectionMatrix",
"type": "mat4"
}
],
"types": [
{
"name": "gl_PerVertex",
"members": [
{
"type": "vec4",
"name": "gl_Position"
},
{
"type": "float",
"name": "gl_PointSize"
},
{
"type": "float[]",
"name": "gl_ClipDistance"
},
{
"type": "float[]",
"name": "gl_CullDistance"
}
]
}
]
},
{
"name": "painter_video_frag",
"files": [
"painter-video.frag.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "texCoord",
"type": "vec2"
},
{
"name": "color",
"type": "vec4"
}
],
"outputs": [
{
"name": "FragColor",
"type": "vec4"
}
],
"uniforms": [
{
"name": "tex",
"type": "sampler2D"
}
],
"types": []
},
{
"name": "painter_video_vert",
"files": [
"painter-video.vert.d3d11"
],
"file_sizes": [
1
],
"type": "shader",
"inputs": [
{
"name": "vertexPosition",
"type": "vec3"
},
{
"name": "texPosition",
"type": "vec2"
},
{
"name": "vertexColor",
"type": "vec4"
},
{
"name": "gl_VertexID",
"type": "int"
},
{
"name": "gl_InstanceID",
"type": "int"
}
],
"outputs": [
{
"name": "texCoord",
"type": "vec2"
},
{
"name": "color",
"type": "vec4"
}
],
"uniforms": [
{
"name": "projectionMatrix",
"type": "mat4"
}
],
"types": [
{
"name": "gl_PerVertex",
"members": [
{
"type": "vec4",
"name": "gl_Position"
},
{
"type": "float",
"name": "gl_PointSize"
},
{
"type": "float[]",
"name": "gl_ClipDistance"
},
{
"type": "float[]",
"name": "gl_CullDistance"
}
]
}
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

5
api/theme/config.json Normal file
View File

@ -0,0 +1,5 @@
{
"name": "Leenkx3D Theme",
"author": "leenkx3d",
"parentTheme": "default"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB