| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright 2009, Google Inc. | 2  * Copyright 2009, Google Inc. | 
| 3  * All rights reserved. | 3  * All rights reserved. | 
| 4  * | 4  * | 
| 5  * Redistribution and use in source and binary forms, with or without | 5  * Redistribution and use in source and binary forms, with or without | 
| 6  * modification, are permitted provided that the following conditions are | 6  * modification, are permitted provided that the following conditions are | 
| 7  * met: | 7  * met: | 
| 8  * | 8  * | 
| 9  *     * Redistributions of source code must retain the above copyright | 9  *     * Redistributions of source code must retain the above copyright | 
| 10  * notice, this list of conditions and the following disclaimer. | 10  * notice, this list of conditions and the following disclaimer. | 
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 109     \sa o3d.Pack.destroy | 109     \sa o3d.Pack.destroy | 
| 110   %] | 110   %] | 
| 111   bool RemoveObject(ObjectBase object); | 111   bool RemoveObject(ObjectBase object); | 
| 112 | 112 | 
| 113   %[ | 113   %[ | 
| 114     Creates an Object by Class name. | 114     Creates an Object by Class name. | 
| 115 | 115 | 
| 116     Note: You may omit the 'o3d.'. | 116     Note: You may omit the 'o3d.'. | 
| 117 | 117 | 
| 118     \param type_name name of Class to create. Valid type names are: | 118     \param type_name name of Class to create. Valid type names are: | 
|  | 119         \li o3d.Bitmap | 
| 119         \li o3d.Canvas | 120         \li o3d.Canvas | 
| 120         \li o3d.CanvasLinearGradient | 121         \li o3d.CanvasLinearGradient | 
| 121         \li o3d.CanvasPaint | 122         \li o3d.CanvasPaint | 
| 122         \li o3d.ClearBuffer | 123         \li o3d.ClearBuffer | 
| 123         \li o3d.Counter | 124         \li o3d.Counter | 
| 124         \li o3d.Curve | 125         \li o3d.Curve | 
| 125         \li o3d.DrawContext | 126         \li o3d.DrawContext | 
| 126         \li o3d.DrawElement | 127         \li o3d.DrawElement | 
| 127         \li o3d.DrawList | 128         \li o3d.DrawList | 
| 128         \li o3d.DrawPass | 129         \li o3d.DrawPass | 
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 299 | 300 | 
| 300   %[ | 301   %[ | 
| 301     Creates a Texture given a RawData object | 302     Creates a Texture given a RawData object | 
| 302     \param raw_data The RawData to create the texture from. | 303     \param raw_data The RawData to create the texture from. | 
| 303     \param generate_mips True if you want O3D to generate mip maps for the | 304     \param generate_mips True if you want O3D to generate mip maps for the | 
| 304         texture. | 305         texture. | 
| 305     \return the Texture | 306     \return the Texture | 
| 306   %] | 307   %] | 
| 307   Texture? CreateTextureFromRawData(RawData raw_data, | 308   Texture? CreateTextureFromRawData(RawData raw_data, | 
| 308                                     bool generate_mips); | 309                                     bool generate_mips); | 
|  | 310 | 
|  | 311   %[ | 
|  | 312     Create a new Bitmap object from RawData. | 
|  | 313 | 
|  | 314     \param raw_data contains the bitmap data in one of the know formats. | 
|  | 315     \return the new bitmap object. | 
|  | 316   %] | 
|  | 317   Bitmap? CreateBitmapFromRawData(RawData raw_data); | 
|  | 318 | 
|  | 319   %[ | 
|  | 320     Create a new Bitmap object of the specified size and format and | 
|  | 321     reserves the necessary resources for it. | 
|  | 322 | 
|  | 323     \param width The width of the bitmap in pixel. | 
|  | 324     \param height The height of the bitmap in pixel. | 
|  | 325     \param format The format of the bitmap. | 
|  | 326     \return the new bitmap obejct. | 
|  | 327   %] | 
|  | 328   Bitmap? CreateBitmap(int width, int height, Texture::Format format); | 
| 309 };  // Pack | 329 };  // Pack | 
| 310 | 330 | 
| 311 }  // namespace o3d | 331 }  // namespace o3d | 
| OLD | NEW | 
|---|