BGE: Adding two new functions to bge.render to allow users to change the anisotropic filtering level used by textures:

* setAnisotropicFiltering(level)
  * getAnisotropicFiltering()
This commit is contained in:
Mitchell Stokes
2011-08-31 05:51:51 +00:00
parent 471c005137
commit f63d049adc
5 changed files with 59 additions and 0 deletions

View File

@@ -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.