private All GetTextureAddressingMode( TextureAddressing tam )
{
switch ( tam )
{
case TextureAddressing.Clamp:
case TextureAddressing.Border:
return All.ClampToEdge;
case TextureAddressing.Mirror:
#if GL_OES_texture_mirrored_repeat
return All.MirroredRepeatOes;
#endif
case TextureAddressing.Wrap:
default:
return All.Repeat;
}
}