Home | History | Annotate | Download | only in data
      1 /*******************************************************************************
      2  * Copyright 2011 See AUTHORS file.
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *   http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  ******************************************************************************/
     16 
     17 package com.badlogic.gdx.graphics.g3d.model.data;
     18 
     19 import com.badlogic.gdx.math.Vector2;
     20 
     21 public class ModelTexture {
     22 	public final static int USAGE_UNKNOWN = 0;
     23 	public final static int USAGE_NONE = 1;
     24 	public final static int USAGE_DIFFUSE = 2;
     25 	public final static int USAGE_EMISSIVE = 3;
     26 	public final static int USAGE_AMBIENT = 4;
     27 	public final static int USAGE_SPECULAR = 5;
     28 	public final static int USAGE_SHININESS = 6;
     29 	public final static int USAGE_NORMAL = 7;
     30 	public final static int USAGE_BUMP = 8;
     31 	public final static int USAGE_TRANSPARENCY = 9;
     32 	public final static int USAGE_REFLECTION = 10;
     33 
     34 	public String id;
     35 	public String fileName;
     36 	public Vector2 uvTranslation;
     37 	public Vector2 uvScaling;
     38 	public int usage;
     39 }
     40