Blender V2.61 - r43446
Classes | Functions | Variables

Texture.h File Reference

#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_IPolyMaterialgetMaterial (PyObject *obj, short matID)
short getMaterialID (PyObject *obj, const char *name)

Variables

PyTypeObject TextureType
ExceptionID MaterialNotAvail
BlendType< KX_GameObjectgameObjectType

Detailed Description

Definition in file gameengine/VideoTexture/texture.h.


Function Documentation

RAS_IPolyMaterial* getMaterial ( PyObject *  obj,
short  matID 
)
short getMaterialID ( PyObject *  obj,
const char *  name 
)
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().


Variable Documentation

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().