1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Crazy Eddies GUI System: CEGUI::Direct3D11TextureTarget Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Crazy Eddies GUI System <span id="projectnumber">0.7.6</span></div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespaceCEGUI.html">CEGUI</a> </li>
<li class="navelem"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html">Direct3D11TextureTarget</a> </li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="#pro-static-attribs">Static Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">CEGUI::Direct3D11TextureTarget Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="CEGUI::Direct3D11TextureTarget" --><!-- doxytag: inherits="CEGUI::Direct3D11RenderTarget,CEGUI::TextureTarget" -->
<p><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html" title="Direct3D11TextureTarget - allows rendering to Direct3D 10 textures.">Direct3D11TextureTarget</a> - allows rendering to Direct3D 10 textures.
<a href="classCEGUI_1_1Direct3D11TextureTarget.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for CEGUI::Direct3D11TextureTarget:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1Direct3D11TextureTarget__inherit__graph.gif" border="0" usemap="#CEGUI_1_1Direct3D11TextureTarget_inherit__map" alt="Inheritance graph"/></div>
<map name="CEGUI_1_1Direct3D11TextureTarget_inherit__map" id="CEGUI_1_1Direct3D11TextureTarget_inherit__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Direct3D11RenderTarget.html" title="Implementation of an ntermediate RenderTarget for the Direct3D 10 API." alt="" coords="5,5,224,35"/><area shape="rect" id="node4" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that..." alt="" coords="248,5,403,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for CEGUI::Direct3D11TextureTarget:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classCEGUI_1_1Direct3D11TextureTarget__coll__graph.gif" border="0" usemap="#CEGUI_1_1Direct3D11TextureTarget_coll__map" alt="Collaboration graph"/></div>
<map name="CEGUI_1_1Direct3D11TextureTarget_coll__map" id="CEGUI_1_1Direct3D11TextureTarget_coll__map">
<area shape="rect" id="node2" href="classCEGUI_1_1Direct3D11RenderTarget.html" title="Implementation of an ntermediate RenderTarget for the Direct3D 10 API." alt="" coords="5,5,224,35"/><area shape="rect" id="node4" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that..." alt="" coords="248,5,403,35"/><area shape="rect" id="node6" href="classCEGUI_1_1Direct3D11Texture.html" title="Texture implementation for the Direct3D11Renderer." alt="" coords="427,5,608,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classCEGUI_1_1Direct3D11TextureTarget-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6e037fb03ae1a86acae141ef89be6bb7"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::Direct3D11TextureTarget" ref="a6e037fb03ae1a86acae141ef89be6bb7" args="(Direct3D11Renderer &owner)" -->
 </td><td class="memItemRight" valign="bottom"><b>Direct3D11TextureTarget</b> (<a class="el" href="classCEGUI_1_1Direct3D11Renderer.html">Direct3D11Renderer</a> &owner)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#af6f087045866facecc1dad9a92749653">activate</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Activate the render target and put it in a state ready to be drawn to. <a href="#af6f087045866facecc1dad9a92749653"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a002ee1374124017384a9910a64caf0bd">deactivate</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Deactivate the render target after having completed rendering. <a href="#a002ee1374124017384a9910a64caf0bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a635957a11b6b5d04c844618c49e38276">isImageryCache</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether the <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> is an implementation that caches actual rendered imagery. <a href="#a635957a11b6b5d04c844618c49e38276"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a698fc7125e431ba8ae4402aafa93c076"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::clear" ref="a698fc7125e431ba8ae4402aafa93c076" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a698fc7125e431ba8ae4402aafa93c076">clear</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear the surface of the underlying texture. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a8baaf9d370ac3b328c8d0d0b437857fe">getTexture</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return a pointer to the <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">CEGUI::Texture</a> that the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> is using. <a href="#a8baaf9d370ac3b328c8d0d0b437857fe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#abb43e0781b35c6f253600368c5791ff0">declareRenderSize</a> (const <a class="el" href="classCEGUI_1_1Size.html">Size</a> &sz)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Used to declare to the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> the largest size, in pixels, of the next set of incoming rendering operations. <a href="#abb43e0781b35c6f253600368c5791ff0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a89b9fc43ed32fe06503fc4229f7ea75b">isRenderingInverted</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return whether rendering done on the target texture is inverted in relation to regular textures. <a href="#a89b9fc43ed32fe06503fc4229f7ea75b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa98ccfef8cdfdbb3f6bb715eaca6d2fe"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::initialiseRenderTexture" ref="aa98ccfef8cdfdbb3f6bb715eaca6d2fe" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#aa98ccfef8cdfdbb3f6bb715eaca6d2fe">initialiseRenderTexture</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">allocate and set up the texture used for rendering. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9ef61a78a0196d4de00144f544509820"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::cleanupRenderTexture" ref="a9ef61a78a0196d4de00144f544509820" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a9ef61a78a0196d4de00144f544509820">cleanupRenderTexture</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">clean up the texture used for rendering. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a288e6d03a64d6c494aa561514ec3ebb0"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::resizeRenderTexture" ref="a288e6d03a64d6c494aa561514ec3ebb0" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a288e6d03a64d6c494aa561514ec3ebb0">resizeRenderTexture</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">resize the texture <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8a48cd61e9d4b6a6481ba5b0ebcc8fc1"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::enableRenderTexture" ref="a8a48cd61e9d4b6a6481ba5b0ebcc8fc1" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a8a48cd61e9d4b6a6481ba5b0ebcc8fc1">enableRenderTexture</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">switch to the texture surface & depth buffer <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad9d51c2f2a1645ed210177d04c25128a"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::disableRenderTexture" ref="ad9d51c2f2a1645ed210177d04c25128a" args="()" -->
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#ad9d51c2f2a1645ed210177d04c25128a">disableRenderTexture</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">switch back to previous surface <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b2117950875bb75d11ff86a548b69ea"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::d_texture" ref="a0b2117950875bb75d11ff86a548b69ea" args="" -->
ID3D11Texture2D * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a0b2117950875bb75d11ff86a548b69ea">d_texture</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Direct3D10 texture that's rendered to. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a024788f61ef8f15fca7dc2aa27bc47d9"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::d_renderTargetView" ref="a024788f61ef8f15fca7dc2aa27bc47d9" args="" -->
ID3D11RenderTargetView * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a024788f61ef8f15fca7dc2aa27bc47d9">d_renderTargetView</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">render target view for d_texture <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a728f5418420b9d9e86f69b10f660c568"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::d_CEGUITexture" ref="a728f5418420b9d9e86f69b10f660c568" args="" -->
<a class="el" href="classCEGUI_1_1Direct3D11Texture.html">Direct3D11Texture</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a728f5418420b9d9e86f69b10f660c568">d_CEGUITexture</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">we use this to wrap d_texture so it can be used by the core <a class="el" href="namespaceCEGUI.html" title="Main namespace for Crazy Eddie's GUI Library.">CEGUI</a> lib. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76c824e2426ad318fbb91ac634bb8921"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::d_previousRenderTargetView" ref="a76c824e2426ad318fbb91ac634bb8921" args="" -->
ID3D11RenderTargetView * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a76c824e2426ad318fbb91ac634bb8921">d_previousRenderTargetView</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">render target view that was bound before this target was activated <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1cde8d2a4a8a1061af007dc78e2a7f5d"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::d_previousDepthStencilView" ref="a1cde8d2a4a8a1061af007dc78e2a7f5d" args="" -->
ID3D11DepthStencilView * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#a1cde8d2a4a8a1061af007dc78e2a7f5d">d_previousDepthStencilView</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">depth stencil view that was bound before this target was activated <br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af11f1306f4253b8b47b7d86fd5423ab6"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::DEFAULT_SIZE" ref="af11f1306f4253b8b47b7d86fd5423ab6" args="" -->
static const float </td><td class="memItemRight" valign="bottom"><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html#af11f1306f4253b8b47b7d86fd5423ab6">DEFAULT_SIZE</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">default size of created texture objects <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classCEGUI_1_1Direct3D11TextureTarget.html" title="Direct3D11TextureTarget - allows rendering to Direct3D 10 textures.">Direct3D11TextureTarget</a> - allows rendering to Direct3D 10 textures. </p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af6f087045866facecc1dad9a92749653"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::activate" ref="af6f087045866facecc1dad9a92749653" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::Direct3D11TextureTarget::activate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Activate the render target and put it in a state ready to be drawn to. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>You MUST call this before doing any rendering - if you do not call this, in the unlikely event that your application actually works, it will likely stop working in some future version. </dd></dl>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Direct3D11RenderTarget.html#a8748544aebb66d50f2a9f9fb47b828d1">CEGUI::Direct3D11RenderTarget</a>.</p>
</div>
</div>
<a class="anchor" id="a002ee1374124017384a9910a64caf0bd"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::deactivate" ref="a002ee1374124017384a9910a64caf0bd" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::Direct3D11TextureTarget::deactivate </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Deactivate the render target after having completed rendering. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>You MUST call this after you finish rendering to the target - if you do not call this, in the unlikely event that your application actually works, it will likely stop working in some future version. </dd></dl>
<p>Reimplemented from <a class="el" href="classCEGUI_1_1Direct3D11RenderTarget.html#afbc4b7eb42c0d6efe605725fa5cfcfa8">CEGUI::Direct3D11RenderTarget</a>.</p>
</div>
</div>
<a class="anchor" id="abb43e0781b35c6f253600368c5791ff0"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::declareRenderSize" ref="abb43e0781b35c6f253600368c5791ff0" args="(const Size &sz)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void CEGUI::Direct3D11TextureTarget::declareRenderSize </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classCEGUI_1_1Size.html">Size</a> & </td>
<td class="paramname"><em>sz</em></td><td>)</td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Used to declare to the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> the largest size, in pixels, of the next set of incoming rendering operations. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>The main purpose of this is to allow for the implemenatation to resize the underlying texture so that it can hold the imagery that will be drawn.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">sz</td><td><a class="el" href="classCEGUI_1_1Size.html" title="Class that holds the size (width & height) of something.">Size</a> object describing the largest area that will be rendererd in the next batch of rendering operations.</td></tr>
</table>
</dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classCEGUI_1_1InvalidRequestException.html" title="Exception class used when some impossible request was made of the system.">InvalidRequestException</a></td><td>May be thrown if the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> would not be able to handle the operations rendering content of the given size. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classCEGUI_1_1TextureTarget.html#ab9cdb8912667867c5c3443475838583c">CEGUI::TextureTarget</a>.</p>
</div>
</div>
<a class="anchor" id="a8baaf9d370ac3b328c8d0d0b437857fe"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::getTexture" ref="a8baaf9d370ac3b328c8d0d0b437857fe" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classCEGUI_1_1Texture.html">Texture</a>& CEGUI::Direct3D11TextureTarget::getTexture </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return a pointer to the <a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">CEGUI::Texture</a> that the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> is using. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classCEGUI_1_1Texture.html" title="Abstract base class specifying the required interface for Texture objects.">Texture</a> object that the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> uses when rendering imagery. </dd></dl>
<p>Implements <a class="el" href="classCEGUI_1_1TextureTarget.html#a6e28889f1666e3ce23e067cb3d1fb7c0">CEGUI::TextureTarget</a>.</p>
</div>
</div>
<a class="anchor" id="a635957a11b6b5d04c844618c49e38276"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::isImageryCache" ref="a635957a11b6b5d04c844618c49e38276" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::Direct3D11TextureTarget::isImageryCache </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return whether the <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> is an implementation that caches actual rendered imagery. </p>
<p>Typically it is expected that texture based RenderTargets would return true in response to this call. Other types of <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a>, like view port based targets, will more likely return false.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
<li>true if the <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> does cache rendered imagery.</li>
<li>false if the <a class="el" href="classCEGUI_1_1RenderTarget.html" title="Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...">RenderTarget</a> does not cache rendered imagery. </li>
</ul>
</dd></dl>
<p>Implements <a class="el" href="classCEGUI_1_1RenderTarget.html#a69b2354445177e907b94e68a479e8996">CEGUI::RenderTarget</a>.</p>
</div>
</div>
<a class="anchor" id="a89b9fc43ed32fe06503fc4229f7ea75b"></a><!-- doxytag: member="CEGUI::Direct3D11TextureTarget::isRenderingInverted" ref="a89b9fc43ed32fe06503fc4229f7ea75b" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool CEGUI::Direct3D11TextureTarget::isRenderingInverted </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const<code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return whether rendering done on the target texture is inverted in relation to regular textures. </p>
<p>This is intended to be used when generating geometry for rendering the <a class="el" href="classCEGUI_1_1TextureTarget.html" title="Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...">TextureTarget</a> onto another surface.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><ul>
<li>true if the texture content should be considered as inverted vertically in comparison with other regular textures.</li>
<li>false if the texture content has the same orientation as regular textures. </li>
</ul>
</dd></dl>
<p>Implements <a class="el" href="classCEGUI_1_1TextureTarget.html#ac9d13a4969f9feae25d90b083cf921ca">CEGUI::TextureTarget</a>.</p>
</div>
</div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Sun Jan 22 2012 16:07:42 for Crazy Eddies GUI System by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|