Project

General

Profile

« Previous | Next » 

Revision 03cb451d

Added by Leszek Koltunski about 7 years ago

Speed up shaders (both compilation and execution) by explicitly enabling only the needed effects.

View differences:

src/main/java/org/distorted/library/EffectNames.java
372 372
    return false;
373 373
    }
374 374

  
375
///////////////////////////////////////////////////////////////////////////////////////////////////
376

  
377
  static int size()
378
    {
379
    return values().length;
380
    }
381

  
375 382
///////////////////////////////////////////////////////////////////////////////////////////////////
376 383
// PUBLIC API
377 384
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff