Dali 3D User Interface Engine
Functions | Variables
Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp} Namespace Reference

Functions

const char *const RENDERER_TYPE ("rendererType")
 
const char *const RENDERER_TYPE_VALUE ("debug")
 
const char *const POSITION_ATTRIBUTE_NAME ("aPosition")
 
const char *const INDEX_NAME ("indices")
 

Variables

const char * VERTEX_SHADER
 
const char * FRAGMENT_SHADER
 

Function Documentation

const char* const Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::INDEX_NAME ( "indices"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::POSITION_ATTRIBUTE_NAME ( "aPosition"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::RENDERER_TYPE ( "rendererType"  )
const char* const Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::RENDERER_TYPE_VALUE ( "debug"  )

Variable Documentation

const char* Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::FRAGMENT_SHADER
Initial value:
uniform lowp vec4 uColor;\n
\n
void main()\n
{\n
gl_FragColor = uColor;\n
}\n
)

Definition at line 57 of file debug-renderer.cpp.

const char* Dali::Toolkit::Internal::anonymous_namespace{debug-renderer.cpp}::VERTEX_SHADER
Initial value:
attribute mediump vec2 aPosition;\n
uniform mediump mat4 uMvpMatrix;\n
uniform mediump vec3 uSize;\n
\n
void main()\n
{\n
mediump vec4 vertexPosition = vec4(aPosition, 0.0, 1.0);\n
vertexPosition.xyz *= uSize;\n
gl_Position = uMvpMatrix * vertexPosition;\n
}\n
)

Definition at line 44 of file debug-renderer.cpp.

Dali Docs Home
Read more about Dali