BPython:
- added image.getBindCode() docstring to Image's epydoc file (thanks Satish Goda). Scripts: - Adding Apply_def.py to "Mesh" scripts menu (thanks author: Theeth); - Updating JMS's disp_paint.py (also changed its name to remove version info); - minor updates in docs and scripts.
This commit is contained in:
@@ -6,7 +6,7 @@ The Blender.Image submodule.
|
||||
Image
|
||||
=====
|
||||
|
||||
B{New}: L{Image.reload}.
|
||||
B{New}: L{Image.reload}, L{Image.getBindCode}.
|
||||
|
||||
This module provides access to B{Image} objects in Blender.
|
||||
|
||||
@@ -67,6 +67,7 @@ class Image:
|
||||
axis.
|
||||
@cvar yrep: Texture tiling: the number of repetitions in the y (vertical)
|
||||
axis.
|
||||
@cvar bindcode: Texture's bind code (readonly).
|
||||
"""
|
||||
|
||||
def getName():
|
||||
@@ -106,6 +107,14 @@ class Image:
|
||||
This is for texture tiling.
|
||||
@rtype: int
|
||||
"""
|
||||
|
||||
def getBindCode():
|
||||
"""
|
||||
Get the Image's bindcode. This is for texture loading using BGL calls,
|
||||
see for example L{BGL.glBindTexture}.
|
||||
@rtype: int
|
||||
"""
|
||||
|
||||
def reload():
|
||||
"""
|
||||
Reloads this image from the filesystem. If used within a loop you need to
|
||||
|
||||
Reference in New Issue
Block a user