Download

Check rendering level from c++

hello everyone,

i need help for detect render level(opengl es2.0 , opengl es3.0, SM etc.) from c++. i want to use lit material for opengl es2 phones. es3 use lit material. i did found " #if PLATFORM_USES_ES2 " but it not worked.

so, how can i check opengl es2 using, if using change material from c++?

thanks for help…