diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_image.html | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_image.html | 776 |
1 files changed, 776 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_image.html b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_image.html new file mode 100644 index 0000000..9d032a3 --- /dev/null +++ b/libraries/irrlicht-1.8.1/doc/html/classirr_1_1video_1_1_i_image.html | |||
@@ -0,0 +1,776 @@ | |||
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
2 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
3 | <head> | ||
4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
5 | <title>Irrlicht 3D Engine: irr::video::IImage Class Reference</title> | ||
6 | |||
7 | <link href="tabs.css" rel="stylesheet" type="text/css"/> | ||
8 | <link href="doxygen.css" rel="stylesheet" type="text/css" /> | ||
9 | <link href="navtree.css" rel="stylesheet" type="text/css"/> | ||
10 | <script type="text/javascript" src="jquery.js"></script> | ||
11 | <script type="text/javascript" src="resize.js"></script> | ||
12 | <script type="text/javascript" src="navtree.js"></script> | ||
13 | <script type="text/javascript"> | ||
14 | $(document).ready(initResizable); | ||
15 | </script> | ||
16 | <link href="search/search.css" rel="stylesheet" type="text/css"/> | ||
17 | <script type="text/javascript" src="search/search.js"></script> | ||
18 | <script type="text/javascript"> | ||
19 | $(document).ready(function() { searchBox.OnSelectItem(0); }); | ||
20 | </script> | ||
21 | |||
22 | </head> | ||
23 | <body> | ||
24 | <div id="top"><!-- do not remove this div! --> | ||
25 | |||
26 | |||
27 | <div id="titlearea"> | ||
28 | <table cellspacing="0" cellpadding="0"> | ||
29 | <tbody> | ||
30 | <tr style="height: 56px;"> | ||
31 | |||
32 | <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td> | ||
33 | |||
34 | |||
35 | <td style="padding-left: 0.5em;"> | ||
36 | <div id="projectname">Irrlicht 3D Engine | ||
37 | |||
38 | </div> | ||
39 | |||
40 | </td> | ||
41 | |||
42 | |||
43 | |||
44 | |||
45 | <td> <div id="MSearchBox" class="MSearchBoxInactive"> | ||
46 | <span class="left"> | ||
47 | <img id="MSearchSelect" src="search/mag_sel.png" | ||
48 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
49 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
50 | alt=""/> | ||
51 | <input type="text" id="MSearchField" value="Search" accesskey="S" | ||
52 | onfocus="searchBox.OnSearchFieldFocus(true)" | ||
53 | onblur="searchBox.OnSearchFieldFocus(false)" | ||
54 | onkeyup="searchBox.OnSearchFieldChange(event)"/> | ||
55 | </span><span class="right"> | ||
56 | <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> | ||
57 | </span> | ||
58 | </div> | ||
59 | </td> | ||
60 | |||
61 | |||
62 | </tr> | ||
63 | </tbody> | ||
64 | </table> | ||
65 | </div> | ||
66 | |||
67 | <!-- Generated by Doxygen 1.7.5.1 --> | ||
68 | <script type="text/javascript"> | ||
69 | var searchBox = new SearchBox("searchBox", "search",false,'Search'); | ||
70 | </script> | ||
71 | <script type="text/javascript" src="dynsections.js"></script> | ||
72 | </div> | ||
73 | <div id="side-nav" class="ui-resizable side-nav-resizable"> | ||
74 | <div id="nav-tree"> | ||
75 | <div id="nav-tree-contents"> | ||
76 | </div> | ||
77 | </div> | ||
78 | <div id="splitbar" style="-moz-user-select:none;" | ||
79 | class="ui-resizable-handle"> | ||
80 | </div> | ||
81 | </div> | ||
82 | <script type="text/javascript"> | ||
83 | initNavTree('classirr_1_1video_1_1_i_image.html',''); | ||
84 | </script> | ||
85 | <div id="doc-content"> | ||
86 | <div class="header"> | ||
87 | <div class="summary"> | ||
88 | <a href="#pub-methods">Public Member Functions</a> | | ||
89 | <a href="#pub-static-methods">Static Public Member Functions</a> </div> | ||
90 | <div class="headertitle"> | ||
91 | <div class="title">irr::video::IImage Class Reference</div> </div> | ||
92 | </div> | ||
93 | <div class="contents"> | ||
94 | <!-- doxytag: class="irr::video::IImage" --><!-- doxytag: inherits="irr::IReferenceCounted" --> | ||
95 | <p>Interface for software image data. | ||
96 | <a href="classirr_1_1video_1_1_i_image.html#details">More...</a></p> | ||
97 | |||
98 | <p><code>#include <<a class="el" href="_i_image_8h_source.html">IImage.h</a>></code></p> | ||
99 | <div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;"> | ||
100 | <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::video::IImage:</div> | ||
101 | <div id="dynsection-0-summary" class="dynsummary" style="display:block;"> | ||
102 | </div> | ||
103 | <div id="dynsection-0-content" class="dyncontent" style="display:none;"> | ||
104 | <div class="center"> | ||
105 | <img src="classirr_1_1video_1_1_i_image.png" usemap="#irr::video::IImage_map" alt=""/> | ||
106 | <map id="irr::video::IImage_map" name="irr::video::IImage_map"> | ||
107 | <area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24"/> | ||
108 | </map> | ||
109 | </div></div> | ||
110 | |||
111 | <p><a href="classirr_1_1video_1_1_i_image-members.html">List of all members.</a></p> | ||
112 | <h2><a name="pub-methods"></a> | ||
113 | Public Member Functions</h2> | ||
114 | <ul> | ||
115 | <li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#ae4a8a2fc245f691224825aceffd53b8a">copyTo</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *target, const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &pos=core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> >(0, 0))=0 | ||
116 | <dl class="el"><dd class="mdescRight">copies this surface into another <a href="#ae4a8a2fc245f691224825aceffd53b8a"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#ac43f477f9da28077fc3573a628b33bcb">copyTo</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *target, const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &pos, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &sourceRect, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > *clipRect=0)=0 | ||
117 | <dl class="el"><dd class="mdescRight">copies this surface into another <a href="#ac43f477f9da28077fc3573a628b33bcb"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#a6f57153218f5ecd4da9aeb5a37f92f59">copyToScaling</a> (void *target, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> width, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> height, <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format=ECF_A8R8G8B8, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> pitch=0)=0 | ||
118 | <dl class="el"><dd class="mdescRight">Copies the image into the target, scaling the image to fit. <a href="#a6f57153218f5ecd4da9aeb5a37f92f59"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#aa969bf7167171a18003e26ff7876febd">copyToScaling</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *target)=0 | ||
119 | <dl class="el"><dd class="mdescRight">Copies the image into the target, scaling the image to fit. <a href="#aa969bf7167171a18003e26ff7876febd"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#a651c196f681a105fabfb5ff4f6b28682">copyToScalingBoxFilter</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *target, <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> bias=0, bool blend=false)=0 | ||
120 | <dl class="el"><dd class="mdescRight">copies this surface into another, scaling it to fit, appyling a box filter <a href="#a651c196f681a105fabfb5ff4f6b28682"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#a7dd1e5dd19cb35be17c2fa00e38a193d">copyToWithAlpha</a> (<a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> *target, const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &pos, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > &sourceRect, const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &color, const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > *clipRect=0)=0 | ||
121 | <dl class="el"><dd class="mdescRight">copies this surface into another, using the alpha mask and cliprect and a color to add with <a href="#a7dd1e5dd19cb35be17c2fa00e38a193d"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#a04973e101790130f611c4c6790e5b352">fill</a> (const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &color)=0 | ||
122 | <dl class="el"><dd class="mdescRight">fills the surface with given color <a href="#a04973e101790130f611c4c6790e5b352"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a36d4f895245543080f24f99dd89930fb">getAlphaMask</a> () const =0 | ||
123 | <dl class="el"><dd class="mdescRight">Returns mask for alpha value of a pixel. <a href="#a36d4f895245543080f24f99dd89930fb"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#adf842a506b2984f3f13d64b4967146e9">getBitsPerPixel</a> () const =0 | ||
124 | <dl class="el"><dd class="mdescRight">Returns bits per pixel. <a href="#adf842a506b2984f3f13d64b4967146e9"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a3554ed18eb6e79213f6330d19006e9e8">getBlueMask</a> () const =0 | ||
125 | <dl class="el"><dd class="mdescRight">Returns mask for blue value of a pixel. <a href="#a3554ed18eb6e79213f6330d19006e9e8"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a14509044ca5215b9714ab1091b0e86d0">getBytesPerPixel</a> () const =0 | ||
126 | <dl class="el"><dd class="mdescRight">Returns bytes per pixel. <a href="#a14509044ca5215b9714ab1091b0e86d0"></a><br/></dl><li>virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#ad045a8d172047411d03e167b201ae8a6">getColorFormat</a> () const =0 | ||
127 | <dl class="el"><dd class="mdescRight">Returns the color format. <a href="#ad045a8d172047411d03e167b201ae8a6"></a><br/></dl><li>virtual const <br class="typebreak"/> | ||
128 | <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a>< <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> > & <a class="el" href="classirr_1_1video_1_1_i_image.html#a3618c9793b7a1f3383a5c3944436a2be">getDimension</a> () const =0 | ||
129 | <dl class="el"><dd class="mdescRight">Returns width and height of image data. <a href="#a3618c9793b7a1f3383a5c3944436a2be"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a1a12d75385fa9e0a063141c9ae0e4289">getGreenMask</a> () const =0 | ||
130 | <dl class="el"><dd class="mdescRight">Returns mask for green value of a pixel. <a href="#a1a12d75385fa9e0a063141c9ae0e4289"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#aaec5039f63d29633a07f0717baeb409b">getImageDataSizeInBytes</a> () const =0 | ||
131 | <dl class="el"><dd class="mdescRight">Returns image data size in bytes. <a href="#aaec5039f63d29633a07f0717baeb409b"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a9134a214b0919ba875a130e43dbc92f1">getImageDataSizeInPixels</a> () const =0 | ||
132 | <dl class="el"><dd class="mdescRight">Returns image data size in pixels. <a href="#a9134a214b0919ba875a130e43dbc92f1"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#aace497c2d12f217a795a546a735e2675">getPitch</a> () const =0 | ||
133 | <dl class="el"><dd class="mdescRight">Returns pitch of image. <a href="#aace497c2d12f217a795a546a735e2675"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a0645adce59442e67261eca084565a9df">getPixel</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> x, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> y) const =0 | ||
134 | <dl class="el"><dd class="mdescRight">Returns a pixel. <a href="#a0645adce59442e67261eca084565a9df"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#aaf3a93ad19466928da82f54d8f286990">getRedMask</a> () const =0 | ||
135 | <dl class="el"><dd class="mdescRight">Returns mask for red value of a pixel. <a href="#aaf3a93ad19466928da82f54d8f286990"></a><br/></dl><li>virtual void * <a class="el" href="classirr_1_1video_1_1_i_image.html#a5c4b0b5fa2a5f253f93c1b038e20d204">lock</a> ()=0 | ||
136 | <dl class="el"><dd class="mdescRight">Lock function. Use this to get a pointer to the image data. <a href="#a5c4b0b5fa2a5f253f93c1b038e20d204"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#a89bf6020ce6ac1066e4d585ce46f79bd">setPixel</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> x, <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> y, const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> &color, bool blend=false)=0 | ||
137 | <dl class="el"><dd class="mdescRight">Sets a pixel. <a href="#a89bf6020ce6ac1066e4d585ce46f79bd"></a><br/></dl><li>virtual void <a class="el" href="classirr_1_1video_1_1_i_image.html#ad0f902d74a948ee66be2d70dc90ed38d">unlock</a> ()=0 | ||
138 | <dl class="el"><dd class="mdescRight">Unlock function. <a href="#ad0f902d74a948ee66be2d70dc90ed38d"></a><br/></dl></ul> | ||
139 | <h2><a name="pub-static-methods"></a> | ||
140 | Static Public Member Functions</h2> | ||
141 | <ul> | ||
142 | <li>static <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="classirr_1_1video_1_1_i_image.html#a70b50ef1bbb6f90ec4c43a91f521c2b6">getBitsPerPixelFromFormat</a> (const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format) | ||
143 | <dl class="el"><dd class="mdescRight">get the amount of Bits per Pixel of the given color format <a href="#a70b50ef1bbb6f90ec4c43a91f521c2b6"></a><br/></dl><li>static bool <a class="el" href="classirr_1_1video_1_1_i_image.html#aafbd373ef15670708010e0064ae3b946">isRenderTargetOnlyFormat</a> (const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> format) | ||
144 | <dl class="el"><dd class="mdescRight">test if the color format is only viable for RenderTarget textures <a href="#aafbd373ef15670708010e0064ae3b946"></a><br/></dl></ul> | ||
145 | <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> | ||
146 | <div class="textblock"><p>Interface for software image data. </p> | ||
147 | <p>Image loaders create these images from files. IVideoDrivers convert these images into their (hardware) textures. </p> | ||
148 | |||
149 | <p>Definition at line <a class="el" href="_i_image_8h_source.html#l00022">22</a> of file <a class="el" href="_i_image_8h_source.html">IImage.h</a>.</p> | ||
150 | </div><hr/><h2>Member Function Documentation</h2> | ||
151 | <a class="anchor" id="ae4a8a2fc245f691224825aceffd53b8a"></a><!-- doxytag: member="irr::video::IImage::copyTo" ref="ae4a8a2fc245f691224825aceffd53b8a" args="(IImage *target, const core::position2d< s32 > &pos=core::position2d< s32 >(0, 0))=0" --> | ||
152 | <div class="memitem"> | ||
153 | <div class="memproto"> | ||
154 | <table class="memname"> | ||
155 | <tr> | ||
156 | <td class="memname">virtual void irr::video::IImage::copyTo </td> | ||
157 | <td>(</td> | ||
158 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * </td> | ||
159 | <td class="paramname"><em>target</em>, </td> | ||
160 | </tr> | ||
161 | <tr> | ||
162 | <td class="paramkey"></td> | ||
163 | <td></td> | ||
164 | <td class="paramtype">const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
165 | <td class="paramname"><em>pos</em> = <code>core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> >(0, 0)</code> </td> | ||
166 | </tr> | ||
167 | <tr> | ||
168 | <td></td> | ||
169 | <td>)</td> | ||
170 | <td></td><td><code> [pure virtual]</code></td> | ||
171 | </tr> | ||
172 | </table> | ||
173 | </div> | ||
174 | <div class="memdoc"> | ||
175 | |||
176 | <p>copies this surface into another </p> | ||
177 | |||
178 | </div> | ||
179 | </div> | ||
180 | <a class="anchor" id="ac43f477f9da28077fc3573a628b33bcb"></a><!-- doxytag: member="irr::video::IImage::copyTo" ref="ac43f477f9da28077fc3573a628b33bcb" args="(IImage *target, const core::position2d< s32 > &pos, const core::rect< s32 > &sourceRect, const core::rect< s32 > *clipRect=0)=0" --> | ||
181 | <div class="memitem"> | ||
182 | <div class="memproto"> | ||
183 | <table class="memname"> | ||
184 | <tr> | ||
185 | <td class="memname">virtual void irr::video::IImage::copyTo </td> | ||
186 | <td>(</td> | ||
187 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * </td> | ||
188 | <td class="paramname"><em>target</em>, </td> | ||
189 | </tr> | ||
190 | <tr> | ||
191 | <td class="paramkey"></td> | ||
192 | <td></td> | ||
193 | <td class="paramtype">const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
194 | <td class="paramname"><em>pos</em>, </td> | ||
195 | </tr> | ||
196 | <tr> | ||
197 | <td class="paramkey"></td> | ||
198 | <td></td> | ||
199 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
200 | <td class="paramname"><em>sourceRect</em>, </td> | ||
201 | </tr> | ||
202 | <tr> | ||
203 | <td class="paramkey"></td> | ||
204 | <td></td> | ||
205 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > * </td> | ||
206 | <td class="paramname"><em>clipRect</em> = <code>0</code> </td> | ||
207 | </tr> | ||
208 | <tr> | ||
209 | <td></td> | ||
210 | <td>)</td> | ||
211 | <td></td><td><code> [pure virtual]</code></td> | ||
212 | </tr> | ||
213 | </table> | ||
214 | </div> | ||
215 | <div class="memdoc"> | ||
216 | |||
217 | <p>copies this surface into another </p> | ||
218 | |||
219 | </div> | ||
220 | </div> | ||
221 | <a class="anchor" id="a6f57153218f5ecd4da9aeb5a37f92f59"></a><!-- doxytag: member="irr::video::IImage::copyToScaling" ref="a6f57153218f5ecd4da9aeb5a37f92f59" args="(void *target, u32 width, u32 height, ECOLOR_FORMAT format=ECF_A8R8G8B8, u32 pitch=0)=0" --> | ||
222 | <div class="memitem"> | ||
223 | <div class="memproto"> | ||
224 | <table class="memname"> | ||
225 | <tr> | ||
226 | <td class="memname">virtual void irr::video::IImage::copyToScaling </td> | ||
227 | <td>(</td> | ||
228 | <td class="paramtype">void * </td> | ||
229 | <td class="paramname"><em>target</em>, </td> | ||
230 | </tr> | ||
231 | <tr> | ||
232 | <td class="paramkey"></td> | ||
233 | <td></td> | ||
234 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
235 | <td class="paramname"><em>width</em>, </td> | ||
236 | </tr> | ||
237 | <tr> | ||
238 | <td class="paramkey"></td> | ||
239 | <td></td> | ||
240 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
241 | <td class="paramname"><em>height</em>, </td> | ||
242 | </tr> | ||
243 | <tr> | ||
244 | <td class="paramkey"></td> | ||
245 | <td></td> | ||
246 | <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> </td> | ||
247 | <td class="paramname"><em>format</em> = <code>ECF_A8R8G8B8</code>, </td> | ||
248 | </tr> | ||
249 | <tr> | ||
250 | <td class="paramkey"></td> | ||
251 | <td></td> | ||
252 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
253 | <td class="paramname"><em>pitch</em> = <code>0</code> </td> | ||
254 | </tr> | ||
255 | <tr> | ||
256 | <td></td> | ||
257 | <td>)</td> | ||
258 | <td></td><td><code> [pure virtual]</code></td> | ||
259 | </tr> | ||
260 | </table> | ||
261 | </div> | ||
262 | <div class="memdoc"> | ||
263 | |||
264 | <p>Copies the image into the target, scaling the image to fit. </p> | ||
265 | |||
266 | </div> | ||
267 | </div> | ||
268 | <a class="anchor" id="aa969bf7167171a18003e26ff7876febd"></a><!-- doxytag: member="irr::video::IImage::copyToScaling" ref="aa969bf7167171a18003e26ff7876febd" args="(IImage *target)=0" --> | ||
269 | <div class="memitem"> | ||
270 | <div class="memproto"> | ||
271 | <table class="memname"> | ||
272 | <tr> | ||
273 | <td class="memname">virtual void irr::video::IImage::copyToScaling </td> | ||
274 | <td>(</td> | ||
275 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * </td> | ||
276 | <td class="paramname"><em>target</em></td><td>)</td> | ||
277 | <td><code> [pure virtual]</code></td> | ||
278 | </tr> | ||
279 | </table> | ||
280 | </div> | ||
281 | <div class="memdoc"> | ||
282 | |||
283 | <p>Copies the image into the target, scaling the image to fit. </p> | ||
284 | |||
285 | </div> | ||
286 | </div> | ||
287 | <a class="anchor" id="a651c196f681a105fabfb5ff4f6b28682"></a><!-- doxytag: member="irr::video::IImage::copyToScalingBoxFilter" ref="a651c196f681a105fabfb5ff4f6b28682" args="(IImage *target, s32 bias=0, bool blend=false)=0" --> | ||
288 | <div class="memitem"> | ||
289 | <div class="memproto"> | ||
290 | <table class="memname"> | ||
291 | <tr> | ||
292 | <td class="memname">virtual void irr::video::IImage::copyToScalingBoxFilter </td> | ||
293 | <td>(</td> | ||
294 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * </td> | ||
295 | <td class="paramname"><em>target</em>, </td> | ||
296 | </tr> | ||
297 | <tr> | ||
298 | <td class="paramkey"></td> | ||
299 | <td></td> | ||
300 | <td class="paramtype"><a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> </td> | ||
301 | <td class="paramname"><em>bias</em> = <code>0</code>, </td> | ||
302 | </tr> | ||
303 | <tr> | ||
304 | <td class="paramkey"></td> | ||
305 | <td></td> | ||
306 | <td class="paramtype">bool </td> | ||
307 | <td class="paramname"><em>blend</em> = <code>false</code> </td> | ||
308 | </tr> | ||
309 | <tr> | ||
310 | <td></td> | ||
311 | <td>)</td> | ||
312 | <td></td><td><code> [pure virtual]</code></td> | ||
313 | </tr> | ||
314 | </table> | ||
315 | </div> | ||
316 | <div class="memdoc"> | ||
317 | |||
318 | <p>copies this surface into another, scaling it to fit, appyling a box filter </p> | ||
319 | |||
320 | </div> | ||
321 | </div> | ||
322 | <a class="anchor" id="a7dd1e5dd19cb35be17c2fa00e38a193d"></a><!-- doxytag: member="irr::video::IImage::copyToWithAlpha" ref="a7dd1e5dd19cb35be17c2fa00e38a193d" args="(IImage *target, const core::position2d< s32 > &pos, const core::rect< s32 > &sourceRect, const SColor &color, const core::rect< s32 > *clipRect=0)=0" --> | ||
323 | <div class="memitem"> | ||
324 | <div class="memproto"> | ||
325 | <table class="memname"> | ||
326 | <tr> | ||
327 | <td class="memname">virtual void irr::video::IImage::copyToWithAlpha </td> | ||
328 | <td>(</td> | ||
329 | <td class="paramtype"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> * </td> | ||
330 | <td class="paramname"><em>target</em>, </td> | ||
331 | </tr> | ||
332 | <tr> | ||
333 | <td class="paramkey"></td> | ||
334 | <td></td> | ||
335 | <td class="paramtype">const core::position2d< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
336 | <td class="paramname"><em>pos</em>, </td> | ||
337 | </tr> | ||
338 | <tr> | ||
339 | <td class="paramkey"></td> | ||
340 | <td></td> | ||
341 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > & </td> | ||
342 | <td class="paramname"><em>sourceRect</em>, </td> | ||
343 | </tr> | ||
344 | <tr> | ||
345 | <td class="paramkey"></td> | ||
346 | <td></td> | ||
347 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> & </td> | ||
348 | <td class="paramname"><em>color</em>, </td> | ||
349 | </tr> | ||
350 | <tr> | ||
351 | <td class="paramkey"></td> | ||
352 | <td></td> | ||
353 | <td class="paramtype">const <a class="el" href="classirr_1_1core_1_1rect.html">core::rect</a>< <a class="el" href="namespaceirr.html#ac66849b7a6ed16e30ebede579f9b47c6">s32</a> > * </td> | ||
354 | <td class="paramname"><em>clipRect</em> = <code>0</code> </td> | ||
355 | </tr> | ||
356 | <tr> | ||
357 | <td></td> | ||
358 | <td>)</td> | ||
359 | <td></td><td><code> [pure virtual]</code></td> | ||
360 | </tr> | ||
361 | </table> | ||
362 | </div> | ||
363 | <div class="memdoc"> | ||
364 | |||
365 | <p>copies this surface into another, using the alpha mask and cliprect and a color to add with </p> | ||
366 | |||
367 | </div> | ||
368 | </div> | ||
369 | <a class="anchor" id="a04973e101790130f611c4c6790e5b352"></a><!-- doxytag: member="irr::video::IImage::fill" ref="a04973e101790130f611c4c6790e5b352" args="(const SColor &color)=0" --> | ||
370 | <div class="memitem"> | ||
371 | <div class="memproto"> | ||
372 | <table class="memname"> | ||
373 | <tr> | ||
374 | <td class="memname">virtual void irr::video::IImage::fill </td> | ||
375 | <td>(</td> | ||
376 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> & </td> | ||
377 | <td class="paramname"><em>color</em></td><td>)</td> | ||
378 | <td><code> [pure virtual]</code></td> | ||
379 | </tr> | ||
380 | </table> | ||
381 | </div> | ||
382 | <div class="memdoc"> | ||
383 | |||
384 | <p>fills the surface with given color </p> | ||
385 | |||
386 | </div> | ||
387 | </div> | ||
388 | <a class="anchor" id="a36d4f895245543080f24f99dd89930fb"></a><!-- doxytag: member="irr::video::IImage::getAlphaMask" ref="a36d4f895245543080f24f99dd89930fb" args="() const =0" --> | ||
389 | <div class="memitem"> | ||
390 | <div class="memproto"> | ||
391 | <table class="memname"> | ||
392 | <tr> | ||
393 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getAlphaMask </td> | ||
394 | <td>(</td> | ||
395 | <td class="paramname"></td><td>)</td> | ||
396 | <td> const<code> [pure virtual]</code></td> | ||
397 | </tr> | ||
398 | </table> | ||
399 | </div> | ||
400 | <div class="memdoc"> | ||
401 | |||
402 | <p>Returns mask for alpha value of a pixel. </p> | ||
403 | |||
404 | </div> | ||
405 | </div> | ||
406 | <a class="anchor" id="adf842a506b2984f3f13d64b4967146e9"></a><!-- doxytag: member="irr::video::IImage::getBitsPerPixel" ref="adf842a506b2984f3f13d64b4967146e9" args="() const =0" --> | ||
407 | <div class="memitem"> | ||
408 | <div class="memproto"> | ||
409 | <table class="memname"> | ||
410 | <tr> | ||
411 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getBitsPerPixel </td> | ||
412 | <td>(</td> | ||
413 | <td class="paramname"></td><td>)</td> | ||
414 | <td> const<code> [pure virtual]</code></td> | ||
415 | </tr> | ||
416 | </table> | ||
417 | </div> | ||
418 | <div class="memdoc"> | ||
419 | |||
420 | <p>Returns bits per pixel. </p> | ||
421 | |||
422 | </div> | ||
423 | </div> | ||
424 | <a class="anchor" id="a70b50ef1bbb6f90ec4c43a91f521c2b6"></a><!-- doxytag: member="irr::video::IImage::getBitsPerPixelFromFormat" ref="a70b50ef1bbb6f90ec4c43a91f521c2b6" args="(const ECOLOR_FORMAT format)" --> | ||
425 | <div class="memitem"> | ||
426 | <div class="memproto"> | ||
427 | <table class="memname"> | ||
428 | <tr> | ||
429 | <td class="memname">static <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getBitsPerPixelFromFormat </td> | ||
430 | <td>(</td> | ||
431 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> </td> | ||
432 | <td class="paramname"><em>format</em></td><td>)</td> | ||
433 | <td><code> [inline, static]</code></td> | ||
434 | </tr> | ||
435 | </table> | ||
436 | </div> | ||
437 | <div class="memdoc"> | ||
438 | |||
439 | <p>get the amount of Bits per Pixel of the given color format </p> | ||
440 | |||
441 | <p>Definition at line <a class="el" href="_i_image_8h_source.html#l00102">102</a> of file <a class="el" href="_i_image_8h_source.html">IImage.h</a>.</p> | ||
442 | |||
443 | <p>References <a class="el" href="_s_color_8h_source.html#l00043">irr::video::ECF_A16B16G16R16F</a>, <a class="el" href="_s_color_8h_source.html#l00023">irr::video::ECF_A1R5G5B5</a>, <a class="el" href="_s_color_8h_source.html#l00052">irr::video::ECF_A32B32G32R32F</a>, <a class="el" href="_s_color_8h_source.html#l00032">irr::video::ECF_A8R8G8B8</a>, <a class="el" href="_s_color_8h_source.html#l00040">irr::video::ECF_G16R16F</a>, <a class="el" href="_s_color_8h_source.html#l00049">irr::video::ECF_G32R32F</a>, <a class="el" href="_s_color_8h_source.html#l00037">irr::video::ECF_R16F</a>, <a class="el" href="_s_color_8h_source.html#l00046">irr::video::ECF_R32F</a>, <a class="el" href="_s_color_8h_source.html#l00026">irr::video::ECF_R5G6B5</a>, and <a class="el" href="_s_color_8h_source.html#l00029">irr::video::ECF_R8G8B8</a>.</p> | ||
444 | |||
445 | </div> | ||
446 | </div> | ||
447 | <a class="anchor" id="a3554ed18eb6e79213f6330d19006e9e8"></a><!-- doxytag: member="irr::video::IImage::getBlueMask" ref="a3554ed18eb6e79213f6330d19006e9e8" args="() const =0" --> | ||
448 | <div class="memitem"> | ||
449 | <div class="memproto"> | ||
450 | <table class="memname"> | ||
451 | <tr> | ||
452 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getBlueMask </td> | ||
453 | <td>(</td> | ||
454 | <td class="paramname"></td><td>)</td> | ||
455 | <td> const<code> [pure virtual]</code></td> | ||
456 | </tr> | ||
457 | </table> | ||
458 | </div> | ||
459 | <div class="memdoc"> | ||
460 | |||
461 | <p>Returns mask for blue value of a pixel. </p> | ||
462 | |||
463 | </div> | ||
464 | </div> | ||
465 | <a class="anchor" id="a14509044ca5215b9714ab1091b0e86d0"></a><!-- doxytag: member="irr::video::IImage::getBytesPerPixel" ref="a14509044ca5215b9714ab1091b0e86d0" args="() const =0" --> | ||
466 | <div class="memitem"> | ||
467 | <div class="memproto"> | ||
468 | <table class="memname"> | ||
469 | <tr> | ||
470 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getBytesPerPixel </td> | ||
471 | <td>(</td> | ||
472 | <td class="paramname"></td><td>)</td> | ||
473 | <td> const<code> [pure virtual]</code></td> | ||
474 | </tr> | ||
475 | </table> | ||
476 | </div> | ||
477 | <div class="memdoc"> | ||
478 | |||
479 | <p>Returns bytes per pixel. </p> | ||
480 | |||
481 | </div> | ||
482 | </div> | ||
483 | <a class="anchor" id="ad045a8d172047411d03e167b201ae8a6"></a><!-- doxytag: member="irr::video::IImage::getColorFormat" ref="ad045a8d172047411d03e167b201ae8a6" args="() const =0" --> | ||
484 | <div class="memitem"> | ||
485 | <div class="memproto"> | ||
486 | <table class="memname"> | ||
487 | <tr> | ||
488 | <td class="memname">virtual <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> irr::video::IImage::getColorFormat </td> | ||
489 | <td>(</td> | ||
490 | <td class="paramname"></td><td>)</td> | ||
491 | <td> const<code> [pure virtual]</code></td> | ||
492 | </tr> | ||
493 | </table> | ||
494 | </div> | ||
495 | <div class="memdoc"> | ||
496 | |||
497 | <p>Returns the color format. </p> | ||
498 | |||
499 | </div> | ||
500 | </div> | ||
501 | <a class="anchor" id="a3618c9793b7a1f3383a5c3944436a2be"></a><!-- doxytag: member="irr::video::IImage::getDimension" ref="a3618c9793b7a1f3383a5c3944436a2be" args="() const =0" --> | ||
502 | <div class="memitem"> | ||
503 | <div class="memproto"> | ||
504 | <table class="memname"> | ||
505 | <tr> | ||
506 | <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1dimension2d.html">core::dimension2d</a><<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>>& irr::video::IImage::getDimension </td> | ||
507 | <td>(</td> | ||
508 | <td class="paramname"></td><td>)</td> | ||
509 | <td> const<code> [pure virtual]</code></td> | ||
510 | </tr> | ||
511 | </table> | ||
512 | </div> | ||
513 | <div class="memdoc"> | ||
514 | |||
515 | <p>Returns width and height of image data. </p> | ||
516 | |||
517 | </div> | ||
518 | </div> | ||
519 | <a class="anchor" id="a1a12d75385fa9e0a063141c9ae0e4289"></a><!-- doxytag: member="irr::video::IImage::getGreenMask" ref="a1a12d75385fa9e0a063141c9ae0e4289" args="() const =0" --> | ||
520 | <div class="memitem"> | ||
521 | <div class="memproto"> | ||
522 | <table class="memname"> | ||
523 | <tr> | ||
524 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getGreenMask </td> | ||
525 | <td>(</td> | ||
526 | <td class="paramname"></td><td>)</td> | ||
527 | <td> const<code> [pure virtual]</code></td> | ||
528 | </tr> | ||
529 | </table> | ||
530 | </div> | ||
531 | <div class="memdoc"> | ||
532 | |||
533 | <p>Returns mask for green value of a pixel. </p> | ||
534 | |||
535 | </div> | ||
536 | </div> | ||
537 | <a class="anchor" id="aaec5039f63d29633a07f0717baeb409b"></a><!-- doxytag: member="irr::video::IImage::getImageDataSizeInBytes" ref="aaec5039f63d29633a07f0717baeb409b" args="() const =0" --> | ||
538 | <div class="memitem"> | ||
539 | <div class="memproto"> | ||
540 | <table class="memname"> | ||
541 | <tr> | ||
542 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getImageDataSizeInBytes </td> | ||
543 | <td>(</td> | ||
544 | <td class="paramname"></td><td>)</td> | ||
545 | <td> const<code> [pure virtual]</code></td> | ||
546 | </tr> | ||
547 | </table> | ||
548 | </div> | ||
549 | <div class="memdoc"> | ||
550 | |||
551 | <p>Returns image data size in bytes. </p> | ||
552 | |||
553 | </div> | ||
554 | </div> | ||
555 | <a class="anchor" id="a9134a214b0919ba875a130e43dbc92f1"></a><!-- doxytag: member="irr::video::IImage::getImageDataSizeInPixels" ref="a9134a214b0919ba875a130e43dbc92f1" args="() const =0" --> | ||
556 | <div class="memitem"> | ||
557 | <div class="memproto"> | ||
558 | <table class="memname"> | ||
559 | <tr> | ||
560 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getImageDataSizeInPixels </td> | ||
561 | <td>(</td> | ||
562 | <td class="paramname"></td><td>)</td> | ||
563 | <td> const<code> [pure virtual]</code></td> | ||
564 | </tr> | ||
565 | </table> | ||
566 | </div> | ||
567 | <div class="memdoc"> | ||
568 | |||
569 | <p>Returns image data size in pixels. </p> | ||
570 | |||
571 | </div> | ||
572 | </div> | ||
573 | <a class="anchor" id="aace497c2d12f217a795a546a735e2675"></a><!-- doxytag: member="irr::video::IImage::getPitch" ref="aace497c2d12f217a795a546a735e2675" args="() const =0" --> | ||
574 | <div class="memitem"> | ||
575 | <div class="memproto"> | ||
576 | <table class="memname"> | ||
577 | <tr> | ||
578 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getPitch </td> | ||
579 | <td>(</td> | ||
580 | <td class="paramname"></td><td>)</td> | ||
581 | <td> const<code> [pure virtual]</code></td> | ||
582 | </tr> | ||
583 | </table> | ||
584 | </div> | ||
585 | <div class="memdoc"> | ||
586 | |||
587 | <p>Returns pitch of image. </p> | ||
588 | |||
589 | </div> | ||
590 | </div> | ||
591 | <a class="anchor" id="a0645adce59442e67261eca084565a9df"></a><!-- doxytag: member="irr::video::IImage::getPixel" ref="a0645adce59442e67261eca084565a9df" args="(u32 x, u32 y) const =0" --> | ||
592 | <div class="memitem"> | ||
593 | <div class="memproto"> | ||
594 | <table class="memname"> | ||
595 | <tr> | ||
596 | <td class="memname">virtual <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> irr::video::IImage::getPixel </td> | ||
597 | <td>(</td> | ||
598 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
599 | <td class="paramname"><em>x</em>, </td> | ||
600 | </tr> | ||
601 | <tr> | ||
602 | <td class="paramkey"></td> | ||
603 | <td></td> | ||
604 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
605 | <td class="paramname"><em>y</em> </td> | ||
606 | </tr> | ||
607 | <tr> | ||
608 | <td></td> | ||
609 | <td>)</td> | ||
610 | <td></td><td> const<code> [pure virtual]</code></td> | ||
611 | </tr> | ||
612 | </table> | ||
613 | </div> | ||
614 | <div class="memdoc"> | ||
615 | |||
616 | <p>Returns a pixel. </p> | ||
617 | |||
618 | </div> | ||
619 | </div> | ||
620 | <a class="anchor" id="aaf3a93ad19466928da82f54d8f286990"></a><!-- doxytag: member="irr::video::IImage::getRedMask" ref="aaf3a93ad19466928da82f54d8f286990" args="() const =0" --> | ||
621 | <div class="memitem"> | ||
622 | <div class="memproto"> | ||
623 | <table class="memname"> | ||
624 | <tr> | ||
625 | <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::video::IImage::getRedMask </td> | ||
626 | <td>(</td> | ||
627 | <td class="paramname"></td><td>)</td> | ||
628 | <td> const<code> [pure virtual]</code></td> | ||
629 | </tr> | ||
630 | </table> | ||
631 | </div> | ||
632 | <div class="memdoc"> | ||
633 | |||
634 | <p>Returns mask for red value of a pixel. </p> | ||
635 | |||
636 | </div> | ||
637 | </div> | ||
638 | <a class="anchor" id="aafbd373ef15670708010e0064ae3b946"></a><!-- doxytag: member="irr::video::IImage::isRenderTargetOnlyFormat" ref="aafbd373ef15670708010e0064ae3b946" args="(const ECOLOR_FORMAT format)" --> | ||
639 | <div class="memitem"> | ||
640 | <div class="memproto"> | ||
641 | <table class="memname"> | ||
642 | <tr> | ||
643 | <td class="memname">static bool irr::video::IImage::isRenderTargetOnlyFormat </td> | ||
644 | <td>(</td> | ||
645 | <td class="paramtype">const <a class="el" href="namespaceirr_1_1video.html#a1d5e487888c32b1674a8f75116d829ed">ECOLOR_FORMAT</a> </td> | ||
646 | <td class="paramname"><em>format</em></td><td>)</td> | ||
647 | <td><code> [inline, static]</code></td> | ||
648 | </tr> | ||
649 | </table> | ||
650 | </div> | ||
651 | <div class="memdoc"> | ||
652 | |||
653 | <p>test if the color format is only viable for RenderTarget textures </p> | ||
654 | <p>Since we don't have support for e.g. floating point <a class="el" href="classirr_1_1video_1_1_i_image.html" title="Interface for software image data.">IImage</a> formats one should test if the color format can be used for arbitrary usage, or if it is restricted to RTTs. </p> | ||
655 | |||
656 | <p>Definition at line <a class="el" href="_i_image_8h_source.html#l00135">135</a> of file <a class="el" href="_i_image_8h_source.html">IImage.h</a>.</p> | ||
657 | |||
658 | <p>References <a class="el" href="_s_color_8h_source.html#l00023">irr::video::ECF_A1R5G5B5</a>, <a class="el" href="_s_color_8h_source.html#l00032">irr::video::ECF_A8R8G8B8</a>, <a class="el" href="_s_color_8h_source.html#l00026">irr::video::ECF_R5G6B5</a>, and <a class="el" href="_s_color_8h_source.html#l00029">irr::video::ECF_R8G8B8</a>.</p> | ||
659 | |||
660 | </div> | ||
661 | </div> | ||
662 | <a class="anchor" id="a5c4b0b5fa2a5f253f93c1b038e20d204"></a><!-- doxytag: member="irr::video::IImage::lock" ref="a5c4b0b5fa2a5f253f93c1b038e20d204" args="()=0" --> | ||
663 | <div class="memitem"> | ||
664 | <div class="memproto"> | ||
665 | <table class="memname"> | ||
666 | <tr> | ||
667 | <td class="memname">virtual void* irr::video::IImage::lock </td> | ||
668 | <td>(</td> | ||
669 | <td class="paramname"></td><td>)</td> | ||
670 | <td><code> [pure virtual]</code></td> | ||
671 | </tr> | ||
672 | </table> | ||
673 | </div> | ||
674 | <div class="memdoc"> | ||
675 | |||
676 | <p>Lock function. Use this to get a pointer to the image data. </p> | ||
677 | <p>After you don't need the pointer anymore, you must call <a class="el" href="classirr_1_1video_1_1_i_image.html#ad0f902d74a948ee66be2d70dc90ed38d" title="Unlock function.">unlock()</a>. </p> | ||
678 | <dl class="return"><dt><b>Returns:</b></dt><dd>Pointer to the image data. What type of data is pointed to depends on the color format of the image. For example if the color format is ECF_A8R8G8B8, it is of u32. Be sure to call <a class="el" href="classirr_1_1video_1_1_i_image.html#ad0f902d74a948ee66be2d70dc90ed38d" title="Unlock function.">unlock()</a> after you don't need the pointer any more. </dd></dl> | ||
679 | |||
680 | </div> | ||
681 | </div> | ||
682 | <a class="anchor" id="a89bf6020ce6ac1066e4d585ce46f79bd"></a><!-- doxytag: member="irr::video::IImage::setPixel" ref="a89bf6020ce6ac1066e4d585ce46f79bd" args="(u32 x, u32 y, const SColor &color, bool blend=false)=0" --> | ||
683 | <div class="memitem"> | ||
684 | <div class="memproto"> | ||
685 | <table class="memname"> | ||
686 | <tr> | ||
687 | <td class="memname">virtual void irr::video::IImage::setPixel </td> | ||
688 | <td>(</td> | ||
689 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
690 | <td class="paramname"><em>x</em>, </td> | ||
691 | </tr> | ||
692 | <tr> | ||
693 | <td class="paramkey"></td> | ||
694 | <td></td> | ||
695 | <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> </td> | ||
696 | <td class="paramname"><em>y</em>, </td> | ||
697 | </tr> | ||
698 | <tr> | ||
699 | <td class="paramkey"></td> | ||
700 | <td></td> | ||
701 | <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_color.html">SColor</a> & </td> | ||
702 | <td class="paramname"><em>color</em>, </td> | ||
703 | </tr> | ||
704 | <tr> | ||
705 | <td class="paramkey"></td> | ||
706 | <td></td> | ||
707 | <td class="paramtype">bool </td> | ||
708 | <td class="paramname"><em>blend</em> = <code>false</code> </td> | ||
709 | </tr> | ||
710 | <tr> | ||
711 | <td></td> | ||
712 | <td>)</td> | ||
713 | <td></td><td><code> [pure virtual]</code></td> | ||
714 | </tr> | ||
715 | </table> | ||
716 | </div> | ||
717 | <div class="memdoc"> | ||
718 | |||
719 | <p>Sets a pixel. </p> | ||
720 | |||
721 | </div> | ||
722 | </div> | ||
723 | <a class="anchor" id="ad0f902d74a948ee66be2d70dc90ed38d"></a><!-- doxytag: member="irr::video::IImage::unlock" ref="ad0f902d74a948ee66be2d70dc90ed38d" args="()=0" --> | ||
724 | <div class="memitem"> | ||
725 | <div class="memproto"> | ||
726 | <table class="memname"> | ||
727 | <tr> | ||
728 | <td class="memname">virtual void irr::video::IImage::unlock </td> | ||
729 | <td>(</td> | ||
730 | <td class="paramname"></td><td>)</td> | ||
731 | <td><code> [pure virtual]</code></td> | ||
732 | </tr> | ||
733 | </table> | ||
734 | </div> | ||
735 | <div class="memdoc"> | ||
736 | |||
737 | <p>Unlock function. </p> | ||
738 | <p>Should be called after the pointer received by <a class="el" href="classirr_1_1video_1_1_i_image.html#a5c4b0b5fa2a5f253f93c1b038e20d204" title="Lock function. Use this to get a pointer to the image data.">lock()</a> is not needed anymore. </p> | ||
739 | |||
740 | </div> | ||
741 | </div> | ||
742 | <hr/>The documentation for this class was generated from the following file:<ul> | ||
743 | <li><a class="el" href="_i_image_8h_source.html">IImage.h</a></li> | ||
744 | </ul> | ||
745 | </div> | ||
746 | </div> | ||
747 | <div id="nav-path" class="navpath"> | ||
748 | <ul> | ||
749 | <li class="navelem"><a class="el" href="namespaceirr.html">irr</a> </li> | ||
750 | <li class="navelem"><a class="el" href="namespaceirr_1_1video.html">video</a> </li> | ||
751 | <li class="navelem"><a class="el" href="classirr_1_1video_1_1_i_image.html">IImage</a> </li> | ||
752 | <!-- window showing the filter options --> | ||
753 | <div id="MSearchSelectWindow" | ||
754 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
755 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
756 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
757 | <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Defines</a></div> | ||
758 | |||
759 | <!-- iframe showing the search results (closed by default) --> | ||
760 | <div id="MSearchResultsWindow"> | ||
761 | <iframe src="javascript:void(0)" frameborder="0" | ||
762 | name="MSearchResults" id="MSearchResults"> | ||
763 | </iframe> | ||
764 | </div> | ||
765 | |||
766 | |||
767 | <li class="footer"> | ||
768 | <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht | ||
769 | Engine</a> Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on Sun Nov 17 2013 20:18:48 for Irrlicht 3D Engine by | ||
770 | <a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li> | ||
771 | </ul> | ||
772 | </div> | ||
773 | |||
774 | |||
775 | </body> | ||
776 | </html> | ||