Dali 3D User Interface Engine
Classes | Functions | Variables
Dali::Internal::anonymous_namespace{image-actor-impl.cpp} Namespace Reference


struct  GridVertex


Create ()
GeometryPtr CreateGeometry (unsigned int gridWidth, unsigned int gridHeight, const Vector2 &size)
const char *const TEXTURE_RECT_UNIFORM_NAME ("sTextureRect")


TypeRegistration mType (typeid(Dali::ImageActor), typeid(Dali::Actor), Create)
const char * VERTEX_SHADER
const char * FRAGMENT_SHADER
const size_t INVALID_TEXTURE_ID = (size_t)-1
const int INVALID_RENDERER_ID = -1
const uint16_t MAXIMUM_GRID_SIZE = 2048

Function Documentation

DALI_PROPERTY_TABLE_BEGIN BaseHandle Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::Create ( )

Definition at line 53 of file image-actor-impl.cpp.

References Dali::ImageActor::New().

Here is the call graph for this function:

GeometryPtr Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::CreateGeometry ( unsigned int  gridWidth,
unsigned int  gridHeight,
const Vector2 &  size 
const char* const Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::TEXTURE_RECT_UNIFORM_NAME ( "sTextureRect"  )

Referenced by Dali::Internal::ImageActor::UpdateTexureRect().

Here is the caller graph for this function:

Variable Documentation

const char* Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::FRAGMENT_SHADER
Initial value:
varying mediump vec2 vTexCoord;\n
uniform sampler2D sTexture;\n
uniform lowp vec4 uColor;\n
void main()\n
gl_FragColor = texture2D( sTexture, vTexCoord ) * uColor;\n

Definition at line 161 of file image-actor-impl.cpp.

const int Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::INVALID_RENDERER_ID = -1

Definition at line 175 of file image-actor-impl.cpp.

Referenced by Dali::Internal::ImageActor::SetImage().

const size_t Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::INVALID_TEXTURE_ID = (size_t)-1
const uint16_t Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::MAXIMUM_GRID_SIZE = 2048

Definition at line 176 of file image-actor-impl.cpp.

Referenced by Dali::Internal::ImageActor::UpdateGeometry().

TypeRegistration Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::mType(typeid(Dali::ImageActor), typeid(Dali::Actor), Create)
const char* Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::VERTEX_SHADER
Initial value:
attribute mediump vec3 aPosition;\n
attribute mediump vec2 aTexCoord;\n
varying mediump vec2 vTexCoord;\n
uniform mediump mat4 uMvpMatrix;\n
uniform mediump vec3 uSize;\n
uniform mediump vec4 sTextureRect;\n
void main()\n
gl_Position = uMvpMatrix * vec4(aPosition, 1.0);\n
vTexCoord = aTexCoord;\n

Definition at line 146 of file image-actor-impl.cpp.

Dali Docs Home
Read more about Dali