Revision cbcf2374
Added by Leszek Koltunski 4 months ago
src/main/java/org/distorted/library/effect/VertexEffect.java | ||
---|---|---|
231 | 231 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
232 | 232 |
/** |
233 | 233 |
* Set Mesh association. |
234 |
* |
|
234 |
* <p>
|
|
235 | 235 |
* This creates an association between a Component of a Mesh and this Vertex Effect. |
236 | 236 |
* One can set two types of associations - an 'logical and' and a 'equal' associations and the Effect |
237 | 237 |
* will only be active on vertices of Components such that |
238 |
* |
|
238 |
* <p>
|
|
239 | 239 |
* (effect andAssoc) & (component andAssoc) != 0 || (effect equAssoc) == (mesh equAssoc) |
240 |
* |
|
240 |
* <p>
|
|
241 | 241 |
* (see main_vertex_shader) |
242 |
* |
|
242 |
* <p>
|
|
243 | 243 |
* The point: this way we can configure the system so that each Vertex Effect acts only on a certain |
244 | 244 |
* subset of a Mesh, thus potentially significantly reducing the number of render calls. |
245 | 245 |
*/ |
Also available in: Unified diff
minor