Revision 3a54358a
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/library/message/EffectListener.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.message; |
src/main/java/org/distorted/library/message/EffectMessageSender.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.message; |
src/main/java/org/distorted/library/program/DistortedProgram.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
src/main/java/org/distorted/library/program/FragmentCompilationException.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
src/main/java/org/distorted/library/program/FragmentUniformsException.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
src/main/java/org/distorted/library/program/LinkingException.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
src/main/java/org/distorted/library/program/VertexCompilationException.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
21 | 22 |
|
22 | 23 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
23 | 24 |
|
24 |
import org.distorted.library.main.DistortedLibrary; |
|
25 |
|
|
26 | 25 |
/** |
27 | 26 |
* Thrown asynchronously by the library whenever shader compilation fails. |
28 | 27 |
* If compilation of the vertex shader fails for some other reason than too many uniforms. |
src/main/java/org/distorted/library/program/VertexUniformsException.java | ||
---|---|---|
1 | 1 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
2 |
// Copyright 2016 Leszek Koltunski //
|
|
2 |
// Copyright 2016 Leszek Koltunski leszek@koltunski.pl //
|
|
3 | 3 |
// // |
4 | 4 |
// This file is part of Distorted. // |
5 | 5 |
// // |
6 |
// Distorted is free software: you can redistribute it and/or modify //
|
|
7 |
// it under the terms of the GNU General Public License as published by //
|
|
8 |
// the Free Software Foundation, either version 2 of the License, or //
|
|
9 |
// (at your option) any later version. //
|
|
6 |
// This library is free software; you can redistribute it and/or //
|
|
7 |
// modify it under the terms of the GNU Lesser General Public //
|
|
8 |
// License as published by the Free Software Foundation; either //
|
|
9 |
// version 2.1 of the License, or (at your option) any later version. //
|
|
10 | 10 |
// // |
11 |
// Distorted is distributed in the hope that it will be useful, //
|
|
11 |
// This library is distributed in the hope that it will be useful, //
|
|
12 | 12 |
// but WITHOUT ANY WARRANTY; without even the implied warranty of // |
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
14 |
// GNU General Public License for more details. //
|
|
13 |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU //
|
|
14 |
// Lesser General Public License for more details. //
|
|
15 | 15 |
// // |
16 |
// You should have received a copy of the GNU General Public License // |
|
17 |
// along with Distorted. If not, see <http://www.gnu.org/licenses/>. // |
|
16 |
// You should have received a copy of the GNU Lesser General Public // |
|
17 |
// License along with this library; if not, write to the Free Software // |
|
18 |
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA // |
|
18 | 19 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
19 | 20 |
|
20 | 21 |
package org.distorted.library.program; |
Also available in: Unified diff
license