summaryrefslogtreecommitdiffstats
path: root/o3d/plugin/idl/stream_bank.idl
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 08:01:28 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-17 08:01:28 +0000
commit8e1c8a07890b2c122833c402d01e91e54540984c (patch)
tree6225cd0d1af14141ae141c3a0d3d5912af0f7eb6 /o3d/plugin/idl/stream_bank.idl
parentfc9384590f192b79b4f6f071a5b1fc3257f45c28 (diff)
downloadchromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.zip
chromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.tar.gz
chromium_src-8e1c8a07890b2c122833c402d01e91e54540984c.tar.bz2
Change StreamBank to inherit from VertexSource
in preparation for Morph Targets Review URL: http://codereview.chromium.org/164483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23541 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/plugin/idl/stream_bank.idl')
-rw-r--r--o3d/plugin/idl/stream_bank.idl25
1 files changed, 1 insertions, 24 deletions
diff --git a/o3d/plugin/idl/stream_bank.idl b/o3d/plugin/idl/stream_bank.idl
index a5f08d9..45e7179 100644
--- a/o3d/plugin/idl/stream_bank.idl
+++ b/o3d/plugin/idl/stream_bank.idl
@@ -35,7 +35,7 @@ namespace o3d {
The StreamBank a collection of streams that hold vertices.
%]
[nocpp, include="core/cross/primitive.h"]
-class StreamBank : NamedObject {
+class StreamBank : VertexSource {
%[
Binds a VertexBuffer field to the StreamBank and defines how the data in
@@ -71,29 +71,6 @@ class StreamBank : NamedObject {
bool RemoveVertexStream(Stream::Semantic semantic, int semantic_index);
%[
- Binds the source stream to the corresponding stream in this VertexSource.
-
- \param source Source to get vertices from.
- \param semantic The semantic of the vertices to get
- \param semantic_index The semantic index of the vertices to get.
- \return True if success. False if failure. If the requested semantic or
- semantic index do not exist on the source or this source the bind will
- fail.
- %]
- bool BindStream(VertexSource source,
- Stream::Semantic semantic,
- int semantic_index);
-
- %[
- Unbinds the requested stream.
- \param semantic The semantic of the vertices to unbind
- \param semantic_index The semantic index of the vertices to unbind.
- \return True if unbound. False those vertices do not exist or were not
- bound.
- %]
- bool UnbindStream(Stream::Semantic semantic, int semantic_index);
-
- %[
An array of the vertex streams on this StreamBank.
Each access to this field gets the entire list so it is best to get it