android.renderscript
Enum Allocation.MipmapControl

java.lang.Object
  extended by java.lang.Enum<Allocation.MipmapControl>
      extended by android.renderscript.Allocation.MipmapControl
All Implemented Interfaces:
Serializable, Comparable<Allocation.MipmapControl>
Enclosing class:
Allocation

public static enum Allocation.MipmapControl
extends Enum<Allocation.MipmapControl>


Enum Constant Summary
MIPMAP_FULL
           
MIPMAP_NONE
           
MIPMAP_ON_SYNC_TO_TEXTURE
           
 
Method Summary
static Allocation.MipmapControl valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Allocation.MipmapControl[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MIPMAP_FULL

public static final Allocation.MipmapControl MIPMAP_FULL

MIPMAP_NONE

public static final Allocation.MipmapControl MIPMAP_NONE

MIPMAP_ON_SYNC_TO_TEXTURE

public static final Allocation.MipmapControl MIPMAP_ON_SYNC_TO_TEXTURE
Method Detail

values

public static Allocation.MipmapControl[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Allocation.MipmapControl c : Allocation.MipmapControl.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Allocation.MipmapControl valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2008-2012. All Rights Reserved.