Assimp
v3.1.1 (June 2014)
|
Classes | |
struct | ShaderData |
Tiny utility data structure to hold the data of a .shader file. More... | |
struct | ShaderDataBlock |
Tiny utility data structure to hold a .shader data block. More... | |
struct | ShaderMapBlock |
Tiny utility data structure to hold a .shader map data block. More... | |
struct | SkinData |
Tiny utility data structure to hold the data of a .skin file. More... | |
Enumerations | |
enum | AlphaTestFunc { AT_NONE , AT_GT0 , AT_LT128 , AT_GE128 } |
Specifies alpha test modi for Quake texture maps. More... | |
enum | BlendFunc { BLEND_NONE , BLEND_GL_ONE , BLEND_GL_ZERO , BLEND_GL_DST_COLOR , BLEND_GL_ONE_MINUS_DST_COLOR , BLEND_GL_SRC_ALPHA , BLEND_GL_ONE_MINUS_SRC_ALPHA } |
Specifies alpha blend modi (src + dest) for Quake shader files. More... | |
enum | ShaderCullMode { CULL_NONE , CULL_CW , CULL_CCW } |
Specifies cull modi for Quake shader files. More... | |
Functions | |
void | ConvertShaderToMaterial (aiMaterial *out, const ShaderDataBlock &shader) |
Convert a Q3Shader to an aiMaterial. More... | |
bool | LoadShader (ShaderData &fill, const std::string &file, IOSystem *io) |
Load a shader file. More... | |
bool | LoadSkin (SkinData &fill, const std::string &file, IOSystem *io) |
Load a skin file. More... | |
void Assimp::Q3Shader::ConvertShaderToMaterial | ( | aiMaterial * | out, |
const ShaderDataBlock & | shader | ||
) |
Convert a Q3Shader to an aiMaterial.
[out] | out | Material structure to be filled. |
[in] | shader | Input shader |
bool Assimp::Q3Shader::LoadShader | ( | ShaderData & | fill, |
const std::string & | file, | ||
IOSystem * | io | ||
) |
Load a shader file.
Generally, parsing is error tolerant. There's no failure.
fill | Receives output data |
file | File to be read. |
io | IOSystem to be used for reading |