|
QSDK 1.1 Documentation |
#include <Q/q.h>
Inheritance diagram for Q::Shader:

The Shader object is used to define the surface appearance of objects in the scene. This includes defining the textures used, material colors and other properties used for rendering the objects.
|
|
Create a null shader reference. |
|
|
Search the currently attached databases for a shader with the given name. |
|
|
Return |
|
|
Return |
|
|
Return the ambient color of the shader. |
|
|
If the object referenced by
|
|
|
Return |
|
|
Return the type for this class. |
|
||||||||||||||||
|
Create a new shader named |
|
|
Return a default shader. |
|
|
Return |
|
|
Return the diffuse color of the shader. |
|
|
Return the diffuse texture for the shader. |
|
|
Return the emissive color of the shader. |
|
|
Search the currently attached databases for a shader with the given name and return that object, if it exists. |
|
|
Given the existing state of the shader, this method calculates the optimum means of rendering objects using the shader. This should be called once after initialising all values of the shader. |
|
|
When |
|
|
When |
|
|
Set the ambient color of the shader. |
|
|
When |
|
|
When |
|
|
Set the diffuse color of the shader. |
|
|
Set the diffuse texture for the shader. |
|
|
Set the emissive color of the shader. |
|
|
Set the shininess value for the shader. |
|
|
Set the specular color of the shader. |
|
|
Set the specular texture for the shader. |
|
|
If |
|
|
If |
|
|
Return the shininess value for the shader. |
|
|
Return the specular color of the shader. |
|
|
Return the specular texture for the shader. |
|
|
Return |
|
|
Return |
|
|
|
Qube Software Limited © 2000-2004
|
|