![]() ![]() A good example is a web browser or Tao3D, since they load the shaders at run time. But there are also use cases where you want to generate your shader code on the fly. Now, in general, compiling ahead of time has a number of benefits. It’s not a coincidence if Metal shaders are compiled ahead of time instead of JIT like GLSL. The main problem with advanced C++11 features is that they tend to be expensive to compile. ![]() Or is it because they don’t want to support virtual functions? Except no inheritance? Why not? Single inheritance, at least, was relatively simple to get. I think templates and classes can bring a new category of higher-level constructs. ![]() I am not entirely convinced by Metal at this point, notably by its shading language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |