Updated demos to use DALi clang-format
[platform/core/uifw/dali-demo.git] / examples / renderer-stencil / renderer-stencil-shaders.h
index fcf758f..68c4dc1 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_DEMO_RENDERER_STENCIL_SHADERS_H
 
 /*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
 #include <dali/public-api/rendering/shader.h>
 
 // Shader uniforms:
-const char * const COLOR_UNIFORM_NAME( "uColor" );
-const char * const OBJECT_DIMENSIONS_UNIFORM_NAME( "uObjectDimensions" );
-const char * const STAGE_SIZE_UNIFORM_NAME( "uStageSize" );
-const char * const LIGHT_POSITION_UNIFORM_NAME = "uLightPosition";
-const char * const POSITION( "aPosition");
-const char * const NORMAL( "aNormal" );
-const char * const TEXTURE( "aTexCoord" );
+const char* const COLOR_UNIFORM_NAME("uColor");
+const char* const OBJECT_DIMENSIONS_UNIFORM_NAME("uObjectDimensions");
+const char* const LIGHT_POSITION_UNIFORM_NAME = "uLightPosition";
+const char* const POSITION("aPosition");
+const char* const NORMAL("aNormal");
+const char* const TEXTURE("aTexCoord");
+
+// clang-format off
 
 // Shader for basic, per-vertex lighting (vertex):
 const char* VERTEX_SHADER = DALI_COMPOSE_SHADER(
@@ -122,4 +123,6 @@ const char* FRAGMENT_SHADER_TEXTURED = DALI_COMPOSE_SHADER(
   }
 );
 
+// clang-format on
+
 #endif // DALI_DEMO_RENDERER_STENCIL_SHADERS_H