Skip to content

Commit

Permalink
loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Nov 29, 2024
1 parent 35ee088 commit 853c2f5
Show file tree
Hide file tree
Showing 18 changed files with 118 additions and 310 deletions.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ creation and resource loading simple.
reference/screenshot.rst
reference/context/index
reference/geometry
reference/loaders/index
reference/loaders
reference/meta/index
reference/finders/index
reference/opengl/index
Expand Down
117 changes: 117 additions & 0 deletions docs/reference/loaders.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
.. py:module:: moderngl_window
.. py:currentmodule:: moderngl_window
moderngl_window.loaders
=======================

.. autoclass:: moderngl_window.loaders.base.BaseLoader
:members:
:inherited-members:
:show-inheritance:
:undoc-members:

Text
----

.. autoclass:: moderngl_window.loaders.data.text.Loader
:members:
:show-inheritance:
:undoc-members:

JSON
----

.. autoclass:: moderngl_window.loaders.data.json.Loader
:members:
:show-inheritance:
:undoc-members:

Binary
------

.. autoclass:: moderngl_window.loaders.data.binary.Loader
:members:
:show-inheritance:
:undoc-members:

Program (Separate)
------------------

.. autoclass:: moderngl_window.loaders.program.separate.Loader
:members:
:show-inheritance:
:undoc-members:

Program (Single)
----------------

.. autoclass:: moderngl_window.loaders.program.single.Loader
:members:
:show-inheritance:
:undoc-members:

GLTF2
-----

.. autoclass:: moderngl_window.loaders.scene.gltf2.Loader
:members:
:show-inheritance:
:undoc-members:


Wavefront / OBJ
---------------

.. autoclass:: moderngl_window.loaders.scene.wavefront.Loader
:members:
:show-inheritance:
:undoc-members:

STL
---

.. autoclass:: moderngl_window.loaders.scene.stl.Loader
:members:
:show-inheritance:
:undoc-members:

TextureArray
------------

.. autoclass:: moderngl_window.loaders.texture.array.Loader
:members:
:show-inheritance:
:undoc-members:

TextureCube
-----------

.. autoclass:: moderngl_window.loaders.texture.cube.Loader
:members:
:show-inheritance:
:undoc-members:

Icon
----

.. autoclass:: moderngl_window.loaders.texture.icon.IconLoader
:members:
:show-inheritance:
:undoc-members:

Texture2D
---------

.. autoclass:: moderngl_window.loaders.texture.t2d.Loader
:members:
:show-inheritance:
:undoc-members:

Pillow
------

.. autoclass:: moderngl_window.loaders.texture.pillow.PillowLoader
:members:
:show-inheritance:
:undoc-members:
25 changes: 0 additions & 25 deletions docs/reference/loaders/array.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/base.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/binary.rst

This file was deleted.

42 changes: 0 additions & 42 deletions docs/reference/loaders/gltf2.rst

This file was deleted.

18 changes: 0 additions & 18 deletions docs/reference/loaders/index.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/json.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/separate.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/single.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/reference/loaders/stl.rst

This file was deleted.

24 changes: 0 additions & 24 deletions docs/reference/loaders/t2d.rst

This file was deleted.

Loading

0 comments on commit 853c2f5

Please sign in to comment.