File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ don't have a binary distribution for darwin.
6
6
7
7
- Write documentation (readthedocs)
8
8
- Pyrr / Math
9
- - EffectManagers
10
9
- Properly verify all settings
11
10
- Make EffectControllers
12
11
- TrackSystemEffectController
Original file line number Diff line number Diff line change @@ -70,6 +70,18 @@ Remember that you can also create global resource directories for all
70
70
the effects in your projects as well. This can be achieved by configuring
71
71
resource finders in :doc: `settings `.
72
72
73
+ Methods fetching resources can take additional parameters to override defaults.
74
+
75
+ Example setting texture repeat and enable anisotropic filtering:
76
+
77
+ .. code-block :: bash
78
+
79
+ self.get_texture(" cube/texture.png" ,
80
+ wrap_s=GL_REPEAT, wrap_t=GL_REPEAT,
81
+ anisotropy=16)
82
+
83
+ This will also automatically generate mipmaps for the texture.
84
+
73
85
The Effect Module
74
86
^^^^^^^^^^^^^^^^^
75
87
You can’t perform that action at this time.
0 commit comments