diff options
Diffstat (limited to 'tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java')
-rw-r--r-- | tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java index f7d0e6d..4efaff7 100644 --- a/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java +++ b/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/VertexShader.java @@ -44,6 +44,11 @@ public class VertexShader extends Shader { return this; } + public Builder setShader(String code) { + mBuilder.setShader(code); + return this; + } + public Builder setObjectConst(Type type) { mShader.mPerObjConstants = type; return this; |