1 | <html> |
---|
2 | <head> |
---|
3 | <title>Ogre::TextureUnitState class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
4 | <link type="text/css" rel="stylesheet" href="style.css"> |
---|
5 | </head> |
---|
6 | |
---|
7 | <body> |
---|
8 | <!-- Generated by Doxygen 1.3.6 --> |
---|
9 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> |
---|
10 | <h1>Ogre::TextureUnitState Class Reference</h1>Class representing the state of a single texture unit during a <a class="el" href="classOgre_1_1Pass.html">Pass</a> of a <a class="el" href="classOgre_1_1Technique.html">Technique</a>, of a <a class="el" href="classOgre_1_1Material.html">Material</a>. |
---|
11 | <a href="#_details">More...</a> |
---|
12 | <p> |
---|
13 | <code>#include <<a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>></code> |
---|
14 | <p> |
---|
15 | <a href="classOgre_1_1TextureUnitState-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> |
---|
16 | <tr><td></td></tr> |
---|
17 | <tr><td colspan=2><br><h2>Public Types</h2></td></tr> |
---|
18 | <tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::multimap< <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">TextureEffectType</a>,<br> |
---|
19 | <a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">EffectMap</a></td></tr> |
---|
20 | |
---|
21 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> effects in a multimap paired array. <a href="#Ogre_1_1TextureUnitStatew0"></a><br><br></td></tr> |
---|
22 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">TextureEffectType</a> { <br> |
---|
23 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew1">ET_ENVIRONMENT_MAP</a>, |
---|
24 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew2">ET_PROJECTIVE_TEXTURE</a>, |
---|
25 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew3">ET_UVSCROLL</a>, |
---|
26 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew4">ET_USCROLL</a>, |
---|
27 | <br> |
---|
28 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew5">ET_VSCROLL</a>, |
---|
29 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew6">ET_ROTATE</a>, |
---|
30 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew7">ET_TRANSFORM</a> |
---|
31 | <br> |
---|
32 | }</td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of the broad types of texture effect you can apply to a texture unit. <a href="#Ogre_1_1TextureUnitStatew27">More...</a><br><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28">EnvMapType</a> { <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew8">ENV_PLANAR</a>, |
---|
36 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew9">ENV_CURVED</a>, |
---|
37 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew10">ENV_REFLECTION</a>, |
---|
38 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew11">ENV_NORMAL</a> |
---|
39 | }</td></tr> |
---|
40 | |
---|
41 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enumeration to specify type of envmap. <a href="#Ogre_1_1TextureUnitStatew28">More...</a><br><br></td></tr> |
---|
42 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29">TextureTransformType</a> { <br> |
---|
43 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew12">TT_TRANSLATE_U</a>, |
---|
44 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew13">TT_TRANSLATE_V</a>, |
---|
45 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew14">TT_SCALE_U</a>, |
---|
46 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew15">TT_SCALE_V</a>, |
---|
47 | <br> |
---|
48 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew16">TT_ROTATE</a> |
---|
49 | <br> |
---|
50 | }</td></tr> |
---|
51 | |
---|
52 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Useful enumeration when dealing with procedural transforms. <a href="#Ogre_1_1TextureUnitStatew29">More...</a><br><br></td></tr> |
---|
53 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> { <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew17">TAM_WRAP</a>, |
---|
54 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew18">TAM_MIRROR</a>, |
---|
55 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew19">TAM_CLAMP</a>, |
---|
56 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew20">TAM_BORDER</a> |
---|
57 | }</td></tr> |
---|
58 | |
---|
59 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> addressing modes - default is TAM_WRAP. <a href="#Ogre_1_1TextureUnitStatew30">More...</a><br><br></td></tr> |
---|
60 | <tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31">TextureCubeFace</a> { <br> |
---|
61 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew21">CUBE_FRONT</a> = 0, |
---|
62 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew22">CUBE_BACK</a> = 1, |
---|
63 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew23">CUBE_LEFT</a> = 2, |
---|
64 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew24">CUBE_RIGHT</a> = 3, |
---|
65 | <br> |
---|
66 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew25">CUBE_UP</a> = 4, |
---|
67 | <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew26">CUBE_DOWN</a> = 5 |
---|
68 | <br> |
---|
69 | }</td></tr> |
---|
70 | |
---|
71 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enum identifying the frame indexes for faces of a cube map (not the composite 3D type. <a href="#Ogre_1_1TextureUnitStatew31">More...</a><br><br></td></tr> |
---|
72 | <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> |
---|
73 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea0">TextureUnitState</a> (<a class="el" href="classOgre_1_1Pass.html">Pass</a> *parent)</td></tr> |
---|
74 | |
---|
75 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#Ogre_1_1TextureUnitStatea0"></a><br><br></td></tr> |
---|
76 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea1">TextureUnitState</a> (<a class="el" href="classOgre_1_1Pass.html">Pass</a> *parent, const <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> &oth)</td></tr> |
---|
77 | |
---|
78 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea2">operator=</a> (const <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> &oth)</td></tr> |
---|
79 | |
---|
80 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea3">~TextureUnitState</a> ()</td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#Ogre_1_1TextureUnitStatea3"></a><br><br></td></tr> |
---|
83 | <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea4">TextureUnitState</a> (<a class="el" href="classOgre_1_1Pass.html">Pass</a> *parent, const <a class="el" href="namespaceOgre.html#a471">String</a> &texName, unsigned int texCoordSet=0)</td></tr> |
---|
84 | |
---|
85 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Name-based constructor. <a href="#Ogre_1_1TextureUnitStatea4"></a><br><br></td></tr> |
---|
86 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea5">getTextureName</a> (void) const </td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of current texture image for this layer. <a href="#Ogre_1_1TextureUnitStatea5"></a><br><br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea6">setTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, <a class="el" href="namespaceOgre.html#a685">TextureType</a> ttype=TEX_TYPE_2D, int mipmaps=-1, bool isAlpha=false)</td></tr> |
---|
90 | |
---|
91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets this texture layer to use a single texture, given the name of the texture to use on this layer. <a href="#Ogre_1_1TextureUnitStatea6"></a><br><br></td></tr> |
---|
92 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea7">setCubicTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, bool forUVW=false)</td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. <a href="#Ogre_1_1TextureUnitStatea7"></a><br><br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea8">setCubicTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> *const names, bool forUVW=false)</td></tr> |
---|
96 | |
---|
97 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. <a href="#Ogre_1_1TextureUnitStatea8"></a><br><br></td></tr> |
---|
98 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea9">setAnimatedTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, unsigned int numFrames, <a class="el" href="namespaceOgre.html#a465">Real</a> duration=0)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the names of the texture images for an animated texture. <a href="#Ogre_1_1TextureUnitStatea9"></a><br><br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea10">setAnimatedTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> *const names, unsigned int numFrames, <a class="el" href="namespaceOgre.html#a465">Real</a> duration=0)</td></tr> |
---|
102 | |
---|
103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the names of the texture images for an animated texture. <a href="#Ogre_1_1TextureUnitStatea10"></a><br><br></td></tr> |
---|
104 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::pair< <a class="el" href="namespaceOgre.html#a468">uint</a>, <a class="el" href="namespaceOgre.html#a468">uint</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea11">getTextureDimensions</a> (unsigned int frame=0) const </td></tr> |
---|
105 | |
---|
106 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the width and height of the texture in the given frame. <a href="#Ogre_1_1TextureUnitStatea11"></a><br><br></td></tr> |
---|
107 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea12">setCurrentFrame</a> (unsigned int frameNumber)</td></tr> |
---|
108 | |
---|
109 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Changes the active frame in an animated or multi-image texture. <a href="#Ogre_1_1TextureUnitStatea12"></a><br><br></td></tr> |
---|
110 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea13">getCurrentFrame</a> (void) const </td></tr> |
---|
111 | |
---|
112 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the active frame in an animated or multi-image texture layer. <a href="#Ogre_1_1TextureUnitStatea13"></a><br><br></td></tr> |
---|
113 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea14">getFrameTextureName</a> (unsigned int frameNumber) const </td></tr> |
---|
114 | |
---|
115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the name of the texture associated with a frame number. <a href="#Ogre_1_1TextureUnitStatea14"></a><br><br></td></tr> |
---|
116 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea15">setFrameTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name, unsigned int frameNumber)</td></tr> |
---|
117 | |
---|
118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the name of the texture associated with a frame. <a href="#Ogre_1_1TextureUnitStatea15"></a><br><br></td></tr> |
---|
119 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea16">addFrameTextureName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
120 | |
---|
121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Add a <a class="el" href="classOgre_1_1Texture.html">Texture</a> name to the end of the frame container. <a href="#Ogre_1_1TextureUnitStatea16"></a><br><br></td></tr> |
---|
122 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea17">deleteFrameTextureName</a> (const size_t frameNumber)</td></tr> |
---|
123 | |
---|
124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">deletes a specific texture frame. <a href="#Ogre_1_1TextureUnitStatea17"></a><br><br></td></tr> |
---|
125 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea18">getNumFrames</a> (void) const </td></tr> |
---|
126 | |
---|
127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of frames for a texture. <a href="#Ogre_1_1TextureUnitStatea18"></a><br><br></td></tr> |
---|
128 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea19">isCubic</a> (void) const </td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame, or is a full 3D cube map. <a href="#Ogre_1_1TextureUnitStatea19"></a><br><br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea20">is3D</a> (void) const </td></tr> |
---|
132 | |
---|
133 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this texture layer uses a composite 3D cubic texture. <a href="#Ogre_1_1TextureUnitStatea20"></a><br><br></td></tr> |
---|
134 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea21">getTextureType</a> (void) const </td></tr> |
---|
135 | |
---|
136 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of this texture. <a href="#Ogre_1_1TextureUnitStatea21"></a><br><br></td></tr> |
---|
137 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea22">getTextureCoordSet</a> (void) const </td></tr> |
---|
138 | |
---|
139 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the index of the set of texture co-ords this layer uses. <a href="#Ogre_1_1TextureUnitStatea22"></a><br><br></td></tr> |
---|
140 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea23">setTextureCoordSet</a> (unsigned int set)</td></tr> |
---|
141 | |
---|
142 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the index of the set of texture co-ords this layer uses. <a href="#Ogre_1_1TextureUnitStatea23"></a><br><br></td></tr> |
---|
143 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea24">setTextureTransform</a> (const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> &xform)</td></tr> |
---|
144 | |
---|
145 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a matrix used to transform any texture coordinates on this layer. <a href="#Ogre_1_1TextureUnitStatea24"></a><br><br></td></tr> |
---|
146 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea25">getTextureTransform</a> (void) const </td></tr> |
---|
147 | |
---|
148 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the current texture transformation matrix. <a href="#Ogre_1_1TextureUnitStatea25"></a><br><br></td></tr> |
---|
149 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea26">setTextureScroll</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> u, <a class="el" href="namespaceOgre.html#a465">Real</a> v)</td></tr> |
---|
150 | |
---|
151 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the translation offset of the texture, ie scrolls the texture. <a href="#Ogre_1_1TextureUnitStatea26"></a><br><br></td></tr> |
---|
152 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea27">setTextureUScroll</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> value)</td></tr> |
---|
153 | |
---|
154 | <tr><td class="mdescLeft"> </td><td class="mdescRight">As setTextureScroll, but sets only U value. <a href="#Ogre_1_1TextureUnitStatea27"></a><br><br></td></tr> |
---|
155 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea28">getTextureUScroll</a> (void) const </td></tr> |
---|
156 | |
---|
157 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea29">setTextureVScroll</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> value)</td></tr> |
---|
158 | |
---|
159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">As setTextureScroll, but sets only V value. <a href="#Ogre_1_1TextureUnitStatea29"></a><br><br></td></tr> |
---|
160 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea30">getTextureVScroll</a> (void) const </td></tr> |
---|
161 | |
---|
162 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea31">setTextureUScale</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> value)</td></tr> |
---|
163 | |
---|
164 | <tr><td class="mdescLeft"> </td><td class="mdescRight">As setTextureScale, but sets only U value. <a href="#Ogre_1_1TextureUnitStatea31"></a><br><br></td></tr> |
---|
165 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea32">getTextureUScale</a> (void) const </td></tr> |
---|
166 | |
---|
167 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea33">setTextureVScale</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> value)</td></tr> |
---|
168 | |
---|
169 | <tr><td class="mdescLeft"> </td><td class="mdescRight">As setTextureScale, but sets only V value. <a href="#Ogre_1_1TextureUnitStatea33"></a><br><br></td></tr> |
---|
170 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea34">getTextureVScale</a> (void) const </td></tr> |
---|
171 | |
---|
172 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea35">setTextureScale</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> uScale, <a class="el" href="namespaceOgre.html#a465">Real</a> vScale)</td></tr> |
---|
173 | |
---|
174 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the scaling factor applied to texture coordinates. <a href="#Ogre_1_1TextureUnitStatea35"></a><br><br></td></tr> |
---|
175 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea36">setTextureRotate</a> (const <a class="el" href="classOgre_1_1Radian.html">Radian</a> &angle)</td></tr> |
---|
176 | |
---|
177 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the anticlockwise rotation factor applied to texture coordinates. <a href="#Ogre_1_1TextureUnitStatea36"></a><br><br></td></tr> |
---|
178 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea37">getTextureRotate</a> (void) const </td></tr> |
---|
179 | |
---|
180 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea38">getTextureAddressingMode</a> (void) const </td></tr> |
---|
181 | |
---|
182 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the texture addressing mode for a given coordinate, i.e. <a href="#Ogre_1_1TextureUnitStatea38"></a><br><br></td></tr> |
---|
183 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea39">setTextureAddressingMode</a> (<a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> tam)</td></tr> |
---|
184 | |
---|
185 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the texture addressing mode, i.e. <a href="#Ogre_1_1TextureUnitStatea39"></a><br><br></td></tr> |
---|
186 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea40">setTextureAddressingMode</a> (<a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> u, <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> v, <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> w)</td></tr> |
---|
187 | |
---|
188 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the texture addressing mode, i.e. <a href="#Ogre_1_1TextureUnitStatea40"></a><br><br></td></tr> |
---|
189 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea41">setTextureAddressingMode</a> (const <a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a> &uvw)</td></tr> |
---|
190 | |
---|
191 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the texture addressing mode, i.e. <a href="#Ogre_1_1TextureUnitStatea41"></a><br><br></td></tr> |
---|
192 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea42">setTextureBorderColour</a> (const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> &colour)</td></tr> |
---|
193 | |
---|
194 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the texture border colour. <a href="#Ogre_1_1TextureUnitStatea42"></a><br><br></td></tr> |
---|
195 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea43">getTextureBorderColour</a> (void) const </td></tr> |
---|
196 | |
---|
197 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the texture border colour. <a href="#Ogre_1_1TextureUnitStatea43"></a><br><br></td></tr> |
---|
198 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea44">setColourOperationEx</a> (<a class="el" href="namespaceOgre.html#a636">LayerBlendOperationEx</a> op, <a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> source1=LBS_TEXTURE, <a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> source2=LBS_CURRENT, const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> &arg1=<a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues2">ColourValue::White</a>, const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> &arg2=<a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues2">ColourValue::White</a>, <a class="el" href="namespaceOgre.html#a465">Real</a> manualBlend=0.0)</td></tr> |
---|
199 | |
---|
200 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Setting advanced blending options. <a href="#Ogre_1_1TextureUnitStatea44"></a><br><br></td></tr> |
---|
201 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea45">setColourOperation</a> (const <a class="el" href="namespaceOgre.html#a635">LayerBlendOperation</a> op)</td></tr> |
---|
202 | |
---|
203 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0). <a href="#Ogre_1_1TextureUnitStatea45"></a><br><br></td></tr> |
---|
204 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea46">setColourOpMultipassFallback</a> (const <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> sourceFactor, const <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> destFactor)</td></tr> |
---|
205 | |
---|
206 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the multipass fallback operation for this layer, if you used <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea44">TextureUnitState::setColourOperationEx</a> and not enough multitexturing hardware is available. <a href="#Ogre_1_1TextureUnitStatea46"></a><br><br></td></tr> |
---|
207 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea47">getColourBlendMode</a> (void) const </td></tr> |
---|
208 | |
---|
209 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get multitexturing colour blending mode. <a href="#Ogre_1_1TextureUnitStatea47"></a><br><br></td></tr> |
---|
210 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea48">getAlphaBlendMode</a> (void) const </td></tr> |
---|
211 | |
---|
212 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get multitexturing alpha blending mode. <a href="#Ogre_1_1TextureUnitStatea48"></a><br><br></td></tr> |
---|
213 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea49">getColourBlendFallbackSrc</a> (void) const </td></tr> |
---|
214 | |
---|
215 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the multipass fallback for colour blending operation source factor. <a href="#Ogre_1_1TextureUnitStatea49"></a><br><br></td></tr> |
---|
216 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea50">getColourBlendFallbackDest</a> (void) const </td></tr> |
---|
217 | |
---|
218 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the multipass fallback for colour blending operation destination factor. <a href="#Ogre_1_1TextureUnitStatea50"></a><br><br></td></tr> |
---|
219 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea51">setAlphaOperation</a> (<a class="el" href="namespaceOgre.html#a636">LayerBlendOperationEx</a> op, <a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> source1=LBS_TEXTURE, <a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> source2=LBS_CURRENT, <a class="el" href="namespaceOgre.html#a465">Real</a> arg1=1.0, <a class="el" href="namespaceOgre.html#a465">Real</a> arg2=1.0, <a class="el" href="namespaceOgre.html#a465">Real</a> manualBlend=0.0)</td></tr> |
---|
220 | |
---|
221 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the alpha operation to be applied to this texture. <a href="#Ogre_1_1TextureUnitStatea51"></a><br><br></td></tr> |
---|
222 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea52">addEffect</a> (<a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a> &effect)</td></tr> |
---|
223 | |
---|
224 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generic method for setting up texture effects. <a href="#Ogre_1_1TextureUnitStatea52"></a><br><br></td></tr> |
---|
225 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea53">setEnvironmentMap</a> (bool enable, <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28">EnvMapType</a> envMapType=ENV_CURVED)</td></tr> |
---|
226 | |
---|
227 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Turns on/off texture coordinate effect that makes this layer an environment map. <a href="#Ogre_1_1TextureUnitStatea53"></a><br><br></td></tr> |
---|
228 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea54">setScrollAnimation</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> uSpeed, <a class="el" href="namespaceOgre.html#a465">Real</a> vSpeed)</td></tr> |
---|
229 | |
---|
230 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets up an animated scroll for the texture layer. <a href="#Ogre_1_1TextureUnitStatea54"></a><br><br></td></tr> |
---|
231 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea55">setRotateAnimation</a> (<a class="el" href="namespaceOgre.html#a465">Real</a> speed)</td></tr> |
---|
232 | |
---|
233 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets up an animated texture rotation for this layer. <a href="#Ogre_1_1TextureUnitStatea55"></a><br><br></td></tr> |
---|
234 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea56">setTransformAnimation</a> (const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29">TextureTransformType</a> ttype, const <a class="el" href="namespaceOgre.html#a648">WaveformType</a> waveType, <a class="el" href="namespaceOgre.html#a465">Real</a> base=0, <a class="el" href="namespaceOgre.html#a465">Real</a> frequency=1, <a class="el" href="namespaceOgre.html#a465">Real</a> phase=0, <a class="el" href="namespaceOgre.html#a465">Real</a> amplitude=1)</td></tr> |
---|
235 | |
---|
236 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets up a general time-relative texture modification effect. <a href="#Ogre_1_1TextureUnitStatea56"></a><br><br></td></tr> |
---|
237 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea57">setProjectiveTexturing</a> (bool enabled, const <a class="el" href="classOgre_1_1Frustum.html">Frustum</a> *projectionSettings=0)</td></tr> |
---|
238 | |
---|
239 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Enables or disables projective texturing on this texture unit. <a href="#Ogre_1_1TextureUnitStatea57"></a><br><br></td></tr> |
---|
240 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea58">removeAllEffects</a> (void)</td></tr> |
---|
241 | |
---|
242 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes all effects applied to this texture layer. <a href="#Ogre_1_1TextureUnitStatea58"></a><br><br></td></tr> |
---|
243 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea59">removeEffect</a> (const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">TextureEffectType</a> type)</td></tr> |
---|
244 | |
---|
245 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a single effect applied to this texture layer. <a href="#Ogre_1_1TextureUnitStatea59"></a><br><br></td></tr> |
---|
246 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea60">isBlank</a> (void) const </td></tr> |
---|
247 | |
---|
248 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines if this texture layer is currently blank. <a href="#Ogre_1_1TextureUnitStatea60"></a><br><br></td></tr> |
---|
249 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea61">setBlank</a> (void)</td></tr> |
---|
250 | |
---|
251 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets this texture layer to be blank. <a href="#Ogre_1_1TextureUnitStatea61"></a><br><br></td></tr> |
---|
252 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">EffectMap</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea62">getEffects</a> (void) const </td></tr> |
---|
253 | |
---|
254 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea63">getAnimationDuration</a> (void) const </td></tr> |
---|
255 | |
---|
256 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea64">setTextureFiltering</a> (<a class="el" href="namespaceOgre.html#a641">TextureFilterOptions</a> filterType)</td></tr> |
---|
257 | |
---|
258 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the texture filtering for this unit, using the simplified interface. <a href="#Ogre_1_1TextureUnitStatea64"></a><br><br></td></tr> |
---|
259 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea65">setTextureFiltering</a> (<a class="el" href="namespaceOgre.html#a642">FilterType</a> ftype, <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> opts)</td></tr> |
---|
260 | |
---|
261 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a single filtering option on this texture unit. <a href="#Ogre_1_1TextureUnitStatea65"></a><br><br></td></tr> |
---|
262 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea66">setTextureFiltering</a> (<a class="el" href="namespaceOgre.html#a643">FilterOptions</a> minFilter, <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> magFilter, <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> mipFilter)</td></tr> |
---|
263 | |
---|
264 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set a the detailed filtering options on this texture unit. <a href="#Ogre_1_1TextureUnitStatea66"></a><br><br></td></tr> |
---|
265 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea67">getTextureFiltering</a> (<a class="el" href="namespaceOgre.html#a642">FilterType</a> ftpye) const </td></tr> |
---|
266 | |
---|
267 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea68">setTextureAnisotropy</a> (unsigned int maxAniso)</td></tr> |
---|
268 | |
---|
269 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the anisotropy level to be used for this texture level. <a href="#Ogre_1_1TextureUnitStatea68"></a><br><br></td></tr> |
---|
270 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea69">getTextureAnisotropy</a> () const </td></tr> |
---|
271 | |
---|
272 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea70">getParent</a> (void) const </td></tr> |
---|
273 | |
---|
274 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the parent <a class="el" href="classOgre_1_1Pass.html">Pass</a> object. <a href="#Ogre_1_1TextureUnitStatea70"></a><br><br></td></tr> |
---|
275 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea71">_load</a> (void)</td></tr> |
---|
276 | |
---|
277 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for loading this object as part of <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">Material::load</a>. <a href="#Ogre_1_1TextureUnitStatea71"></a><br><br></td></tr> |
---|
278 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea72">_unload</a> (void)</td></tr> |
---|
279 | |
---|
280 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for unloading this object as part of <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">Material::unload</a>. <a href="#Ogre_1_1TextureUnitStatea72"></a><br><br></td></tr> |
---|
281 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea73">hasViewRelativeTextureCoordinateGeneration</a> (void)</td></tr> |
---|
282 | |
---|
283 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this unit has texture coordinate generation that depends on the camera. <a href="#Ogre_1_1TextureUnitStatea73"></a><br><br></td></tr> |
---|
284 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea74">isLoaded</a> (void)</td></tr> |
---|
285 | |
---|
286 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea75">_notifyNeedsRecompile</a> (void)</td></tr> |
---|
287 | |
---|
288 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Tells the class that it needs recompilation. <a href="#Ogre_1_1TextureUnitStatea75"></a><br><br></td></tr> |
---|
289 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea76">setName</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
290 | |
---|
291 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the name of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State. <a href="#Ogre_1_1TextureUnitStatea76"></a><br><br></td></tr> |
---|
292 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea77">getName</a> (void) const </td></tr> |
---|
293 | |
---|
294 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get the name of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State <a href="#Ogre_1_1TextureUnitStatea77"></a><br><br></td></tr> |
---|
295 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea78">setTextureNameAlias</a> (const <a class="el" href="namespaceOgre.html#a471">String</a> &name)</td></tr> |
---|
296 | |
---|
297 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the alias name used for texture frame names. <a href="#Ogre_1_1TextureUnitStatea78"></a><br><br></td></tr> |
---|
298 | <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea79">getTextureNameAlias</a> (void) const </td></tr> |
---|
299 | |
---|
300 | <tr><td class="mdescLeft"> </td><td class="mdescRight">gets the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Name Alias of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit. <a href="#Ogre_1_1TextureUnitStatea79"></a><br><br></td></tr> |
---|
301 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea80">applyTextureAliases</a> (const <a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a> &aliasList, const bool apply=true)</td></tr> |
---|
302 | |
---|
303 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Applies texture names to <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State with matching texture name aliases. <a href="#Ogre_1_1TextureUnitStatea80"></a><br><br></td></tr> |
---|
304 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea81">_notifyParent</a> (<a class="el" href="classOgre_1_1Pass.html">Pass</a> *parent)</td></tr> |
---|
305 | |
---|
306 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Notify this object that its parent has changed. <a href="#Ogre_1_1TextureUnitStatea81"></a><br><br></td></tr> |
---|
307 | <tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr> |
---|
308 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStateb0">recalcTextureMatrix</a> (void) const </td></tr> |
---|
309 | |
---|
310 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for calculating texture matrix. <a href="#Ogre_1_1TextureUnitStateb0"></a><br><br></td></tr> |
---|
311 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStateb1">createAnimController</a> (void)</td></tr> |
---|
312 | |
---|
313 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for creating animation controller. <a href="#Ogre_1_1TextureUnitStateb1"></a><br><br></td></tr> |
---|
314 | <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStateb2">createEffectController</a> (<a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a> &effect)</td></tr> |
---|
315 | |
---|
316 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal method for creating texture effect controller. <a href="#Ogre_1_1TextureUnitStateb2"></a><br><br></td></tr> |
---|
317 | <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> |
---|
318 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep0">mCurrentFrame</a></td></tr> |
---|
319 | |
---|
320 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The current animation frame. <a href="#Ogre_1_1TextureUnitStatep0"></a><br><br></td></tr> |
---|
321 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep1">mAnimDuration</a></td></tr> |
---|
322 | |
---|
323 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Duration of animation in seconds. <a href="#Ogre_1_1TextureUnitStatep1"></a><br><br></td></tr> |
---|
324 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep2">mCubic</a></td></tr> |
---|
325 | |
---|
326 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep3">mTextureType</a></td></tr> |
---|
327 | |
---|
328 | <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep4">mTextureSrcMipmaps</a></td></tr> |
---|
329 | |
---|
330 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep5">mTextureCoordSetIndex</a></td></tr> |
---|
331 | |
---|
332 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep6">mAddressMode</a></td></tr> |
---|
333 | |
---|
334 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep7">mBorderColour</a></td></tr> |
---|
335 | |
---|
336 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep8">colourBlendMode</a></td></tr> |
---|
337 | |
---|
338 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep9">colourBlendFallbackSrc</a></td></tr> |
---|
339 | |
---|
340 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep10">colourBlendFallbackDest</a></td></tr> |
---|
341 | |
---|
342 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep11">alphaBlendMode</a></td></tr> |
---|
343 | |
---|
344 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep12">mIsBlank</a></td></tr> |
---|
345 | |
---|
346 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep13">mIsAlpha</a></td></tr> |
---|
347 | |
---|
348 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep14">mRecalcTexMatrix</a></td></tr> |
---|
349 | |
---|
350 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep15">mUMod</a></td></tr> |
---|
351 | |
---|
352 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep16">mVMod</a></td></tr> |
---|
353 | |
---|
354 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep17">mUScale</a></td></tr> |
---|
355 | |
---|
356 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep18">mVScale</a></td></tr> |
---|
357 | |
---|
358 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Radian.html">Radian</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep19">mRotate</a></td></tr> |
---|
359 | |
---|
360 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep20">mTexModMatrix</a></td></tr> |
---|
361 | |
---|
362 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep21">mUScrollAnim</a></td></tr> |
---|
363 | |
---|
364 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep22">mVScrollAnim</a></td></tr> |
---|
365 | |
---|
366 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a465">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep23">mRotateAnim</a></td></tr> |
---|
367 | |
---|
368 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep24">mMinFilter</a></td></tr> |
---|
369 | |
---|
370 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - minification. <a href="#Ogre_1_1TextureUnitStatep24"></a><br><br></td></tr> |
---|
371 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep25">mMagFilter</a></td></tr> |
---|
372 | |
---|
373 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - magnification. <a href="#Ogre_1_1TextureUnitStatep25"></a><br><br></td></tr> |
---|
374 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep26">mMipFilter</a></td></tr> |
---|
375 | |
---|
376 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - mipmapping. <a href="#Ogre_1_1TextureUnitStatep26"></a><br><br></td></tr> |
---|
377 | <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep27">mMaxAniso</a></td></tr> |
---|
378 | |
---|
379 | <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classOgre_1_1Texture.html">Texture</a> anisotropy. <a href="#Ogre_1_1TextureUnitStatep27"></a><br><br></td></tr> |
---|
380 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep28">mIsDefaultAniso</a></td></tr> |
---|
381 | |
---|
382 | <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep29">mIsDefaultFiltering</a></td></tr> |
---|
383 | |
---|
384 | <tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="namespaceOgre.html#a471">String</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep30">mFrames</a></td></tr> |
---|
385 | |
---|
386 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep31">mName</a></td></tr> |
---|
387 | |
---|
388 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a471">String</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep32">mTextureNameAlias</a></td></tr> |
---|
389 | |
---|
390 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">EffectMap</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep33">mEffects</a></td></tr> |
---|
391 | |
---|
392 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep34">mParent</a></td></tr> |
---|
393 | |
---|
394 | <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Controller.html">Controller</a>< <a class="el" href="namespaceOgre.html#a465">Real</a> > * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep35">mAnimController</a></td></tr> |
---|
395 | |
---|
396 | <tr><td colspan=2><br><h2>Friends</h2></td></tr> |
---|
397 | <tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStaten0">RenderSystem</a></td></tr> |
---|
398 | |
---|
399 | </table> |
---|
400 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
401 | Class representing the state of a single texture unit during a <a class="el" href="classOgre_1_1Pass.html">Pass</a> of a <a class="el" href="classOgre_1_1Technique.html">Technique</a>, of a <a class="el" href="classOgre_1_1Material.html">Material</a>. |
---|
402 | <p> |
---|
403 | <dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Texture.html">Texture</a> units are pipelines for retrieving texture data for rendering onto your objects in the world. Using them is common to both the fixed-function and the programmable (vertex and fragment program) pipeline, but some of the settings will only have an effect in the fixed-function pipeline (for example, setting a texture rotation will have no effect if you use the programmable pipeline, because this is overridden by the fragment program). The effect of each setting as regards the 2 pipelines is commented in each setting. </dd></dl> |
---|
404 | <dl compact><dt><b></b></dt><dd>When I use the term 'fixed-function pipeline' I mean traditional rendering where you do not use vertex or fragment programs (shaders). Programmable pipeline means that for this pass you are using vertex or fragment programs. </dd></dl> |
---|
405 | |
---|
406 | <p> |
---|
407 | |
---|
408 | <p> |
---|
409 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00052">52</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>.<hr><h2>Member Typedef Documentation</h2> |
---|
410 | <a class="anchor" name="Ogre_1_1TextureUnitStatew0" doxytag="Ogre::TextureUnitState::EffectMap" ></a><p> |
---|
411 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
412 | <tr> |
---|
413 | <td class="mdRow"> |
---|
414 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
415 | <tr> |
---|
416 | <td class="md" nowrap valign="top"> typedef std::multimap<<a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">TextureEffectType</a>, <a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a>> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">Ogre::TextureUnitState::EffectMap</a> |
---|
417 | </table> |
---|
418 | </td> |
---|
419 | </tr> |
---|
420 | </table> |
---|
421 | <table cellspacing=5 cellpadding=0 border=0> |
---|
422 | <tr> |
---|
423 | <td> |
---|
424 | |
---|
425 | </td> |
---|
426 | <td> |
---|
427 | |
---|
428 | <p> |
---|
429 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> effects in a multimap paired array. |
---|
430 | <p> |
---|
431 | |
---|
432 | <p> |
---|
433 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00163">163</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
434 | </tr> |
---|
435 | </table> |
---|
436 | <hr><h2>Member Enumeration Documentation</h2> |
---|
437 | <a class="anchor" name="Ogre_1_1TextureUnitStatew28" doxytag="Ogre::TextureUnitState::EnvMapType" ></a><p> |
---|
438 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
439 | <tr> |
---|
440 | <td class="mdRow"> |
---|
441 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
442 | <tr> |
---|
443 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28">Ogre::TextureUnitState::EnvMapType</a> |
---|
444 | </table> |
---|
445 | </td> |
---|
446 | </tr> |
---|
447 | </table> |
---|
448 | <table cellspacing=5 cellpadding=0 border=0> |
---|
449 | <tr> |
---|
450 | <td> |
---|
451 | |
---|
452 | </td> |
---|
453 | <td> |
---|
454 | |
---|
455 | <p> |
---|
456 | Enumeration to specify type of envmap. |
---|
457 | <p> |
---|
458 | <dl compact><dt><b>Note:</b></dt><dd>Note that these have no effect when using the programmable pipeline, since their effect is overridden by the vertex / fragment programs. </dd></dl> |
---|
459 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
460 | <table border=0 cellspacing=2 cellpadding=0> |
---|
461 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew8" doxytag="ENV_PLANAR" ></a>ENV_PLANAR</em> </td><td> |
---|
462 | Envmap based on vector from camera to vertex position, good for planar geometry. </td></tr> |
---|
463 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew9" doxytag="ENV_CURVED" ></a>ENV_CURVED</em> </td><td> |
---|
464 | Envmap based on dot of vector from camera to vertex and vertex normal, good for curves. </td></tr> |
---|
465 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew10" doxytag="ENV_REFLECTION" ></a>ENV_REFLECTION</em> </td><td> |
---|
466 | Envmap entended to supply reflection vectors for cube mapping. </td></tr> |
---|
467 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew28Ogre_1_1TextureUnitStatew11" doxytag="ENV_NORMAL" ></a>ENV_NORMAL</em> </td><td> |
---|
468 | Envmap entended to supply normal vectors for cube mapping. </td></tr> |
---|
469 | </table> |
---|
470 | </dl> |
---|
471 | |
---|
472 | <p> |
---|
473 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00085">85</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
474 | </tr> |
---|
475 | </table> |
---|
476 | <a class="anchor" name="Ogre_1_1TextureUnitStatew30" doxytag="Ogre::TextureUnitState::TextureAddressingMode" ></a><p> |
---|
477 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
478 | <tr> |
---|
479 | <td class="mdRow"> |
---|
480 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
481 | <tr> |
---|
482 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">Ogre::TextureUnitState::TextureAddressingMode</a> |
---|
483 | </table> |
---|
484 | </td> |
---|
485 | </tr> |
---|
486 | </table> |
---|
487 | <table cellspacing=5 cellpadding=0 border=0> |
---|
488 | <tr> |
---|
489 | <td> |
---|
490 | |
---|
491 | </td> |
---|
492 | <td> |
---|
493 | |
---|
494 | <p> |
---|
495 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> addressing modes - default is TAM_WRAP. |
---|
496 | <p> |
---|
497 | <dl compact><dt><b>Note:</b></dt><dd>These settings are relevant in both the fixed-function and the programmable pipeline. </dd></dl> |
---|
498 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
499 | <table border=0 cellspacing=2 cellpadding=0> |
---|
500 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew17" doxytag="TAM_WRAP" ></a>TAM_WRAP</em> </td><td> |
---|
501 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> wraps at values over 1.0. </td></tr> |
---|
502 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew18" doxytag="TAM_MIRROR" ></a>TAM_MIRROR</em> </td><td> |
---|
503 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> mirrors (flips) at joins over 1.0. </td></tr> |
---|
504 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew19" doxytag="TAM_CLAMP" ></a>TAM_CLAMP</em> </td><td> |
---|
505 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> clamps at 1.0. </td></tr> |
---|
506 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew30Ogre_1_1TextureUnitStatew20" doxytag="TAM_BORDER" ></a>TAM_BORDER</em> </td><td> |
---|
507 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> coordinates outside the range [0.0, 1.0] are set to the border colour. </td></tr> |
---|
508 | </table> |
---|
509 | </dl> |
---|
510 | |
---|
511 | <p> |
---|
512 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00116">116</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
513 | </tr> |
---|
514 | </table> |
---|
515 | <a class="anchor" name="Ogre_1_1TextureUnitStatew31" doxytag="Ogre::TextureUnitState::TextureCubeFace" ></a><p> |
---|
516 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
517 | <tr> |
---|
518 | <td class="mdRow"> |
---|
519 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
520 | <tr> |
---|
521 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew31">Ogre::TextureUnitState::TextureCubeFace</a> |
---|
522 | </table> |
---|
523 | </td> |
---|
524 | </tr> |
---|
525 | </table> |
---|
526 | <table cellspacing=5 cellpadding=0 border=0> |
---|
527 | <tr> |
---|
528 | <td> |
---|
529 | |
---|
530 | </td> |
---|
531 | <td> |
---|
532 | |
---|
533 | <p> |
---|
534 | Enum identifying the frame indexes for faces of a cube map (not the composite 3D type. |
---|
535 | <p> |
---|
536 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
537 | <table border=0 cellspacing=2 cellpadding=0> |
---|
538 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew21" doxytag="CUBE_FRONT" ></a>CUBE_FRONT</em> </td><td> |
---|
539 | </td></tr> |
---|
540 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew22" doxytag="CUBE_BACK" ></a>CUBE_BACK</em> </td><td> |
---|
541 | </td></tr> |
---|
542 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew23" doxytag="CUBE_LEFT" ></a>CUBE_LEFT</em> </td><td> |
---|
543 | </td></tr> |
---|
544 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew24" doxytag="CUBE_RIGHT" ></a>CUBE_RIGHT</em> </td><td> |
---|
545 | </td></tr> |
---|
546 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew25" doxytag="CUBE_UP" ></a>CUBE_UP</em> </td><td> |
---|
547 | </td></tr> |
---|
548 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew31Ogre_1_1TextureUnitStatew26" doxytag="CUBE_DOWN" ></a>CUBE_DOWN</em> </td><td> |
---|
549 | </td></tr> |
---|
550 | </table> |
---|
551 | </dl> |
---|
552 | |
---|
553 | <p> |
---|
554 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00136">136</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
555 | </tr> |
---|
556 | </table> |
---|
557 | <a class="anchor" name="Ogre_1_1TextureUnitStatew27" doxytag="Ogre::TextureUnitState::TextureEffectType" ></a><p> |
---|
558 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
559 | <tr> |
---|
560 | <td class="mdRow"> |
---|
561 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
562 | <tr> |
---|
563 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">Ogre::TextureUnitState::TextureEffectType</a> |
---|
564 | </table> |
---|
565 | </td> |
---|
566 | </tr> |
---|
567 | </table> |
---|
568 | <table cellspacing=5 cellpadding=0 border=0> |
---|
569 | <tr> |
---|
570 | <td> |
---|
571 | |
---|
572 | </td> |
---|
573 | <td> |
---|
574 | |
---|
575 | <p> |
---|
576 | Definition of the broad types of texture effect you can apply to a texture unit. |
---|
577 | <p> |
---|
578 | <dl compact><dt><b>Note:</b></dt><dd>Note that these have no effect when using the programmable pipeline, since their effect is overridden by the vertex / fragment programs. </dd></dl> |
---|
579 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
580 | <table border=0 cellspacing=2 cellpadding=0> |
---|
581 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew1" doxytag="ET_ENVIRONMENT_MAP" ></a>ET_ENVIRONMENT_MAP</em> </td><td> |
---|
582 | Generate all texture coords based on angle between camera and vertex. </td></tr> |
---|
583 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew2" doxytag="ET_PROJECTIVE_TEXTURE" ></a>ET_PROJECTIVE_TEXTURE</em> </td><td> |
---|
584 | Generate texture coords based on a frustum. </td></tr> |
---|
585 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew3" doxytag="ET_UVSCROLL" ></a>ET_UVSCROLL</em> </td><td> |
---|
586 | Constant u/v scrolling effect. </td></tr> |
---|
587 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew4" doxytag="ET_USCROLL" ></a>ET_USCROLL</em> </td><td> |
---|
588 | Constant u scrolling effect. </td></tr> |
---|
589 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew5" doxytag="ET_VSCROLL" ></a>ET_VSCROLL</em> </td><td> |
---|
590 | Constant u/v scrolling effect. </td></tr> |
---|
591 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew6" doxytag="ET_ROTATE" ></a>ET_ROTATE</em> </td><td> |
---|
592 | Constant rotation. </td></tr> |
---|
593 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew27Ogre_1_1TextureUnitStatew7" doxytag="ET_TRANSFORM" ></a>ET_TRANSFORM</em> </td><td> |
---|
594 | More complex transform. </td></tr> |
---|
595 | </table> |
---|
596 | </dl> |
---|
597 | |
---|
598 | <p> |
---|
599 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00061">61</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
600 | </tr> |
---|
601 | </table> |
---|
602 | <a class="anchor" name="Ogre_1_1TextureUnitStatew29" doxytag="Ogre::TextureUnitState::TextureTransformType" ></a><p> |
---|
603 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
604 | <tr> |
---|
605 | <td class="mdRow"> |
---|
606 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
607 | <tr> |
---|
608 | <td class="md" nowrap valign="top"> enum <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29">Ogre::TextureUnitState::TextureTransformType</a> |
---|
609 | </table> |
---|
610 | </td> |
---|
611 | </tr> |
---|
612 | </table> |
---|
613 | <table cellspacing=5 cellpadding=0 border=0> |
---|
614 | <tr> |
---|
615 | <td> |
---|
616 | |
---|
617 | </td> |
---|
618 | <td> |
---|
619 | |
---|
620 | <p> |
---|
621 | Useful enumeration when dealing with procedural transforms. |
---|
622 | <p> |
---|
623 | <dl compact><dt><b>Note:</b></dt><dd>Note that these have no effect when using the programmable pipeline, since their effect is overridden by the vertex / fragment programs. </dd></dl> |
---|
624 | <dl compact><dt><b>Enumeration values: </b></dt><dd> |
---|
625 | <table border=0 cellspacing=2 cellpadding=0> |
---|
626 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew12" doxytag="TT_TRANSLATE_U" ></a>TT_TRANSLATE_U</em> </td><td> |
---|
627 | </td></tr> |
---|
628 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew13" doxytag="TT_TRANSLATE_V" ></a>TT_TRANSLATE_V</em> </td><td> |
---|
629 | </td></tr> |
---|
630 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew14" doxytag="TT_SCALE_U" ></a>TT_SCALE_U</em> </td><td> |
---|
631 | </td></tr> |
---|
632 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew15" doxytag="TT_SCALE_V" ></a>TT_SCALE_V</em> </td><td> |
---|
633 | </td></tr> |
---|
634 | <tr><td valign=top><em><a class="anchor" name="Ogre_1_1TextureUnitStatew29Ogre_1_1TextureUnitStatew16" doxytag="TT_ROTATE" ></a>TT_ROTATE</em> </td><td> |
---|
635 | </td></tr> |
---|
636 | </table> |
---|
637 | </dl> |
---|
638 | |
---|
639 | <p> |
---|
640 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00102">102</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
641 | </tr> |
---|
642 | </table> |
---|
643 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
644 | <a class="anchor" name="Ogre_1_1TextureUnitStatea0" doxytag="Ogre::TextureUnitState::TextureUnitState" ></a><p> |
---|
645 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
646 | <tr> |
---|
647 | <td class="mdRow"> |
---|
648 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
649 | <tr> |
---|
650 | <td class="md" nowrap valign="top"> Ogre::TextureUnitState::TextureUnitState </td> |
---|
651 | <td class="md" valign="top">( </td> |
---|
652 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td> |
---|
653 | <td class="mdname1" valign="top" nowrap> <em>parent</em> </td> |
---|
654 | <td class="md" valign="top"> ) </td> |
---|
655 | <td class="md" nowrap></td> |
---|
656 | </tr> |
---|
657 | |
---|
658 | </table> |
---|
659 | </td> |
---|
660 | </tr> |
---|
661 | </table> |
---|
662 | <table cellspacing=5 cellpadding=0 border=0> |
---|
663 | <tr> |
---|
664 | <td> |
---|
665 | |
---|
666 | </td> |
---|
667 | <td> |
---|
668 | |
---|
669 | <p> |
---|
670 | Default constructor. |
---|
671 | <p> |
---|
672 | </td> |
---|
673 | </tr> |
---|
674 | </table> |
---|
675 | <a class="anchor" name="Ogre_1_1TextureUnitStatea1" doxytag="Ogre::TextureUnitState::TextureUnitState" ></a><p> |
---|
676 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
677 | <tr> |
---|
678 | <td class="mdRow"> |
---|
679 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
680 | <tr> |
---|
681 | <td class="md" nowrap valign="top"> Ogre::TextureUnitState::TextureUnitState </td> |
---|
682 | <td class="md" valign="top">( </td> |
---|
683 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td> |
---|
684 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
685 | </tr> |
---|
686 | <tr> |
---|
687 | <td class="md" nowrap align="right"></td> |
---|
688 | <td></td> |
---|
689 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> & </td> |
---|
690 | <td class="mdname" nowrap> <em>oth</em></td> |
---|
691 | </tr> |
---|
692 | <tr> |
---|
693 | <td></td> |
---|
694 | <td class="md">) </td> |
---|
695 | <td class="md" colspan="2"></td> |
---|
696 | </tr> |
---|
697 | |
---|
698 | </table> |
---|
699 | </td> |
---|
700 | </tr> |
---|
701 | </table> |
---|
702 | <table cellspacing=5 cellpadding=0 border=0> |
---|
703 | <tr> |
---|
704 | <td> |
---|
705 | |
---|
706 | </td> |
---|
707 | <td> |
---|
708 | |
---|
709 | <p> |
---|
710 | </td> |
---|
711 | </tr> |
---|
712 | </table> |
---|
713 | <a class="anchor" name="Ogre_1_1TextureUnitStatea3" doxytag="Ogre::TextureUnitState::~TextureUnitState" ></a><p> |
---|
714 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
715 | <tr> |
---|
716 | <td class="mdRow"> |
---|
717 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
718 | <tr> |
---|
719 | <td class="md" nowrap valign="top"> Ogre::TextureUnitState::~<a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> </td> |
---|
720 | <td class="md" valign="top">( </td> |
---|
721 | <td class="mdname1" valign="top" nowrap> </td> |
---|
722 | <td class="md" valign="top"> ) </td> |
---|
723 | <td class="md" nowrap></td> |
---|
724 | </tr> |
---|
725 | |
---|
726 | </table> |
---|
727 | </td> |
---|
728 | </tr> |
---|
729 | </table> |
---|
730 | <table cellspacing=5 cellpadding=0 border=0> |
---|
731 | <tr> |
---|
732 | <td> |
---|
733 | |
---|
734 | </td> |
---|
735 | <td> |
---|
736 | |
---|
737 | <p> |
---|
738 | Default destructor. |
---|
739 | <p> |
---|
740 | </td> |
---|
741 | </tr> |
---|
742 | </table> |
---|
743 | <a class="anchor" name="Ogre_1_1TextureUnitStatea4" doxytag="Ogre::TextureUnitState::TextureUnitState" ></a><p> |
---|
744 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
745 | <tr> |
---|
746 | <td class="mdRow"> |
---|
747 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
748 | <tr> |
---|
749 | <td class="md" nowrap valign="top"> Ogre::TextureUnitState::TextureUnitState </td> |
---|
750 | <td class="md" valign="top">( </td> |
---|
751 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td> |
---|
752 | <td class="mdname" nowrap> <em>parent</em>, </td> |
---|
753 | </tr> |
---|
754 | <tr> |
---|
755 | <td class="md" nowrap align="right"></td> |
---|
756 | <td></td> |
---|
757 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
758 | <td class="mdname" nowrap> <em>texName</em>, </td> |
---|
759 | </tr> |
---|
760 | <tr> |
---|
761 | <td class="md" nowrap align="right"></td> |
---|
762 | <td></td> |
---|
763 | <td class="md" nowrap>unsigned int </td> |
---|
764 | <td class="mdname" nowrap> <em>texCoordSet</em> = 0</td> |
---|
765 | </tr> |
---|
766 | <tr> |
---|
767 | <td></td> |
---|
768 | <td class="md">) </td> |
---|
769 | <td class="md" colspan="2"></td> |
---|
770 | </tr> |
---|
771 | |
---|
772 | </table> |
---|
773 | </td> |
---|
774 | </tr> |
---|
775 | </table> |
---|
776 | <table cellspacing=5 cellpadding=0 border=0> |
---|
777 | <tr> |
---|
778 | <td> |
---|
779 | |
---|
780 | </td> |
---|
781 | <td> |
---|
782 | |
---|
783 | <p> |
---|
784 | Name-based constructor. |
---|
785 | <p> |
---|
786 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
787 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
788 | <tr><td valign=top><em>name</em> </td><td>The basic name of the texture e.g. brickwall.jpg, stonefloor.png </td></tr> |
---|
789 | <tr><td valign=top><em>texCoordSet</em> </td><td>The index of the texture coordinate set to use. </td></tr> |
---|
790 | </table> |
---|
791 | </dl> |
---|
792 | </td> |
---|
793 | </tr> |
---|
794 | </table> |
---|
795 | <hr><h2>Member Function Documentation</h2> |
---|
796 | <a class="anchor" name="Ogre_1_1TextureUnitStatea71" doxytag="Ogre::TextureUnitState::_load" ></a><p> |
---|
797 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
798 | <tr> |
---|
799 | <td class="mdRow"> |
---|
800 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
801 | <tr> |
---|
802 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::_load </td> |
---|
803 | <td class="md" valign="top">( </td> |
---|
804 | <td class="md" nowrap valign="top">void </td> |
---|
805 | <td class="mdname1" valign="top" nowrap> </td> |
---|
806 | <td class="md" valign="top"> ) </td> |
---|
807 | <td class="md" nowrap></td> |
---|
808 | </tr> |
---|
809 | |
---|
810 | </table> |
---|
811 | </td> |
---|
812 | </tr> |
---|
813 | </table> |
---|
814 | <table cellspacing=5 cellpadding=0 border=0> |
---|
815 | <tr> |
---|
816 | <td> |
---|
817 | |
---|
818 | </td> |
---|
819 | <td> |
---|
820 | |
---|
821 | <p> |
---|
822 | Internal method for loading this object as part of <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea30">Material::load</a>. |
---|
823 | <p> |
---|
824 | </td> |
---|
825 | </tr> |
---|
826 | </table> |
---|
827 | <a class="anchor" name="Ogre_1_1TextureUnitStatea75" doxytag="Ogre::TextureUnitState::_notifyNeedsRecompile" ></a><p> |
---|
828 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
829 | <tr> |
---|
830 | <td class="mdRow"> |
---|
831 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
832 | <tr> |
---|
833 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::_notifyNeedsRecompile </td> |
---|
834 | <td class="md" valign="top">( </td> |
---|
835 | <td class="md" nowrap valign="top">void </td> |
---|
836 | <td class="mdname1" valign="top" nowrap> </td> |
---|
837 | <td class="md" valign="top"> ) </td> |
---|
838 | <td class="md" nowrap></td> |
---|
839 | </tr> |
---|
840 | |
---|
841 | </table> |
---|
842 | </td> |
---|
843 | </tr> |
---|
844 | </table> |
---|
845 | <table cellspacing=5 cellpadding=0 border=0> |
---|
846 | <tr> |
---|
847 | <td> |
---|
848 | |
---|
849 | </td> |
---|
850 | <td> |
---|
851 | |
---|
852 | <p> |
---|
853 | Tells the class that it needs recompilation. |
---|
854 | <p> |
---|
855 | </td> |
---|
856 | </tr> |
---|
857 | </table> |
---|
858 | <a class="anchor" name="Ogre_1_1TextureUnitStatea81" doxytag="Ogre::TextureUnitState::_notifyParent" ></a><p> |
---|
859 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
860 | <tr> |
---|
861 | <td class="mdRow"> |
---|
862 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
863 | <tr> |
---|
864 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::_notifyParent </td> |
---|
865 | <td class="md" valign="top">( </td> |
---|
866 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Pass.html">Pass</a> * </td> |
---|
867 | <td class="mdname1" valign="top" nowrap> <em>parent</em> </td> |
---|
868 | <td class="md" valign="top"> ) </td> |
---|
869 | <td class="md" nowrap></td> |
---|
870 | </tr> |
---|
871 | |
---|
872 | </table> |
---|
873 | </td> |
---|
874 | </tr> |
---|
875 | </table> |
---|
876 | <table cellspacing=5 cellpadding=0 border=0> |
---|
877 | <tr> |
---|
878 | <td> |
---|
879 | |
---|
880 | </td> |
---|
881 | <td> |
---|
882 | |
---|
883 | <p> |
---|
884 | Notify this object that its parent has changed. |
---|
885 | <p> |
---|
886 | </td> |
---|
887 | </tr> |
---|
888 | </table> |
---|
889 | <a class="anchor" name="Ogre_1_1TextureUnitStatea72" doxytag="Ogre::TextureUnitState::_unload" ></a><p> |
---|
890 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
891 | <tr> |
---|
892 | <td class="mdRow"> |
---|
893 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
894 | <tr> |
---|
895 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::_unload </td> |
---|
896 | <td class="md" valign="top">( </td> |
---|
897 | <td class="md" nowrap valign="top">void </td> |
---|
898 | <td class="mdname1" valign="top" nowrap> </td> |
---|
899 | <td class="md" valign="top"> ) </td> |
---|
900 | <td class="md" nowrap></td> |
---|
901 | </tr> |
---|
902 | |
---|
903 | </table> |
---|
904 | </td> |
---|
905 | </tr> |
---|
906 | </table> |
---|
907 | <table cellspacing=5 cellpadding=0 border=0> |
---|
908 | <tr> |
---|
909 | <td> |
---|
910 | |
---|
911 | </td> |
---|
912 | <td> |
---|
913 | |
---|
914 | <p> |
---|
915 | Internal method for unloading this object as part of <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea34">Material::unload</a>. |
---|
916 | <p> |
---|
917 | </td> |
---|
918 | </tr> |
---|
919 | </table> |
---|
920 | <a class="anchor" name="Ogre_1_1TextureUnitStatea52" doxytag="Ogre::TextureUnitState::addEffect" ></a><p> |
---|
921 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
922 | <tr> |
---|
923 | <td class="mdRow"> |
---|
924 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
925 | <tr> |
---|
926 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::addEffect </td> |
---|
927 | <td class="md" valign="top">( </td> |
---|
928 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a> & </td> |
---|
929 | <td class="mdname1" valign="top" nowrap> <em>effect</em> </td> |
---|
930 | <td class="md" valign="top"> ) </td> |
---|
931 | <td class="md" nowrap></td> |
---|
932 | </tr> |
---|
933 | |
---|
934 | </table> |
---|
935 | </td> |
---|
936 | </tr> |
---|
937 | </table> |
---|
938 | <table cellspacing=5 cellpadding=0 border=0> |
---|
939 | <tr> |
---|
940 | <td> |
---|
941 | |
---|
942 | </td> |
---|
943 | <td> |
---|
944 | |
---|
945 | <p> |
---|
946 | Generic method for setting up texture effects. |
---|
947 | <p> |
---|
948 | <dl compact><dt><b>Remarks:</b></dt><dd>Allows you to specify effects directly by using the TextureEffectType enumeration. The arguments that go with it depend on the effect type. Only one effect of each type can be applied to a texture layer. </dd></dl> |
---|
949 | <dl compact><dt><b></b></dt><dd>This method is used internally by <a class="el" href="namespaceOgre.html">Ogre</a> but it is better generally for applications to use the more intuitive specialised methods such as setEnvironmentMap and setScroll. </dd></dl> |
---|
950 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
951 | </td> |
---|
952 | </tr> |
---|
953 | </table> |
---|
954 | <a class="anchor" name="Ogre_1_1TextureUnitStatea16" doxytag="Ogre::TextureUnitState::addFrameTextureName" ></a><p> |
---|
955 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
956 | <tr> |
---|
957 | <td class="mdRow"> |
---|
958 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
959 | <tr> |
---|
960 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::addFrameTextureName </td> |
---|
961 | <td class="md" valign="top">( </td> |
---|
962 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
963 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
964 | <td class="md" valign="top"> ) </td> |
---|
965 | <td class="md" nowrap></td> |
---|
966 | </tr> |
---|
967 | |
---|
968 | </table> |
---|
969 | </td> |
---|
970 | </tr> |
---|
971 | </table> |
---|
972 | <table cellspacing=5 cellpadding=0 border=0> |
---|
973 | <tr> |
---|
974 | <td> |
---|
975 | |
---|
976 | </td> |
---|
977 | <td> |
---|
978 | |
---|
979 | <p> |
---|
980 | Add a <a class="el" href="classOgre_1_1Texture.html">Texture</a> name to the end of the frame container. |
---|
981 | <p> |
---|
982 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
983 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
984 | <tr><td valign=top><em>name</em> </td><td>The name of the texture </td></tr> |
---|
985 | </table> |
---|
986 | </dl> |
---|
987 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
988 | </td> |
---|
989 | </tr> |
---|
990 | </table> |
---|
991 | <a class="anchor" name="Ogre_1_1TextureUnitStatea80" doxytag="Ogre::TextureUnitState::applyTextureAliases" ></a><p> |
---|
992 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
993 | <tr> |
---|
994 | <td class="mdRow"> |
---|
995 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
996 | <tr> |
---|
997 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::applyTextureAliases </td> |
---|
998 | <td class="md" valign="top">( </td> |
---|
999 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a77">AliasTextureNamePairList</a> & </td> |
---|
1000 | <td class="mdname" nowrap> <em>aliasList</em>, </td> |
---|
1001 | </tr> |
---|
1002 | <tr> |
---|
1003 | <td class="md" nowrap align="right"></td> |
---|
1004 | <td></td> |
---|
1005 | <td class="md" nowrap>const bool </td> |
---|
1006 | <td class="mdname" nowrap> <em>apply</em> = true</td> |
---|
1007 | </tr> |
---|
1008 | <tr> |
---|
1009 | <td></td> |
---|
1010 | <td class="md">) </td> |
---|
1011 | <td class="md" colspan="2"></td> |
---|
1012 | </tr> |
---|
1013 | |
---|
1014 | </table> |
---|
1015 | </td> |
---|
1016 | </tr> |
---|
1017 | </table> |
---|
1018 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1019 | <tr> |
---|
1020 | <td> |
---|
1021 | |
---|
1022 | </td> |
---|
1023 | <td> |
---|
1024 | |
---|
1025 | <p> |
---|
1026 | Applies texture names to <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State with matching texture name aliases. |
---|
1027 | <p> |
---|
1028 | If no matching aliases are found then the TUS state does not change. <dl compact><dt><b>Remarks:</b></dt><dd>Cubic, 1d, 2d, and 3d textures are determined from current state of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit. Assumes animated frames are sequentially numbered in the name. If matching texture aliases are found then true is returned.</dd></dl> |
---|
1029 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1030 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1031 | <tr><td valign=top><em>aliasList</em> </td><td>is a map container of texture alias, texture name pairs </td></tr> |
---|
1032 | <tr><td valign=top><em>apply</em> </td><td>set true to apply the texture aliases else just test to see if texture alias matches are found. </td></tr> |
---|
1033 | </table> |
---|
1034 | </dl> |
---|
1035 | <dl compact><dt><b>Returns:</b></dt><dd>True if matching texture aliases were found in the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State. </dd></dl> |
---|
1036 | </td> |
---|
1037 | </tr> |
---|
1038 | </table> |
---|
1039 | <a class="anchor" name="Ogre_1_1TextureUnitStateb1" doxytag="Ogre::TextureUnitState::createAnimController" ></a><p> |
---|
1040 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1041 | <tr> |
---|
1042 | <td class="mdRow"> |
---|
1043 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1044 | <tr> |
---|
1045 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::createAnimController </td> |
---|
1046 | <td class="md" valign="top">( </td> |
---|
1047 | <td class="md" nowrap valign="top">void </td> |
---|
1048 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1049 | <td class="md" valign="top"> ) </td> |
---|
1050 | <td class="md" nowrap><code> [protected]</code></td> |
---|
1051 | </tr> |
---|
1052 | |
---|
1053 | </table> |
---|
1054 | </td> |
---|
1055 | </tr> |
---|
1056 | </table> |
---|
1057 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1058 | <tr> |
---|
1059 | <td> |
---|
1060 | |
---|
1061 | </td> |
---|
1062 | <td> |
---|
1063 | |
---|
1064 | <p> |
---|
1065 | Internal method for creating animation controller. |
---|
1066 | <p> |
---|
1067 | </td> |
---|
1068 | </tr> |
---|
1069 | </table> |
---|
1070 | <a class="anchor" name="Ogre_1_1TextureUnitStateb2" doxytag="Ogre::TextureUnitState::createEffectController" ></a><p> |
---|
1071 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1072 | <tr> |
---|
1073 | <td class="mdRow"> |
---|
1074 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1075 | <tr> |
---|
1076 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::createEffectController </td> |
---|
1077 | <td class="md" valign="top">( </td> |
---|
1078 | <td class="md" nowrap valign="top"><a class="el" href="structOgre_1_1TextureUnitState_1_1TextureEffect.html">TextureEffect</a> & </td> |
---|
1079 | <td class="mdname1" valign="top" nowrap> <em>effect</em> </td> |
---|
1080 | <td class="md" valign="top"> ) </td> |
---|
1081 | <td class="md" nowrap><code> [protected]</code></td> |
---|
1082 | </tr> |
---|
1083 | |
---|
1084 | </table> |
---|
1085 | </td> |
---|
1086 | </tr> |
---|
1087 | </table> |
---|
1088 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1089 | <tr> |
---|
1090 | <td> |
---|
1091 | |
---|
1092 | </td> |
---|
1093 | <td> |
---|
1094 | |
---|
1095 | <p> |
---|
1096 | Internal method for creating texture effect controller. |
---|
1097 | <p> |
---|
1098 | </td> |
---|
1099 | </tr> |
---|
1100 | </table> |
---|
1101 | <a class="anchor" name="Ogre_1_1TextureUnitStatea17" doxytag="Ogre::TextureUnitState::deleteFrameTextureName" ></a><p> |
---|
1102 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1103 | <tr> |
---|
1104 | <td class="mdRow"> |
---|
1105 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1106 | <tr> |
---|
1107 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::deleteFrameTextureName </td> |
---|
1108 | <td class="md" valign="top">( </td> |
---|
1109 | <td class="md" nowrap valign="top">const size_t </td> |
---|
1110 | <td class="mdname1" valign="top" nowrap> <em>frameNumber</em> </td> |
---|
1111 | <td class="md" valign="top"> ) </td> |
---|
1112 | <td class="md" nowrap></td> |
---|
1113 | </tr> |
---|
1114 | |
---|
1115 | </table> |
---|
1116 | </td> |
---|
1117 | </tr> |
---|
1118 | </table> |
---|
1119 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1120 | <tr> |
---|
1121 | <td> |
---|
1122 | |
---|
1123 | </td> |
---|
1124 | <td> |
---|
1125 | |
---|
1126 | <p> |
---|
1127 | deletes a specific texture frame. |
---|
1128 | <p> |
---|
1129 | The texture used is not deleted but the texture will no longer be used by the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit. An exception is raised if the frame number exceeds the number of actual frames. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
1130 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
1131 | <tr><td valign=top><em>frameNumber</em> </td><td>The frame number of the texture to be deleted. </td></tr> |
---|
1132 | </table> |
---|
1133 | </dl> |
---|
1134 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1135 | </td> |
---|
1136 | </tr> |
---|
1137 | </table> |
---|
1138 | <a class="anchor" name="Ogre_1_1TextureUnitStatea48" doxytag="Ogre::TextureUnitState::getAlphaBlendMode" ></a><p> |
---|
1139 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1140 | <tr> |
---|
1141 | <td class="mdRow"> |
---|
1142 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1143 | <tr> |
---|
1144 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a>& Ogre::TextureUnitState::getAlphaBlendMode </td> |
---|
1145 | <td class="md" valign="top">( </td> |
---|
1146 | <td class="md" nowrap valign="top">void </td> |
---|
1147 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1148 | <td class="md" valign="top"> ) </td> |
---|
1149 | <td class="md" nowrap> const</td> |
---|
1150 | </tr> |
---|
1151 | |
---|
1152 | </table> |
---|
1153 | </td> |
---|
1154 | </tr> |
---|
1155 | </table> |
---|
1156 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1157 | <tr> |
---|
1158 | <td> |
---|
1159 | |
---|
1160 | </td> |
---|
1161 | <td> |
---|
1162 | |
---|
1163 | <p> |
---|
1164 | Get multitexturing alpha blending mode. |
---|
1165 | <p> |
---|
1166 | </td> |
---|
1167 | </tr> |
---|
1168 | </table> |
---|
1169 | <a class="anchor" name="Ogre_1_1TextureUnitStatea63" doxytag="Ogre::TextureUnitState::getAnimationDuration" ></a><p> |
---|
1170 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1171 | <tr> |
---|
1172 | <td class="mdRow"> |
---|
1173 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1174 | <tr> |
---|
1175 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::TextureUnitState::getAnimationDuration </td> |
---|
1176 | <td class="md" valign="top">( </td> |
---|
1177 | <td class="md" nowrap valign="top">void </td> |
---|
1178 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1179 | <td class="md" valign="top"> ) </td> |
---|
1180 | <td class="md" nowrap> const</td> |
---|
1181 | </tr> |
---|
1182 | |
---|
1183 | </table> |
---|
1184 | </td> |
---|
1185 | </tr> |
---|
1186 | </table> |
---|
1187 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1188 | <tr> |
---|
1189 | <td> |
---|
1190 | |
---|
1191 | </td> |
---|
1192 | <td> |
---|
1193 | |
---|
1194 | <p> |
---|
1195 | </td> |
---|
1196 | </tr> |
---|
1197 | </table> |
---|
1198 | <a class="anchor" name="Ogre_1_1TextureUnitStatea50" doxytag="Ogre::TextureUnitState::getColourBlendFallbackDest" ></a><p> |
---|
1199 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1200 | <tr> |
---|
1201 | <td class="mdRow"> |
---|
1202 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1203 | <tr> |
---|
1204 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> Ogre::TextureUnitState::getColourBlendFallbackDest </td> |
---|
1205 | <td class="md" valign="top">( </td> |
---|
1206 | <td class="md" nowrap valign="top">void </td> |
---|
1207 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1208 | <td class="md" valign="top"> ) </td> |
---|
1209 | <td class="md" nowrap> const</td> |
---|
1210 | </tr> |
---|
1211 | |
---|
1212 | </table> |
---|
1213 | </td> |
---|
1214 | </tr> |
---|
1215 | </table> |
---|
1216 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1217 | <tr> |
---|
1218 | <td> |
---|
1219 | |
---|
1220 | </td> |
---|
1221 | <td> |
---|
1222 | |
---|
1223 | <p> |
---|
1224 | Get the multipass fallback for colour blending operation destination factor. |
---|
1225 | <p> |
---|
1226 | </td> |
---|
1227 | </tr> |
---|
1228 | </table> |
---|
1229 | <a class="anchor" name="Ogre_1_1TextureUnitStatea49" doxytag="Ogre::TextureUnitState::getColourBlendFallbackSrc" ></a><p> |
---|
1230 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1231 | <tr> |
---|
1232 | <td class="mdRow"> |
---|
1233 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1234 | <tr> |
---|
1235 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> Ogre::TextureUnitState::getColourBlendFallbackSrc </td> |
---|
1236 | <td class="md" valign="top">( </td> |
---|
1237 | <td class="md" nowrap valign="top">void </td> |
---|
1238 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1239 | <td class="md" valign="top"> ) </td> |
---|
1240 | <td class="md" nowrap> const</td> |
---|
1241 | </tr> |
---|
1242 | |
---|
1243 | </table> |
---|
1244 | </td> |
---|
1245 | </tr> |
---|
1246 | </table> |
---|
1247 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1248 | <tr> |
---|
1249 | <td> |
---|
1250 | |
---|
1251 | </td> |
---|
1252 | <td> |
---|
1253 | |
---|
1254 | <p> |
---|
1255 | Get the multipass fallback for colour blending operation source factor. |
---|
1256 | <p> |
---|
1257 | </td> |
---|
1258 | </tr> |
---|
1259 | </table> |
---|
1260 | <a class="anchor" name="Ogre_1_1TextureUnitStatea47" doxytag="Ogre::TextureUnitState::getColourBlendMode" ></a><p> |
---|
1261 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1262 | <tr> |
---|
1263 | <td class="mdRow"> |
---|
1264 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1265 | <tr> |
---|
1266 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a>& Ogre::TextureUnitState::getColourBlendMode </td> |
---|
1267 | <td class="md" valign="top">( </td> |
---|
1268 | <td class="md" nowrap valign="top">void </td> |
---|
1269 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1270 | <td class="md" valign="top"> ) </td> |
---|
1271 | <td class="md" nowrap> const</td> |
---|
1272 | </tr> |
---|
1273 | |
---|
1274 | </table> |
---|
1275 | </td> |
---|
1276 | </tr> |
---|
1277 | </table> |
---|
1278 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1279 | <tr> |
---|
1280 | <td> |
---|
1281 | |
---|
1282 | </td> |
---|
1283 | <td> |
---|
1284 | |
---|
1285 | <p> |
---|
1286 | Get multitexturing colour blending mode. |
---|
1287 | <p> |
---|
1288 | </td> |
---|
1289 | </tr> |
---|
1290 | </table> |
---|
1291 | <a class="anchor" name="Ogre_1_1TextureUnitStatea13" doxytag="Ogre::TextureUnitState::getCurrentFrame" ></a><p> |
---|
1292 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1293 | <tr> |
---|
1294 | <td class="mdRow"> |
---|
1295 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1296 | <tr> |
---|
1297 | <td class="md" nowrap valign="top"> unsigned int Ogre::TextureUnitState::getCurrentFrame </td> |
---|
1298 | <td class="md" valign="top">( </td> |
---|
1299 | <td class="md" nowrap valign="top">void </td> |
---|
1300 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1301 | <td class="md" valign="top"> ) </td> |
---|
1302 | <td class="md" nowrap> const</td> |
---|
1303 | </tr> |
---|
1304 | |
---|
1305 | </table> |
---|
1306 | </td> |
---|
1307 | </tr> |
---|
1308 | </table> |
---|
1309 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1310 | <tr> |
---|
1311 | <td> |
---|
1312 | |
---|
1313 | </td> |
---|
1314 | <td> |
---|
1315 | |
---|
1316 | <p> |
---|
1317 | Gets the active frame in an animated or multi-image texture layer. |
---|
1318 | <p> |
---|
1319 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1320 | </td> |
---|
1321 | </tr> |
---|
1322 | </table> |
---|
1323 | <a class="anchor" name="Ogre_1_1TextureUnitStatea62" doxytag="Ogre::TextureUnitState::getEffects" ></a><p> |
---|
1324 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1325 | <tr> |
---|
1326 | <td class="mdRow"> |
---|
1327 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1328 | <tr> |
---|
1329 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">EffectMap</a>& Ogre::TextureUnitState::getEffects </td> |
---|
1330 | <td class="md" valign="top">( </td> |
---|
1331 | <td class="md" nowrap valign="top">void </td> |
---|
1332 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1333 | <td class="md" valign="top"> ) </td> |
---|
1334 | <td class="md" nowrap> const</td> |
---|
1335 | </tr> |
---|
1336 | |
---|
1337 | </table> |
---|
1338 | </td> |
---|
1339 | </tr> |
---|
1340 | </table> |
---|
1341 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1342 | <tr> |
---|
1343 | <td> |
---|
1344 | |
---|
1345 | </td> |
---|
1346 | <td> |
---|
1347 | |
---|
1348 | <p> |
---|
1349 | </td> |
---|
1350 | </tr> |
---|
1351 | </table> |
---|
1352 | <a class="anchor" name="Ogre_1_1TextureUnitStatea14" doxytag="Ogre::TextureUnitState::getFrameTextureName" ></a><p> |
---|
1353 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1354 | <tr> |
---|
1355 | <td class="mdRow"> |
---|
1356 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1357 | <tr> |
---|
1358 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::TextureUnitState::getFrameTextureName </td> |
---|
1359 | <td class="md" valign="top">( </td> |
---|
1360 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
1361 | <td class="mdname1" valign="top" nowrap> <em>frameNumber</em> </td> |
---|
1362 | <td class="md" valign="top"> ) </td> |
---|
1363 | <td class="md" nowrap> const</td> |
---|
1364 | </tr> |
---|
1365 | |
---|
1366 | </table> |
---|
1367 | </td> |
---|
1368 | </tr> |
---|
1369 | </table> |
---|
1370 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1371 | <tr> |
---|
1372 | <td> |
---|
1373 | |
---|
1374 | </td> |
---|
1375 | <td> |
---|
1376 | |
---|
1377 | <p> |
---|
1378 | Gets the name of the texture associated with a frame number. |
---|
1379 | <p> |
---|
1380 | Throws an exception if frameNumber exceeds the number of stored frames. <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1381 | </td> |
---|
1382 | </tr> |
---|
1383 | </table> |
---|
1384 | <a class="anchor" name="Ogre_1_1TextureUnitStatea77" doxytag="Ogre::TextureUnitState::getName" ></a><p> |
---|
1385 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1386 | <tr> |
---|
1387 | <td class="mdRow"> |
---|
1388 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1389 | <tr> |
---|
1390 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::TextureUnitState::getName </td> |
---|
1391 | <td class="md" valign="top">( </td> |
---|
1392 | <td class="md" nowrap valign="top">void </td> |
---|
1393 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1394 | <td class="md" valign="top"> ) </td> |
---|
1395 | <td class="md" nowrap> const</td> |
---|
1396 | </tr> |
---|
1397 | |
---|
1398 | </table> |
---|
1399 | </td> |
---|
1400 | </tr> |
---|
1401 | </table> |
---|
1402 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1403 | <tr> |
---|
1404 | <td> |
---|
1405 | |
---|
1406 | </td> |
---|
1407 | <td> |
---|
1408 | |
---|
1409 | <p> |
---|
1410 | get the name of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State |
---|
1411 | <p> |
---|
1412 | |
---|
1413 | <p> |
---|
1414 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00945">945</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. |
---|
1415 | <p> |
---|
1416 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
1417 | </tr> |
---|
1418 | </table> |
---|
1419 | <a class="anchor" name="Ogre_1_1TextureUnitStatea18" doxytag="Ogre::TextureUnitState::getNumFrames" ></a><p> |
---|
1420 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1421 | <tr> |
---|
1422 | <td class="mdRow"> |
---|
1423 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1424 | <tr> |
---|
1425 | <td class="md" nowrap valign="top"> unsigned int Ogre::TextureUnitState::getNumFrames </td> |
---|
1426 | <td class="md" valign="top">( </td> |
---|
1427 | <td class="md" nowrap valign="top">void </td> |
---|
1428 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1429 | <td class="md" valign="top"> ) </td> |
---|
1430 | <td class="md" nowrap> const</td> |
---|
1431 | </tr> |
---|
1432 | |
---|
1433 | </table> |
---|
1434 | </td> |
---|
1435 | </tr> |
---|
1436 | </table> |
---|
1437 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1438 | <tr> |
---|
1439 | <td> |
---|
1440 | |
---|
1441 | </td> |
---|
1442 | <td> |
---|
1443 | |
---|
1444 | <p> |
---|
1445 | Gets the number of frames for a texture. |
---|
1446 | <p> |
---|
1447 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1448 | </td> |
---|
1449 | </tr> |
---|
1450 | </table> |
---|
1451 | <a class="anchor" name="Ogre_1_1TextureUnitStatea70" doxytag="Ogre::TextureUnitState::getParent" ></a><p> |
---|
1452 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1453 | <tr> |
---|
1454 | <td class="mdRow"> |
---|
1455 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1456 | <tr> |
---|
1457 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Pass.html">Pass</a>* Ogre::TextureUnitState::getParent </td> |
---|
1458 | <td class="md" valign="top">( </td> |
---|
1459 | <td class="md" nowrap valign="top">void </td> |
---|
1460 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1461 | <td class="md" valign="top"> ) </td> |
---|
1462 | <td class="md" nowrap> const</td> |
---|
1463 | </tr> |
---|
1464 | |
---|
1465 | </table> |
---|
1466 | </td> |
---|
1467 | </tr> |
---|
1468 | </table> |
---|
1469 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1470 | <tr> |
---|
1471 | <td> |
---|
1472 | |
---|
1473 | </td> |
---|
1474 | <td> |
---|
1475 | |
---|
1476 | <p> |
---|
1477 | Gets the parent <a class="el" href="classOgre_1_1Pass.html">Pass</a> object. |
---|
1478 | <p> |
---|
1479 | |
---|
1480 | <p> |
---|
1481 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00924">924</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
1482 | </tr> |
---|
1483 | </table> |
---|
1484 | <a class="anchor" name="Ogre_1_1TextureUnitStatea38" doxytag="Ogre::TextureUnitState::getTextureAddressingMode" ></a><p> |
---|
1485 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1486 | <tr> |
---|
1487 | <td class="mdRow"> |
---|
1488 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1489 | <tr> |
---|
1490 | <td class="md" nowrap valign="top"> const <a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a>& Ogre::TextureUnitState::getTextureAddressingMode </td> |
---|
1491 | <td class="md" valign="top">( </td> |
---|
1492 | <td class="md" nowrap valign="top">void </td> |
---|
1493 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1494 | <td class="md" valign="top"> ) </td> |
---|
1495 | <td class="md" nowrap> const</td> |
---|
1496 | </tr> |
---|
1497 | |
---|
1498 | </table> |
---|
1499 | </td> |
---|
1500 | </tr> |
---|
1501 | </table> |
---|
1502 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1503 | <tr> |
---|
1504 | <td> |
---|
1505 | |
---|
1506 | </td> |
---|
1507 | <td> |
---|
1508 | |
---|
1509 | <p> |
---|
1510 | Gets the texture addressing mode for a given coordinate, i.e. |
---|
1511 | <p> |
---|
1512 | what happens at uv values above 1.0. <dl compact><dt><b>Note:</b></dt><dd>The default is TAM_WRAP i.e. the texture repeats over values of 1.0. </dd></dl> |
---|
1513 | </td> |
---|
1514 | </tr> |
---|
1515 | </table> |
---|
1516 | <a class="anchor" name="Ogre_1_1TextureUnitStatea69" doxytag="Ogre::TextureUnitState::getTextureAnisotropy" ></a><p> |
---|
1517 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1518 | <tr> |
---|
1519 | <td class="mdRow"> |
---|
1520 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1521 | <tr> |
---|
1522 | <td class="md" nowrap valign="top"> unsigned int Ogre::TextureUnitState::getTextureAnisotropy </td> |
---|
1523 | <td class="md" valign="top">( </td> |
---|
1524 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1525 | <td class="md" valign="top"> ) </td> |
---|
1526 | <td class="md" nowrap> const</td> |
---|
1527 | </tr> |
---|
1528 | |
---|
1529 | </table> |
---|
1530 | </td> |
---|
1531 | </tr> |
---|
1532 | </table> |
---|
1533 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1534 | <tr> |
---|
1535 | <td> |
---|
1536 | |
---|
1537 | </td> |
---|
1538 | <td> |
---|
1539 | |
---|
1540 | <p> |
---|
1541 | </td> |
---|
1542 | </tr> |
---|
1543 | </table> |
---|
1544 | <a class="anchor" name="Ogre_1_1TextureUnitStatea43" doxytag="Ogre::TextureUnitState::getTextureBorderColour" ></a><p> |
---|
1545 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1546 | <tr> |
---|
1547 | <td class="mdRow"> |
---|
1548 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1549 | <tr> |
---|
1550 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a>& Ogre::TextureUnitState::getTextureBorderColour </td> |
---|
1551 | <td class="md" valign="top">( </td> |
---|
1552 | <td class="md" nowrap valign="top">void </td> |
---|
1553 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1554 | <td class="md" valign="top"> ) </td> |
---|
1555 | <td class="md" nowrap> const</td> |
---|
1556 | </tr> |
---|
1557 | |
---|
1558 | </table> |
---|
1559 | </td> |
---|
1560 | </tr> |
---|
1561 | </table> |
---|
1562 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1563 | <tr> |
---|
1564 | <td> |
---|
1565 | |
---|
1566 | </td> |
---|
1567 | <td> |
---|
1568 | |
---|
1569 | <p> |
---|
1570 | Sets the texture border colour. |
---|
1571 | <p> |
---|
1572 | <dl compact><dt><b>Note:</b></dt><dd>The default is <a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues1">ColourValue::Black</a>, and this value only used when addressing mode is TAM_BORDER.</dd></dl> |
---|
1573 | </td> |
---|
1574 | </tr> |
---|
1575 | </table> |
---|
1576 | <a class="anchor" name="Ogre_1_1TextureUnitStatea22" doxytag="Ogre::TextureUnitState::getTextureCoordSet" ></a><p> |
---|
1577 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1578 | <tr> |
---|
1579 | <td class="mdRow"> |
---|
1580 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1581 | <tr> |
---|
1582 | <td class="md" nowrap valign="top"> unsigned int Ogre::TextureUnitState::getTextureCoordSet </td> |
---|
1583 | <td class="md" valign="top">( </td> |
---|
1584 | <td class="md" nowrap valign="top">void </td> |
---|
1585 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1586 | <td class="md" valign="top"> ) </td> |
---|
1587 | <td class="md" nowrap> const</td> |
---|
1588 | </tr> |
---|
1589 | |
---|
1590 | </table> |
---|
1591 | </td> |
---|
1592 | </tr> |
---|
1593 | </table> |
---|
1594 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1595 | <tr> |
---|
1596 | <td> |
---|
1597 | |
---|
1598 | </td> |
---|
1599 | <td> |
---|
1600 | |
---|
1601 | <p> |
---|
1602 | Gets the index of the set of texture co-ords this layer uses. |
---|
1603 | <p> |
---|
1604 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1605 | </td> |
---|
1606 | </tr> |
---|
1607 | </table> |
---|
1608 | <a class="anchor" name="Ogre_1_1TextureUnitStatea11" doxytag="Ogre::TextureUnitState::getTextureDimensions" ></a><p> |
---|
1609 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1610 | <tr> |
---|
1611 | <td class="mdRow"> |
---|
1612 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1613 | <tr> |
---|
1614 | <td class="md" nowrap valign="top"> std::pair< <a class="el" href="namespaceOgre.html#a468">uint</a>, <a class="el" href="namespaceOgre.html#a468">uint</a> > Ogre::TextureUnitState::getTextureDimensions </td> |
---|
1615 | <td class="md" valign="top">( </td> |
---|
1616 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
1617 | <td class="mdname1" valign="top" nowrap> <em>frame</em> = 0 </td> |
---|
1618 | <td class="md" valign="top"> ) </td> |
---|
1619 | <td class="md" nowrap> const</td> |
---|
1620 | </tr> |
---|
1621 | |
---|
1622 | </table> |
---|
1623 | </td> |
---|
1624 | </tr> |
---|
1625 | </table> |
---|
1626 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1627 | <tr> |
---|
1628 | <td> |
---|
1629 | |
---|
1630 | </td> |
---|
1631 | <td> |
---|
1632 | |
---|
1633 | <p> |
---|
1634 | Returns the width and height of the texture in the given frame. |
---|
1635 | <p> |
---|
1636 | </td> |
---|
1637 | </tr> |
---|
1638 | </table> |
---|
1639 | <a class="anchor" name="Ogre_1_1TextureUnitStatea67" doxytag="Ogre::TextureUnitState::getTextureFiltering" ></a><p> |
---|
1640 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1641 | <tr> |
---|
1642 | <td class="mdRow"> |
---|
1643 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1644 | <tr> |
---|
1645 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> Ogre::TextureUnitState::getTextureFiltering </td> |
---|
1646 | <td class="md" valign="top">( </td> |
---|
1647 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a642">FilterType</a> </td> |
---|
1648 | <td class="mdname1" valign="top" nowrap> <em>ftpye</em> </td> |
---|
1649 | <td class="md" valign="top"> ) </td> |
---|
1650 | <td class="md" nowrap> const</td> |
---|
1651 | </tr> |
---|
1652 | |
---|
1653 | </table> |
---|
1654 | </td> |
---|
1655 | </tr> |
---|
1656 | </table> |
---|
1657 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1658 | <tr> |
---|
1659 | <td> |
---|
1660 | |
---|
1661 | </td> |
---|
1662 | <td> |
---|
1663 | |
---|
1664 | <p> |
---|
1665 | </td> |
---|
1666 | </tr> |
---|
1667 | </table> |
---|
1668 | <a class="anchor" name="Ogre_1_1TextureUnitStatea5" doxytag="Ogre::TextureUnitState::getTextureName" ></a><p> |
---|
1669 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1670 | <tr> |
---|
1671 | <td class="mdRow"> |
---|
1672 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1673 | <tr> |
---|
1674 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::TextureUnitState::getTextureName </td> |
---|
1675 | <td class="md" valign="top">( </td> |
---|
1676 | <td class="md" nowrap valign="top">void </td> |
---|
1677 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1678 | <td class="md" valign="top"> ) </td> |
---|
1679 | <td class="md" nowrap> const</td> |
---|
1680 | </tr> |
---|
1681 | |
---|
1682 | </table> |
---|
1683 | </td> |
---|
1684 | </tr> |
---|
1685 | </table> |
---|
1686 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1687 | <tr> |
---|
1688 | <td> |
---|
1689 | |
---|
1690 | </td> |
---|
1691 | <td> |
---|
1692 | |
---|
1693 | <p> |
---|
1694 | Get the name of current texture image for this layer. |
---|
1695 | <p> |
---|
1696 | <dl compact><dt><b>Remarks:</b></dt><dd>This will either always be a single name for this layer, or will be the name of the current frame for an animated or otherwise multi-frame texture. </dd></dl> |
---|
1697 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1698 | </td> |
---|
1699 | </tr> |
---|
1700 | </table> |
---|
1701 | <a class="anchor" name="Ogre_1_1TextureUnitStatea79" doxytag="Ogre::TextureUnitState::getTextureNameAlias" ></a><p> |
---|
1702 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1703 | <tr> |
---|
1704 | <td class="mdRow"> |
---|
1705 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1706 | <tr> |
---|
1707 | <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a471">String</a>& Ogre::TextureUnitState::getTextureNameAlias </td> |
---|
1708 | <td class="md" valign="top">( </td> |
---|
1709 | <td class="md" nowrap valign="top">void </td> |
---|
1710 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1711 | <td class="md" valign="top"> ) </td> |
---|
1712 | <td class="md" nowrap> const</td> |
---|
1713 | </tr> |
---|
1714 | |
---|
1715 | </table> |
---|
1716 | </td> |
---|
1717 | </tr> |
---|
1718 | </table> |
---|
1719 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1720 | <tr> |
---|
1721 | <td> |
---|
1722 | |
---|
1723 | </td> |
---|
1724 | <td> |
---|
1725 | |
---|
1726 | <p> |
---|
1727 | gets the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Name Alias of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit. |
---|
1728 | <p> |
---|
1729 | |
---|
1730 | <p> |
---|
1731 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00953">953</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. |
---|
1732 | <p> |
---|
1733 | References <a class="el" href="OgrePrerequisites_8h-source.html#l00156">Ogre::String</a>. </td> |
---|
1734 | </tr> |
---|
1735 | </table> |
---|
1736 | <a class="anchor" name="Ogre_1_1TextureUnitStatea37" doxytag="Ogre::TextureUnitState::getTextureRotate" ></a><p> |
---|
1737 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1738 | <tr> |
---|
1739 | <td class="mdRow"> |
---|
1740 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1741 | <tr> |
---|
1742 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Radian.html">Radian</a>& Ogre::TextureUnitState::getTextureRotate </td> |
---|
1743 | <td class="md" valign="top">( </td> |
---|
1744 | <td class="md" nowrap valign="top">void </td> |
---|
1745 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1746 | <td class="md" valign="top"> ) </td> |
---|
1747 | <td class="md" nowrap> const</td> |
---|
1748 | </tr> |
---|
1749 | |
---|
1750 | </table> |
---|
1751 | </td> |
---|
1752 | </tr> |
---|
1753 | </table> |
---|
1754 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1755 | <tr> |
---|
1756 | <td> |
---|
1757 | |
---|
1758 | </td> |
---|
1759 | <td> |
---|
1760 | |
---|
1761 | <p> |
---|
1762 | </td> |
---|
1763 | </tr> |
---|
1764 | </table> |
---|
1765 | <a class="anchor" name="Ogre_1_1TextureUnitStatea25" doxytag="Ogre::TextureUnitState::getTextureTransform" ></a><p> |
---|
1766 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1767 | <tr> |
---|
1768 | <td class="mdRow"> |
---|
1769 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1770 | <tr> |
---|
1771 | <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a>& Ogre::TextureUnitState::getTextureTransform </td> |
---|
1772 | <td class="md" valign="top">( </td> |
---|
1773 | <td class="md" nowrap valign="top">void </td> |
---|
1774 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1775 | <td class="md" valign="top"> ) </td> |
---|
1776 | <td class="md" nowrap> const</td> |
---|
1777 | </tr> |
---|
1778 | |
---|
1779 | </table> |
---|
1780 | </td> |
---|
1781 | </tr> |
---|
1782 | </table> |
---|
1783 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1784 | <tr> |
---|
1785 | <td> |
---|
1786 | |
---|
1787 | </td> |
---|
1788 | <td> |
---|
1789 | |
---|
1790 | <p> |
---|
1791 | Gets the current texture transformation matrix. |
---|
1792 | <p> |
---|
1793 | <dl compact><dt><b>Remarks:</b></dt><dd>Causes a reclaculation of the matrix if any parameters have been changed via setTextureScroll, setTextureScale and setTextureRotate. </dd></dl> |
---|
1794 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
1795 | </td> |
---|
1796 | </tr> |
---|
1797 | </table> |
---|
1798 | <a class="anchor" name="Ogre_1_1TextureUnitStatea21" doxytag="Ogre::TextureUnitState::getTextureType" ></a><p> |
---|
1799 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1800 | <tr> |
---|
1801 | <td class="mdRow"> |
---|
1802 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1803 | <tr> |
---|
1804 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a685">TextureType</a> Ogre::TextureUnitState::getTextureType </td> |
---|
1805 | <td class="md" valign="top">( </td> |
---|
1806 | <td class="md" nowrap valign="top">void </td> |
---|
1807 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1808 | <td class="md" valign="top"> ) </td> |
---|
1809 | <td class="md" nowrap> const</td> |
---|
1810 | </tr> |
---|
1811 | |
---|
1812 | </table> |
---|
1813 | </td> |
---|
1814 | </tr> |
---|
1815 | </table> |
---|
1816 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1817 | <tr> |
---|
1818 | <td> |
---|
1819 | |
---|
1820 | </td> |
---|
1821 | <td> |
---|
1822 | |
---|
1823 | <p> |
---|
1824 | Returns the type of this texture. |
---|
1825 | <p> |
---|
1826 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
1827 | </td> |
---|
1828 | </tr> |
---|
1829 | </table> |
---|
1830 | <a class="anchor" name="Ogre_1_1TextureUnitStatea32" doxytag="Ogre::TextureUnitState::getTextureUScale" ></a><p> |
---|
1831 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1832 | <tr> |
---|
1833 | <td class="mdRow"> |
---|
1834 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1835 | <tr> |
---|
1836 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::TextureUnitState::getTextureUScale </td> |
---|
1837 | <td class="md" valign="top">( </td> |
---|
1838 | <td class="md" nowrap valign="top">void </td> |
---|
1839 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1840 | <td class="md" valign="top"> ) </td> |
---|
1841 | <td class="md" nowrap> const</td> |
---|
1842 | </tr> |
---|
1843 | |
---|
1844 | </table> |
---|
1845 | </td> |
---|
1846 | </tr> |
---|
1847 | </table> |
---|
1848 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1849 | <tr> |
---|
1850 | <td> |
---|
1851 | |
---|
1852 | </td> |
---|
1853 | <td> |
---|
1854 | |
---|
1855 | <p> |
---|
1856 | </td> |
---|
1857 | </tr> |
---|
1858 | </table> |
---|
1859 | <a class="anchor" name="Ogre_1_1TextureUnitStatea28" doxytag="Ogre::TextureUnitState::getTextureUScroll" ></a><p> |
---|
1860 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1861 | <tr> |
---|
1862 | <td class="mdRow"> |
---|
1863 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1864 | <tr> |
---|
1865 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::TextureUnitState::getTextureUScroll </td> |
---|
1866 | <td class="md" valign="top">( </td> |
---|
1867 | <td class="md" nowrap valign="top">void </td> |
---|
1868 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1869 | <td class="md" valign="top"> ) </td> |
---|
1870 | <td class="md" nowrap> const</td> |
---|
1871 | </tr> |
---|
1872 | |
---|
1873 | </table> |
---|
1874 | </td> |
---|
1875 | </tr> |
---|
1876 | </table> |
---|
1877 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1878 | <tr> |
---|
1879 | <td> |
---|
1880 | |
---|
1881 | </td> |
---|
1882 | <td> |
---|
1883 | |
---|
1884 | <p> |
---|
1885 | </td> |
---|
1886 | </tr> |
---|
1887 | </table> |
---|
1888 | <a class="anchor" name="Ogre_1_1TextureUnitStatea34" doxytag="Ogre::TextureUnitState::getTextureVScale" ></a><p> |
---|
1889 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1890 | <tr> |
---|
1891 | <td class="mdRow"> |
---|
1892 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1893 | <tr> |
---|
1894 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::TextureUnitState::getTextureVScale </td> |
---|
1895 | <td class="md" valign="top">( </td> |
---|
1896 | <td class="md" nowrap valign="top">void </td> |
---|
1897 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1898 | <td class="md" valign="top"> ) </td> |
---|
1899 | <td class="md" nowrap> const</td> |
---|
1900 | </tr> |
---|
1901 | |
---|
1902 | </table> |
---|
1903 | </td> |
---|
1904 | </tr> |
---|
1905 | </table> |
---|
1906 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1907 | <tr> |
---|
1908 | <td> |
---|
1909 | |
---|
1910 | </td> |
---|
1911 | <td> |
---|
1912 | |
---|
1913 | <p> |
---|
1914 | </td> |
---|
1915 | </tr> |
---|
1916 | </table> |
---|
1917 | <a class="anchor" name="Ogre_1_1TextureUnitStatea30" doxytag="Ogre::TextureUnitState::getTextureVScroll" ></a><p> |
---|
1918 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1919 | <tr> |
---|
1920 | <td class="mdRow"> |
---|
1921 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1922 | <tr> |
---|
1923 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> Ogre::TextureUnitState::getTextureVScroll </td> |
---|
1924 | <td class="md" valign="top">( </td> |
---|
1925 | <td class="md" nowrap valign="top">void </td> |
---|
1926 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1927 | <td class="md" valign="top"> ) </td> |
---|
1928 | <td class="md" nowrap> const</td> |
---|
1929 | </tr> |
---|
1930 | |
---|
1931 | </table> |
---|
1932 | </td> |
---|
1933 | </tr> |
---|
1934 | </table> |
---|
1935 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1936 | <tr> |
---|
1937 | <td> |
---|
1938 | |
---|
1939 | </td> |
---|
1940 | <td> |
---|
1941 | |
---|
1942 | <p> |
---|
1943 | </td> |
---|
1944 | </tr> |
---|
1945 | </table> |
---|
1946 | <a class="anchor" name="Ogre_1_1TextureUnitStatea73" doxytag="Ogre::TextureUnitState::hasViewRelativeTextureCoordinateGeneration" ></a><p> |
---|
1947 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1948 | <tr> |
---|
1949 | <td class="mdRow"> |
---|
1950 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1951 | <tr> |
---|
1952 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::hasViewRelativeTextureCoordinateGeneration </td> |
---|
1953 | <td class="md" valign="top">( </td> |
---|
1954 | <td class="md" nowrap valign="top">void </td> |
---|
1955 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1956 | <td class="md" valign="top"> ) </td> |
---|
1957 | <td class="md" nowrap></td> |
---|
1958 | </tr> |
---|
1959 | |
---|
1960 | </table> |
---|
1961 | </td> |
---|
1962 | </tr> |
---|
1963 | </table> |
---|
1964 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1965 | <tr> |
---|
1966 | <td> |
---|
1967 | |
---|
1968 | </td> |
---|
1969 | <td> |
---|
1970 | |
---|
1971 | <p> |
---|
1972 | Returns whether this unit has texture coordinate generation that depends on the camera. |
---|
1973 | <p> |
---|
1974 | </td> |
---|
1975 | </tr> |
---|
1976 | </table> |
---|
1977 | <a class="anchor" name="Ogre_1_1TextureUnitStatea20" doxytag="Ogre::TextureUnitState::is3D" ></a><p> |
---|
1978 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
1979 | <tr> |
---|
1980 | <td class="mdRow"> |
---|
1981 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
1982 | <tr> |
---|
1983 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::is3D </td> |
---|
1984 | <td class="md" valign="top">( </td> |
---|
1985 | <td class="md" nowrap valign="top">void </td> |
---|
1986 | <td class="mdname1" valign="top" nowrap> </td> |
---|
1987 | <td class="md" valign="top"> ) </td> |
---|
1988 | <td class="md" nowrap> const</td> |
---|
1989 | </tr> |
---|
1990 | |
---|
1991 | </table> |
---|
1992 | </td> |
---|
1993 | </tr> |
---|
1994 | </table> |
---|
1995 | <table cellspacing=5 cellpadding=0 border=0> |
---|
1996 | <tr> |
---|
1997 | <td> |
---|
1998 | |
---|
1999 | </td> |
---|
2000 | <td> |
---|
2001 | |
---|
2002 | <p> |
---|
2003 | Returns true if this texture layer uses a composite 3D cubic texture. |
---|
2004 | <p> |
---|
2005 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2006 | </td> |
---|
2007 | </tr> |
---|
2008 | </table> |
---|
2009 | <a class="anchor" name="Ogre_1_1TextureUnitStatea60" doxytag="Ogre::TextureUnitState::isBlank" ></a><p> |
---|
2010 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2011 | <tr> |
---|
2012 | <td class="mdRow"> |
---|
2013 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2014 | <tr> |
---|
2015 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::isBlank </td> |
---|
2016 | <td class="md" valign="top">( </td> |
---|
2017 | <td class="md" nowrap valign="top">void </td> |
---|
2018 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2019 | <td class="md" valign="top"> ) </td> |
---|
2020 | <td class="md" nowrap> const</td> |
---|
2021 | </tr> |
---|
2022 | |
---|
2023 | </table> |
---|
2024 | </td> |
---|
2025 | </tr> |
---|
2026 | </table> |
---|
2027 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2028 | <tr> |
---|
2029 | <td> |
---|
2030 | |
---|
2031 | </td> |
---|
2032 | <td> |
---|
2033 | |
---|
2034 | <p> |
---|
2035 | Determines if this texture layer is currently blank. |
---|
2036 | <p> |
---|
2037 | <dl compact><dt><b>Note:</b></dt><dd>This can happen if a texture fails to load or some other non-fatal error. Worth checking after setting texture name. </dd></dl> |
---|
2038 | </td> |
---|
2039 | </tr> |
---|
2040 | </table> |
---|
2041 | <a class="anchor" name="Ogre_1_1TextureUnitStatea19" doxytag="Ogre::TextureUnitState::isCubic" ></a><p> |
---|
2042 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2043 | <tr> |
---|
2044 | <td class="mdRow"> |
---|
2045 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2046 | <tr> |
---|
2047 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::isCubic </td> |
---|
2048 | <td class="md" valign="top">( </td> |
---|
2049 | <td class="md" nowrap valign="top">void </td> |
---|
2050 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2051 | <td class="md" valign="top"> ) </td> |
---|
2052 | <td class="md" nowrap> const</td> |
---|
2053 | </tr> |
---|
2054 | |
---|
2055 | </table> |
---|
2056 | </td> |
---|
2057 | </tr> |
---|
2058 | </table> |
---|
2059 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2060 | <tr> |
---|
2061 | <td> |
---|
2062 | |
---|
2063 | </td> |
---|
2064 | <td> |
---|
2065 | |
---|
2066 | <p> |
---|
2067 | Returns true if this texture unit is either a series of 6 2D textures, each in it's own frame, or is a full 3D cube map. |
---|
2068 | <p> |
---|
2069 | You can tell which by checking getTextureType. <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2070 | </td> |
---|
2071 | </tr> |
---|
2072 | </table> |
---|
2073 | <a class="anchor" name="Ogre_1_1TextureUnitStatea74" doxytag="Ogre::TextureUnitState::isLoaded" ></a><p> |
---|
2074 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2075 | <tr> |
---|
2076 | <td class="mdRow"> |
---|
2077 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2078 | <tr> |
---|
2079 | <td class="md" nowrap valign="top"> bool Ogre::TextureUnitState::isLoaded </td> |
---|
2080 | <td class="md" valign="top">( </td> |
---|
2081 | <td class="md" nowrap valign="top">void </td> |
---|
2082 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2083 | <td class="md" valign="top"> ) </td> |
---|
2084 | <td class="md" nowrap></td> |
---|
2085 | </tr> |
---|
2086 | |
---|
2087 | </table> |
---|
2088 | </td> |
---|
2089 | </tr> |
---|
2090 | </table> |
---|
2091 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2092 | <tr> |
---|
2093 | <td> |
---|
2094 | |
---|
2095 | </td> |
---|
2096 | <td> |
---|
2097 | |
---|
2098 | <p> |
---|
2099 | </td> |
---|
2100 | </tr> |
---|
2101 | </table> |
---|
2102 | <a class="anchor" name="Ogre_1_1TextureUnitStatea2" doxytag="Ogre::TextureUnitState::operator=" ></a><p> |
---|
2103 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2104 | <tr> |
---|
2105 | <td class="mdRow"> |
---|
2106 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2107 | <tr> |
---|
2108 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a>& Ogre::TextureUnitState::operator= </td> |
---|
2109 | <td class="md" valign="top">( </td> |
---|
2110 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> & </td> |
---|
2111 | <td class="mdname1" valign="top" nowrap> <em>oth</em> </td> |
---|
2112 | <td class="md" valign="top"> ) </td> |
---|
2113 | <td class="md" nowrap></td> |
---|
2114 | </tr> |
---|
2115 | |
---|
2116 | </table> |
---|
2117 | </td> |
---|
2118 | </tr> |
---|
2119 | </table> |
---|
2120 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2121 | <tr> |
---|
2122 | <td> |
---|
2123 | |
---|
2124 | </td> |
---|
2125 | <td> |
---|
2126 | |
---|
2127 | <p> |
---|
2128 | </td> |
---|
2129 | </tr> |
---|
2130 | </table> |
---|
2131 | <a class="anchor" name="Ogre_1_1TextureUnitStateb0" doxytag="Ogre::TextureUnitState::recalcTextureMatrix" ></a><p> |
---|
2132 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2133 | <tr> |
---|
2134 | <td class="mdRow"> |
---|
2135 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2136 | <tr> |
---|
2137 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::recalcTextureMatrix </td> |
---|
2138 | <td class="md" valign="top">( </td> |
---|
2139 | <td class="md" nowrap valign="top">void </td> |
---|
2140 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2141 | <td class="md" valign="top"> ) </td> |
---|
2142 | <td class="md" nowrap> const<code> [protected]</code></td> |
---|
2143 | </tr> |
---|
2144 | |
---|
2145 | </table> |
---|
2146 | </td> |
---|
2147 | </tr> |
---|
2148 | </table> |
---|
2149 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2150 | <tr> |
---|
2151 | <td> |
---|
2152 | |
---|
2153 | </td> |
---|
2154 | <td> |
---|
2155 | |
---|
2156 | <p> |
---|
2157 | Internal method for calculating texture matrix. |
---|
2158 | <p> |
---|
2159 | </td> |
---|
2160 | </tr> |
---|
2161 | </table> |
---|
2162 | <a class="anchor" name="Ogre_1_1TextureUnitStatea58" doxytag="Ogre::TextureUnitState::removeAllEffects" ></a><p> |
---|
2163 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2164 | <tr> |
---|
2165 | <td class="mdRow"> |
---|
2166 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2167 | <tr> |
---|
2168 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::removeAllEffects </td> |
---|
2169 | <td class="md" valign="top">( </td> |
---|
2170 | <td class="md" nowrap valign="top">void </td> |
---|
2171 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2172 | <td class="md" valign="top"> ) </td> |
---|
2173 | <td class="md" nowrap></td> |
---|
2174 | </tr> |
---|
2175 | |
---|
2176 | </table> |
---|
2177 | </td> |
---|
2178 | </tr> |
---|
2179 | </table> |
---|
2180 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2181 | <tr> |
---|
2182 | <td> |
---|
2183 | |
---|
2184 | </td> |
---|
2185 | <td> |
---|
2186 | |
---|
2187 | <p> |
---|
2188 | Removes all effects applied to this texture layer. |
---|
2189 | <p> |
---|
2190 | </td> |
---|
2191 | </tr> |
---|
2192 | </table> |
---|
2193 | <a class="anchor" name="Ogre_1_1TextureUnitStatea59" doxytag="Ogre::TextureUnitState::removeEffect" ></a><p> |
---|
2194 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2195 | <tr> |
---|
2196 | <td class="mdRow"> |
---|
2197 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2198 | <tr> |
---|
2199 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::removeEffect </td> |
---|
2200 | <td class="md" valign="top">( </td> |
---|
2201 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew27">TextureEffectType</a> </td> |
---|
2202 | <td class="mdname1" valign="top" nowrap> <em>type</em> </td> |
---|
2203 | <td class="md" valign="top"> ) </td> |
---|
2204 | <td class="md" nowrap></td> |
---|
2205 | </tr> |
---|
2206 | |
---|
2207 | </table> |
---|
2208 | </td> |
---|
2209 | </tr> |
---|
2210 | </table> |
---|
2211 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2212 | <tr> |
---|
2213 | <td> |
---|
2214 | |
---|
2215 | </td> |
---|
2216 | <td> |
---|
2217 | |
---|
2218 | <p> |
---|
2219 | Removes a single effect applied to this texture layer. |
---|
2220 | <p> |
---|
2221 | <dl compact><dt><b>Note:</b></dt><dd>Because you can only have 1 effect of each type (e.g. 1 texture coordinate generation) applied to a layer, only the effect type is required. </dd></dl> |
---|
2222 | </td> |
---|
2223 | </tr> |
---|
2224 | </table> |
---|
2225 | <a class="anchor" name="Ogre_1_1TextureUnitStatea51" doxytag="Ogre::TextureUnitState::setAlphaOperation" ></a><p> |
---|
2226 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2227 | <tr> |
---|
2228 | <td class="mdRow"> |
---|
2229 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2230 | <tr> |
---|
2231 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setAlphaOperation </td> |
---|
2232 | <td class="md" valign="top">( </td> |
---|
2233 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a636">LayerBlendOperationEx</a> </td> |
---|
2234 | <td class="mdname" nowrap> <em>op</em>, </td> |
---|
2235 | </tr> |
---|
2236 | <tr> |
---|
2237 | <td class="md" nowrap align="right"></td> |
---|
2238 | <td></td> |
---|
2239 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> </td> |
---|
2240 | <td class="mdname" nowrap> <em>source1</em> = LBS_TEXTURE, </td> |
---|
2241 | </tr> |
---|
2242 | <tr> |
---|
2243 | <td class="md" nowrap align="right"></td> |
---|
2244 | <td></td> |
---|
2245 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> </td> |
---|
2246 | <td class="mdname" nowrap> <em>source2</em> = LBS_CURRENT, </td> |
---|
2247 | </tr> |
---|
2248 | <tr> |
---|
2249 | <td class="md" nowrap align="right"></td> |
---|
2250 | <td></td> |
---|
2251 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2252 | <td class="mdname" nowrap> <em>arg1</em> = 1.0, </td> |
---|
2253 | </tr> |
---|
2254 | <tr> |
---|
2255 | <td class="md" nowrap align="right"></td> |
---|
2256 | <td></td> |
---|
2257 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2258 | <td class="mdname" nowrap> <em>arg2</em> = 1.0, </td> |
---|
2259 | </tr> |
---|
2260 | <tr> |
---|
2261 | <td class="md" nowrap align="right"></td> |
---|
2262 | <td></td> |
---|
2263 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2264 | <td class="mdname" nowrap> <em>manualBlend</em> = 0.0</td> |
---|
2265 | </tr> |
---|
2266 | <tr> |
---|
2267 | <td></td> |
---|
2268 | <td class="md">) </td> |
---|
2269 | <td class="md" colspan="2"></td> |
---|
2270 | </tr> |
---|
2271 | |
---|
2272 | </table> |
---|
2273 | </td> |
---|
2274 | </tr> |
---|
2275 | </table> |
---|
2276 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2277 | <tr> |
---|
2278 | <td> |
---|
2279 | |
---|
2280 | </td> |
---|
2281 | <td> |
---|
2282 | |
---|
2283 | <p> |
---|
2284 | Sets the alpha operation to be applied to this texture. |
---|
2285 | <p> |
---|
2286 | <dl compact><dt><b>Remarks:</b></dt><dd>This works in exactly the same way as setColourOperation, except that the effect is applied to the level of alpha (i.e. transparency) of the texture rather than its colour. When the alpha of a texel (a pixel on a texture) is 1.0, it is opaque, wheras it is fully transparent if the alpha is 0.0. Please refer to the setColourOperation method for more info. </dd></dl> |
---|
2287 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2288 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2289 | <tr><td valign=top><em>op</em> </td><td>The operation to be used, e.g. modulate (multiply), add, subtract </td></tr> |
---|
2290 | <tr><td valign=top><em>source1</em> </td><td>The source of the first alpha value to the operation e.g. texture alpha </td></tr> |
---|
2291 | <tr><td valign=top><em>source2</em> </td><td>The source of the second alpha value to the operation e.g. current surface alpha </td></tr> |
---|
2292 | <tr><td valign=top><em>arg1</em> </td><td>Manually supplied alpha value (only required if source1 = LBS_MANUAL) </td></tr> |
---|
2293 | <tr><td valign=top><em>arg2</em> </td><td>Manually supplied alpha value (only required if source2 = LBS_MANUAL) </td></tr> |
---|
2294 | <tr><td valign=top><em>manualBlend</em> </td><td>Manually supplied 'blend' value - only required for operations which require manual blend e.g. LBX_BLEND_MANUAL </td></tr> |
---|
2295 | </table> |
---|
2296 | </dl> |
---|
2297 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea45">setColourOperation</a> </dd></dl> |
---|
2298 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
2299 | </td> |
---|
2300 | </tr> |
---|
2301 | </table> |
---|
2302 | <a class="anchor" name="Ogre_1_1TextureUnitStatea10" doxytag="Ogre::TextureUnitState::setAnimatedTextureName" ></a><p> |
---|
2303 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2304 | <tr> |
---|
2305 | <td class="mdRow"> |
---|
2306 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2307 | <tr> |
---|
2308 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setAnimatedTextureName </td> |
---|
2309 | <td class="md" valign="top">( </td> |
---|
2310 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> *const </td> |
---|
2311 | <td class="mdname" nowrap> <em>names</em>, </td> |
---|
2312 | </tr> |
---|
2313 | <tr> |
---|
2314 | <td class="md" nowrap align="right"></td> |
---|
2315 | <td></td> |
---|
2316 | <td class="md" nowrap>unsigned int </td> |
---|
2317 | <td class="mdname" nowrap> <em>numFrames</em>, </td> |
---|
2318 | </tr> |
---|
2319 | <tr> |
---|
2320 | <td class="md" nowrap align="right"></td> |
---|
2321 | <td></td> |
---|
2322 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2323 | <td class="mdname" nowrap> <em>duration</em> = 0</td> |
---|
2324 | </tr> |
---|
2325 | <tr> |
---|
2326 | <td></td> |
---|
2327 | <td class="md">) </td> |
---|
2328 | <td class="md" colspan="2"></td> |
---|
2329 | </tr> |
---|
2330 | |
---|
2331 | </table> |
---|
2332 | </td> |
---|
2333 | </tr> |
---|
2334 | </table> |
---|
2335 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2336 | <tr> |
---|
2337 | <td> |
---|
2338 | |
---|
2339 | </td> |
---|
2340 | <td> |
---|
2341 | |
---|
2342 | <p> |
---|
2343 | Sets the names of the texture images for an animated texture. |
---|
2344 | <p> |
---|
2345 | <dl compact><dt><b>Remarks:</b></dt><dd>This an alternative method to the one where you specify a single name and let the system derive the names of each frame, incase your images can't conform to this naming standard. </dd></dl> |
---|
2346 | <dl compact><dt><b></b></dt><dd>Animated textures are just a series of images making up the frames of the animation. All the images must be the same size, and you must provide their names as an array in the first parameter. You can change the active frame on a texture layer by calling the setCurrentFrame method. </dd></dl> |
---|
2347 | <dl compact><dt><b>Note:</b></dt><dd>If you can make your texture images conform to a naming standard of basicName_frame.ext, you can call the alternative setAnimatedTextureName method which just takes a base name instead. <p> |
---|
2348 | Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2349 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2350 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2351 | <tr><td valign=top><em>names</em> </td><td>Pointer to array of names of the textures to use, in frame order. </td></tr> |
---|
2352 | <tr><td valign=top><em>numFrames</em> </td><td>The number of frames in the sequence. </td></tr> |
---|
2353 | <tr><td valign=top><em>duration</em> </td><td>The length of time it takes to display the whole animation sequence, in seconds. If 0, no automatic transition occurs. </td></tr> |
---|
2354 | </table> |
---|
2355 | </dl> |
---|
2356 | </td> |
---|
2357 | </tr> |
---|
2358 | </table> |
---|
2359 | <a class="anchor" name="Ogre_1_1TextureUnitStatea9" doxytag="Ogre::TextureUnitState::setAnimatedTextureName" ></a><p> |
---|
2360 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2361 | <tr> |
---|
2362 | <td class="mdRow"> |
---|
2363 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2364 | <tr> |
---|
2365 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setAnimatedTextureName </td> |
---|
2366 | <td class="md" valign="top">( </td> |
---|
2367 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
2368 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
2369 | </tr> |
---|
2370 | <tr> |
---|
2371 | <td class="md" nowrap align="right"></td> |
---|
2372 | <td></td> |
---|
2373 | <td class="md" nowrap>unsigned int </td> |
---|
2374 | <td class="mdname" nowrap> <em>numFrames</em>, </td> |
---|
2375 | </tr> |
---|
2376 | <tr> |
---|
2377 | <td class="md" nowrap align="right"></td> |
---|
2378 | <td></td> |
---|
2379 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2380 | <td class="mdname" nowrap> <em>duration</em> = 0</td> |
---|
2381 | </tr> |
---|
2382 | <tr> |
---|
2383 | <td></td> |
---|
2384 | <td class="md">) </td> |
---|
2385 | <td class="md" colspan="2"></td> |
---|
2386 | </tr> |
---|
2387 | |
---|
2388 | </table> |
---|
2389 | </td> |
---|
2390 | </tr> |
---|
2391 | </table> |
---|
2392 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2393 | <tr> |
---|
2394 | <td> |
---|
2395 | |
---|
2396 | </td> |
---|
2397 | <td> |
---|
2398 | |
---|
2399 | <p> |
---|
2400 | Sets the names of the texture images for an animated texture. |
---|
2401 | <p> |
---|
2402 | <dl compact><dt><b>Remarks:</b></dt><dd>Animated textures are just a series of images making up the frames of the animation. All the images must be the same size, and their names must have a frame number appended before the extension, e.g. if you specify a name of "wall.jpg" with 3 frames, the image names must be "wall_0.jpg", "wall_1.jpg" and "wall_2.jpg". </dd></dl> |
---|
2403 | <dl compact><dt><b></b></dt><dd>You can change the active frame on a texture layer by calling the setCurrentFrame method. </dd></dl> |
---|
2404 | <dl compact><dt><b>Note:</b></dt><dd>If you can't make your texture images conform to the naming standard layed out here, you can call the alternative setAnimatedTextureName method which takes an array of names instead. <p> |
---|
2405 | Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2406 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2407 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2408 | <tr><td valign=top><em>name</em> </td><td>The base name of the textures to use e.g. wall.jpg for frames wall_0.jpg, wall_1.jpg etc. </td></tr> |
---|
2409 | <tr><td valign=top><em>numFrames</em> </td><td>The number of frames in the sequence. </td></tr> |
---|
2410 | <tr><td valign=top><em>duration</em> </td><td>The length of time it takes to display the whole animation sequence, in seconds. If 0, no automatic transition occurs. </td></tr> |
---|
2411 | </table> |
---|
2412 | </dl> |
---|
2413 | </td> |
---|
2414 | </tr> |
---|
2415 | </table> |
---|
2416 | <a class="anchor" name="Ogre_1_1TextureUnitStatea61" doxytag="Ogre::TextureUnitState::setBlank" ></a><p> |
---|
2417 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2418 | <tr> |
---|
2419 | <td class="mdRow"> |
---|
2420 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2421 | <tr> |
---|
2422 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setBlank </td> |
---|
2423 | <td class="md" valign="top">( </td> |
---|
2424 | <td class="md" nowrap valign="top">void </td> |
---|
2425 | <td class="mdname1" valign="top" nowrap> </td> |
---|
2426 | <td class="md" valign="top"> ) </td> |
---|
2427 | <td class="md" nowrap></td> |
---|
2428 | </tr> |
---|
2429 | |
---|
2430 | </table> |
---|
2431 | </td> |
---|
2432 | </tr> |
---|
2433 | </table> |
---|
2434 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2435 | <tr> |
---|
2436 | <td> |
---|
2437 | |
---|
2438 | </td> |
---|
2439 | <td> |
---|
2440 | |
---|
2441 | <p> |
---|
2442 | Sets this texture layer to be blank. |
---|
2443 | <p> |
---|
2444 | </td> |
---|
2445 | </tr> |
---|
2446 | </table> |
---|
2447 | <a class="anchor" name="Ogre_1_1TextureUnitStatea45" doxytag="Ogre::TextureUnitState::setColourOperation" ></a><p> |
---|
2448 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2449 | <tr> |
---|
2450 | <td class="mdRow"> |
---|
2451 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2452 | <tr> |
---|
2453 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setColourOperation </td> |
---|
2454 | <td class="md" valign="top">( </td> |
---|
2455 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a635">LayerBlendOperation</a> </td> |
---|
2456 | <td class="mdname1" valign="top" nowrap> <em>op</em> </td> |
---|
2457 | <td class="md" valign="top"> ) </td> |
---|
2458 | <td class="md" nowrap></td> |
---|
2459 | </tr> |
---|
2460 | |
---|
2461 | </table> |
---|
2462 | </td> |
---|
2463 | </tr> |
---|
2464 | </table> |
---|
2465 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2466 | <tr> |
---|
2467 | <td> |
---|
2468 | |
---|
2469 | </td> |
---|
2470 | <td> |
---|
2471 | |
---|
2472 | <p> |
---|
2473 | Determines how this texture layer is combined with the one below it (or the diffuse colour of the geometry if this is layer 0). |
---|
2474 | <p> |
---|
2475 | <dl compact><dt><b>Remarks:</b></dt><dd>This method is the simplest way to blend tetxure layers, because it requires only one parameter, gives you the most common blending types, and automatically sets up 2 blending methods: one for if single-pass multitexturing hardware is available, and another for if it is not and the blending must be achieved through multiple rendering passes. It is, however, quite limited and does not expose the more flexible multitexturing operations, simply because these can't be automatically supported in multipass fallback mode. If want to use the fancier options, use <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea44">TextureUnitState::setColourOperationEx</a>, but you'll either have to be sure that enough multitexturing units will be available, or you should explicitly set a fallback using <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea46">TextureUnitState::setColourOpMultipassFallback</a>. </dd></dl> |
---|
2476 | <dl compact><dt><b>Note:</b></dt><dd>The default method is LBO_MODULATE for all layers. <p> |
---|
2477 | This option has no effect in the programmable pipeline. </dd></dl> |
---|
2478 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2479 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2480 | <tr><td valign=top><em>op</em> </td><td>One of the LayerBlendOperation enumerated blending types. </td></tr> |
---|
2481 | </table> |
---|
2482 | </dl> |
---|
2483 | </td> |
---|
2484 | </tr> |
---|
2485 | </table> |
---|
2486 | <a class="anchor" name="Ogre_1_1TextureUnitStatea44" doxytag="Ogre::TextureUnitState::setColourOperationEx" ></a><p> |
---|
2487 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2488 | <tr> |
---|
2489 | <td class="mdRow"> |
---|
2490 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2491 | <tr> |
---|
2492 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setColourOperationEx </td> |
---|
2493 | <td class="md" valign="top">( </td> |
---|
2494 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a636">LayerBlendOperationEx</a> </td> |
---|
2495 | <td class="mdname" nowrap> <em>op</em>, </td> |
---|
2496 | </tr> |
---|
2497 | <tr> |
---|
2498 | <td class="md" nowrap align="right"></td> |
---|
2499 | <td></td> |
---|
2500 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> </td> |
---|
2501 | <td class="mdname" nowrap> <em>source1</em> = LBS_TEXTURE, </td> |
---|
2502 | </tr> |
---|
2503 | <tr> |
---|
2504 | <td class="md" nowrap align="right"></td> |
---|
2505 | <td></td> |
---|
2506 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a637">LayerBlendSource</a> </td> |
---|
2507 | <td class="mdname" nowrap> <em>source2</em> = LBS_CURRENT, </td> |
---|
2508 | </tr> |
---|
2509 | <tr> |
---|
2510 | <td class="md" nowrap align="right"></td> |
---|
2511 | <td></td> |
---|
2512 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td> |
---|
2513 | <td class="mdname" nowrap> <em>arg1</em> = <a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues2">ColourValue::White</a>, </td> |
---|
2514 | </tr> |
---|
2515 | <tr> |
---|
2516 | <td class="md" nowrap align="right"></td> |
---|
2517 | <td></td> |
---|
2518 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td> |
---|
2519 | <td class="mdname" nowrap> <em>arg2</em> = <a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues2">ColourValue::White</a>, </td> |
---|
2520 | </tr> |
---|
2521 | <tr> |
---|
2522 | <td class="md" nowrap align="right"></td> |
---|
2523 | <td></td> |
---|
2524 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2525 | <td class="mdname" nowrap> <em>manualBlend</em> = 0.0</td> |
---|
2526 | </tr> |
---|
2527 | <tr> |
---|
2528 | <td></td> |
---|
2529 | <td class="md">) </td> |
---|
2530 | <td class="md" colspan="2"></td> |
---|
2531 | </tr> |
---|
2532 | |
---|
2533 | </table> |
---|
2534 | </td> |
---|
2535 | </tr> |
---|
2536 | </table> |
---|
2537 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2538 | <tr> |
---|
2539 | <td> |
---|
2540 | |
---|
2541 | </td> |
---|
2542 | <td> |
---|
2543 | |
---|
2544 | <p> |
---|
2545 | Setting advanced blending options. |
---|
2546 | <p> |
---|
2547 | <dl compact><dt><b>Remarks:</b></dt><dd>This is an extended version of the <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea45">TextureUnitState::setColourOperation</a> method which allows extremely detailed control over the blending applied between this and earlier layers. See the IMPORTANT note below about the issues between mulitpass and multitexturing that using this method can create. </dd></dl> |
---|
2548 | <dl compact><dt><b></b></dt><dd><a class="el" href="classOgre_1_1Texture.html">Texture</a> colour operations determine how the final colour of the surface appears when rendered. <a class="el" href="classOgre_1_1Texture.html">Texture</a> units are used to combine colour values from various sources (ie. the diffuse colour of the surface from lighting calculations, combined with the colour of the texture). This method allows you to specify the 'operation' to be used, ie. the calculation such as adds or multiplies, and which values to use as arguments, such as a fixed value or a value from a previous calculation. </dd></dl> |
---|
2549 | <dl compact><dt><b></b></dt><dd>The defaults for each layer are: <ul> |
---|
2550 | <li> |
---|
2551 | op = LBX_MODULATE </li> |
---|
2552 | <li> |
---|
2553 | source1 = LBS_TEXTURE </li> |
---|
2554 | <li> |
---|
2555 | source2 = LBS_CURRENT </li> |
---|
2556 | </ul> |
---|
2557 | ie. each layer takes the colour results of the previous layer, and multiplies them with the new texture being applied. Bear in mind that colours are RGB values from 0.0 - 1.0 so multiplying them together will result in values in the same range, 'tinted' by the multiply. Note however that a straight multiply normally has the effect of darkening the textures - for this reason there are brightening operations like LBO_MODULATE_X2. See the LayerBlendOperation and LayerBlendSource enumerated types for full details. </dd></dl> |
---|
2558 | <dl compact><dt><b>Note:</b></dt><dd>Because of the limitations on some underlying APIs (Direct3D included) the LBS_TEXTURE argument can only be used as the first argument, not the second. </dd></dl> |
---|
2559 | <dl compact><dt><b></b></dt><dd>The final 3 parameters are only required if you decide to pass values manually into the operation, i.e. you want one or more of the inputs to the colour calculation to come from a fixed value that you supply. Hence you only need to fill these in if you supply LBS_MANUAL to the corresponding source, or use the LBX_BLEND_MANUAL operation. </dd></dl> |
---|
2560 | <dl compact><dt><b>Warning:</b></dt><dd><a class="el" href="namespaceOgre.html">Ogre</a> tries to use multitexturing hardware to blend texture layers together. However, if it runs out of texturing units (e.g. 2 of a GeForce2, 4 on a GeForce3) it has to fall back on multipass rendering, i.e. rendering the same object multiple times with different textures. This is both less efficient and there is a smaller range of blending operations which can be performed. For this reason, if you use this method you MUST also call <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea46">TextureUnitState::setColourOpMultipassFallback</a> to specify which effect you want to fall back on if sufficient hardware is not available. </dd></dl> |
---|
2561 | <dl compact><dt><b>Note:</b></dt><dd>This has no effect in the programmable pipeline. </dd></dl> |
---|
2562 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2563 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2564 | <tr><td valign=top><em>If</em> </td><td>you wish to avoid having to do this, use the simpler <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea45">TextureUnitState::setColourOperation</a> method which allows less flexible blending options but sets up the multipass fallback automatically, since it only allows operations which have direct multipass equivalents. </td></tr> |
---|
2565 | <tr><td valign=top><em>op</em> </td><td>The operation to be used, e.g. modulate (multiply), add, subtract </td></tr> |
---|
2566 | <tr><td valign=top><em>source1</em> </td><td>The source of the first colour to the operation e.g. texture colour </td></tr> |
---|
2567 | <tr><td valign=top><em>source2</em> </td><td>The source of the second colour to the operation e.g. current surface colour </td></tr> |
---|
2568 | <tr><td valign=top><em>arg1</em> </td><td>Manually supplied colour value (only required if source1 = LBS_MANUAL) </td></tr> |
---|
2569 | <tr><td valign=top><em>arg2</em> </td><td>Manually supplied colour value (only required if source2 = LBS_MANUAL) </td></tr> |
---|
2570 | <tr><td valign=top><em>manualBlend</em> </td><td>Manually supplied 'blend' value - only required for operations which require manual blend e.g. LBX_BLEND_MANUAL </td></tr> |
---|
2571 | </table> |
---|
2572 | </dl> |
---|
2573 | </td> |
---|
2574 | </tr> |
---|
2575 | </table> |
---|
2576 | <a class="anchor" name="Ogre_1_1TextureUnitStatea46" doxytag="Ogre::TextureUnitState::setColourOpMultipassFallback" ></a><p> |
---|
2577 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2578 | <tr> |
---|
2579 | <td class="mdRow"> |
---|
2580 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2581 | <tr> |
---|
2582 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setColourOpMultipassFallback </td> |
---|
2583 | <td class="md" valign="top">( </td> |
---|
2584 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td> |
---|
2585 | <td class="mdname" nowrap> <em>sourceFactor</em>, </td> |
---|
2586 | </tr> |
---|
2587 | <tr> |
---|
2588 | <td class="md" nowrap align="right"></td> |
---|
2589 | <td></td> |
---|
2590 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> </td> |
---|
2591 | <td class="mdname" nowrap> <em>destFactor</em></td> |
---|
2592 | </tr> |
---|
2593 | <tr> |
---|
2594 | <td></td> |
---|
2595 | <td class="md">) </td> |
---|
2596 | <td class="md" colspan="2"></td> |
---|
2597 | </tr> |
---|
2598 | |
---|
2599 | </table> |
---|
2600 | </td> |
---|
2601 | </tr> |
---|
2602 | </table> |
---|
2603 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2604 | <tr> |
---|
2605 | <td> |
---|
2606 | |
---|
2607 | </td> |
---|
2608 | <td> |
---|
2609 | |
---|
2610 | <p> |
---|
2611 | Sets the multipass fallback operation for this layer, if you used <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea44">TextureUnitState::setColourOperationEx</a> and not enough multitexturing hardware is available. |
---|
2612 | <p> |
---|
2613 | <dl compact><dt><b>Remarks:</b></dt><dd>Because some effects exposed using <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea44">TextureUnitState::setColourOperationEx</a> are only supported under multitexturing hardware, if the hardware is lacking the system must fallback on multipass rendering, which unfortunately doesn't support as many effects. This method is for you to specify the fallback operation which most suits you. </dd></dl> |
---|
2614 | <dl compact><dt><b></b></dt><dd>You'll notice that the interface is the same as the <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala46">Material::setSceneBlending</a> method; this is because multipass rendering IS effectively scene blending, since each layer is rendered on top of the last using the same mechanism as making an object transparent, it's just being rendered in the same place repeatedly to get the multitexture effect. </dd></dl> |
---|
2615 | <dl compact><dt><b></b></dt><dd>If you use the simpler (and hence less flexible) <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatea45">TextureUnitState::setColourOperation</a> method you don't need to call this as the system sets up the fallback for you. </dd></dl> |
---|
2616 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline, because there is no multipass fallback and multitexture blending is handled by the fragment shader. </dd></dl> |
---|
2617 | </td> |
---|
2618 | </tr> |
---|
2619 | </table> |
---|
2620 | <a class="anchor" name="Ogre_1_1TextureUnitStatea8" doxytag="Ogre::TextureUnitState::setCubicTextureName" ></a><p> |
---|
2621 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2622 | <tr> |
---|
2623 | <td class="mdRow"> |
---|
2624 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2625 | <tr> |
---|
2626 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setCubicTextureName </td> |
---|
2627 | <td class="md" valign="top">( </td> |
---|
2628 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> *const </td> |
---|
2629 | <td class="mdname" nowrap> <em>names</em>, </td> |
---|
2630 | </tr> |
---|
2631 | <tr> |
---|
2632 | <td class="md" nowrap align="right"></td> |
---|
2633 | <td></td> |
---|
2634 | <td class="md" nowrap>bool </td> |
---|
2635 | <td class="mdname" nowrap> <em>forUVW</em> = false</td> |
---|
2636 | </tr> |
---|
2637 | <tr> |
---|
2638 | <td></td> |
---|
2639 | <td class="md">) </td> |
---|
2640 | <td class="md" colspan="2"></td> |
---|
2641 | </tr> |
---|
2642 | |
---|
2643 | </table> |
---|
2644 | </td> |
---|
2645 | </tr> |
---|
2646 | </table> |
---|
2647 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2648 | <tr> |
---|
2649 | <td> |
---|
2650 | |
---|
2651 | </td> |
---|
2652 | <td> |
---|
2653 | |
---|
2654 | <p> |
---|
2655 | Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. |
---|
2656 | <p> |
---|
2657 | <dl compact><dt><b>Remarks:</b></dt><dd>Cubic textures are made up of 6 separate texture images. Each one of these is an orthoganal view of the world with a FOV of 90 degrees and an aspect ratio of 1:1. You can generate these from 3D Studio by rendering a scene to a reflection map of a transparent cube and saving the output files. </dd></dl> |
---|
2658 | <dl compact><dt><b></b></dt><dd>Cubic maps can be used either for skyboxes (complete wrap-around skies, like space) or as environment maps to simulate reflections. The system deals with these 2 scenarios in different ways: <ol> |
---|
2659 | <li> |
---|
2660 | <p> |
---|
2661 | for cubic environment maps, the 6 textures are combined into a single 'cubic' texture map which is then addressed using 3D texture coordinates. This is required because you don't know what face of the box you're going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be 'active' at once. Cubic environment maps are enabled by calling this method with the forUVW parameter set to true, and then calling setEnvironmentMap(true). <p> |
---|
2662 | Note that not all cards support cubic environment mapping. </li> |
---|
2663 | <li> |
---|
2664 | <p> |
---|
2665 | for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces. <p> |
---|
2666 | Skyboxes are created by calling <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera131">SceneManager::setSkyBox</a>. </li> |
---|
2667 | </ol> |
---|
2668 | </dd></dl> |
---|
2669 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2670 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2671 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2672 | <tr><td valign=top><em>name</em> </td><td>The basic name of the texture e.g. brickwall.jpg, stonefloor.png. There must be 6 versions of this texture with the suffixes _fr, _bk, _up, _dn, _lf, and _rt (before the extension) which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width & height. If you can't make your texture names conform to this, use the alternative method of the same name which takes an array of texture names instead. </td></tr> |
---|
2673 | <tr><td valign=top><em>forUVW</em> </td><td>Set to true if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. </td></tr> |
---|
2674 | </table> |
---|
2675 | </dl> |
---|
2676 | </td> |
---|
2677 | </tr> |
---|
2678 | </table> |
---|
2679 | <a class="anchor" name="Ogre_1_1TextureUnitStatea7" doxytag="Ogre::TextureUnitState::setCubicTextureName" ></a><p> |
---|
2680 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2681 | <tr> |
---|
2682 | <td class="mdRow"> |
---|
2683 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2684 | <tr> |
---|
2685 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setCubicTextureName </td> |
---|
2686 | <td class="md" valign="top">( </td> |
---|
2687 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
2688 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
2689 | </tr> |
---|
2690 | <tr> |
---|
2691 | <td class="md" nowrap align="right"></td> |
---|
2692 | <td></td> |
---|
2693 | <td class="md" nowrap>bool </td> |
---|
2694 | <td class="mdname" nowrap> <em>forUVW</em> = false</td> |
---|
2695 | </tr> |
---|
2696 | <tr> |
---|
2697 | <td></td> |
---|
2698 | <td class="md">) </td> |
---|
2699 | <td class="md" colspan="2"></td> |
---|
2700 | </tr> |
---|
2701 | |
---|
2702 | </table> |
---|
2703 | </td> |
---|
2704 | </tr> |
---|
2705 | </table> |
---|
2706 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2707 | <tr> |
---|
2708 | <td> |
---|
2709 | |
---|
2710 | </td> |
---|
2711 | <td> |
---|
2712 | |
---|
2713 | <p> |
---|
2714 | Sets this texture layer to use a combination of 6 texture maps, each one relating to a face of a cube. |
---|
2715 | <p> |
---|
2716 | <dl compact><dt><b>Remarks:</b></dt><dd>Cubic textures are made up of 6 separate texture images. Each one of these is an orthoganal view of the world with a FOV of 90 degrees and an aspect ratio of 1:1. You can generate these from 3D Studio by rendering a scene to a reflection map of a transparent cube and saving the output files. </dd></dl> |
---|
2717 | <dl compact><dt><b></b></dt><dd>Cubic maps can be used either for skyboxes (complete wrap-around skies, like space) or as environment maps to simulate reflections. The system deals with these 2 scenarios in different ways: <ol> |
---|
2718 | <li> |
---|
2719 | <p> |
---|
2720 | for cubic environment maps, the 6 textures are combined into a single 'cubic' texture map which is then addressed using 3D texture coordinates. This is required because you don't know what face of the box you're going to need to address when you render an object, and typically you need to reflect more than one face on the one object, so all 6 textures are needed to be 'active' at once. Cubic environment maps are enabled by calling this method with the forUVW parameter set to true, and then calling setEnvironmentMap(true). <p> |
---|
2721 | Note that not all cards support cubic environment mapping. </li> |
---|
2722 | <li> |
---|
2723 | <p> |
---|
2724 | for skyboxes, the 6 textures are kept separate and used independently for each face of the skybox. This is done because not all cards support 3D cubic maps and skyboxes do not need to use 3D texture coordinates so it is simpler to render each face of the box with 2D coordinates, changing texture between faces. <p> |
---|
2725 | Skyboxes are created by calling <a class="el" href="classOgre_1_1SceneManager.html#Ogre_1_1TerrainSceneManagera131">SceneManager::setSkyBox</a>. </li> |
---|
2726 | </ol> |
---|
2727 | </dd></dl> |
---|
2728 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2729 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2730 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2731 | <tr><td valign=top><em>name</em> </td><td>The basic name of the texture e.g. brickwall.jpg, stonefloor.png. There must be 6 versions of this texture with the suffixes _fr, _bk, _up, _dn, _lf, and _rt (before the extension) which make up the 6 sides of the box. The textures must all be the same size and be powers of 2 in width & height. If you can't make your texture names conform to this, use the alternative method of the same name which takes an array of texture names instead. </td></tr> |
---|
2732 | <tr><td valign=top><em>forUVW</em> </td><td>Set to true if you want a single 3D texture addressable with 3D texture coordinates rather than 6 separate textures. Useful for cubic environment mapping. </td></tr> |
---|
2733 | </table> |
---|
2734 | </dl> |
---|
2735 | </td> |
---|
2736 | </tr> |
---|
2737 | </table> |
---|
2738 | <a class="anchor" name="Ogre_1_1TextureUnitStatea12" doxytag="Ogre::TextureUnitState::setCurrentFrame" ></a><p> |
---|
2739 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2740 | <tr> |
---|
2741 | <td class="mdRow"> |
---|
2742 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2743 | <tr> |
---|
2744 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setCurrentFrame </td> |
---|
2745 | <td class="md" valign="top">( </td> |
---|
2746 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
2747 | <td class="mdname1" valign="top" nowrap> <em>frameNumber</em> </td> |
---|
2748 | <td class="md" valign="top"> ) </td> |
---|
2749 | <td class="md" nowrap></td> |
---|
2750 | </tr> |
---|
2751 | |
---|
2752 | </table> |
---|
2753 | </td> |
---|
2754 | </tr> |
---|
2755 | </table> |
---|
2756 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2757 | <tr> |
---|
2758 | <td> |
---|
2759 | |
---|
2760 | </td> |
---|
2761 | <td> |
---|
2762 | |
---|
2763 | <p> |
---|
2764 | Changes the active frame in an animated or multi-image texture. |
---|
2765 | <p> |
---|
2766 | <dl compact><dt><b>Remarks:</b></dt><dd>An animated texture (or a cubic texture where the images are not combined for 3D use) is made up of a number of frames. This method sets the active frame. </dd></dl> |
---|
2767 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2768 | </td> |
---|
2769 | </tr> |
---|
2770 | </table> |
---|
2771 | <a class="anchor" name="Ogre_1_1TextureUnitStatea53" doxytag="Ogre::TextureUnitState::setEnvironmentMap" ></a><p> |
---|
2772 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2773 | <tr> |
---|
2774 | <td class="mdRow"> |
---|
2775 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2776 | <tr> |
---|
2777 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setEnvironmentMap </td> |
---|
2778 | <td class="md" valign="top">( </td> |
---|
2779 | <td class="md" nowrap valign="top">bool </td> |
---|
2780 | <td class="mdname" nowrap> <em>enable</em>, </td> |
---|
2781 | </tr> |
---|
2782 | <tr> |
---|
2783 | <td class="md" nowrap align="right"></td> |
---|
2784 | <td></td> |
---|
2785 | <td class="md" nowrap><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew28">EnvMapType</a> </td> |
---|
2786 | <td class="mdname" nowrap> <em>envMapType</em> = ENV_CURVED</td> |
---|
2787 | </tr> |
---|
2788 | <tr> |
---|
2789 | <td></td> |
---|
2790 | <td class="md">) </td> |
---|
2791 | <td class="md" colspan="2"></td> |
---|
2792 | </tr> |
---|
2793 | |
---|
2794 | </table> |
---|
2795 | </td> |
---|
2796 | </tr> |
---|
2797 | </table> |
---|
2798 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2799 | <tr> |
---|
2800 | <td> |
---|
2801 | |
---|
2802 | </td> |
---|
2803 | <td> |
---|
2804 | |
---|
2805 | <p> |
---|
2806 | Turns on/off texture coordinate effect that makes this layer an environment map. |
---|
2807 | <p> |
---|
2808 | <dl compact><dt><b>Remarks:</b></dt><dd>Environment maps make an object look reflective by using the object's vertex normals relative to the camera view to generate texture coordinates. </dd></dl> |
---|
2809 | <dl compact><dt><b></b></dt><dd>The vectors generated can either be used to address a single 2D texture which is a 'fish-eye' lens view of a scene, or a 3D cubic environment map which requires 6 textures for each side of the inside of a cube. The type depends on what texture you set up - if you use the setTextureName method then a 2D fisheye lens texture is required, whereas if you used setCubicTextureName then a cubic environemnt map will be used. </dd></dl> |
---|
2810 | <dl compact><dt><b></b></dt><dd>This effect works best if the object has lots of gradually changing normals. The texture also has to be designed for this effect - see the example spheremap.png included with the sample application for a 2D environment map; a cubic map can be generated by rendering 6 views of a scene to each of the cube faces with orthoganal views. </dd></dl> |
---|
2811 | <dl compact><dt><b>Note:</b></dt><dd>Enabling this disables any other texture coordinate generation effects. However it can be combined with texture coordinate modification functions, which then operate on the generated coordinates rather than static model texture coordinates. </dd></dl> |
---|
2812 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2813 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2814 | <tr><td valign=top><em>enable</em> </td><td>True to enable, false to disable </td></tr> |
---|
2815 | <tr><td valign=top><em>planar</em> </td><td>If set to true, instead of being based on normals the environment effect is based on vertex positions. This is good for planar surfaces. </td></tr> |
---|
2816 | </table> |
---|
2817 | </dl> |
---|
2818 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
2819 | </td> |
---|
2820 | </tr> |
---|
2821 | </table> |
---|
2822 | <a class="anchor" name="Ogre_1_1TextureUnitStatea15" doxytag="Ogre::TextureUnitState::setFrameTextureName" ></a><p> |
---|
2823 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2824 | <tr> |
---|
2825 | <td class="mdRow"> |
---|
2826 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2827 | <tr> |
---|
2828 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setFrameTextureName </td> |
---|
2829 | <td class="md" valign="top">( </td> |
---|
2830 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
2831 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
2832 | </tr> |
---|
2833 | <tr> |
---|
2834 | <td class="md" nowrap align="right"></td> |
---|
2835 | <td></td> |
---|
2836 | <td class="md" nowrap>unsigned int </td> |
---|
2837 | <td class="mdname" nowrap> <em>frameNumber</em></td> |
---|
2838 | </tr> |
---|
2839 | <tr> |
---|
2840 | <td></td> |
---|
2841 | <td class="md">) </td> |
---|
2842 | <td class="md" colspan="2"></td> |
---|
2843 | </tr> |
---|
2844 | |
---|
2845 | </table> |
---|
2846 | </td> |
---|
2847 | </tr> |
---|
2848 | </table> |
---|
2849 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2850 | <tr> |
---|
2851 | <td> |
---|
2852 | |
---|
2853 | </td> |
---|
2854 | <td> |
---|
2855 | |
---|
2856 | <p> |
---|
2857 | Sets the name of the texture associated with a frame. |
---|
2858 | <p> |
---|
2859 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2860 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2861 | <tr><td valign=top><em>name</em> </td><td>The name of the texture </td></tr> |
---|
2862 | <tr><td valign=top><em>frameNumber</em> </td><td>The frame the texture name is to be placed in </td></tr> |
---|
2863 | </table> |
---|
2864 | </dl> |
---|
2865 | <dl compact><dt><b>Note:</b></dt><dd>Throws an exception if frameNumber exceeds the number of stored frames. Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
2866 | </td> |
---|
2867 | </tr> |
---|
2868 | </table> |
---|
2869 | <a class="anchor" name="Ogre_1_1TextureUnitStatea76" doxytag="Ogre::TextureUnitState::setName" ></a><p> |
---|
2870 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2871 | <tr> |
---|
2872 | <td class="mdRow"> |
---|
2873 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2874 | <tr> |
---|
2875 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setName </td> |
---|
2876 | <td class="md" valign="top">( </td> |
---|
2877 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
2878 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
2879 | <td class="md" valign="top"> ) </td> |
---|
2880 | <td class="md" nowrap></td> |
---|
2881 | </tr> |
---|
2882 | |
---|
2883 | </table> |
---|
2884 | </td> |
---|
2885 | </tr> |
---|
2886 | </table> |
---|
2887 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2888 | <tr> |
---|
2889 | <td> |
---|
2890 | |
---|
2891 | </td> |
---|
2892 | <td> |
---|
2893 | |
---|
2894 | <p> |
---|
2895 | Set the name of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State. |
---|
2896 | <p> |
---|
2897 | <dl compact><dt><b>Remarks:</b></dt><dd>The name of the <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State is optional. Its usefull in material scripts where a material could inherit from another material and only want to modify a particalar <a class="el" href="classOgre_1_1Texture.html">Texture</a> Unit State. </dd></dl> |
---|
2898 | </td> |
---|
2899 | </tr> |
---|
2900 | </table> |
---|
2901 | <a class="anchor" name="Ogre_1_1TextureUnitStatea57" doxytag="Ogre::TextureUnitState::setProjectiveTexturing" ></a><p> |
---|
2902 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2903 | <tr> |
---|
2904 | <td class="mdRow"> |
---|
2905 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2906 | <tr> |
---|
2907 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setProjectiveTexturing </td> |
---|
2908 | <td class="md" valign="top">( </td> |
---|
2909 | <td class="md" nowrap valign="top">bool </td> |
---|
2910 | <td class="mdname" nowrap> <em>enabled</em>, </td> |
---|
2911 | </tr> |
---|
2912 | <tr> |
---|
2913 | <td class="md" nowrap align="right"></td> |
---|
2914 | <td></td> |
---|
2915 | <td class="md" nowrap>const <a class="el" href="classOgre_1_1Frustum.html">Frustum</a> * </td> |
---|
2916 | <td class="mdname" nowrap> <em>projectionSettings</em> = 0</td> |
---|
2917 | </tr> |
---|
2918 | <tr> |
---|
2919 | <td></td> |
---|
2920 | <td class="md">) </td> |
---|
2921 | <td class="md" colspan="2"></td> |
---|
2922 | </tr> |
---|
2923 | |
---|
2924 | </table> |
---|
2925 | </td> |
---|
2926 | </tr> |
---|
2927 | </table> |
---|
2928 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2929 | <tr> |
---|
2930 | <td> |
---|
2931 | |
---|
2932 | </td> |
---|
2933 | <td> |
---|
2934 | |
---|
2935 | <p> |
---|
2936 | Enables or disables projective texturing on this texture unit. |
---|
2937 | <p> |
---|
2938 | <dl compact><dt><b>Remarks:</b></dt><dd>Projective texturing allows you to generate texture coordinates based on a <a class="el" href="classOgre_1_1Frustum.html">Frustum</a>, which gives the impression that a texture is being projected onto the surface. Note that once you have called this method, the texture unit continues to monitor the <a class="el" href="classOgre_1_1Frustum.html">Frustum</a> you passed in and the projection will change if you can alter it. It also means that you must ensure that the <a class="el" href="classOgre_1_1Frustum.html">Frustum</a> object you pass a pointer to remains in existence for as long as this <a class="el" href="classOgre_1_1TextureUnitState.html">TextureUnitState</a> does. </dd></dl> |
---|
2939 | <dl compact><dt><b></b></dt><dd>This effect cannot be combined with other texture generation effects, such as environment mapping. It also has no effect on passes which have a vertex program enabled - projective texturing has to be done in the vertex program instead. </dd></dl> |
---|
2940 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2941 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2942 | <tr><td valign=top><em>enabled</em> </td><td>Whether to enable / disable </td></tr> |
---|
2943 | <tr><td valign=top><em>projectionSettings</em> </td><td>The <a class="el" href="classOgre_1_1Frustum.html">Frustum</a> which will be used to derive the projection parameters. </td></tr> |
---|
2944 | </table> |
---|
2945 | </dl> |
---|
2946 | </td> |
---|
2947 | </tr> |
---|
2948 | </table> |
---|
2949 | <a class="anchor" name="Ogre_1_1TextureUnitStatea55" doxytag="Ogre::TextureUnitState::setRotateAnimation" ></a><p> |
---|
2950 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2951 | <tr> |
---|
2952 | <td class="mdRow"> |
---|
2953 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2954 | <tr> |
---|
2955 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setRotateAnimation </td> |
---|
2956 | <td class="md" valign="top">( </td> |
---|
2957 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2958 | <td class="mdname1" valign="top" nowrap> <em>speed</em> </td> |
---|
2959 | <td class="md" valign="top"> ) </td> |
---|
2960 | <td class="md" nowrap></td> |
---|
2961 | </tr> |
---|
2962 | |
---|
2963 | </table> |
---|
2964 | </td> |
---|
2965 | </tr> |
---|
2966 | </table> |
---|
2967 | <table cellspacing=5 cellpadding=0 border=0> |
---|
2968 | <tr> |
---|
2969 | <td> |
---|
2970 | |
---|
2971 | </td> |
---|
2972 | <td> |
---|
2973 | |
---|
2974 | <p> |
---|
2975 | Sets up an animated texture rotation for this layer. |
---|
2976 | <p> |
---|
2977 | <dl compact><dt><b>Note:</b></dt><dd>Useful for constant rotations (for varying rotations, see setTransformAnimation). </dd></dl> |
---|
2978 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
2979 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
2980 | <tr><td valign=top><em>speed</em> </td><td>The number of complete anticlockwise revolutions per second (use -ve for clockwise) </td></tr> |
---|
2981 | </table> |
---|
2982 | </dl> |
---|
2983 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
2984 | </td> |
---|
2985 | </tr> |
---|
2986 | </table> |
---|
2987 | <a class="anchor" name="Ogre_1_1TextureUnitStatea54" doxytag="Ogre::TextureUnitState::setScrollAnimation" ></a><p> |
---|
2988 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
2989 | <tr> |
---|
2990 | <td class="mdRow"> |
---|
2991 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
2992 | <tr> |
---|
2993 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setScrollAnimation </td> |
---|
2994 | <td class="md" valign="top">( </td> |
---|
2995 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
2996 | <td class="mdname" nowrap> <em>uSpeed</em>, </td> |
---|
2997 | </tr> |
---|
2998 | <tr> |
---|
2999 | <td class="md" nowrap align="right"></td> |
---|
3000 | <td></td> |
---|
3001 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3002 | <td class="mdname" nowrap> <em>vSpeed</em></td> |
---|
3003 | </tr> |
---|
3004 | <tr> |
---|
3005 | <td></td> |
---|
3006 | <td class="md">) </td> |
---|
3007 | <td class="md" colspan="2"></td> |
---|
3008 | </tr> |
---|
3009 | |
---|
3010 | </table> |
---|
3011 | </td> |
---|
3012 | </tr> |
---|
3013 | </table> |
---|
3014 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3015 | <tr> |
---|
3016 | <td> |
---|
3017 | |
---|
3018 | </td> |
---|
3019 | <td> |
---|
3020 | |
---|
3021 | <p> |
---|
3022 | Sets up an animated scroll for the texture layer. |
---|
3023 | <p> |
---|
3024 | <dl compact><dt><b>Note:</b></dt><dd>Useful for creating constant scrolling effects on a texture layer (for varying scrolls, see setTransformAnimation). </dd></dl> |
---|
3025 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3026 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3027 | <tr><td valign=top><em>uSpeed</em> </td><td>The number of horizontal loops per second (+ve=moving right, -ve = moving left) </td></tr> |
---|
3028 | <tr><td valign=top><em>vSpeed</em> </td><td>The number of vertical loops per second (+ve=moving up, -ve= moving down) </td></tr> |
---|
3029 | </table> |
---|
3030 | </dl> |
---|
3031 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
3032 | </td> |
---|
3033 | </tr> |
---|
3034 | </table> |
---|
3035 | <a class="anchor" name="Ogre_1_1TextureUnitStatea41" doxytag="Ogre::TextureUnitState::setTextureAddressingMode" ></a><p> |
---|
3036 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3037 | <tr> |
---|
3038 | <td class="mdRow"> |
---|
3039 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3040 | <tr> |
---|
3041 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureAddressingMode </td> |
---|
3042 | <td class="md" valign="top">( </td> |
---|
3043 | <td class="md" nowrap valign="top">const <a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a> & </td> |
---|
3044 | <td class="mdname1" valign="top" nowrap> <em>uvw</em> </td> |
---|
3045 | <td class="md" valign="top"> ) </td> |
---|
3046 | <td class="md" nowrap></td> |
---|
3047 | </tr> |
---|
3048 | |
---|
3049 | </table> |
---|
3050 | </td> |
---|
3051 | </tr> |
---|
3052 | </table> |
---|
3053 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3054 | <tr> |
---|
3055 | <td> |
---|
3056 | |
---|
3057 | </td> |
---|
3058 | <td> |
---|
3059 | |
---|
3060 | <p> |
---|
3061 | Sets the texture addressing mode, i.e. |
---|
3062 | <p> |
---|
3063 | what happens at uv values above 1.0. <dl compact><dt><b>Note:</b></dt><dd>The default is TAM_WRAP i.e. the texture repeats over values of 1.0. <p> |
---|
3064 | This applies for both the fixed-function and programmable pipelines.</dd></dl> |
---|
3065 | </td> |
---|
3066 | </tr> |
---|
3067 | </table> |
---|
3068 | <a class="anchor" name="Ogre_1_1TextureUnitStatea40" doxytag="Ogre::TextureUnitState::setTextureAddressingMode" ></a><p> |
---|
3069 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3070 | <tr> |
---|
3071 | <td class="mdRow"> |
---|
3072 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3073 | <tr> |
---|
3074 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureAddressingMode </td> |
---|
3075 | <td class="md" valign="top">( </td> |
---|
3076 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> </td> |
---|
3077 | <td class="mdname" nowrap> <em>u</em>, </td> |
---|
3078 | </tr> |
---|
3079 | <tr> |
---|
3080 | <td class="md" nowrap align="right"></td> |
---|
3081 | <td></td> |
---|
3082 | <td class="md" nowrap><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> </td> |
---|
3083 | <td class="mdname" nowrap> <em>v</em>, </td> |
---|
3084 | </tr> |
---|
3085 | <tr> |
---|
3086 | <td class="md" nowrap align="right"></td> |
---|
3087 | <td></td> |
---|
3088 | <td class="md" nowrap><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> </td> |
---|
3089 | <td class="mdname" nowrap> <em>w</em></td> |
---|
3090 | </tr> |
---|
3091 | <tr> |
---|
3092 | <td></td> |
---|
3093 | <td class="md">) </td> |
---|
3094 | <td class="md" colspan="2"></td> |
---|
3095 | </tr> |
---|
3096 | |
---|
3097 | </table> |
---|
3098 | </td> |
---|
3099 | </tr> |
---|
3100 | </table> |
---|
3101 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3102 | <tr> |
---|
3103 | <td> |
---|
3104 | |
---|
3105 | </td> |
---|
3106 | <td> |
---|
3107 | |
---|
3108 | <p> |
---|
3109 | Sets the texture addressing mode, i.e. |
---|
3110 | <p> |
---|
3111 | what happens at uv values above 1.0. <dl compact><dt><b>Note:</b></dt><dd>The default is TAM_WRAP i.e. the texture repeats over values of 1.0. <p> |
---|
3112 | This applies for both the fixed-function and programmable pipelines.</dd></dl> |
---|
3113 | </td> |
---|
3114 | </tr> |
---|
3115 | </table> |
---|
3116 | <a class="anchor" name="Ogre_1_1TextureUnitStatea39" doxytag="Ogre::TextureUnitState::setTextureAddressingMode" ></a><p> |
---|
3117 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3118 | <tr> |
---|
3119 | <td class="mdRow"> |
---|
3120 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3121 | <tr> |
---|
3122 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureAddressingMode </td> |
---|
3123 | <td class="md" valign="top">( </td> |
---|
3124 | <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew30">TextureAddressingMode</a> </td> |
---|
3125 | <td class="mdname1" valign="top" nowrap> <em>tam</em> </td> |
---|
3126 | <td class="md" valign="top"> ) </td> |
---|
3127 | <td class="md" nowrap></td> |
---|
3128 | </tr> |
---|
3129 | |
---|
3130 | </table> |
---|
3131 | </td> |
---|
3132 | </tr> |
---|
3133 | </table> |
---|
3134 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3135 | <tr> |
---|
3136 | <td> |
---|
3137 | |
---|
3138 | </td> |
---|
3139 | <td> |
---|
3140 | |
---|
3141 | <p> |
---|
3142 | Sets the texture addressing mode, i.e. |
---|
3143 | <p> |
---|
3144 | what happens at uv values above 1.0. <dl compact><dt><b>Note:</b></dt><dd>The default is TAM_WRAP i.e. the texture repeats over values of 1.0. <p> |
---|
3145 | This is a shortcut method which sets the addressing mode for all coordinates at once; you can also call the more specific method to set the addressing mode per coordinate. <p> |
---|
3146 | This applies for both the fixed-function and programmable pipelines. </dd></dl> |
---|
3147 | </td> |
---|
3148 | </tr> |
---|
3149 | </table> |
---|
3150 | <a class="anchor" name="Ogre_1_1TextureUnitStatea68" doxytag="Ogre::TextureUnitState::setTextureAnisotropy" ></a><p> |
---|
3151 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3152 | <tr> |
---|
3153 | <td class="mdRow"> |
---|
3154 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3155 | <tr> |
---|
3156 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureAnisotropy </td> |
---|
3157 | <td class="md" valign="top">( </td> |
---|
3158 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
3159 | <td class="mdname1" valign="top" nowrap> <em>maxAniso</em> </td> |
---|
3160 | <td class="md" valign="top"> ) </td> |
---|
3161 | <td class="md" nowrap></td> |
---|
3162 | </tr> |
---|
3163 | |
---|
3164 | </table> |
---|
3165 | </td> |
---|
3166 | </tr> |
---|
3167 | </table> |
---|
3168 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3169 | <tr> |
---|
3170 | <td> |
---|
3171 | |
---|
3172 | </td> |
---|
3173 | <td> |
---|
3174 | |
---|
3175 | <p> |
---|
3176 | Sets the anisotropy level to be used for this texture level. |
---|
3177 | <p> |
---|
3178 | <dl compact><dt><b>maxAniso The maximal anisotropy level, should be between 2 and the maximum supported by hardware (1 is the default, ie. no anisotrophy).</b></dt><dd></dd></dl> |
---|
3179 | <dl compact><dt><b>Note:</b></dt><dd>This option applies in both the fixed function and the programmable pipeline. </dd></dl> |
---|
3180 | </td> |
---|
3181 | </tr> |
---|
3182 | </table> |
---|
3183 | <a class="anchor" name="Ogre_1_1TextureUnitStatea42" doxytag="Ogre::TextureUnitState::setTextureBorderColour" ></a><p> |
---|
3184 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3185 | <tr> |
---|
3186 | <td class="mdRow"> |
---|
3187 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3188 | <tr> |
---|
3189 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureBorderColour </td> |
---|
3190 | <td class="md" valign="top">( </td> |
---|
3191 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td> |
---|
3192 | <td class="mdname1" valign="top" nowrap> <em>colour</em> </td> |
---|
3193 | <td class="md" valign="top"> ) </td> |
---|
3194 | <td class="md" nowrap></td> |
---|
3195 | </tr> |
---|
3196 | |
---|
3197 | </table> |
---|
3198 | </td> |
---|
3199 | </tr> |
---|
3200 | </table> |
---|
3201 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3202 | <tr> |
---|
3203 | <td> |
---|
3204 | |
---|
3205 | </td> |
---|
3206 | <td> |
---|
3207 | |
---|
3208 | <p> |
---|
3209 | Sets the texture border colour. |
---|
3210 | <p> |
---|
3211 | <dl compact><dt><b>Note:</b></dt><dd>The default is <a class="el" href="classOgre_1_1ColourValue.html#Ogre_1_1ColourValues1">ColourValue::Black</a>, and this value only used when addressing mode is TAM_BORDER. <p> |
---|
3212 | This applies for both the fixed-function and programmable pipelines.</dd></dl> |
---|
3213 | </td> |
---|
3214 | </tr> |
---|
3215 | </table> |
---|
3216 | <a class="anchor" name="Ogre_1_1TextureUnitStatea23" doxytag="Ogre::TextureUnitState::setTextureCoordSet" ></a><p> |
---|
3217 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3218 | <tr> |
---|
3219 | <td class="mdRow"> |
---|
3220 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3221 | <tr> |
---|
3222 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureCoordSet </td> |
---|
3223 | <td class="md" valign="top">( </td> |
---|
3224 | <td class="md" nowrap valign="top">unsigned int </td> |
---|
3225 | <td class="mdname1" valign="top" nowrap> <em>set</em> </td> |
---|
3226 | <td class="md" valign="top"> ) </td> |
---|
3227 | <td class="md" nowrap></td> |
---|
3228 | </tr> |
---|
3229 | |
---|
3230 | </table> |
---|
3231 | </td> |
---|
3232 | </tr> |
---|
3233 | </table> |
---|
3234 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3235 | <tr> |
---|
3236 | <td> |
---|
3237 | |
---|
3238 | </td> |
---|
3239 | <td> |
---|
3240 | |
---|
3241 | <p> |
---|
3242 | Sets the index of the set of texture co-ords this layer uses. |
---|
3243 | <p> |
---|
3244 | <dl compact><dt><b>Note:</b></dt><dd>Default is 0 for all layers. Only change this if you have provided multiple texture co-ords per vertex. <p> |
---|
3245 | Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
3246 | </td> |
---|
3247 | </tr> |
---|
3248 | </table> |
---|
3249 | <a class="anchor" name="Ogre_1_1TextureUnitStatea66" doxytag="Ogre::TextureUnitState::setTextureFiltering" ></a><p> |
---|
3250 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3251 | <tr> |
---|
3252 | <td class="mdRow"> |
---|
3253 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3254 | <tr> |
---|
3255 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureFiltering </td> |
---|
3256 | <td class="md" valign="top">( </td> |
---|
3257 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td> |
---|
3258 | <td class="mdname" nowrap> <em>minFilter</em>, </td> |
---|
3259 | </tr> |
---|
3260 | <tr> |
---|
3261 | <td class="md" nowrap align="right"></td> |
---|
3262 | <td></td> |
---|
3263 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td> |
---|
3264 | <td class="mdname" nowrap> <em>magFilter</em>, </td> |
---|
3265 | </tr> |
---|
3266 | <tr> |
---|
3267 | <td class="md" nowrap align="right"></td> |
---|
3268 | <td></td> |
---|
3269 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td> |
---|
3270 | <td class="mdname" nowrap> <em>mipFilter</em></td> |
---|
3271 | </tr> |
---|
3272 | <tr> |
---|
3273 | <td></td> |
---|
3274 | <td class="md">) </td> |
---|
3275 | <td class="md" colspan="2"></td> |
---|
3276 | </tr> |
---|
3277 | |
---|
3278 | </table> |
---|
3279 | </td> |
---|
3280 | </tr> |
---|
3281 | </table> |
---|
3282 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3283 | <tr> |
---|
3284 | <td> |
---|
3285 | |
---|
3286 | </td> |
---|
3287 | <td> |
---|
3288 | |
---|
3289 | <p> |
---|
3290 | Set a the detailed filtering options on this texture unit. |
---|
3291 | <p> |
---|
3292 | minFilter The filtering to use when reducing the size of the texture. Can be FO_POINT, FO_LINEAR or FO_ANISOTROPIC magFilter The filtering to use when increasing the size of the texture Can be FO_POINT, FO_LINEAR or FO_ANISOTROPIC mipFilter The filtering to use between mip levels Can be FO_NONE (turns off mipmapping), FO_POINT or FO_LINEAR (trilinear filtering) </td> |
---|
3293 | </tr> |
---|
3294 | </table> |
---|
3295 | <a class="anchor" name="Ogre_1_1TextureUnitStatea65" doxytag="Ogre::TextureUnitState::setTextureFiltering" ></a><p> |
---|
3296 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3297 | <tr> |
---|
3298 | <td class="mdRow"> |
---|
3299 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3300 | <tr> |
---|
3301 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureFiltering </td> |
---|
3302 | <td class="md" valign="top">( </td> |
---|
3303 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a642">FilterType</a> </td> |
---|
3304 | <td class="mdname" nowrap> <em>ftype</em>, </td> |
---|
3305 | </tr> |
---|
3306 | <tr> |
---|
3307 | <td class="md" nowrap align="right"></td> |
---|
3308 | <td></td> |
---|
3309 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a643">FilterOptions</a> </td> |
---|
3310 | <td class="mdname" nowrap> <em>opts</em></td> |
---|
3311 | </tr> |
---|
3312 | <tr> |
---|
3313 | <td></td> |
---|
3314 | <td class="md">) </td> |
---|
3315 | <td class="md" colspan="2"></td> |
---|
3316 | </tr> |
---|
3317 | |
---|
3318 | </table> |
---|
3319 | </td> |
---|
3320 | </tr> |
---|
3321 | </table> |
---|
3322 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3323 | <tr> |
---|
3324 | <td> |
---|
3325 | |
---|
3326 | </td> |
---|
3327 | <td> |
---|
3328 | |
---|
3329 | <p> |
---|
3330 | Set a single filtering option on this texture unit. |
---|
3331 | <p> |
---|
3332 | ftype The filtering type to set opts The filtering option to set </td> |
---|
3333 | </tr> |
---|
3334 | </table> |
---|
3335 | <a class="anchor" name="Ogre_1_1TextureUnitStatea64" doxytag="Ogre::TextureUnitState::setTextureFiltering" ></a><p> |
---|
3336 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3337 | <tr> |
---|
3338 | <td class="mdRow"> |
---|
3339 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3340 | <tr> |
---|
3341 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureFiltering </td> |
---|
3342 | <td class="md" valign="top">( </td> |
---|
3343 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a641">TextureFilterOptions</a> </td> |
---|
3344 | <td class="mdname1" valign="top" nowrap> <em>filterType</em> </td> |
---|
3345 | <td class="md" valign="top"> ) </td> |
---|
3346 | <td class="md" nowrap></td> |
---|
3347 | </tr> |
---|
3348 | |
---|
3349 | </table> |
---|
3350 | </td> |
---|
3351 | </tr> |
---|
3352 | </table> |
---|
3353 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3354 | <tr> |
---|
3355 | <td> |
---|
3356 | |
---|
3357 | </td> |
---|
3358 | <td> |
---|
3359 | |
---|
3360 | <p> |
---|
3361 | Set the texture filtering for this unit, using the simplified interface. |
---|
3362 | <p> |
---|
3363 | <dl compact><dt><b>Remarks:</b></dt><dd>You also have the option of specifying the minification, magnification and mip filter individually if you want more control over filtering options. See the alternative setTextureFiltering methods for details. </dd></dl> |
---|
3364 | <dl compact><dt><b>Note:</b></dt><dd>This option applies in both the fixed function and the programmable pipeline. </dd></dl> |
---|
3365 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3366 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3367 | <tr><td valign=top><em>filterType</em> </td><td>The high-level filter type to use. </td></tr> |
---|
3368 | </table> |
---|
3369 | </dl> |
---|
3370 | </td> |
---|
3371 | </tr> |
---|
3372 | </table> |
---|
3373 | <a class="anchor" name="Ogre_1_1TextureUnitStatea6" doxytag="Ogre::TextureUnitState::setTextureName" ></a><p> |
---|
3374 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3375 | <tr> |
---|
3376 | <td class="mdRow"> |
---|
3377 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3378 | <tr> |
---|
3379 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureName </td> |
---|
3380 | <td class="md" valign="top">( </td> |
---|
3381 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
3382 | <td class="mdname" nowrap> <em>name</em>, </td> |
---|
3383 | </tr> |
---|
3384 | <tr> |
---|
3385 | <td class="md" nowrap align="right"></td> |
---|
3386 | <td></td> |
---|
3387 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a685">TextureType</a> </td> |
---|
3388 | <td class="mdname" nowrap> <em>ttype</em> = TEX_TYPE_2D, </td> |
---|
3389 | </tr> |
---|
3390 | <tr> |
---|
3391 | <td class="md" nowrap align="right"></td> |
---|
3392 | <td></td> |
---|
3393 | <td class="md" nowrap>int </td> |
---|
3394 | <td class="mdname" nowrap> <em>mipmaps</em> = -1, </td> |
---|
3395 | </tr> |
---|
3396 | <tr> |
---|
3397 | <td class="md" nowrap align="right"></td> |
---|
3398 | <td></td> |
---|
3399 | <td class="md" nowrap>bool </td> |
---|
3400 | <td class="mdname" nowrap> <em>isAlpha</em> = false</td> |
---|
3401 | </tr> |
---|
3402 | <tr> |
---|
3403 | <td></td> |
---|
3404 | <td class="md">) </td> |
---|
3405 | <td class="md" colspan="2"></td> |
---|
3406 | </tr> |
---|
3407 | |
---|
3408 | </table> |
---|
3409 | </td> |
---|
3410 | </tr> |
---|
3411 | </table> |
---|
3412 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3413 | <tr> |
---|
3414 | <td> |
---|
3415 | |
---|
3416 | </td> |
---|
3417 | <td> |
---|
3418 | |
---|
3419 | <p> |
---|
3420 | Sets this texture layer to use a single texture, given the name of the texture to use on this layer. |
---|
3421 | <p> |
---|
3422 | <dl compact><dt><b>Note:</b></dt><dd>Applies to both fixed-function and programmable pipeline. </dd></dl> |
---|
3423 | </td> |
---|
3424 | </tr> |
---|
3425 | </table> |
---|
3426 | <a class="anchor" name="Ogre_1_1TextureUnitStatea78" doxytag="Ogre::TextureUnitState::setTextureNameAlias" ></a><p> |
---|
3427 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3428 | <tr> |
---|
3429 | <td class="mdRow"> |
---|
3430 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3431 | <tr> |
---|
3432 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureNameAlias </td> |
---|
3433 | <td class="md" valign="top">( </td> |
---|
3434 | <td class="md" nowrap valign="top">const <a class="el" href="namespaceOgre.html#a471">String</a> & </td> |
---|
3435 | <td class="mdname1" valign="top" nowrap> <em>name</em> </td> |
---|
3436 | <td class="md" valign="top"> ) </td> |
---|
3437 | <td class="md" nowrap></td> |
---|
3438 | </tr> |
---|
3439 | |
---|
3440 | </table> |
---|
3441 | </td> |
---|
3442 | </tr> |
---|
3443 | </table> |
---|
3444 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3445 | <tr> |
---|
3446 | <td> |
---|
3447 | |
---|
3448 | </td> |
---|
3449 | <td> |
---|
3450 | |
---|
3451 | <p> |
---|
3452 | Set the alias name used for texture frame names. |
---|
3453 | <p> |
---|
3454 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3455 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3456 | <tr><td valign=top><em>name</em> </td><td>can be any sequence of characters and does not have to be unique </td></tr> |
---|
3457 | </table> |
---|
3458 | </dl> |
---|
3459 | </td> |
---|
3460 | </tr> |
---|
3461 | </table> |
---|
3462 | <a class="anchor" name="Ogre_1_1TextureUnitStatea36" doxytag="Ogre::TextureUnitState::setTextureRotate" ></a><p> |
---|
3463 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3464 | <tr> |
---|
3465 | <td class="mdRow"> |
---|
3466 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3467 | <tr> |
---|
3468 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureRotate </td> |
---|
3469 | <td class="md" valign="top">( </td> |
---|
3470 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Radian.html">Radian</a> & </td> |
---|
3471 | <td class="mdname1" valign="top" nowrap> <em>angle</em> </td> |
---|
3472 | <td class="md" valign="top"> ) </td> |
---|
3473 | <td class="md" nowrap></td> |
---|
3474 | </tr> |
---|
3475 | |
---|
3476 | </table> |
---|
3477 | </td> |
---|
3478 | </tr> |
---|
3479 | </table> |
---|
3480 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3481 | <tr> |
---|
3482 | <td> |
---|
3483 | |
---|
3484 | </td> |
---|
3485 | <td> |
---|
3486 | |
---|
3487 | <p> |
---|
3488 | Sets the anticlockwise rotation factor applied to texture coordinates. |
---|
3489 | <p> |
---|
3490 | <dl compact><dt><b>Remarks:</b></dt><dd>This sets a fixed rotation angle - if you wish to animate this, see the <a class="el" href="classOgre_1_1ControllerManager.html#Ogre_1_1ControllerManagera12">ControllerManager::createTextureRotater</a> method. </dd></dl> |
---|
3491 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3492 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3493 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3494 | <tr><td valign=top><em>angle</em> </td><td>The angle of rotation (anticlockwise). </td></tr> |
---|
3495 | </table> |
---|
3496 | </dl> |
---|
3497 | </td> |
---|
3498 | </tr> |
---|
3499 | </table> |
---|
3500 | <a class="anchor" name="Ogre_1_1TextureUnitStatea35" doxytag="Ogre::TextureUnitState::setTextureScale" ></a><p> |
---|
3501 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3502 | <tr> |
---|
3503 | <td class="mdRow"> |
---|
3504 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3505 | <tr> |
---|
3506 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureScale </td> |
---|
3507 | <td class="md" valign="top">( </td> |
---|
3508 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3509 | <td class="mdname" nowrap> <em>uScale</em>, </td> |
---|
3510 | </tr> |
---|
3511 | <tr> |
---|
3512 | <td class="md" nowrap align="right"></td> |
---|
3513 | <td></td> |
---|
3514 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3515 | <td class="mdname" nowrap> <em>vScale</em></td> |
---|
3516 | </tr> |
---|
3517 | <tr> |
---|
3518 | <td></td> |
---|
3519 | <td class="md">) </td> |
---|
3520 | <td class="md" colspan="2"></td> |
---|
3521 | </tr> |
---|
3522 | |
---|
3523 | </table> |
---|
3524 | </td> |
---|
3525 | </tr> |
---|
3526 | </table> |
---|
3527 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3528 | <tr> |
---|
3529 | <td> |
---|
3530 | |
---|
3531 | </td> |
---|
3532 | <td> |
---|
3533 | |
---|
3534 | <p> |
---|
3535 | Sets the scaling factor applied to texture coordinates. |
---|
3536 | <p> |
---|
3537 | <dl compact><dt><b>Remarks:</b></dt><dd>This method sets the scale element of the texture transformation, and is easier to use than setTextureTransform if you are combining translation, scaling and rotation in your texture transformation. Again if you want to animate these values you need to use a <a class="el" href="classOgre_1_1Controller.html">Controller</a> (see <a class="el" href="classOgre_1_1ControllerManager.html">ControllerManager</a> and it's methods for more information). </dd></dl> |
---|
3538 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3539 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3540 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3541 | <tr><td valign=top><em>uScale</em> </td><td>The value by which the texture is to be scaled horizontally. </td></tr> |
---|
3542 | <tr><td valign=top><em>vScale</em> </td><td>The value by which the texture is to be scaled vertically. </td></tr> |
---|
3543 | </table> |
---|
3544 | </dl> |
---|
3545 | </td> |
---|
3546 | </tr> |
---|
3547 | </table> |
---|
3548 | <a class="anchor" name="Ogre_1_1TextureUnitStatea26" doxytag="Ogre::TextureUnitState::setTextureScroll" ></a><p> |
---|
3549 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3550 | <tr> |
---|
3551 | <td class="mdRow"> |
---|
3552 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3553 | <tr> |
---|
3554 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureScroll </td> |
---|
3555 | <td class="md" valign="top">( </td> |
---|
3556 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3557 | <td class="mdname" nowrap> <em>u</em>, </td> |
---|
3558 | </tr> |
---|
3559 | <tr> |
---|
3560 | <td class="md" nowrap align="right"></td> |
---|
3561 | <td></td> |
---|
3562 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3563 | <td class="mdname" nowrap> <em>v</em></td> |
---|
3564 | </tr> |
---|
3565 | <tr> |
---|
3566 | <td></td> |
---|
3567 | <td class="md">) </td> |
---|
3568 | <td class="md" colspan="2"></td> |
---|
3569 | </tr> |
---|
3570 | |
---|
3571 | </table> |
---|
3572 | </td> |
---|
3573 | </tr> |
---|
3574 | </table> |
---|
3575 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3576 | <tr> |
---|
3577 | <td> |
---|
3578 | |
---|
3579 | </td> |
---|
3580 | <td> |
---|
3581 | |
---|
3582 | <p> |
---|
3583 | Sets the translation offset of the texture, ie scrolls the texture. |
---|
3584 | <p> |
---|
3585 | <dl compact><dt><b>Remarks:</b></dt><dd>This method sets the translation element of the texture transformation, and is easier to use than setTextureTransform if you are combining translation, scaling and rotation in your texture transformation. Again if you want to animate these values you need to use a <a class="el" href="classOgre_1_1Controller.html">Controller</a> </dd></dl> |
---|
3586 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3587 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3588 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3589 | <tr><td valign=top><em>u</em> </td><td>The amount the texture should be moved horizontally (u direction). </td></tr> |
---|
3590 | <tr><td valign=top><em>v</em> </td><td>The amount the texture should be moved vertically (v direction). </td></tr> |
---|
3591 | </table> |
---|
3592 | </dl> |
---|
3593 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classOgre_1_1ControllerManager.html">ControllerManager</a>, <a class="el" href="classOgre_1_1Controller.html">Controller</a> </dd></dl> |
---|
3594 | </td> |
---|
3595 | </tr> |
---|
3596 | </table> |
---|
3597 | <a class="anchor" name="Ogre_1_1TextureUnitStatea24" doxytag="Ogre::TextureUnitState::setTextureTransform" ></a><p> |
---|
3598 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3599 | <tr> |
---|
3600 | <td class="mdRow"> |
---|
3601 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3602 | <tr> |
---|
3603 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureTransform </td> |
---|
3604 | <td class="md" valign="top">( </td> |
---|
3605 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> & </td> |
---|
3606 | <td class="mdname1" valign="top" nowrap> <em>xform</em> </td> |
---|
3607 | <td class="md" valign="top"> ) </td> |
---|
3608 | <td class="md" nowrap></td> |
---|
3609 | </tr> |
---|
3610 | |
---|
3611 | </table> |
---|
3612 | </td> |
---|
3613 | </tr> |
---|
3614 | </table> |
---|
3615 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3616 | <tr> |
---|
3617 | <td> |
---|
3618 | |
---|
3619 | </td> |
---|
3620 | <td> |
---|
3621 | |
---|
3622 | <p> |
---|
3623 | Sets a matrix used to transform any texture coordinates on this layer. |
---|
3624 | <p> |
---|
3625 | <dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Texture.html">Texture</a> coordinates can be modified on a texture layer to create effects like scrolling textures. A texture transform can either be applied to a layer which takes the source coordinates from a fixed set in the geometry, or to one which generates them dynamically (e.g. environment mapping). </dd></dl> |
---|
3626 | <dl compact><dt><b></b></dt><dd>It's obviously a bit impractical to create scrolling effects by calling this method manually since you would have to call it every framw with a slight alteration each time, which is tedious. Instead you can use the <a class="el" href="classOgre_1_1ControllerManager.html">ControllerManager</a> class to create a <a class="el" href="classOgre_1_1Controller.html">Controller</a> object which will manage the effect over time for you. See the ControllerManager::createTextureScroller and it's sibling methods for details.<br> |
---|
3627 | In addition, if you want to set the individual texture transformations rather than concatenating them yourself, use setTextureScroll, setTextureScale and setTextureRotate. </dd></dl> |
---|
3628 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3629 | </td> |
---|
3630 | </tr> |
---|
3631 | </table> |
---|
3632 | <a class="anchor" name="Ogre_1_1TextureUnitStatea31" doxytag="Ogre::TextureUnitState::setTextureUScale" ></a><p> |
---|
3633 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3634 | <tr> |
---|
3635 | <td class="mdRow"> |
---|
3636 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3637 | <tr> |
---|
3638 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureUScale </td> |
---|
3639 | <td class="md" valign="top">( </td> |
---|
3640 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3641 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
3642 | <td class="md" valign="top"> ) </td> |
---|
3643 | <td class="md" nowrap></td> |
---|
3644 | </tr> |
---|
3645 | |
---|
3646 | </table> |
---|
3647 | </td> |
---|
3648 | </tr> |
---|
3649 | </table> |
---|
3650 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3651 | <tr> |
---|
3652 | <td> |
---|
3653 | |
---|
3654 | </td> |
---|
3655 | <td> |
---|
3656 | |
---|
3657 | <p> |
---|
3658 | As setTextureScale, but sets only U value. |
---|
3659 | <p> |
---|
3660 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3661 | </td> |
---|
3662 | </tr> |
---|
3663 | </table> |
---|
3664 | <a class="anchor" name="Ogre_1_1TextureUnitStatea27" doxytag="Ogre::TextureUnitState::setTextureUScroll" ></a><p> |
---|
3665 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3666 | <tr> |
---|
3667 | <td class="mdRow"> |
---|
3668 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3669 | <tr> |
---|
3670 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureUScroll </td> |
---|
3671 | <td class="md" valign="top">( </td> |
---|
3672 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3673 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
3674 | <td class="md" valign="top"> ) </td> |
---|
3675 | <td class="md" nowrap></td> |
---|
3676 | </tr> |
---|
3677 | |
---|
3678 | </table> |
---|
3679 | </td> |
---|
3680 | </tr> |
---|
3681 | </table> |
---|
3682 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3683 | <tr> |
---|
3684 | <td> |
---|
3685 | |
---|
3686 | </td> |
---|
3687 | <td> |
---|
3688 | |
---|
3689 | <p> |
---|
3690 | As setTextureScroll, but sets only U value. |
---|
3691 | <p> |
---|
3692 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3693 | </td> |
---|
3694 | </tr> |
---|
3695 | </table> |
---|
3696 | <a class="anchor" name="Ogre_1_1TextureUnitStatea33" doxytag="Ogre::TextureUnitState::setTextureVScale" ></a><p> |
---|
3697 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3698 | <tr> |
---|
3699 | <td class="mdRow"> |
---|
3700 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3701 | <tr> |
---|
3702 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureVScale </td> |
---|
3703 | <td class="md" valign="top">( </td> |
---|
3704 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3705 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
3706 | <td class="md" valign="top"> ) </td> |
---|
3707 | <td class="md" nowrap></td> |
---|
3708 | </tr> |
---|
3709 | |
---|
3710 | </table> |
---|
3711 | </td> |
---|
3712 | </tr> |
---|
3713 | </table> |
---|
3714 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3715 | <tr> |
---|
3716 | <td> |
---|
3717 | |
---|
3718 | </td> |
---|
3719 | <td> |
---|
3720 | |
---|
3721 | <p> |
---|
3722 | As setTextureScale, but sets only V value. |
---|
3723 | <p> |
---|
3724 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3725 | </td> |
---|
3726 | </tr> |
---|
3727 | </table> |
---|
3728 | <a class="anchor" name="Ogre_1_1TextureUnitStatea29" doxytag="Ogre::TextureUnitState::setTextureVScroll" ></a><p> |
---|
3729 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3730 | <tr> |
---|
3731 | <td class="mdRow"> |
---|
3732 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3733 | <tr> |
---|
3734 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTextureVScroll </td> |
---|
3735 | <td class="md" valign="top">( </td> |
---|
3736 | <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3737 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
3738 | <td class="md" valign="top"> ) </td> |
---|
3739 | <td class="md" nowrap></td> |
---|
3740 | </tr> |
---|
3741 | |
---|
3742 | </table> |
---|
3743 | </td> |
---|
3744 | </tr> |
---|
3745 | </table> |
---|
3746 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3747 | <tr> |
---|
3748 | <td> |
---|
3749 | |
---|
3750 | </td> |
---|
3751 | <td> |
---|
3752 | |
---|
3753 | <p> |
---|
3754 | As setTextureScroll, but sets only V value. |
---|
3755 | <p> |
---|
3756 | <dl compact><dt><b>Note:</b></dt><dd>Has no effect in the programmable pipeline. </dd></dl> |
---|
3757 | </td> |
---|
3758 | </tr> |
---|
3759 | </table> |
---|
3760 | <a class="anchor" name="Ogre_1_1TextureUnitStatea56" doxytag="Ogre::TextureUnitState::setTransformAnimation" ></a><p> |
---|
3761 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3762 | <tr> |
---|
3763 | <td class="mdRow"> |
---|
3764 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3765 | <tr> |
---|
3766 | <td class="md" nowrap valign="top"> void Ogre::TextureUnitState::setTransformAnimation </td> |
---|
3767 | <td class="md" valign="top">( </td> |
---|
3768 | <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew29">TextureTransformType</a> </td> |
---|
3769 | <td class="mdname" nowrap> <em>ttype</em>, </td> |
---|
3770 | </tr> |
---|
3771 | <tr> |
---|
3772 | <td class="md" nowrap align="right"></td> |
---|
3773 | <td></td> |
---|
3774 | <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a648">WaveformType</a> </td> |
---|
3775 | <td class="mdname" nowrap> <em>waveType</em>, </td> |
---|
3776 | </tr> |
---|
3777 | <tr> |
---|
3778 | <td class="md" nowrap align="right"></td> |
---|
3779 | <td></td> |
---|
3780 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3781 | <td class="mdname" nowrap> <em>base</em> = 0, </td> |
---|
3782 | </tr> |
---|
3783 | <tr> |
---|
3784 | <td class="md" nowrap align="right"></td> |
---|
3785 | <td></td> |
---|
3786 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3787 | <td class="mdname" nowrap> <em>frequency</em> = 1, </td> |
---|
3788 | </tr> |
---|
3789 | <tr> |
---|
3790 | <td class="md" nowrap align="right"></td> |
---|
3791 | <td></td> |
---|
3792 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3793 | <td class="mdname" nowrap> <em>phase</em> = 0, </td> |
---|
3794 | </tr> |
---|
3795 | <tr> |
---|
3796 | <td class="md" nowrap align="right"></td> |
---|
3797 | <td></td> |
---|
3798 | <td class="md" nowrap><a class="el" href="namespaceOgre.html#a465">Real</a> </td> |
---|
3799 | <td class="mdname" nowrap> <em>amplitude</em> = 1</td> |
---|
3800 | </tr> |
---|
3801 | <tr> |
---|
3802 | <td></td> |
---|
3803 | <td class="md">) </td> |
---|
3804 | <td class="md" colspan="2"></td> |
---|
3805 | </tr> |
---|
3806 | |
---|
3807 | </table> |
---|
3808 | </td> |
---|
3809 | </tr> |
---|
3810 | </table> |
---|
3811 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3812 | <tr> |
---|
3813 | <td> |
---|
3814 | |
---|
3815 | </td> |
---|
3816 | <td> |
---|
3817 | |
---|
3818 | <p> |
---|
3819 | Sets up a general time-relative texture modification effect. |
---|
3820 | <p> |
---|
3821 | <dl compact><dt><b>Note:</b></dt><dd>This can be called multiple times for different values of ttype, but only the latest effect applies if called multiple time for the same ttype. </dd></dl> |
---|
3822 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
3823 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
3824 | <tr><td valign=top><em>ttype</em> </td><td>The type of transform, either translate (scroll), scale (stretch) or rotate (spin) </td></tr> |
---|
3825 | <tr><td valign=top><em>waveType</em> </td><td>The shape of the wave, see WaveformType enum for details </td></tr> |
---|
3826 | <tr><td valign=top><em>base</em> </td><td>The base value for the function (range of output = {base, base + amplitude}) </td></tr> |
---|
3827 | <tr><td valign=top><em>frequency</em> </td><td>The speed of the wave in cycles per second </td></tr> |
---|
3828 | <tr><td valign=top><em>phase</em> </td><td>The offset of the start of the wave, e.g. 0.5 to start half-way through the wave </td></tr> |
---|
3829 | <tr><td valign=top><em>amplitude</em> </td><td>Scales the output so that instead of lying within 0..1 it lies within 0..1*amplitude for exaggerated effects </td></tr> |
---|
3830 | </table> |
---|
3831 | </dl> |
---|
3832 | <dl compact><dt><b>Note:</b></dt><dd>This option has no effect in the programmable pipeline. </dd></dl> |
---|
3833 | </td> |
---|
3834 | </tr> |
---|
3835 | </table> |
---|
3836 | <hr><h2>Friends And Related Function Documentation</h2> |
---|
3837 | <a class="anchor" name="Ogre_1_1TextureUnitStaten0" doxytag="Ogre::TextureUnitState::RenderSystem" ></a><p> |
---|
3838 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3839 | <tr> |
---|
3840 | <td class="mdRow"> |
---|
3841 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3842 | <tr> |
---|
3843 | <td class="md" nowrap valign="top"> friend class <a class="el" href="classOgre_1_1RenderSystem.html">RenderSystem</a><code> [friend]</code> |
---|
3844 | </table> |
---|
3845 | </td> |
---|
3846 | </tr> |
---|
3847 | </table> |
---|
3848 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3849 | <tr> |
---|
3850 | <td> |
---|
3851 | |
---|
3852 | </td> |
---|
3853 | <td> |
---|
3854 | |
---|
3855 | <p> |
---|
3856 | |
---|
3857 | <p> |
---|
3858 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00054">54</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3859 | </tr> |
---|
3860 | </table> |
---|
3861 | <hr><h2>Member Data Documentation</h2> |
---|
3862 | <a class="anchor" name="Ogre_1_1TextureUnitStatep11" doxytag="Ogre::TextureUnitState::alphaBlendMode" ></a><p> |
---|
3863 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3864 | <tr> |
---|
3865 | <td class="mdRow"> |
---|
3866 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3867 | <tr> |
---|
3868 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep11">Ogre::TextureUnitState::alphaBlendMode</a><code> [protected]</code> |
---|
3869 | </table> |
---|
3870 | </td> |
---|
3871 | </tr> |
---|
3872 | </table> |
---|
3873 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3874 | <tr> |
---|
3875 | <td> |
---|
3876 | |
---|
3877 | </td> |
---|
3878 | <td> |
---|
3879 | |
---|
3880 | <p> |
---|
3881 | |
---|
3882 | <p> |
---|
3883 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00994">994</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3884 | </tr> |
---|
3885 | </table> |
---|
3886 | <a class="anchor" name="Ogre_1_1TextureUnitStatep10" doxytag="Ogre::TextureUnitState::colourBlendFallbackDest" ></a><p> |
---|
3887 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3888 | <tr> |
---|
3889 | <td class="mdRow"> |
---|
3890 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3891 | <tr> |
---|
3892 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep10">Ogre::TextureUnitState::colourBlendFallbackDest</a><code> [protected]</code> |
---|
3893 | </table> |
---|
3894 | </td> |
---|
3895 | </tr> |
---|
3896 | </table> |
---|
3897 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3898 | <tr> |
---|
3899 | <td> |
---|
3900 | |
---|
3901 | </td> |
---|
3902 | <td> |
---|
3903 | |
---|
3904 | <p> |
---|
3905 | |
---|
3906 | <p> |
---|
3907 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00992">992</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3908 | </tr> |
---|
3909 | </table> |
---|
3910 | <a class="anchor" name="Ogre_1_1TextureUnitStatep9" doxytag="Ogre::TextureUnitState::colourBlendFallbackSrc" ></a><p> |
---|
3911 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3912 | <tr> |
---|
3913 | <td class="mdRow"> |
---|
3914 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3915 | <tr> |
---|
3916 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a639">SceneBlendFactor</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep9">Ogre::TextureUnitState::colourBlendFallbackSrc</a><code> [protected]</code> |
---|
3917 | </table> |
---|
3918 | </td> |
---|
3919 | </tr> |
---|
3920 | </table> |
---|
3921 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3922 | <tr> |
---|
3923 | <td> |
---|
3924 | |
---|
3925 | </td> |
---|
3926 | <td> |
---|
3927 | |
---|
3928 | <p> |
---|
3929 | |
---|
3930 | <p> |
---|
3931 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00991">991</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3932 | </tr> |
---|
3933 | </table> |
---|
3934 | <a class="anchor" name="Ogre_1_1TextureUnitStatep8" doxytag="Ogre::TextureUnitState::colourBlendMode" ></a><p> |
---|
3935 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3936 | <tr> |
---|
3937 | <td class="mdRow"> |
---|
3938 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3939 | <tr> |
---|
3940 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1LayerBlendModeEx.html">LayerBlendModeEx</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep8">Ogre::TextureUnitState::colourBlendMode</a><code> [protected]</code> |
---|
3941 | </table> |
---|
3942 | </td> |
---|
3943 | </tr> |
---|
3944 | </table> |
---|
3945 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3946 | <tr> |
---|
3947 | <td> |
---|
3948 | |
---|
3949 | </td> |
---|
3950 | <td> |
---|
3951 | |
---|
3952 | <p> |
---|
3953 | |
---|
3954 | <p> |
---|
3955 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00990">990</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3956 | </tr> |
---|
3957 | </table> |
---|
3958 | <a class="anchor" name="Ogre_1_1TextureUnitStatep6" doxytag="Ogre::TextureUnitState::mAddressMode" ></a><p> |
---|
3959 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3960 | <tr> |
---|
3961 | <td class="mdRow"> |
---|
3962 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3963 | <tr> |
---|
3964 | <td class="md" nowrap valign="top"> <a class="el" href="structOgre_1_1TextureUnitState_1_1UVWAddressingMode.html">UVWAddressingMode</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep6">Ogre::TextureUnitState::mAddressMode</a><code> [protected]</code> |
---|
3965 | </table> |
---|
3966 | </td> |
---|
3967 | </tr> |
---|
3968 | </table> |
---|
3969 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3970 | <tr> |
---|
3971 | <td> |
---|
3972 | |
---|
3973 | </td> |
---|
3974 | <td> |
---|
3975 | |
---|
3976 | <p> |
---|
3977 | |
---|
3978 | <p> |
---|
3979 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00987">987</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
3980 | </tr> |
---|
3981 | </table> |
---|
3982 | <a class="anchor" name="Ogre_1_1TextureUnitStatep35" doxytag="Ogre::TextureUnitState::mAnimController" ></a><p> |
---|
3983 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
3984 | <tr> |
---|
3985 | <td class="mdRow"> |
---|
3986 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
3987 | <tr> |
---|
3988 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Controller.html">Controller</a><<a class="el" href="namespaceOgre.html#a465">Real</a>>* <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep35">Ogre::TextureUnitState::mAnimController</a><code> [protected]</code> |
---|
3989 | </table> |
---|
3990 | </td> |
---|
3991 | </tr> |
---|
3992 | </table> |
---|
3993 | <table cellspacing=5 cellpadding=0 border=0> |
---|
3994 | <tr> |
---|
3995 | <td> |
---|
3996 | |
---|
3997 | </td> |
---|
3998 | <td> |
---|
3999 | |
---|
4000 | <p> |
---|
4001 | |
---|
4002 | <p> |
---|
4003 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01036">1036</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4004 | </tr> |
---|
4005 | </table> |
---|
4006 | <a class="anchor" name="Ogre_1_1TextureUnitStatep1" doxytag="Ogre::TextureUnitState::mAnimDuration" ></a><p> |
---|
4007 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4008 | <tr> |
---|
4009 | <td class="mdRow"> |
---|
4010 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4011 | <tr> |
---|
4012 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep1">Ogre::TextureUnitState::mAnimDuration</a><code> [protected]</code> |
---|
4013 | </table> |
---|
4014 | </td> |
---|
4015 | </tr> |
---|
4016 | </table> |
---|
4017 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4018 | <tr> |
---|
4019 | <td> |
---|
4020 | |
---|
4021 | </td> |
---|
4022 | <td> |
---|
4023 | |
---|
4024 | <p> |
---|
4025 | Duration of animation in seconds. |
---|
4026 | <p> |
---|
4027 | |
---|
4028 | <p> |
---|
4029 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00980">980</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4030 | </tr> |
---|
4031 | </table> |
---|
4032 | <a class="anchor" name="Ogre_1_1TextureUnitStatep7" doxytag="Ogre::TextureUnitState::mBorderColour" ></a><p> |
---|
4033 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4034 | <tr> |
---|
4035 | <td class="mdRow"> |
---|
4036 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4037 | <tr> |
---|
4038 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep7">Ogre::TextureUnitState::mBorderColour</a><code> [protected]</code> |
---|
4039 | </table> |
---|
4040 | </td> |
---|
4041 | </tr> |
---|
4042 | </table> |
---|
4043 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4044 | <tr> |
---|
4045 | <td> |
---|
4046 | |
---|
4047 | </td> |
---|
4048 | <td> |
---|
4049 | |
---|
4050 | <p> |
---|
4051 | |
---|
4052 | <p> |
---|
4053 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00988">988</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4054 | </tr> |
---|
4055 | </table> |
---|
4056 | <a class="anchor" name="Ogre_1_1TextureUnitStatep2" doxytag="Ogre::TextureUnitState::mCubic" ></a><p> |
---|
4057 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4058 | <tr> |
---|
4059 | <td class="mdRow"> |
---|
4060 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4061 | <tr> |
---|
4062 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep2">Ogre::TextureUnitState::mCubic</a><code> [protected]</code> |
---|
4063 | </table> |
---|
4064 | </td> |
---|
4065 | </tr> |
---|
4066 | </table> |
---|
4067 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4068 | <tr> |
---|
4069 | <td> |
---|
4070 | |
---|
4071 | </td> |
---|
4072 | <td> |
---|
4073 | |
---|
4074 | <p> |
---|
4075 | |
---|
4076 | <p> |
---|
4077 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00981">981</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4078 | </tr> |
---|
4079 | </table> |
---|
4080 | <a class="anchor" name="Ogre_1_1TextureUnitStatep0" doxytag="Ogre::TextureUnitState::mCurrentFrame" ></a><p> |
---|
4081 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4082 | <tr> |
---|
4083 | <td class="mdRow"> |
---|
4084 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4085 | <tr> |
---|
4086 | <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep0">Ogre::TextureUnitState::mCurrentFrame</a><code> [protected]</code> |
---|
4087 | </table> |
---|
4088 | </td> |
---|
4089 | </tr> |
---|
4090 | </table> |
---|
4091 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4092 | <tr> |
---|
4093 | <td> |
---|
4094 | |
---|
4095 | </td> |
---|
4096 | <td> |
---|
4097 | |
---|
4098 | <p> |
---|
4099 | The current animation frame. |
---|
4100 | <p> |
---|
4101 | |
---|
4102 | <p> |
---|
4103 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00977">977</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4104 | </tr> |
---|
4105 | </table> |
---|
4106 | <a class="anchor" name="Ogre_1_1TextureUnitStatep33" doxytag="Ogre::TextureUnitState::mEffects" ></a><p> |
---|
4107 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4108 | <tr> |
---|
4109 | <td class="mdRow"> |
---|
4110 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4111 | <tr> |
---|
4112 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatew0">EffectMap</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep33">Ogre::TextureUnitState::mEffects</a><code> [protected]</code> |
---|
4113 | </table> |
---|
4114 | </td> |
---|
4115 | </tr> |
---|
4116 | </table> |
---|
4117 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4118 | <tr> |
---|
4119 | <td> |
---|
4120 | |
---|
4121 | </td> |
---|
4122 | <td> |
---|
4123 | |
---|
4124 | <p> |
---|
4125 | |
---|
4126 | <p> |
---|
4127 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01028">1028</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4128 | </tr> |
---|
4129 | </table> |
---|
4130 | <a class="anchor" name="Ogre_1_1TextureUnitStatep30" doxytag="Ogre::TextureUnitState::mFrames" ></a><p> |
---|
4131 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4132 | <tr> |
---|
4133 | <td class="mdRow"> |
---|
4134 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4135 | <tr> |
---|
4136 | <td class="md" nowrap valign="top"> std::vector<<a class="el" href="namespaceOgre.html#a471">String</a>> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep30">Ogre::TextureUnitState::mFrames</a><code> [protected]</code> |
---|
4137 | </table> |
---|
4138 | </td> |
---|
4139 | </tr> |
---|
4140 | </table> |
---|
4141 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4142 | <tr> |
---|
4143 | <td> |
---|
4144 | |
---|
4145 | </td> |
---|
4146 | <td> |
---|
4147 | |
---|
4148 | <p> |
---|
4149 | |
---|
4150 | <p> |
---|
4151 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01025">1025</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4152 | </tr> |
---|
4153 | </table> |
---|
4154 | <a class="anchor" name="Ogre_1_1TextureUnitStatep13" doxytag="Ogre::TextureUnitState::mIsAlpha" ></a><p> |
---|
4155 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4156 | <tr> |
---|
4157 | <td class="mdRow"> |
---|
4158 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4159 | <tr> |
---|
4160 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep13">Ogre::TextureUnitState::mIsAlpha</a><code> [protected]</code> |
---|
4161 | </table> |
---|
4162 | </td> |
---|
4163 | </tr> |
---|
4164 | </table> |
---|
4165 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4166 | <tr> |
---|
4167 | <td> |
---|
4168 | |
---|
4169 | </td> |
---|
4170 | <td> |
---|
4171 | |
---|
4172 | <p> |
---|
4173 | |
---|
4174 | <p> |
---|
4175 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00996">996</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4176 | </tr> |
---|
4177 | </table> |
---|
4178 | <a class="anchor" name="Ogre_1_1TextureUnitStatep12" doxytag="Ogre::TextureUnitState::mIsBlank" ></a><p> |
---|
4179 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4180 | <tr> |
---|
4181 | <td class="mdRow"> |
---|
4182 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4183 | <tr> |
---|
4184 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep12">Ogre::TextureUnitState::mIsBlank</a><code> [protected]</code> |
---|
4185 | </table> |
---|
4186 | </td> |
---|
4187 | </tr> |
---|
4188 | </table> |
---|
4189 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4190 | <tr> |
---|
4191 | <td> |
---|
4192 | |
---|
4193 | </td> |
---|
4194 | <td> |
---|
4195 | |
---|
4196 | <p> |
---|
4197 | |
---|
4198 | <p> |
---|
4199 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00995">995</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4200 | </tr> |
---|
4201 | </table> |
---|
4202 | <a class="anchor" name="Ogre_1_1TextureUnitStatep28" doxytag="Ogre::TextureUnitState::mIsDefaultAniso" ></a><p> |
---|
4203 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4204 | <tr> |
---|
4205 | <td class="mdRow"> |
---|
4206 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4207 | <tr> |
---|
4208 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep28">Ogre::TextureUnitState::mIsDefaultAniso</a><code> [protected]</code> |
---|
4209 | </table> |
---|
4210 | </td> |
---|
4211 | </tr> |
---|
4212 | </table> |
---|
4213 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4214 | <tr> |
---|
4215 | <td> |
---|
4216 | |
---|
4217 | </td> |
---|
4218 | <td> |
---|
4219 | |
---|
4220 | <p> |
---|
4221 | |
---|
4222 | <p> |
---|
4223 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01017">1017</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4224 | </tr> |
---|
4225 | </table> |
---|
4226 | <a class="anchor" name="Ogre_1_1TextureUnitStatep29" doxytag="Ogre::TextureUnitState::mIsDefaultFiltering" ></a><p> |
---|
4227 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4228 | <tr> |
---|
4229 | <td class="mdRow"> |
---|
4230 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4231 | <tr> |
---|
4232 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep29">Ogre::TextureUnitState::mIsDefaultFiltering</a><code> [protected]</code> |
---|
4233 | </table> |
---|
4234 | </td> |
---|
4235 | </tr> |
---|
4236 | </table> |
---|
4237 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4238 | <tr> |
---|
4239 | <td> |
---|
4240 | |
---|
4241 | </td> |
---|
4242 | <td> |
---|
4243 | |
---|
4244 | <p> |
---|
4245 | |
---|
4246 | <p> |
---|
4247 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01018">1018</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4248 | </tr> |
---|
4249 | </table> |
---|
4250 | <a class="anchor" name="Ogre_1_1TextureUnitStatep25" doxytag="Ogre::TextureUnitState::mMagFilter" ></a><p> |
---|
4251 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4252 | <tr> |
---|
4253 | <td class="mdRow"> |
---|
4254 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4255 | <tr> |
---|
4256 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep25">Ogre::TextureUnitState::mMagFilter</a><code> [protected]</code> |
---|
4257 | </table> |
---|
4258 | </td> |
---|
4259 | </tr> |
---|
4260 | </table> |
---|
4261 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4262 | <tr> |
---|
4263 | <td> |
---|
4264 | |
---|
4265 | </td> |
---|
4266 | <td> |
---|
4267 | |
---|
4268 | <p> |
---|
4269 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - magnification. |
---|
4270 | <p> |
---|
4271 | |
---|
4272 | <p> |
---|
4273 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01011">1011</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4274 | </tr> |
---|
4275 | </table> |
---|
4276 | <a class="anchor" name="Ogre_1_1TextureUnitStatep27" doxytag="Ogre::TextureUnitState::mMaxAniso" ></a><p> |
---|
4277 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4278 | <tr> |
---|
4279 | <td class="mdRow"> |
---|
4280 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4281 | <tr> |
---|
4282 | <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep27">Ogre::TextureUnitState::mMaxAniso</a><code> [protected]</code> |
---|
4283 | </table> |
---|
4284 | </td> |
---|
4285 | </tr> |
---|
4286 | </table> |
---|
4287 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4288 | <tr> |
---|
4289 | <td> |
---|
4290 | |
---|
4291 | </td> |
---|
4292 | <td> |
---|
4293 | |
---|
4294 | <p> |
---|
4295 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> anisotropy. |
---|
4296 | <p> |
---|
4297 | |
---|
4298 | <p> |
---|
4299 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01015">1015</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4300 | </tr> |
---|
4301 | </table> |
---|
4302 | <a class="anchor" name="Ogre_1_1TextureUnitStatep24" doxytag="Ogre::TextureUnitState::mMinFilter" ></a><p> |
---|
4303 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4304 | <tr> |
---|
4305 | <td class="mdRow"> |
---|
4306 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4307 | <tr> |
---|
4308 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep24">Ogre::TextureUnitState::mMinFilter</a><code> [protected]</code> |
---|
4309 | </table> |
---|
4310 | </td> |
---|
4311 | </tr> |
---|
4312 | </table> |
---|
4313 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4314 | <tr> |
---|
4315 | <td> |
---|
4316 | |
---|
4317 | </td> |
---|
4318 | <td> |
---|
4319 | |
---|
4320 | <p> |
---|
4321 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - minification. |
---|
4322 | <p> |
---|
4323 | |
---|
4324 | <p> |
---|
4325 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01009">1009</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4326 | </tr> |
---|
4327 | </table> |
---|
4328 | <a class="anchor" name="Ogre_1_1TextureUnitStatep26" doxytag="Ogre::TextureUnitState::mMipFilter" ></a><p> |
---|
4329 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4330 | <tr> |
---|
4331 | <td class="mdRow"> |
---|
4332 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4333 | <tr> |
---|
4334 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a643">FilterOptions</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep26">Ogre::TextureUnitState::mMipFilter</a><code> [protected]</code> |
---|
4335 | </table> |
---|
4336 | </td> |
---|
4337 | </tr> |
---|
4338 | </table> |
---|
4339 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4340 | <tr> |
---|
4341 | <td> |
---|
4342 | |
---|
4343 | </td> |
---|
4344 | <td> |
---|
4345 | |
---|
4346 | <p> |
---|
4347 | <a class="el" href="classOgre_1_1Texture.html">Texture</a> filtering - mipmapping. |
---|
4348 | <p> |
---|
4349 | |
---|
4350 | <p> |
---|
4351 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01013">1013</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4352 | </tr> |
---|
4353 | </table> |
---|
4354 | <a class="anchor" name="Ogre_1_1TextureUnitStatep31" doxytag="Ogre::TextureUnitState::mName" ></a><p> |
---|
4355 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4356 | <tr> |
---|
4357 | <td class="mdRow"> |
---|
4358 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4359 | <tr> |
---|
4360 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep31">Ogre::TextureUnitState::mName</a><code> [protected]</code> |
---|
4361 | </table> |
---|
4362 | </td> |
---|
4363 | </tr> |
---|
4364 | </table> |
---|
4365 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4366 | <tr> |
---|
4367 | <td> |
---|
4368 | |
---|
4369 | </td> |
---|
4370 | <td> |
---|
4371 | |
---|
4372 | <p> |
---|
4373 | |
---|
4374 | <p> |
---|
4375 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01026">1026</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4376 | </tr> |
---|
4377 | </table> |
---|
4378 | <a class="anchor" name="Ogre_1_1TextureUnitStatep34" doxytag="Ogre::TextureUnitState::mParent" ></a><p> |
---|
4379 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4380 | <tr> |
---|
4381 | <td class="mdRow"> |
---|
4382 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4383 | <tr> |
---|
4384 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Pass.html">Pass</a>* <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep34">Ogre::TextureUnitState::mParent</a><code> [protected]</code> |
---|
4385 | </table> |
---|
4386 | </td> |
---|
4387 | </tr> |
---|
4388 | </table> |
---|
4389 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4390 | <tr> |
---|
4391 | <td> |
---|
4392 | |
---|
4393 | </td> |
---|
4394 | <td> |
---|
4395 | |
---|
4396 | <p> |
---|
4397 | |
---|
4398 | <p> |
---|
4399 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01035">1035</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4400 | </tr> |
---|
4401 | </table> |
---|
4402 | <a class="anchor" name="Ogre_1_1TextureUnitStatep14" doxytag="Ogre::TextureUnitState::mRecalcTexMatrix" ></a><p> |
---|
4403 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4404 | <tr> |
---|
4405 | <td class="mdRow"> |
---|
4406 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4407 | <tr> |
---|
4408 | <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep14">Ogre::TextureUnitState::mRecalcTexMatrix</a><code> [mutable, protected]</code> |
---|
4409 | </table> |
---|
4410 | </td> |
---|
4411 | </tr> |
---|
4412 | </table> |
---|
4413 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4414 | <tr> |
---|
4415 | <td> |
---|
4416 | |
---|
4417 | </td> |
---|
4418 | <td> |
---|
4419 | |
---|
4420 | <p> |
---|
4421 | |
---|
4422 | <p> |
---|
4423 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00998">998</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4424 | </tr> |
---|
4425 | </table> |
---|
4426 | <a class="anchor" name="Ogre_1_1TextureUnitStatep19" doxytag="Ogre::TextureUnitState::mRotate" ></a><p> |
---|
4427 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4428 | <tr> |
---|
4429 | <td class="mdRow"> |
---|
4430 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4431 | <tr> |
---|
4432 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Radian.html">Radian</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep19">Ogre::TextureUnitState::mRotate</a><code> [protected]</code> |
---|
4433 | </table> |
---|
4434 | </td> |
---|
4435 | </tr> |
---|
4436 | </table> |
---|
4437 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4438 | <tr> |
---|
4439 | <td> |
---|
4440 | |
---|
4441 | </td> |
---|
4442 | <td> |
---|
4443 | |
---|
4444 | <p> |
---|
4445 | |
---|
4446 | <p> |
---|
4447 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01001">1001</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4448 | </tr> |
---|
4449 | </table> |
---|
4450 | <a class="anchor" name="Ogre_1_1TextureUnitStatep23" doxytag="Ogre::TextureUnitState::mRotateAnim" ></a><p> |
---|
4451 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4452 | <tr> |
---|
4453 | <td class="mdRow"> |
---|
4454 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4455 | <tr> |
---|
4456 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep23">Ogre::TextureUnitState::mRotateAnim</a><code> [protected]</code> |
---|
4457 | </table> |
---|
4458 | </td> |
---|
4459 | </tr> |
---|
4460 | </table> |
---|
4461 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4462 | <tr> |
---|
4463 | <td> |
---|
4464 | |
---|
4465 | </td> |
---|
4466 | <td> |
---|
4467 | |
---|
4468 | <p> |
---|
4469 | |
---|
4470 | <p> |
---|
4471 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01006">1006</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4472 | </tr> |
---|
4473 | </table> |
---|
4474 | <a class="anchor" name="Ogre_1_1TextureUnitStatep20" doxytag="Ogre::TextureUnitState::mTexModMatrix" ></a><p> |
---|
4475 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4476 | <tr> |
---|
4477 | <td class="mdRow"> |
---|
4478 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4479 | <tr> |
---|
4480 | <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Matrix4.html">Matrix4</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep20">Ogre::TextureUnitState::mTexModMatrix</a><code> [mutable, protected]</code> |
---|
4481 | </table> |
---|
4482 | </td> |
---|
4483 | </tr> |
---|
4484 | </table> |
---|
4485 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4486 | <tr> |
---|
4487 | <td> |
---|
4488 | |
---|
4489 | </td> |
---|
4490 | <td> |
---|
4491 | |
---|
4492 | <p> |
---|
4493 | |
---|
4494 | <p> |
---|
4495 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01002">1002</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4496 | </tr> |
---|
4497 | </table> |
---|
4498 | <a class="anchor" name="Ogre_1_1TextureUnitStatep5" doxytag="Ogre::TextureUnitState::mTextureCoordSetIndex" ></a><p> |
---|
4499 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4500 | <tr> |
---|
4501 | <td class="mdRow"> |
---|
4502 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4503 | <tr> |
---|
4504 | <td class="md" nowrap valign="top"> unsigned int <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep5">Ogre::TextureUnitState::mTextureCoordSetIndex</a><code> [protected]</code> |
---|
4505 | </table> |
---|
4506 | </td> |
---|
4507 | </tr> |
---|
4508 | </table> |
---|
4509 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4510 | <tr> |
---|
4511 | <td> |
---|
4512 | |
---|
4513 | </td> |
---|
4514 | <td> |
---|
4515 | |
---|
4516 | <p> |
---|
4517 | |
---|
4518 | <p> |
---|
4519 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00986">986</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4520 | </tr> |
---|
4521 | </table> |
---|
4522 | <a class="anchor" name="Ogre_1_1TextureUnitStatep32" doxytag="Ogre::TextureUnitState::mTextureNameAlias" ></a><p> |
---|
4523 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4524 | <tr> |
---|
4525 | <td class="mdRow"> |
---|
4526 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4527 | <tr> |
---|
4528 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a471">String</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep32">Ogre::TextureUnitState::mTextureNameAlias</a><code> [protected]</code> |
---|
4529 | </table> |
---|
4530 | </td> |
---|
4531 | </tr> |
---|
4532 | </table> |
---|
4533 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4534 | <tr> |
---|
4535 | <td> |
---|
4536 | |
---|
4537 | </td> |
---|
4538 | <td> |
---|
4539 | |
---|
4540 | <p> |
---|
4541 | |
---|
4542 | <p> |
---|
4543 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01027">1027</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4544 | </tr> |
---|
4545 | </table> |
---|
4546 | <a class="anchor" name="Ogre_1_1TextureUnitStatep4" doxytag="Ogre::TextureUnitState::mTextureSrcMipmaps" ></a><p> |
---|
4547 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4548 | <tr> |
---|
4549 | <td class="mdRow"> |
---|
4550 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4551 | <tr> |
---|
4552 | <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep4">Ogre::TextureUnitState::mTextureSrcMipmaps</a><code> [protected]</code> |
---|
4553 | </table> |
---|
4554 | </td> |
---|
4555 | </tr> |
---|
4556 | </table> |
---|
4557 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4558 | <tr> |
---|
4559 | <td> |
---|
4560 | |
---|
4561 | </td> |
---|
4562 | <td> |
---|
4563 | |
---|
4564 | <p> |
---|
4565 | |
---|
4566 | <p> |
---|
4567 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00984">984</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4568 | </tr> |
---|
4569 | </table> |
---|
4570 | <a class="anchor" name="Ogre_1_1TextureUnitStatep3" doxytag="Ogre::TextureUnitState::mTextureType" ></a><p> |
---|
4571 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4572 | <tr> |
---|
4573 | <td class="mdRow"> |
---|
4574 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4575 | <tr> |
---|
4576 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a685">TextureType</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep3">Ogre::TextureUnitState::mTextureType</a><code> [protected]</code> |
---|
4577 | </table> |
---|
4578 | </td> |
---|
4579 | </tr> |
---|
4580 | </table> |
---|
4581 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4582 | <tr> |
---|
4583 | <td> |
---|
4584 | |
---|
4585 | </td> |
---|
4586 | <td> |
---|
4587 | |
---|
4588 | <p> |
---|
4589 | |
---|
4590 | <p> |
---|
4591 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00983">983</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4592 | </tr> |
---|
4593 | </table> |
---|
4594 | <a class="anchor" name="Ogre_1_1TextureUnitStatep15" doxytag="Ogre::TextureUnitState::mUMod" ></a><p> |
---|
4595 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4596 | <tr> |
---|
4597 | <td class="mdRow"> |
---|
4598 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4599 | <tr> |
---|
4600 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep15">Ogre::TextureUnitState::mUMod</a><code> [protected]</code> |
---|
4601 | </table> |
---|
4602 | </td> |
---|
4603 | </tr> |
---|
4604 | </table> |
---|
4605 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4606 | <tr> |
---|
4607 | <td> |
---|
4608 | |
---|
4609 | </td> |
---|
4610 | <td> |
---|
4611 | |
---|
4612 | <p> |
---|
4613 | |
---|
4614 | <p> |
---|
4615 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00999">999</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4616 | </tr> |
---|
4617 | </table> |
---|
4618 | <a class="anchor" name="Ogre_1_1TextureUnitStatep17" doxytag="Ogre::TextureUnitState::mUScale" ></a><p> |
---|
4619 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4620 | <tr> |
---|
4621 | <td class="mdRow"> |
---|
4622 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4623 | <tr> |
---|
4624 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep17">Ogre::TextureUnitState::mUScale</a><code> [protected]</code> |
---|
4625 | </table> |
---|
4626 | </td> |
---|
4627 | </tr> |
---|
4628 | </table> |
---|
4629 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4630 | <tr> |
---|
4631 | <td> |
---|
4632 | |
---|
4633 | </td> |
---|
4634 | <td> |
---|
4635 | |
---|
4636 | <p> |
---|
4637 | |
---|
4638 | <p> |
---|
4639 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01000">1000</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4640 | </tr> |
---|
4641 | </table> |
---|
4642 | <a class="anchor" name="Ogre_1_1TextureUnitStatep21" doxytag="Ogre::TextureUnitState::mUScrollAnim" ></a><p> |
---|
4643 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4644 | <tr> |
---|
4645 | <td class="mdRow"> |
---|
4646 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4647 | <tr> |
---|
4648 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep21">Ogre::TextureUnitState::mUScrollAnim</a><code> [protected]</code> |
---|
4649 | </table> |
---|
4650 | </td> |
---|
4651 | </tr> |
---|
4652 | </table> |
---|
4653 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4654 | <tr> |
---|
4655 | <td> |
---|
4656 | |
---|
4657 | </td> |
---|
4658 | <td> |
---|
4659 | |
---|
4660 | <p> |
---|
4661 | |
---|
4662 | <p> |
---|
4663 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01005">1005</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4664 | </tr> |
---|
4665 | </table> |
---|
4666 | <a class="anchor" name="Ogre_1_1TextureUnitStatep16" doxytag="Ogre::TextureUnitState::mVMod" ></a><p> |
---|
4667 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4668 | <tr> |
---|
4669 | <td class="mdRow"> |
---|
4670 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4671 | <tr> |
---|
4672 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep16">Ogre::TextureUnitState::mVMod</a><code> [protected]</code> |
---|
4673 | </table> |
---|
4674 | </td> |
---|
4675 | </tr> |
---|
4676 | </table> |
---|
4677 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4678 | <tr> |
---|
4679 | <td> |
---|
4680 | |
---|
4681 | </td> |
---|
4682 | <td> |
---|
4683 | |
---|
4684 | <p> |
---|
4685 | |
---|
4686 | <p> |
---|
4687 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l00999">999</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4688 | </tr> |
---|
4689 | </table> |
---|
4690 | <a class="anchor" name="Ogre_1_1TextureUnitStatep18" doxytag="Ogre::TextureUnitState::mVScale" ></a><p> |
---|
4691 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4692 | <tr> |
---|
4693 | <td class="mdRow"> |
---|
4694 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4695 | <tr> |
---|
4696 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep18">Ogre::TextureUnitState::mVScale</a><code> [protected]</code> |
---|
4697 | </table> |
---|
4698 | </td> |
---|
4699 | </tr> |
---|
4700 | </table> |
---|
4701 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4702 | <tr> |
---|
4703 | <td> |
---|
4704 | |
---|
4705 | </td> |
---|
4706 | <td> |
---|
4707 | |
---|
4708 | <p> |
---|
4709 | |
---|
4710 | <p> |
---|
4711 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01000">1000</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4712 | </tr> |
---|
4713 | </table> |
---|
4714 | <a class="anchor" name="Ogre_1_1TextureUnitStatep22" doxytag="Ogre::TextureUnitState::mVScrollAnim" ></a><p> |
---|
4715 | <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
---|
4716 | <tr> |
---|
4717 | <td class="mdRow"> |
---|
4718 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
4719 | <tr> |
---|
4720 | <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a465">Real</a> <a class="el" href="classOgre_1_1TextureUnitState.html#Ogre_1_1TextureUnitStatep22">Ogre::TextureUnitState::mVScrollAnim</a><code> [protected]</code> |
---|
4721 | </table> |
---|
4722 | </td> |
---|
4723 | </tr> |
---|
4724 | </table> |
---|
4725 | <table cellspacing=5 cellpadding=0 border=0> |
---|
4726 | <tr> |
---|
4727 | <td> |
---|
4728 | |
---|
4729 | </td> |
---|
4730 | <td> |
---|
4731 | |
---|
4732 | <p> |
---|
4733 | |
---|
4734 | <p> |
---|
4735 | Definition at line <a class="el" href="OgreTextureUnitState_8h-source.html#l01005">1005</a> of file <a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a>. </td> |
---|
4736 | </tr> |
---|
4737 | </table> |
---|
4738 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
4739 | <li><a class="el" href="OgreTextureUnitState_8h-source.html">OgreTextureUnitState.h</a></ul> |
---|
4740 | <hr> |
---|
4741 | <p> |
---|
4742 | Copyright © 2000-2005 by The OGRE Team<br /> |
---|
4743 | <!--Creative Commons License--><a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/"><img alt="Creative Commons License" border="0" src="http://creativecommons.org/images/public/somerights20.png"/></a><br/> |
---|
4744 | This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License</a>.<br/> |
---|
4745 | <!--/Creative Commons License--><!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
---|
4746 | <Work rdf:about=""> |
---|
4747 | <license rdf:resource="http://creativecommons.org/licenses/by-sa/2.5/" /> |
---|
4748 | <dc:type rdf:resource="http://purl.org/dc/dcmitype/Text" /> |
---|
4749 | </Work> |
---|
4750 | <License rdf:about="http://creativecommons.org/licenses/by-sa/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><permits rdf:resource="http://web.resource.org/cc/DerivativeWorks"/><requires rdf:resource="http://web.resource.org/cc/ShareAlike"/></License></rdf:RDF> --> |
---|
4751 | |
---|
4752 | Last modified Sun Mar 12 14:45:49 2006 |
---|
4753 | </p> |
---|
4754 | </body> |
---|
4755 | </html> |
---|