|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RenderBufferFormat>
com.neovisionaries.android.opengl.RenderBufferFormat
public enum RenderBufferFormat
Format of render buffer.
RenderBuffer.setFormat(RenderBufferFormat, int, int)
Enum Constant Summary | |
---|---|
DEPTH_COMPONENT16
GL_DEPTH_COMPONENT16. |
|
RGB5_A1
GL_RGB5_A1. |
|
RGB565
GL_RGB565. |
|
RGBA4
GL_RGBA4. |
|
STENCIL_INDEX8
GL_STENCIL_INDEX8. |
Method Summary | |
---|---|
int |
getFormat()
Get the integer representing this format. |
static RenderBufferFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RenderBufferFormat[] |
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 |
---|
public static final RenderBufferFormat RGB565
public static final RenderBufferFormat RGBA4
public static final RenderBufferFormat RGB5_A1
public static final RenderBufferFormat DEPTH_COMPONENT16
public static final RenderBufferFormat STENCIL_INDEX8
Method Detail |
---|
public static RenderBufferFormat[] values()
for (RenderBufferFormat c : RenderBufferFormat.values()) System.out.println(c);
public static RenderBufferFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getFormat()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |