Revision 97755c02
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/main/DistortedLibrary.java | ||
---|---|---|
36 | 36 |
import org.distorted.library.effect.PostprocessEffect; |
37 | 37 |
import org.distorted.library.effect.VertexEffect; |
38 | 38 |
import org.distorted.library.effectqueue.EffectQueueVertex; |
39 |
import org.distorted.library.mesh.AssociationUniformBlock; |
|
39 | 40 |
import org.distorted.library.mesh.DeferredJobs; |
40 | 41 |
import org.distorted.library.mesh.MeshBase; |
41 | 42 |
import org.distorted.library.message.EffectMessageSender; |
... | ... | |
308 | 309 |
int[] params = new int[1]; |
309 | 310 |
int index = GLES30.glGetUniformBlockIndex(mMainProgramH, "meshAssociation"); |
310 | 311 |
GLES30.glGetActiveUniformBlockiv( mMainProgramH, index, GLES30.GL_UNIFORM_BLOCK_DATA_SIZE, params, 0); |
311 |
MeshBase.setAssociationSize(params[0]);
|
|
312 |
AssociationUniformBlock.setAssociationSize(params[0]);
|
|
312 | 313 |
} |
313 | 314 |
|
314 | 315 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Move the 'effect association' part of MeshBase to a separate class.