-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ld
47 lines (36 loc) · 1.23 KB
/
config.ld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- configuration file for LDoc
-- (this file is a Lua program)
-- generate the docs with `ldoc .`
project = "dort"
title = "dort API"
description = "Lua API of the `dort` renderer"
style = "!pale"
no_return_or_parms = true
--sort = true
file = {"src/dort", "lua/dort"}
add_language_extension("cpp", "c")
dir = ".ldoc"
merge = true
format = "markdown"
backtick_references = false
full_description = [[
The API surface is quite large, so the defined functions are separated into
many modules. The most important modules are:
- @{dort.render} -- rendering scenes
- @{dort.builder} -- building scenes to render
Rendering also requires some objects defined in:
- @{dort.camera} -- `Camera`
- @{dort.sampler} -- `Sampler`
- @{dort.filter} -- `Filter` (for image reconstruction)
while scenes are built from:
- @{dort.shape} -- `Shape` and `Mesh`
- @{dort.light} -- `Light`
- @{dort.material} -- `Material`
using (among others)
- @{dort.geometry} -- vector types, `Transform`
- @{dort.texture} -- `Texture`
- @{dort.spectrum} -- `Spectrum` (color)
- @{dort.image} -- `Image.Rgb8` (LDR image) and `Image.RgbFloat` (HDR image)
**Warning:** all functions that take as argument a table with named parameters
(usually named `params`) _may mutate the table_.
]]