Axiom.RenderSystems.OpenGLES.GLESRenderSystem.GetTextureAddressingMode C# (CSharp) Méthode

GetTextureAddressingMode() private méthode

private GetTextureAddressingMode ( TextureAddressing tam ) : All
tam TextureAddressing
Résultat All
		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;
			}
		}
GLESRenderSystem