From d2b14ed4f007d7eb1160b67c6b3722cec52df375 Mon Sep 17 00:00:00 2001 From: Mitchell Stokes Date: Sun, 14 Apr 2013 00:40:24 +0000 Subject: BGE: Adding mipmapping control to bge.render via bge.render.setMipmapping() and bge.render.getMipmapping(). --- doc/python_api/rst/bge.render.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') 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) -- cgit v1.2.3