diff options
author | Mitchell Stokes <mogurijin@gmail.com> | 2013-04-14 04:40:24 +0400 |
---|---|---|
committer | Mitchell Stokes <mogurijin@gmail.com> | 2013-04-14 04:40:24 +0400 |
commit | d2b14ed4f007d7eb1160b67c6b3722cec52df375 (patch) | |
tree | d42d26d45f701030a2d11eeef8da9e21c41c2335 /doc | |
parent | 6b37baf34c0cfa94619a3106a25a10fc9626920c (diff) |
BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() and bge.render.getMipmapping().
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/rst/bge.render.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/python_api/rst/bge.render.rst b/doc/python_api/rst/bge.render.rst index fbf20eeccaf..c3bcf19c01b 100644 --- a/doc/python_api/rst/bge.render.rst +++ b/doc/python_api/rst/bge.render.rst @@ -243,11 +243,27 @@ Functions :arg level: The new anisotropic filtering level to use :type level: integer (must be one of 1, 2, 4, 8, 16) + .. note:: Changing this value can cause all textures to be recreated, which can be slow. + .. function:: getAnisotropicFiltering() Get the anisotropic filtering level used for textures. :rtype: integer (one of 1, 2, 4, 8, 16) + +.. function:: setMipmapping(value) + + Change how to use mipmapping. + + :type value: RAS_MIPMAP_NONE, RAS_MIPMAP_NEAREST, RAS_MIPMAP_LINEAR + + .. note:: Changing this value can cause all textures to be recreated, which can be slow. + +.. function:: getMipmapping() + + Get the current mipmapping setting. + + :rtype: RAS_MIPMAP_NONE, RAS_MIPMAP_NEAREST, RAS_MIPMAP_LINEAR .. function:: drawLine(fromVec,toVec,color) |