X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=vtk%2Fsrc%2Fvtk%2FvtkShader.java;h=f16797e63ccacdd2938f1b6746a1e1bd5554ecbd;hb=0f1acf557db4515528bc452c037db0831fd34ecf;hp=0e03d8ec21063c9d1a7cef9950f100c2c71a2d2d;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git diff --git a/vtk/src/vtk/vtkShader.java b/vtk/src/vtk/vtkShader.java index 0e03d8ec..f16797e6 100644 --- a/vtk/src/vtk/vtkShader.java +++ b/vtk/src/vtk/vtkShader.java @@ -1,70 +1,55 @@ -// java wrapper for vtkShader object -// - -package vtk; -import vtk.*; - -public class vtkShader extends vtkObject -{ - - private native String GetClassName_0(); - public String GetClassName() - { return GetClassName_0(); } - - private native int IsA_1(String id0); - public int IsA(String id0) - { return IsA_1(id0); } - - private native int Compile_2(); - public int Compile() - { return Compile_2(); } - - private native void PassShaderVariables_3(vtkActor id0,vtkRenderer id1); - public void PassShaderVariables(vtkActor id0,vtkRenderer id1) - { PassShaderVariables_3(id0,id1); } - - private native void Bind_4(); - public void Bind() - { Bind_4(); } - - private native void Unbind_5(); - public void Unbind() - { Unbind_5(); } - - private native void ReleaseGraphicsResources_6(vtkWindow id0); - public void ReleaseGraphicsResources(vtkWindow id0) - { ReleaseGraphicsResources_6(id0); } - - private native void SetXMLShader_7(vtkXMLShader id0); - public void SetXMLShader(vtkXMLShader id0) - { SetXMLShader_7(id0); } - - private native long GetXMLShader_8(); - public vtkXMLShader GetXMLShader() { - long temp = GetXMLShader_8(); - - if (temp == 0) return null; - return (vtkXMLShader)vtkObject.JAVA_OBJECT_MANAGER.getJavaObject(temp); - } - - private native int HasShaderVariable_9(String id0); - public int HasShaderVariable(String id0) - { return HasShaderVariable_9(id0); } - - private native int GetShaderVariableSize_10(String id0); - public int GetShaderVariableSize(String id0) - { return GetShaderVariableSize_10(id0); } - - private native int GetShaderVariableType_11(String id0); - public int GetShaderVariableType(String id0) - { return GetShaderVariableType_11(id0); } - - private native int GetScope_12(); - public int GetScope() - { return GetScope_12(); } - - public vtkShader() { super(); } - - public vtkShader(long id) { super(id); } - -} +// java wrapper for vtkShader object +// + +package vtk; +import vtk.*; + +public class vtkShader extends vtkObject +{ + + private native int IsTypeOf_0(String id0); + public int IsTypeOf(String id0) + { return IsTypeOf_0(id0); } + + private native int IsA_1(String id0); + public int IsA(String id0) + { return IsA_1(id0); } + + private native void SetType_2(int id0); + public void SetType(int id0) + { SetType_2(id0); } + + private native int GetType_3(); + public int GetType() + { return GetType_3(); } + + private native void SetSource_4(String id0); + public void SetSource(String id0) + { SetSource_4(id0); } + + private native String GetSource_5(); + public String GetSource() + { return GetSource_5(); } + + private native String GetError_6(); + public String GetError() + { return GetError_6(); } + + private native int GetHandle_7(); + public int GetHandle() + { return GetHandle_7(); } + + private native boolean Compile_8(); + public boolean Compile() + { return Compile_8(); } + + private native void Cleanup_9(); + public void Cleanup() + { Cleanup_9(); } + + public vtkShader() { super(); } + + public vtkShader(long id) { super(id); } + public native long VTKInit(); + +}