Methods Summary |
---|
protected void | finalize()
nativeDestructor(native_instance);
|
public boolean | getLocalMatrix(Matrix localM)Return true if the shader has a non-identity local matrix.
return nativeGetLocalMatrix(native_instance, localM.native_instance);
|
private static native void | nativeDestructor(int native_shader)
|
private static native boolean | nativeGetLocalMatrix(int native_shader, int matrix_instance)
|
private static native void | nativeSetLocalMatrix(int native_shader, int matrix_instance)
|
public void | setLocalMatrix(Matrix localM)Set the shader's local matrix. Passing null will reset the shader's
matrix to identity
nativeSetLocalMatrix(native_instance,
localM != null ? localM.native_instance : 0);
|