| cocos2d-x 3.0 |
)- 类列表 - 类索引 - 类继承关系 - 类成员
全部) 类) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义) 组) 页)
Public 成员函数 | 静态 Public 成员函数 | Protected 成员函数 | Protected 属性 | 所有成员列表
CCPrecompiledShaders类 参考
#include
| ## Public 成员函数 | |
| CCPrecompiledShaders () | |
| virtual | ~CCPrecompiledShaders () |
| std::string | addShaders (const GLchar vShaderByteArray, const GLchar fShaderByteArray) |
| bool | addProgram (GLuint program, const std::string &id) |
| bool | loadProgram (GLuint program, const GLchar vShaderByteArray, const GLchar fShaderByteArray) |
| void | savePrecompiledShaders () |
| ## 静态 Public 成员函数 | |
| static CCPrecompiledShaders * | getInstance () |
| Get current precompiled shaders instance. 更多… | |
| ## Protected 成员函数 | |
| void | savePrecompiledPrograms (Windows::Storage::StorageFolder^folder) |
| void | loadPrecompiledPrograms () |
| void | Init () |
| ## Protected 属性 | |
| std::map< std::string, CompiledProgram > | m_programs |
| std::map< std::string, PrecompiledProgram > | m_precompiledPrograms |
| bool | m_isDirty |
构造及析构函数说明
| CCPrecompiledShaders | ( | ) |
| virtual |
成员函数说明
| bool addProgram | ( | GLuint | program, |
| const std::string & | id | ||
| ) |
| std::string addShaders | ( | const GLchar | vShaderByteArray, |
| const GLchar | fShaderByteArray | ||
| ) |
| static |
Get current precompiled shaders instance.
- 返回
- Current precompiled shaders instance pointer.
| protected |
| protected |
| bool loadProgram | ( | GLuint | program, |
| const GLchar | vShaderByteArray, | ||
| const GLchar | fShaderByteArray | ||
| ) |
| protected |
| void savePrecompiledShaders | ( | ) |
类成员变量说明
| protected |
| protected |
| protected |
该类的文档由以下文件生成:
- /Users/zeroyang/Documents/github/cocos2d-x/cocos/2d/platform/winrt/CCPrecompiledShaders.h
- cocos2d
- CCPrecompiledShaders
- 生成于 2014年 五月 29日 星期四 09:41:44 , 为 cocos2d-x使用
1.8.6
