Back to class index
Shader[Class Summary]
type
filename
shaderHandle
shaderVariables
ctor
~dtor
LoadFromFile(...) (+2 overloads)
LoadFromString(...)
Deinit()
Name()[const]
ReflectShaderCode(shaderData)
FromFile(...)[static] (+2 overloads)
FromString(...)[static]

Shader::LoadFromFile

Syntax

int Shader::LoadFromFile(ShaderType type, const String &filename, const char *entryPoint=0, const char *profile=0);
int Shader::LoadFromFile(ShaderType type, const char *filename, const char *entryPoint=0, const char *profile=0); [19 lines of code]
int Shader::LoadFromFile(ShaderType type, File &file, const char *entryPoint=0, const char *profile=0); [16 lines of code]

Leave a Comment

Name:
Comments:
Captcha:captcha image Type in the black symbols:
Back to class index