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

Functions

void SetMatrices (Program &program, const Matrix &modelMatrix, const Matrix &viewMatrix, const Matrix &projectionMatrix, const Matrix &modelViewMatrix)
 Helper to set view and projection matrices once per program. More...
 

Variables

static Matrix gModelViewProjectionMatrix (false)
 a shared matrix to calculate the MVP matrix, dont want to store it in object to reduce storage overhead More...
 
static Matrix3 gNormalMatrix
 a shared matrix to calculate normal matrix, dont want to store it in object to reduce storage overhead More...
 

Function Documentation

void Dali::Internal::anonymous_namespace{render-renderer.cpp}::SetMatrices ( Program &  program,
const Matrix &  modelMatrix,
const Matrix &  viewMatrix,
const Matrix &  projectionMatrix,
const Matrix &  modelViewMatrix 
)
inline

Variable Documentation

Matrix Dali::Internal::anonymous_namespace{render-renderer.cpp}::gModelViewProjectionMatrix(false)
static

a shared matrix to calculate the MVP matrix, dont want to store it in object to reduce storage overhead

Matrix3 Dali::Internal::anonymous_namespace{render-renderer.cpp}::gNormalMatrix
static

a shared matrix to calculate normal matrix, dont want to store it in object to reduce storage overhead

Definition at line 43 of file render-renderer.cpp.

Dali Docs Home
Read more about Dali