#include <CCPrecompiledShaders.h>
|
| CCPrecompiledShaders () |
virtual | ~CCPrecompiledShaders () |
void | addPrecompiledProgram (const char *key, const unsigned char *program, int programLength) |
var | addPrecompiledProgram ( var key, var program, var programLength) |
local | addPrecompiledProgram ( local key, local program, local programLength) |
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 () |
void addPrecompiledProgram |
( |
const char * |
key, |
|
|
const unsigned char * |
program, |
|
|
int |
programLength |
|
) |
| |
var addPrecompiledProgram |
( |
var |
key, |
|
|
var |
program, |
|
|
var |
programLength |
|
) |
| |
local addPrecompiledProgram |
( |
local |
key, |
|
|
local |
program, |
|
|
local |
programLength |
|
) |
| |
bool addProgram |
( |
GLuint |
program, |
|
|
const std::string & |
id |
|
) |
| |
var addProgram |
( |
var |
program, |
|
|
var |
id |
|
) |
| |
local addProgram |
( |
local |
program, |
|
|
local |
id |
|
) |
| |
std::string addShaders |
( |
const GLchar * |
vShaderByteArray, |
|
|
const GLchar * |
fShaderByteArray |
|
) |
| |
var addShaders |
( |
var |
vShaderByteArray, |
|
|
var |
fShaderByteArray |
|
) |
| |
local addShaders |
( |
local |
vShaderByteArray, |
|
|
local |
fShaderByteArray |
|
) |
| |
Get current precompiled shaders instance.
- Returns
- Current precompiled shaders instance pointer.
Get current precompiled shaders instance.
- Returns
- Current precompiled shaders instance pointer.
Get current precompiled shaders instance.
- Returns
- Current precompiled shaders instance pointer.
void loadPrecompiledPrograms |
( |
| ) |
|
|
protected |
var loadPrecompiledPrograms |
( |
| ) |
|
|
protected |
local loadPrecompiledPrograms |
( |
| ) |
|
|
protected |
bool loadProgram |
( |
GLuint |
program, |
|
|
const GLchar * |
vShaderByteArray, |
|
|
const GLchar * |
fShaderByteArray |
|
) |
| |
var loadProgram |
( |
var |
program, |
|
|
var |
vShaderByteArray, |
|
|
var |
fShaderByteArray |
|
) |
| |
local loadProgram |
( |
local |
program, |
|
|
local |
vShaderByteArray, |
|
|
local |
fShaderByteArray |
|
) |
| |
void savePrecompiledPrograms |
( |
Windows::Storage::StorageFolder^ |
folder | ) |
|
|
protected |
var savePrecompiledPrograms |
( |
var |
folder | ) |
|
|
protected |
local savePrecompiledPrograms |
( |
local |
folder | ) |
|
|
protected |
void savePrecompiledShaders |
( |
| ) |
|
var savePrecompiledShaders |
( |
| ) |
|
local savePrecompiledShaders |
( |
| ) |
|
var m_precompiledPrograms |
|
protected |
local m_precompiledPrograms |
|
protected |
The documentation for this class was generated from the following file: