User Tools

Site Tools


en:tutorials:shaders:shadercoordinates

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:community:sergeig:shadercoordinates [2015/10/28 19:27 (9 years ago)] – ↷ Page moved from en:orx:tutorials:community:sergeig:shadercoordinates to tutorials:community:sergeig:shadercoordinates sausageen:tutorials:shaders:shadercoordinates [2020/08/31 07:11 (4 years ago)] (current) – ↷ Page moved from en:tutorials:community:sergeig:shadercoordinates to en:tutorials:shaders:shadercoordinates sausage
Line 15: Line 15:
 The following screenshot demonstrates the final application look on Mac OS X: The following screenshot demonstrates the final application look on Mac OS X:
  
-{{shadercoordscreenshot.png}}+{{tutorials:community:sergeig:shadercoordscreenshot.png}}
  
 On the screenshot you can see a red rectangular dot. It indicates the position of the mouse cursor at the moment of taking the screenshot. On the screenshot you can see a red rectangular dot. It indicates the position of the mouse cursor at the moment of taking the screenshot.
  
-===== Code Behind ===== 
- 
-The source code uses standard setup with main and WinMain entry point functions for different operating systems. Both entry points configure orx engine with references to Init and Run functions. 
  
 ==== Init function ==== ==== Init function ====
Line 308: Line 305:
 } }
  
- 
-#ifdef __orxMSVC__ 
- 
-// Here's an example for a console-less program under windows with visual studio 
-int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) 
-{ 
-    // Inits and executes orx 
-    orx_WinExecute(Init, Run, Exit); 
-     
-    // Done! 
-    return EXIT_SUCCESS; 
-} 
- 
-#endif // __orxMSVC__ 
 </code> </code>
en/tutorials/shaders/shadercoordinates.1446085631.txt.gz · Last modified: 2017/05/30 00:50 (7 years ago) (external edit)