blob: ebe6fb83a0e37d97b51ba093a92e3905a32e5f76 [file] [log] [blame]
Jason Samsf1e6d222012-02-24 14:24:56 -08001/*
Jason Sams1fc02012012-03-14 15:36:02 -07002 * Copyright (C) 2012 The Android Open Source Project
Jason Samsf1e6d222012-02-24 14:24:56 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Jason Sams1fc02012012-03-14 15:36:02 -070017
18/*
19 * This file is auto-generated. DO NOT MODIFY!
20 * The source Renderscript file: mono.rs
21 */
22
23
Jason Samsf1e6d222012-02-24 14:24:56 -080024#include "ScriptC.h"
25
Jason Sams69cccdf2012-04-02 19:11:49 -070026class ScriptC_mono : public android::renderscriptCpp::ScriptC {
Jason Sams1fc02012012-03-14 15:36:02 -070027private:
28 int32_t __gInt;
29 bool __gBool;
Jason Samsf1e6d222012-02-24 14:24:56 -080030public:
Jason Sams69cccdf2012-04-02 19:11:49 -070031 ScriptC_mono(android::renderscriptCpp::RenderScript *rs,
32 const char *cacheDir, size_t cacheDirLength);
Jason Sams1fc02012012-03-14 15:36:02 -070033 virtual ~ScriptC_mono();
Jason Sams69cccdf2012-04-02 19:11:49 -070034
Jason Sams1fc02012012-03-14 15:36:02 -070035 void set_gInt(int32_t v) {
36 setVar(0, v);
37 __gInt = v;
38 }
39 int32_t get_gInt() const {
40 return __gInt;
41 }
Jason Sams69cccdf2012-04-02 19:11:49 -070042
Jason Sams1fc02012012-03-14 15:36:02 -070043 float get_cFloat() const {
44 return 1.2f;
45 }
Jason Sams69cccdf2012-04-02 19:11:49 -070046
Jason Sams1fc02012012-03-14 15:36:02 -070047 void set_gBool(bool v) {
48 setVar(2, v);
49 __gBool = v;
50 }
51 bool get_gBool() const {
52 return __gBool;
53 }
Jason Sams69cccdf2012-04-02 19:11:49 -070054
55 void forEach_root(android::sp<const android::renderscriptCpp::Allocation> ain,
56 android::sp<const android::renderscriptCpp::Allocation> aout) const;
Jason Samsf1e6d222012-02-24 14:24:56 -080057};