diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-31 09:51:51 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2011-08-31 09:51:51 +0400 |
commit | f63d049adc268bc71ac87c2b781e2f44f60da1f5 (patch) | |
tree | 59c19b08cf004d27485a89769662c115fd0c146c /doc/python_api/rst/bge.render.rst | |
parent | 471c005137540dd4c348c2f8e93146c0dff37a3f (diff) |
BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:
* setAnisotropicFiltering(level)
* getAnisotropicFiltering()
Diffstat (limited to 'doc/python_api/rst/bge.render.rst')
-rw-r--r-- | doc/python_api/rst/bge.render.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst index 10514049a8a..eeb50a833ff 100644 --- a/doc/python_api/rst/bge.render.rst +++ b/doc/python_api/rst/bge.render.rst @@ -215,7 +215,19 @@ Functions :type setting: string (lights, shaders, shadows, ramps, nodes, extra_textures) :rtype: boolean +.. function:: setAnisotropicFiltering(level) + Set the anisotropic filtering level for textures. + + :arg level: The new anisotropic filtering level to use + :type level: integer (must be one of 1, 2, 4, 8, 16) + +.. function:: getAnisotropicFiltering() + + Get the anisotropic filtering level used for textures. + + :rtype: integer (one of 1, 2, 4, 8, 16) + .. function:: drawLine(fromVec,toVec,color) Draw a line in the 3D scene. |