![]() |
Blender V2.61 - r43446
|
#include <PyObjectPlus.h>#include <structmember.h>#include <DNA_image_types.h>#include <BL_Texture.h>#include <KX_BlenderMaterial.h>#include "ImageBase.h"#include "BlendType.h"#include "Exception.h"Go to the source code of this file.
Classes | |
| struct | Texture |
Functions | |
| void | loadTexture (unsigned int texId, unsigned int *texture, short *size, bool mipmap=false) |
| RAS_IPolyMaterial * | getMaterial (PyObject *obj, short matID) |
| short | getMaterialID (PyObject *obj, const char *name) |
Variables | |
| PyTypeObject | TextureType |
| ExceptionID | MaterialNotAvail |
| BlendType< KX_GameObject > | gameObjectType |
Definition in file gameengine/VideoTexture/texture.h.
| RAS_IPolyMaterial* getMaterial | ( | PyObject * | obj, |
| short | matID | ||
| ) |
Definition at line 87 of file Texture.cpp.
References gameObjectType, KX_GameObject::GetMesh(), KX_GameObject::GetMeshCount(), RAS_MeshObject::GetMeshMaterial(), RAS_MaterialBucket::GetPolyMaterial(), RAS_MeshMaterial::m_bucket, and NULL.
Referenced by getMaterialID(), ImageMirror_init(), and Texture_init().
| short getMaterialID | ( | PyObject * | obj, |
| const char * | name | ||
| ) |
Definition at line 110 of file Texture.cpp.
References getMaterial(), RAS_IPolyMaterial::GetMaterialName(), RAS_IPolyMaterial::GetTextureName(), NULL, and STR_String::ReadPtr().
| void loadTexture | ( | unsigned int | texId, |
| unsigned int * | texture, | ||
| short * | size, | ||
| bool | mipmap = false |
||
| ) |
Definition at line 65 of file Texture.cpp.
Referenced by ImageViewport::calcImage(), and Texture_refresh().
Referenced by getMaterial().
Definition at line 178 of file Texture.cpp.
Referenced by ImageMirror_init().
| PyTypeObject TextureType |
Definition at line 459 of file Texture.cpp.
Referenced by initVideoTexture(), and Texture_init().