Does Apple allow OpenGL shaders to be loaded into iOS at run time?

I plan to implement an iOS game where the certificates are textures, shaders, etc. loaded at runtime when the user purchases certain purchases in the application. His famous fact about Apple prohibiting the downloading and emitting of iOS application code at runtime:

3.3.2 An Application may not download or install executable code. Interpreted code may only be used in an Application if all scripts, code and interpreters are packaged in the Application and not downloaded. The only exception to the foregoing is scripts and code downloaded and run by Apple built-in WebKit framework. 

This limitation also includes Open GL shaders, i.e. can shaders be encoded at runtime?

+4
source share
1 answer

Alex and co are true. Section 2.4 of the agreement states that you cannot use the API to purchase applications to "add any additional executable code" to the application - only data is allowed. They explicitly state that functionality must be built into the application and unlocked upon purchase.

I can understand why it would be desirable to add shaders as part of the new content; maybe you should contact Apple directly for this to be correct?

+2
source

Source: https://habr.com/ru/post/1399964/


All Articles