Class

GLKEffectPropertyMaterial

Surface appearance properties for use in GLKit rendering effects.

Declaration

@interface GLKEffectPropertyMaterial : GLKEffectProperty

Overview

The GLKEffectPropertyMaterial class defines properties used to configure the characteristics of the surface being lit. The material properties for an effect interact with light properties on the same effect to determine how that surface is lit within the scene. The behavior of this class matches the material properties and lighting calculations defined in the OpenGL ES 1.1 specification.

Topics

Material Properties

ambientColor

The ambient color of the material.

diffuseColor

The diffuse color of the material.

emissiveColor

The emissive color of the material.

shininess

The shininess of the material, used when calculating specular lighting effects.

specularColor

The specular color of the material.

Relationships

Inherits From

See Also

Rendering Effect Parameters

GLKEffectProperty

The abstract superclass for configuration information used in GLKit rendering effects.

Deprecated
GLKEffectPropertyFog

Fog drawing information for use in GLKit rendering effects.

Deprecated
GLKEffectPropertyLight

Lighting information for use in GLKit rendering effects.

Deprecated
GLKEffectPropertyTexture

Texture drawing parameters for use in GLKit rendering effects.

Deprecated
GLKEffectPropertyTransform

Coordinate transform information for use in GLKit rendering effects.

Deprecated