| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 %[ | 70 %[ |
| 71 The URI this request is for. | 71 The URI this request is for. |
| 72 %] | 72 %] |
| 73 [getter=uri] String uri; | 73 [getter=uri] String uri; |
| 74 %[ | 74 %[ |
| 75 On completion of successful texture file loads, this holds the loaded | 75 On completion of successful texture file loads, this holds the loaded |
| 76 texture. | 76 texture. |
| 77 %] | 77 %] |
| 78 [getter=texture] Texture? texture; | 78 [getter=texture] Texture? texture; |
| 79 |
| 80 %[ |
| 81 On completion of successful RawData file loads, this holds the loaded |
| 82 RawData. |
| 83 %] |
| 84 [getter=data] RawData? data; |
| 85 |
| 79 %[ | 86 %[ |
| 80 Whether or not to generate mip-maps on textures that are loaded (default: | 87 Whether or not to generate mip-maps on textures that are loaded (default: |
| 81 true). Mip-maps are not generated for DXTC textures. DDS files can contain | 88 true). Mip-maps are not generated for DXTC textures. DDS files can contain |
| 82 pre-computed mip-maps for DXTC textures though. | 89 pre-computed mip-maps for DXTC textures though. |
| 83 %] | 90 %] |
| 84 [getter, setter] bool generate_mipmaps; | 91 [getter, setter] bool generate_mipmaps; |
| 85 | 92 |
| 86 %[ | 93 %[ |
| 87 This holds the same values as in XMLHttpRequest: | 94 This holds the same values as in XMLHttpRequest: |
| 88 \li 0 = uninitialized | 95 \li 0 = uninitialized |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 | 129 |
| 123 %[ | 130 %[ |
| 124 Send the request. | 131 Send the request. |
| 125 Unlike XMLHttpRequest the onreadystatechange callback will be called no | 132 Unlike XMLHttpRequest the onreadystatechange callback will be called no |
| 126 matter what, with success or failure. | 133 matter what, with success or failure. |
| 127 %] | 134 %] |
| 128 [nocpp, userglue, plugin_data] void send(); | 135 [nocpp, userglue, plugin_data] void send(); |
| 129 }; | 136 }; |
| 130 | 137 |
| 131 } // namespace o3d | 138 } // namespace o3d |
| OLD | NEW |