This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! Set own Strings for Cases

Fetzi672

Inactive Approved Modder
Hey Guys, can someone Help me with Jni.
I want to Insert the Strings to "SetShader("???");
Useing a Spinner.
C++:
const char *String1 = "_Bumpmap";

const char *String2 = "_Color";

const char *String3 = "_Flip";



There are my Cases

                case 1:           

              String1 = env->GetStringUTFChars(str, 0);

                    break;

                case 2:

              String2 = env->GetStringUTFChars(str, 0);

                    break;

                case 3:

              String3 = env->GetStringUTFChars(str, 0);

                    break;

What do i need to write in SetShader? To make IT Work.
 
Last edited: