-
Notifications
You must be signed in to change notification settings - Fork 297
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4205e7c
Showing
476 changed files
with
145,867 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 37c8e6399b0a128fb5f8e2f0b494c911 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+115 KB
.doctrees/dagor-render/index/d3dAPI/helperClasses/multidrawContext.doctree
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+10 KB
.doctrees/dagor-render/index/resourceSlot/nodeHandleWithSlotsAccess.doctree
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.54 KB
.doctrees/quirrel-modules/quirrel-modules/darg_framework/daRg.debug.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.33 KB
.doctrees/quirrel-modules/quirrel-modules/darg_framework/index.doctree
Binary file not shown.
Binary file added
BIN
+57.2 KB
.doctrees/quirrel-modules/quirrel-modules/darg_framework/renderCanvas.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+24.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_daECS/ecs.netevent.doctree
Binary file not shown.
Binary file added
BIN
+3.23 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_daECS/index.doctree
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+110 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/DataBlock.doctree
Binary file not shown.
Binary file added
BIN
+6.27 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/appsFlyer.doctree
Binary file not shown.
Binary file added
BIN
+16.6 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/base64.doctree
Binary file not shown.
Binary file added
BIN
+22.6 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/browser.doctree
Binary file not shown.
Binary file added
BIN
+5.54 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/clevertap.doctree
Binary file not shown.
Binary file added
BIN
+27.1 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/console.doctree
Binary file not shown.
Binary file added
BIN
+14.1 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/daEditorEmbedded.doctree
Binary file not shown.
Binary file added
BIN
+6.88 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/daRg.debug.doctree
Binary file not shown.
Binary file added
BIN
+419 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/daRg.doctree
Binary file not shown.
Binary file added
BIN
+13.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dacoll.trace.doctree
Binary file not shown.
Binary file added
BIN
+11.1 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.clipboard.doctree
Binary file not shown.
Binary file added
BIN
+25.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.debug.doctree
Binary file not shown.
Binary file added
BIN
+36.1 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.fs.doctree
Binary file not shown.
Binary file added
BIN
+6.84 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.fs.vrom.doctree
Binary file not shown.
Binary file added
BIN
+26.6 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.http.doctree
Binary file not shown.
Binary file added
BIN
+18.5 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.iso8601.doctree
Binary file not shown.
Binary file added
BIN
+264 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.math.doctree
Binary file not shown.
Binary file added
BIN
+8.17 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.memtrace.doctree
Binary file not shown.
Binary file added
BIN
+6.28 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.perf.doctree
Binary file not shown.
Binary file added
BIN
+14.6 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.profiler.doctree
Binary file not shown.
Binary file added
BIN
+23.7 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.random.doctree
Binary file not shown.
Binary file added
BIN
+7.39 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.shell.doctree
Binary file not shown.
Binary file added
BIN
+40.7 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.system.doctree
Binary file not shown.
Binary file added
BIN
+29.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.time.doctree
Binary file not shown.
Binary file added
BIN
+30.9 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dagor.workcycle.doctree
Binary file not shown.
Binary file added
BIN
+232 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dainput2.doctree
Binary file not shown.
Binary file added
BIN
+15 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/dasevents.doctree
Binary file not shown.
Binary file added
BIN
+23.7 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/datacache.doctree
Binary file not shown.
Binary file added
BIN
+496 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/ecs.doctree
Binary file not shown.
Binary file added
BIN
+25.7 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/ecs.netevent.doctree
Binary file not shown.
Binary file added
BIN
+70.5 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/entity_editor.doctree
Binary file not shown.
Binary file added
BIN
+58 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/eventbus.doctree
Binary file not shown.
Binary file added
BIN
+7.04 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/executable.doctree
Binary file not shown.
Binary file added
BIN
+59.8 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/frp.doctree
Binary file not shown.
Binary file added
BIN
+18.8 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/hash.doctree
Binary file not shown.
Binary file added
BIN
+6.2 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/index.doctree
Binary file not shown.
Binary file added
BIN
+15.3 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/json.doctree
Binary file not shown.
Binary file added
BIN
+9.37 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/jwt.doctree
Binary file not shown.
Binary file added
BIN
+8.37 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/modules.doctree
Binary file not shown.
Binary file added
BIN
+18.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/nestdb.doctree
Binary file not shown.
Binary file added
BIN
+8.16 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/net.doctree
Binary file not shown.
Binary file added
BIN
+27.7 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/pathfinder.doctree
Binary file not shown.
Binary file added
BIN
+17.3 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/platform.doctree
Binary file not shown.
Binary file added
BIN
+14.5 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/regexp2.doctree
Binary file not shown.
Binary file added
BIN
+59.4 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/renderCanvas.doctree
Binary file not shown.
Binary file added
BIN
+82 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/sound.doctree
Binary file not shown.
Binary file added
BIN
+28.9 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/statsd.doctree
Binary file not shown.
Binary file added
BIN
+18.8 KB
.doctrees/quirrel-modules/quirrel-modules/quirrel_gamelibs/utf8.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
Engine Libraries Docs | ||
========================================= | ||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:glob: | ||
|
||
picture_image/index.rst | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.. autogenerated | ||
***** | ||
Image | ||
***** | ||
|
||
|
||
*Source file: prog/engine/image/decodeFnameSuffix.h* | ||
|
||
|
||
.. _image_rasterization: | ||
|
||
Image Rasterization | ||
-------------------- | ||
|
||
Images can be of several formats, most common TIFF, PNG, JPG and SVG. | ||
|
||
|
||
There can also be suffixes that allow to specify parameters of rasterization, separated with ``:``:: | ||
|
||
<image>[<:W>[:H][:k|f|p]] | ||
|
||
W - width | ||
H - height | ||
K - keep aspect | ||
F - force aspect | ||
P - premultiplied alpha | ||
|
||
Width and Height can be used for svg and other format for better down/upsampling quality. | ||
When both Width and Height are 0 then resampling is skipped (it may be useful to force premultiplied alpha leaving source picture | ||
resolution as is using :0:P suffix). For vector graphics (such as .SVG) resolution (at least Width) is mandatory. | ||
|
||
Sample usage (in daRg for example):: | ||
|
||
Picture("image.svg:256:256:K:P") | ||
or | ||
Picture("b64://<base64 encoded string of svg or png>:256:256:K:P") | ||
or | ||
Picture("image.png:0:P") | ||
or | ||
Picture("image.png:512:256:P:F") | ||
|
||
|
||
|
62 changes: 62 additions & 0 deletions
62
_sources/dagor-engine-docs/picture_image/PictureManager.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
.. autogenerated | ||
************** | ||
PictureManager | ||
************** | ||
|
||
|
||
*Source file: prog/engine/lib3d/picMgr.cpp* | ||
|
||
|
||
.. seealso:: :ref:`image_rasterization` | ||
|
||
Picture Sources | ||
--------------- | ||
|
||
Pictures can be files, resources, http resources, base64 encoded or dynamically rendered characters. | ||
|
||
Full image path can be with or without path to **PictureAtlas** (see below) ``[atlasPath#]<image path string>``. | ||
|
||
If image path string starts with http or https - it is treated as url and image would be requested from this url. | ||
If image path string doesn't have slashes and endswith ``*`` - it is treated as game built resource and would be loaded from .dxp.bin | ||
files. If image path string starts with ``b64://`` it is supposed to be base64 encoded string file (usually svg). if image path string | ||
starts with ``render`` string - it is supposed to be datablock string, that allow to render in atlas or separately dynamic render | ||
objects, like characters. In other cases image path string should be path to image path (usually png, svg or jpg). | ||
|
||
|
||
Picture Atlases | ||
--------------- | ||
|
||
|
||
Dagor allow to make dynamic atlases for images. | ||
Such atlases improve rendering performance, cause allow to render several UI objects with one drawprimitive. | ||
|
||
To create atlas you need specify it's parameters in configuration file in datablock format. | ||
|
||
Picture atlas configuration format:: | ||
|
||
tex{ | ||
dynAtlas:b=yes | ||
rtTex:b=yes | ||
name:t="myatlas" //for debugging? and for static (obsolete) atlases | ||
size:ip2=512,512 //size in pixels | ||
|
||
maxAllowedPicSz:ip2=320,320 //max allowed picture size to rasterize. | ||
//Will raise a logerr on attempt to rasterize bigger image. | ||
premultiplyAlpha:b=yes | ||
margin:i=1 //margin around pictures | ||
picSrcFolder:t="/ui/uiskin/" | ||
picReserve:i=128 | ||
refHRes:i=1080 //reference size of vertcal resoultion. | ||
//Atlas will proportionally scale on bigger resolutions, | ||
//as we usually need pixel perfect rasterization of icons | ||
} | ||
|
||
|
||
To specify usage of picture atlas:: | ||
|
||
// "tex/mytex.tga" - real texture name | ||
// "tex/myatlas#mytex" - picture "mytex" in tex/myatlas.blk | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
Dagor Engine Libraries | ||
====================== | ||
|
||
Picture Manager documentation | ||
|
||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:glob: | ||
|
||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. Dagor Engine Render documentation master file | ||
Dagor Engine Render | ||
=============================================== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:caption: Contents: | ||
:glob: | ||
|
||
index/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
D3D API | ||
================================================= | ||
|
||
D3D API is our unified API which hides GAPI calls for different platforms. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
d3dAPI/Buffers | ||
d3dAPI/RenderPass | ||
d3dAPI/other | ||
d3dAPI/constants | ||
d3dAPI/textures | ||
d3dAPI/helperClasses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Buffers | ||
================================================= | ||
|
||
.. autodoxygenfile:: dag_drv3d_buffers.h | ||
:project: d3dAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
RenderPass | ||
================================================= | ||
|
||
* See samples/testDrv3d/render_pass_tests.h for example usage | ||
|
||
Callable d3d:: methods | ||
|
||
.. doxygengroup:: RenderPassD3D | ||
:project: d3dAPI | ||
:members: | ||
:undoc-members: | ||
:content-only: | ||
|
||
================================================= | ||
|
||
Related structures | ||
|
||
.. doxygengroup:: RenderPassStructs | ||
:project: d3dAPI | ||
:members: | ||
:undoc-members: | ||
:content-only: | ||
|
||
================================================= | ||
|
||
Related constants | ||
|
||
.. doxygengroup:: RenderPassConsts | ||
:project: d3dAPI | ||
:members: | ||
:content-only: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Constants, Structures and Enumerations | ||
================================================= | ||
|
||
.. autodoxygenfile:: dag_drv3dConsts.h | ||
:project: d3dAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Helper classes for D3D API | ||
================================================= | ||
|
||
These classes are not part of core D3D API, but they simplifies common usages of D3D API. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
helperClasses/multidrawContext |
5 changes: 5 additions & 0 deletions
5
_sources/dagor-render/index/d3dAPI/helperClasses/multidrawContext.rst.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
MultidrawContext | ||
================================================= | ||
|
||
.. autodoxygenfile:: dag_multidrawContext.h | ||
:project: d3dAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
All other methods | ||
================================================= | ||
|
||
.. autodoxygenfile:: dag_drv3d.h | ||
:project: d3dAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Textures | ||
================================================= | ||
|
||
.. autodoxygenfile:: dag_tex3d.h | ||
:project: d3dAPI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
daBFG API | ||
================================================= | ||
|
||
daBFG is a library for constructing and executing a *frame graph*, a computational graph for specifying a rendering pipeline of an real time application. It supports many fun features, such as: | ||
* Homogenous management of many types of resources: transient and temporal, CPU data, GPU textures and buffers, external resources like system backbuffers | ||
* Memory aliasing for all internally managed resources (even temporal ones!) | ||
* Automatic barriers | ||
* Global state management: (fake) render passes, bindings, VRS and more! | ||
* Multiplexing support: want to run your graph multiple times for VR? No problem! It just works (as long as you annotate node multiplexing modes correctly and don't do any global state crimes) | ||
* More to come soon! | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
daBFG/core | ||
daBFG/declaringNodes | ||
daBFG/graphState | ||
daBFG/runtime | ||
daBFG/das |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Core Functions | ||
================================================= | ||
|
||
The library exposes several global functions for controlling the global | ||
graph state encapsulated inside the library, listed below. The graph | ||
is always singular and global by design. This allows for the most | ||
effective optimization of memory and other resources due to all | ||
information being visible and available to the backend. | ||
|
||
However, for separating different logical parts of the global graph, | ||
e.g. for different viewports (editor and game preview) all daBfg entities | ||
(nodes, resources, automatic resolutions, etc) are namespaced. A node | ||
might have the name "/foo/bar/node", but you never actually use this | ||
name to refer to a node, as we don't want to be parsing strings. | ||
Instead, wrapper objects describing a particular namespace are used. | ||
|
||
Hence, the code that wants to register various objects inside the graph, | ||
like nodes and resolutions, must use the :cpp:class:`dabfg::NameSpace` | ||
class to do so, although aliases for calling methods of this class on | ||
the global namespace :cpp:func:`dabfg::root` are available. | ||
|
||
.. doxygengroup:: DabfgCore | ||
:project: daBFG | ||
:members: | ||
|
||
.. doxygengroup:: DabfgCoreAliases | ||
:project: daBFG | ||
:members: |
Oops, something went wrong.