public void compileShaders() {
        // TODO cut down on case switches, too many on compileShader(ShaderType type) and compileShaders()
        for (ShaderResource shaderResource : shadersList) {
            switch (shaderResource.getType()) {
                case VERTEX:
                    compileShader(shaderResource);
                    break;

                case FRAGMENT:
                    compileShader(shaderResource);
                    break;

                case GEOMETRY:
                    compileShader(shaderResource);
                    break;

                default:
                    break;
            }
        }
    }