Oolite 1.91.0.7644-241112-7f5034b
|
#include <OOBasicMaterial.h>
Private Attributes | |
NSString * | materialName |
GLfloat | diffuse [4] |
GLfloat | specular [4] |
GLfloat | ambient [4] |
GLfloat | emission [4] |
uint8_t | shininess |
Additional Inherited Members | |
Class Methods inherited from OOMaterial | |
(void) | + setUp |
(void) | + applyNone |
(OOMaterial *) | + current |
(OOMaterial *) | + materialWithName:cacheKey:configuration:macros:bindingTarget:forSmoothedMesh: |
(OOMaterial *) | + materialWithName:cacheKey:materialDictionary:shadersDictionary:macros:bindingTarget:forSmoothedMesh: |
(NSDictionary *) | + synthesizeMaterialDictionaryWithName:configuration:macros: [implementation] |
(OOMaterial *) | + defaultShaderMaterialWithName:cacheKey:configuration:macros:bindingTarget: [implementation] |
Definition at line 37 of file OOBasicMaterial.h.
|
implementation |
Reimplemented from OOMaterial.
Reimplemented in OOSingleTextureMaterial.
Definition at line 36 of file OOBasicMaterial.m.
- (OOColor *) ambientColor |
Definition at line 36 of file OOBasicMaterial.m.
|
implementation |
Reimplemented from OOMaterial.
Reimplemented in OOSingleTextureMaterial.
Definition at line 36 of file OOBasicMaterial.m.
- (OOColor *) diffuseColor |
Definition at line 36 of file OOBasicMaterial.m.
|
implementation |
Reimplemented from OOMaterial.
Reimplemented in OOSingleTextureMaterial.
Definition at line 36 of file OOBasicMaterial.m.
- (OOColor *) emmisionColor |
Definition at line 36 of file OOBasicMaterial.m.
- (void) getAmbientComponents: | (GLfloat[4]) | outComponents |
Definition at line 36 of file OOBasicMaterial.m.
- (void) getDiffuseComponents: | (GLfloat[4]) | outComponents |
Definition at line 36 of file OOBasicMaterial.m.
- (void) getEmissionComponents: | (GLfloat[4]) | outComponents |
Definition at line 36 of file OOBasicMaterial.m.
- (void) getSpecularComponents: | (GLfloat[4]) | outComponents |
Definition at line 36 of file OOBasicMaterial.m.
- (id) initWithName: | (NSString *) | name |
Definition at line 36 of file OOBasicMaterial.m.
- (id) initWithName: | (NSString *) | name | |
configuration: | (NSDictionary *) | configuration |
Reimplemented in OOSingleTextureMaterial.
Definition at line 36 of file OOBasicMaterial.m.
|
implementation |
Reimplemented from OOMaterial.
Definition at line 36 of file OOBasicMaterial.m.
Referenced by OOSingleTextureMaterial::allTextures.
- (BOOL) permitSpecular |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientAndDiffuseColor: | (OOColor *) | color |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientAndDiffuseComponents: | (const GLfloat[4]) | components |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientAndDiffuseRed: | (GLfloat) | r | |
green: | (GLfloat) | g | |
blue: | (GLfloat) | b | |
alpha: | (GLfloat) | a |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientColor: | (OOColor *) | color |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientComponents: | (const GLfloat[4]) | components |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setAmbientRed: | (GLfloat) | r | |
green: | (GLfloat) | g | |
blue: | (GLfloat) | b | |
alpha: | (GLfloat) | a |
- (void) setDiffuseColor: | (OOColor *) | color |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setDiffuseComponents: | (const GLfloat[4]) | components |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setDiffuseRed: | (GLfloat) | r | |
green: | (GLfloat) | g | |
blue: | (GLfloat) | b | |
alpha: | (GLfloat) | a |
- (void) setEmissionColor: | (OOColor *) | color |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setEmissionComponents: | (const GLfloat[4]) | components |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setEmissionRed: | (GLfloat) | r | |
green: | (GLfloat) | g | |
blue: | (GLfloat) | b | |
alpha: | (GLfloat) | a |
- (void) setShininess: | (uint8_t) | value |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setSpecularColor: | (OOColor *) | color |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setSpecularComponents: | (const GLfloat[4]) | components |
Definition at line 36 of file OOBasicMaterial.m.
- (void) setSpecularRed: | (GLfloat) | r | |
green: | (GLfloat) | g | |
blue: | (GLfloat) | b | |
alpha: | (GLfloat) | a |
- (uint8_t) shininess |
- (OOColor *) specularColor |
Definition at line 36 of file OOBasicMaterial.m.
|
implementation |
Reimplemented from OOMaterial.
Reimplemented in OOSingleTextureMaterial.
Definition at line 36 of file OOBasicMaterial.m.
|
private |
Definition at line 45 of file OOBasicMaterial.h.
|
private |
Definition at line 43 of file OOBasicMaterial.h.
|
private |
Definition at line 46 of file OOBasicMaterial.h.
|
private |
Definition at line 40 of file OOBasicMaterial.h.
|
private |
Definition at line 49 of file OOBasicMaterial.h.
|
private |
Definition at line 44 of file OOBasicMaterial.h.