summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/idl
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 04:54:53 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-06 04:54:53 +0000
commite16ce48093cf5287ab0ad577d4c8b05c4734e6d0 (patch)
tree8af527623c4da1e7917cfe11ab065c02859d8ccb /o3d/plugin/idl
parent132899b905b0f1794d7e82e28f9fe77ca6a08282 (diff)
downloadchromium_src-e16ce48093cf5287ab0ad577d4c8b05c4734e6d0.zip
chromium_src-e16ce48093cf5287ab0ad577d4c8b05c4734e6d0.tar.gz
chromium_src-e16ce48093cf5287ab0ad577d4c8b05c4734e6d0.tar.bz2
oops, forgot these files
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/idl')
-rw-r--r--o3d/plugin/idl/pack.idl23
1 files changed, 9 insertions, 14 deletions
diff --git a/o3d/plugin/idl/pack.idl b/o3d/plugin/idl/pack.idl
index 94f8e0e..a6a46aa 100644
--- a/o3d/plugin/idl/pack.idl
+++ b/o3d/plugin/idl/pack.idl
@@ -32,6 +32,7 @@
namespace o3d {
typedef ObjectBase[] ObjectArray;
+typedef Bitmap[] BitmapArray;
%[
A Pack object functions as a container for O3D objects. The Pack
@@ -312,23 +313,17 @@ typedef ObjectBase[] ObjectArray;
bool generate_mips);
%[
- Create a new Bitmap object from RawData.
+ Create Bitmaps from RawData.
- \param raw_data contains the bitmap data in one of the know formats.
- \return the new bitmap object.
- %]
- Bitmap? CreateBitmapFromRawData(RawData raw_data);
-
- %[
- Create a new Bitmap object of the specified size and format and
- reserves the necessary resources for it.
+ If you load a cube map you'll get 6 an array of 6 Bitmaps.
+ If you load a volume map you'll get an array of n Bitmaps.
+ If there is an error you'll get an empty array.
- \param width The width of the bitmap in pixel.
- \param height The height of the bitmap in pixel.
- \param format The format of the bitmap.
- \return the new bitmap obejct.
+ \param raw_data contains the bitmap data in a supported format.
+ \return An Array of Bitmaps object.
%]
- Bitmap? CreateBitmap(int width, int height, Texture::Format format);
+ //BitmapArray CreateBitmapsFromRawData(RawData raw_data);
+ Bitmap CreateBitmapFromRawData(RawData raw_data);
}; // Pack
} // namespace o3d