|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<QGLFramebufferObject.Attachment>
com.trolltech.qt.opengl.QGLFramebufferObject.Attachment
public static enum QGLFramebufferObject.Attachment
This enum type is used to configure the depth and stencil buffers attached to the framebuffer object when it is created.
| Enum Constant Summary | |
|---|---|
CombinedDepthStencil
If the GL_EXT_packed_depth_stencil extension is present, a combined depth and stencil buffer is attached. |
|
Depth
A depth buffer is attached to the framebuffer object. |
|
NoAttachment
No attachment is added to the framebuffer object. |
|
| Method Summary | |
|---|---|
static QGLFramebufferObject.Attachment |
resolve(int value)
|
int |
value()
This function should return an integer value for the enum values of the enumeration that implements this interface. |
static QGLFramebufferObject.Attachment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QGLFramebufferObject.Attachment[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final QGLFramebufferObject.Attachment NoAttachment
No attachment is added to the framebuffer object. Note that the OpenGL depth and stencil tests won't work when rendering to a framebuffer object without any depth or stencil buffers. This is the default value.
public static final QGLFramebufferObject.Attachment CombinedDepthStencil
If the GL_EXT_packed_depth_stencil extension is present, a combined depth and stencil buffer is attached. If the extension is not present, only a depth buffer is attached.
public static final QGLFramebufferObject.Attachment Depth
A depth buffer is attached to the framebuffer object.
| Method Detail |
|---|
public static final QGLFramebufferObject.Attachment[] values()
for(QGLFramebufferObject.Attachment c : QGLFramebufferObject.Attachment.values())
System.out.println(c);
public static QGLFramebufferObject.Attachment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int value()
QtEnumerator
value in interface QtEnumeratorpublic static QGLFramebufferObject.Attachment resolve(int value)
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||