|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |
java.lang.Objectjava.lang.Enum<JmeContext.Type>
com.jme3.system.JmeContext.Type
public static enum JmeContext.Type
The type of context.
列挙型定数の概要 | |
---|---|
Canvas
A canvas type context makes a rendering surface available as an AWT Canvas object that can be embedded in a Swing/AWT
frame. |
|
Display
A display can represent a windowed or a fullscreen-exclusive display. |
|
Headless
A Headless context is not visible and does not have
any drawable surface. |
|
OffscreenSurface
An OffscreenSurface is a context that is not visible
by the user. |
メソッドの概要 | |
---|---|
static JmeContext.Type |
valueOf(java.lang.String name)
指定した名前を持つこの型の列挙型定数を返します。 |
static JmeContext.Type[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。 |
クラス java.lang.Enum から継承されたメソッド |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, notify, notifyAll, wait, wait, wait |
列挙型定数の詳細 |
---|
public static final JmeContext.Type Display
public static final JmeContext.Type Canvas
Canvas
object that can be embedded in a Swing/AWT
frame. To retrieve the Canvas object, you should cast the context
to JmeCanvasContext
.
public static final JmeContext.Type OffscreenSurface
OffscreenSurface
is a context that is not visible
by the user. The application can use the offscreen surface to do
General Purpose GPU computations or render a scene into a buffer
in order to save it as a screenshot, video or send through a network.
public static final JmeContext.Type Headless
Headless
context is not visible and does not have
any drawable surface. The implementation does not provide any
display, input, or sound support.
メソッドの詳細 |
---|
public static JmeContext.Type[] values()
for (JmeContext.Type c : JmeContext.Type.values()) System.out.println(c);
public static JmeContext.Type valueOf(java.lang.String name)
name
- 返される列挙型定数の名前
java.lang.IllegalArgumentException
- 指定された名前を持つ定数を
この列挙型が持っていない場合
java.lang.NullPointerException
- 引数が null の場合
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | 列挙型定数 | フィールド | メソッド | 詳細: 列挙型定数 | フィールド | メソッド |