Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Side by Side Diff: plugin/idl/param_object.idl

Issue 149298: Add missing Param IDL for ParamRenderSurface and... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | plugin/idl/render_surface.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 25 matching lines...) Expand all
36 Defines methods to add and remove params, search for params, etc. 36 Defines methods to add and remove params, search for params, etc.
37 %] 37 %]
38 [nocpp, include="core/cross/param_object.h"] 38 [nocpp, include="core/cross/param_object.h"]
39 class ParamObject : NamedObject { 39 class ParamObject : NamedObject {
40 %[ 40 %[
41 Creates a Param with the given name and type on the ParamObject. 41 Creates a Param with the given name and type on the ParamObject.
42 Will fail if a param with the same name already exists. 42 Will fail if a param with the same name already exists.
43 43
44 \param param_name The name of the Param to be created. 44 \param param_name The name of the Param to be created.
45 \param param_type_name The type of Param to create. Valid types are 45 \param param_type_name The type of Param to create. Valid types are
46 \li 'o3d.ParamBoolean', 46 \li 'o3d.ParamBoolean'
47 \li 'o3d.ParamBoundingBox', 47 \li 'o3d.ParamBoundingBox'
48 \li 'o3d.ParamDrawContext', 48 \li 'o3d.ParamDrawContext'
49 \li 'o3d.ParamDrawList', 49 \li 'o3d.ParamDrawList'
50 \li 'o3d.ParamEffect', 50 \li 'o3d.ParamEffect'
51 \li 'o3d.ParamFloat', 51 \li 'o3d.ParamFloat'
52 \li 'o3d.ParamFloat2', 52 \li 'o3d.ParamFloat2'
53 \li 'o3d.ParamFloat3', 53 \li 'o3d.ParamFloat3'
54 \li 'o3d.ParamFloat4', 54 \li 'o3d.ParamFloat4'
55 \li 'o3d.ParamInteger', 55 \li 'o3d.ParamFunction'
56 \li 'o3d.ParamMaterial', 56 \li 'o3d.ParamInteger'
57 \li 'o3d.ParamMatrix4', 57 \li 'o3d.ParamMaterial'
58 \li 'o3d.ParamParamArray', 58 \li 'o3d.ParamMatrix4'
59 \li 'o3d.ParamRenderSurface', 59 \li 'o3d.ParamParamArray'
60 \li 'o3d.ParamRenderDepthStencilSurface', 60 \li 'o3d.ParamRenderSurface'
61 \li 'o3d.ParamSampler', 61 \li 'o3d.ParamRenderDepthStencilSurface'
62 \li 'o3d.ParamSkin', 62 \li 'o3d.ParamSampler'
63 \li 'o3d.ParamSteamBank', 63 \li 'o3d.ParamSkin'
64 \li 'o3d.ParamState', 64 \li 'o3d.ParamSteamBank'
65 \li 'o3d.ParamString', 65 \li 'o3d.ParamState'
66 \li 'o3d.ParamTexture', 66 \li 'o3d.ParamString'
67 \li 'o3d.ParamTransform', 67 \li 'o3d.ParamTexture'
68 \li 'o3d.ProjectionParamMatrix4', 68 \li 'o3d.ParamTransform'
69 \li 'o3d.ProjectionInverseParamMatrix4', 69 \li 'o3d.ProjectionParamMatrix4'
70 \li 'o3d.ProjectionTransposeParamMatrix4', 70 \li 'o3d.ProjectionInverseParamMatrix4'
71 \li 'o3d.ProjectionInverseTransposeParamMatrix4', 71 \li 'o3d.ProjectionTransposeParamMatrix4'
72 \li 'o3d.ViewParamMatrix4', 72 \li 'o3d.ProjectionInverseTransposeParamMatrix4'
73 \li 'o3d.ViewInverseParamMatrix4', 73 \li 'o3d.ViewParamMatrix4'
74 \li 'o3d.ViewTransposeParamMatrix4', 74 \li 'o3d.ViewInverseParamMatrix4'
75 \li 'o3d.ViewInverseTransposeParamMatrix4', 75 \li 'o3d.ViewTransposeParamMatrix4'
76 \li 'o3d.ViewProjectionParamMatrix4', 76 \li 'o3d.ViewInverseTransposeParamMatrix4'
77 \li 'o3d.ViewProjectionInverseParamMatrix4', 77 \li 'o3d.ViewProjectionParamMatrix4'
78 \li 'o3d.ViewProjectionTransposeParamMatrix4', 78 \li 'o3d.ViewProjectionInverseParamMatrix4'
79 \li 'o3d.ViewProjectionInverseTransposeParamMatrix4', 79 \li 'o3d.ViewProjectionTransposeParamMatrix4'
80 \li 'o3d.WorldParamMatrix4', 80 \li 'o3d.ViewProjectionInverseTransposeParamMatrix4'
81 \li 'o3d.WorldInverseParamMatrix4', 81 \li 'o3d.WorldParamMatrix4'
82 \li 'o3d.WorldTransposeParamMatrix4', 82 \li 'o3d.WorldInverseParamMatrix4'
83 \li 'o3d.WorldInverseTransposeParamMatrix4', 83 \li 'o3d.WorldTransposeParamMatrix4'
84 \li 'o3d.WorldViewParamMatrix4', 84 \li 'o3d.WorldInverseTransposeParamMatrix4'
85 \li 'o3d.WorldViewInverseParamMatrix4', 85 \li 'o3d.WorldViewParamMatrix4'
86 \li 'o3d.WorldViewTransposeParamMatrix4', 86 \li 'o3d.WorldViewInverseParamMatrix4'
87 \li 'o3d.WorldViewInverseTransposeParamMatrix4', 87 \li 'o3d.WorldViewTransposeParamMatrix4'
88 \li 'o3d.WorldViewProjectionParamMatrix4', 88 \li 'o3d.WorldViewInverseTransposeParamMatrix4'
89 \li 'o3d.WorldViewProjectionInverseParamMatrix4', 89 \li 'o3d.WorldViewProjectionParamMatrix4'
90 \li 'o3d.WorldViewProjectionTransposeParamMatrix4', 90 \li 'o3d.WorldViewProjectionInverseParamMatrix4'
91 \li 'o3d.WorldViewProjectionTransposeParamMatrix4'
91 \li 'o3d.WorldViewProjectionInverseTransposeParamMatrix4' 92 \li 'o3d.WorldViewProjectionInverseTransposeParamMatrix4'
92 \return The newly created Param or null on failure. 93 \return The newly created Param or null on failure.
93 %] 94 %]
94 [userglue, noreturndocs] 95 [userglue, noreturndocs]
95 Param? CreateParam(String param_name, String param_type_name); 96 Param? CreateParam(String param_name, String param_type_name);
96 97
97 %[ 98 %[
98 Searches by name for a Param defined in the object. 99 Searches by name for a Param defined in the object.
99 100
100 \param param_name Name to search for. 101 \param param_name Name to search for.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 155
155 o3d::Param* userglue_method_GetParam( 156 o3d::Param* userglue_method_GetParam(
156 o3d:: ParamObject *self, 157 o3d:: ParamObject *self,
157 const o3d::String& param_name) { 158 const o3d::String& param_name) {
158 return self->GetUntypedParam(param_name); 159 return self->GetUntypedParam(param_name);
159 } 160 }
160 %} 161 %}
161 }; 162 };
162 163
163 } // namespace o3d 164 } // namespace o3d
OLDNEW
« no previous file with comments | « no previous file | plugin/idl/render_surface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698