static NSString *CCDrawNodeHWTransformVertexShaderSource =
@"uniform highp mat4 u_MVP;\n"
@"uniform highp vec4 u_TintColor;\n"
@"void main(){\n"
@" gl_Position = u_MVP*cc_Position;\n"
@" cc_FragColor = clamp(u_TintColor*cc_Color, 0.0, 1.0);\n"
@" cc_FragTexCoord1 = cc_TexCoord1;\n"
@"}\n";
I got some errors in using cocos2d-iphone and xcode 7 and found the above code.
The error message:
Objects/CCMetalShaders/CCShaders.air: No such file or directory
What are the @"" codes? seems like they are opengl es or some c language? Can anyone points me to a direction of what they are and how can I learn more about them? Thank you.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.