#include <MilkShape.h>
Public Member Functions | |
MS_Material () | |
virtual | ~MS_Material () |
void | clear () |
void | activate () |
void | reloadTexture () |
bool | loadFromAsciiSegment (const char *path, FILE *file) |
Public Attributes | |
char | name [MS_MAX_NAME] |
float | ambient [4] |
float | diffuse [4] |
float | specular [4] |
float | emissive [4] |
float | shininess |
float | transparency |
char | diffuse_name [MS_MAX_NAME] |
char | alpha_name [MS_MAX_NAME] |
TextureID | texture |
Definition at line 69 of file MilkShape.h.
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 9 of file MS_Material.cpp. |
|
Definition at line 12 of file MS_Material.cpp. References clear(). Here is the call graph for this function: |
|
Definition at line 116 of file MS_Material.cpp. References app, Renderer::apply(), Application::renderer, and Renderer::setTextures(). Referenced by MilkShape::render(). Here is the call graph for this function: |
|
Definition at line 16 of file MS_Material.cpp. References app, Renderer::deleteTexture(), and Application::renderer. Referenced by MilkShape::clear(), and ~MS_Material(). Here is the call graph for this function: |
|
Definition at line 29 of file MS_Material.cpp. References name, and reloadTexture(). Here is the call graph for this function: |
|
Definition at line 20 of file MS_Material.cpp. References Renderer::addTexture(), app, Application::renderer, texture, and TEXTURE_NONE. Referenced by loadFromAsciiSegment(). Here is the call graph for this function: |
|
Definition at line 88 of file MilkShape.h. |
|
Definition at line 81 of file MilkShape.h. |
|
Definition at line 82 of file MilkShape.h. |
|
Definition at line 87 of file MilkShape.h. |
|
Definition at line 84 of file MilkShape.h. |
|
Definition at line 80 of file MilkShape.h. Referenced by loadFromAsciiSegment(). |
|
Definition at line 85 of file MilkShape.h. |
|
Definition at line 83 of file MilkShape.h. |
|
Definition at line 89 of file MilkShape.h. Referenced by reloadTexture(). |
|
Definition at line 86 of file MilkShape.h. |