When you compile a shader program, Unity defines several preprocessing macros.Target platform
SHADER_API_OPENGL-Desktop OpenGL
SHADER_API_D3D9-Direct3D 9
SHADER_API_XBOX360-Xbox 360
SHADER_API_PS3-PlayStation 3
SHADER_API_D3D11-Desktop Direct3D 11
SHADER_API_GLES-OpenGL ES 2.0 (desktop or mobile), using the presence of shader_api_mobile to determine.
SHADER_API_FLASH-Flash Stage3D
SHADER_API_D3D11_9X-Direct3D 11 ta
, Macintosh, Solaris, OS/2, Amiga, AROS, AS/400, BeOS, OS/390, z/OS, Palm OS, QNX, VMS, Psion, Acom risc OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE, and even PocketPC and Symbian!
Explanatory ---- this requires some explanation. A program written in a compiled language such as C or C ++ can be converted from the source file C or C ++ to the binary code of the language used by your computer, 0 and 1 ). This process is completed by the compiler
platforms). These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, as/400, BeOS, os/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, Sharp Zaurus, Windows CE, PocketPC, Symbian, and Google Linux-based Android platforms.7. Explanatory: A program written in a compiled language such as C or C + + can be converted from a source file (i.e. C or C + +) to a language used by your computer (binary code
from the client to perform a later version of the Web service's DoSomething method-or needs to return a field other than the string value-a significant change to the old client is unavoidable. Of course, you can always create a parallel dosomething_v2 method, with two input parameters, but over time will mess up your Web service interface and consumers, the service becomes uglier, the Web service implemented with WCF is the case, the following we introduce Servicestack.Servicestack is an open-s
md = new MobileDetect( 'Mozilla/5.0 (Linux; U; Android 4.0.3; en-in; SonyEricssonMT11i' + ' Build/4.1.A.0.562) AppleWebKit/534.30 (KHTML, like Gecko)' + ' Version/4.0 Mobile Safari/534.30'); // more typically we would instantiate with 'window.navigator.userAgent' // as user-agent; this string literal is only for better understanding console.log( md.mobile() ); // 'Sony' console.log( md.phone() ); // 'Sony' console.log( md.tablet() ); // null console.log( md.userAgent() );
#define directive for compiling/executing code for the WII console.
Unity_ios
#define directive for compiling/executing code for the IOS platform.
Unity_iphone
Deprecated. Use Unity_ios instead.
Unity_android
#define directive for the Android platform.
Unity_ps4
#define directive for running PlayStation 4 code.
Unity_samsungtv
#define directive for exe
Windows Store Apps(Windows 8, Windows RT)
Windows Phone 8
PlayStation Mobile(currently only 2D supported)
OUYA
Nimbus.Nimbus is an open-source iOS framework that is more comprehensive and rich than the Three20,nimbus documentation, and is capable of achieving many of the most stunning interface effects. As a result, developers can use Nimbus to reduce the complexity of project design.Cheddar-ios.Cheddar is a simple Instant Task M
increases the indirect texture limit to 256. It is important to note that some shader pattern 3.0 features do not support ARB vertex programs and arb fragment programs, such as derived directives. You can use the #pragma GLSL command to convert to GLSL, which is less restrictive. #pragma only_renderers space separated names-compiles shaders with the given renderer only. By default, shaders are compiled with all renderers. D3d9-direct3d 9.? Opengl-opengl.? Gles-opengl ES 2.0.? Xbox360-xbox 360.
, Macintosh, Solaris, OS/2, Amiga, AROS, as/400, BeOS, os/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks, PlayStation, sharp Zaurus, Windows CE and even PocketPC, Symbian, and Google Linux-based Android platforms!Interpreted language: A program written in a compiled language, such as C or C + +, can be converted from a source file (that is, C or C + +) to a language used by your computer (binary code, 0 and 1). This process is done through
with polyline . It provides a good example of drawing a set of PlayStation animations. Progressbar.jsProgressbar.js is a lovely and easy-to-accept growth graph used to draw cartoon svg lines. With it, various shapes can be used as growth curves. It integrates some useful shapes such as range,circle and block, and you can even develop a growth chart yourself through illustrator or other vector drawing tools. Progressbar.js is lightweight, MIT licensed
information about the user's order at one time. User name, price, product information, etc. var Cart_json = ' {' username ': "[emailprotected]", "City": "Vienna", "state": "Virginia", "Country": "USA", " Products ": [{" Name ":" PlayStation4 "," category ":" PlayStation "," Price ":" $399.99 "," Quantity ": 1},{" name ":" HD sound Bar With Wireless subwoofer "," category ": ' Sound Bar '," Price ":" $899.99 "," Quantity ": 2},{" name ":" POV HD camco
person create and often improve.⑷ portability ———— because of its open source nature, Python has been ported on many platforms (modified to make it work on different platforms). If you are careful to avoid using system-dependent features, all your Python programs can run without modification on any of the platforms listed below. These platforms include Linux, Windows, FreeBSD, Macintosh, Solaris, OS/2, Amiga, AROS, as/400, BeOS, os/390, z/OS, Palm OS, QNX, VMS, Psion, Acom RISC OS, VxWorks,
changes to it, and use it as part of the new free software. Floss is the concept of sharing knowledge based on a group;
High-level languages: When writing programs in the Python language, you don't have to consider the underlying details such as how to manage the memory used by your program;
portability: Because of its open source nature, Python has been ported on many platforms (modified to make it work on different platforms). These platforms include Linux, Win
API Address: http://docs.unity3d.com/Documentation/Manual/PlatformDependentCompilation.htmlPlatform definitionCalled by the Unity_editor editor.UNITY_STANDALONE_OSX is specifically defined for Mac OS (including UNIVERSAL,PPC and intelarchitectures) platforms.Unity_dashboard_widget Mac OS DASHBOARD widget (Mac OS Dashboard widget).Unity_standalone_win Windows operating system.Unity_standalone_linux is a standalone application for LINUX.Unity_standalone stand-alone platform (Mac,windows or Linux).
content (this includes Windows and MAC Web Player executables).
Unity_wii
Platform Define for compiling/executing code for the WII console.
Unity_iphone
Platform Define for compiling/executing code for the IPhone Platform.
Unity_android
Platform define for the Android Platform.
Unity_ps3
Platform define for running PlayStation 3 code.
unity_xbox360
Platform
Http://www.cnblogs.com/zhaoqingqing/p/3510332.htmlAPI Address: http://docs.unity3d.com/Documentation/Manual/PlatformDependentCompilation.htmlPlatform definitionCalled by the Unity_editor editor.UNITY_STANDALONE_OSX is specifically defined for Mac OS (including UNIVERSAL,PPC and intelarchitectures) platforms.Unity_dashboard_widget Mac OS DASHBOARD widget (Mac OS Dashboard widget).Unity_standalone_win Windows operating system.Unity_standalone_linux is a standalone application for LINUX.Unity_stand
Pre -compilingOriginal address: http://docs.unity3d.com/Documentation/Manual/PlatformDependentCompilation.htmlPlatformdefinition
Unity_editor
Editor calls.
Unity_standalone_osx
Specifically for the definition of Mac OS (including UNIVERSAL,PPC and intelarchitectures) platforms .
Unity_dashboard_widget
Mac OS Dashboard widget (Mac OS Dashboard widget).
Unity_standalone_win
Windows.
Unity
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.