5 #ifndef __S_MATERIAL_LAYER_H_INCLUDED__
6 #define __S_MATERIAL_LAYER_H_INCLUDED__
37 static const char*
const aTextureClampNames[] = {
38 "texture_clamp_repeat",
39 "texture_clamp_clamp",
40 "texture_clamp_clamp_to_edge",
41 "texture_clamp_clamp_to_border",
42 "texture_clamp_mirror",
43 "texture_clamp_mirror_clamp",
44 "texture_clamp_mirror_clamp_to_edge",
45 "texture_clamp_mirror_clamp_to_border", 0};
75 MatrixAllocator.
destruct(TextureMatrix);
91 if (other.TextureMatrix)
92 *TextureMatrix = *other.TextureMatrix;
95 MatrixAllocator.
destruct(TextureMatrix);
102 if (other.TextureMatrix)
104 TextureMatrix = MatrixAllocator.
allocate(1);
105 MatrixAllocator.
construct(TextureMatrix,*other.TextureMatrix);
126 TextureMatrix = MatrixAllocator.
allocate(1);
129 return *TextureMatrix;
137 return *TextureMatrix;
148 TextureMatrix = MatrixAllocator.
allocate(1);
149 MatrixAllocator.
construct(TextureMatrix,mat);
152 *TextureMatrix = mat;
171 different |= (TextureMatrix != b.TextureMatrix) &&
172 TextureMatrix && b.TextureMatrix &&
173 (*TextureMatrix != *(b.TextureMatrix));
181 {
return !(b!=*
this); }
228 #endif // __S_MATERIAL_LAYER_H_INCLUDED__