Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.BitmapMaterial


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
class BitmapMaterial extends RenderedMaterial
	abstract
	native
	noexport;

var(TextureFormat) const editconst enum ETextureFormat
{
	TEXF_P8,
	TEXF_RGBA7,
	TEXF_RGB16,
	TEXF_DXT1,
	TEXF_RGB8,
	TEXF_RGBA8,
	TEXF_NODATA,
	TEXF_DXT3,
	TEXF_DXT5,
	TEXF_L8,
	TEXF_G16,
	TEXF_RRRGGGBBB,
#if IG_BUMPMAP	// rowan: compressed normalmap texture format
	TEXF_CxV8U8,
	TEXF_DXT5N,
	TEXF_3DC,
#endif
} Format;

var(Texture) enum ETexClampMode
{
	TC_Wrap,
	TC_Clamp,
} UClampMode, VClampMode;

var const byte  UBits, VBits;
var const int   USize, VSize;
var(Texture) const int UClamp, VClamp;

#if IG_SHARED	// Paul: functions to retreive the uSize & vSize of the material
function int GetUSize()
{
	return USize;
}

function int GetVSize()
{
	return VSize;
}
#endif

defaultproperties
{
#if IG_RENDERER	// rowan: set Materialtype for quick casts
	MaterialType = MT_BitmapMaterial
#endif
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: ne 5.9.2004 16:01:20.000 - Creation time: st 23.5.2018 00:10:42.469 - Created with UnCodeX