Package | flash.display |
Class | public final class NativeWindowRenderMode |
Inheritance | NativeWindowRenderMode Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 3.0 |
renderMode
property of the
NativeWindowInitOptions object used to create a native window.
Note: The renderMode value is specified when a window is created and cannot be changed.
Related API Elements
Constant | Defined By | ||
---|---|---|---|
AUTO : String = "auto" [static]
A typical window. | NativeWindowRenderMode | ||
CPU : String = "cpu" [static]
A cpu mode window. | NativeWindowRenderMode | ||
DIRECT : String = "direct" [static]
A direct mode window. | NativeWindowRenderMode |
AUTO | Constant |
public static const AUTO:String = "auto"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 3.0 |
A typical window. The rendermode will be set to whatever is most appropriate on the underlying device. Compositing with StageVideo or Stage3D may or may not be supported. This is the default.
CPU | Constant |
public static const CPU:String = "cpu"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 3.0 |
A cpu mode window. Vectors are rendered using the software renderer and blitting is done with the CPU, so compositing with StageVideo or Stage3D is not supported.
Note: Currently, to specify this mode for a new NativeWindow, the <renderMode> tag in the application descriptor must be "cpu", "auto" or "direct", otherwise an IllegalOperationError exception will be thrown.
DIRECT | Constant |
public static const DIRECT:String = "direct"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 3.0 |
A direct mode window. Direct mode windows render vectors using the software renderer, but blit using the GPU to allow compositing with StageVideo or Stage3D.
Note: Currently, to specify this mode for a new NativeWindow, the <renderMode> tag in the application descriptor must be "cpu" or "auto" or "direct", otherwise an IllegalOperationError exception will be thrown.
Mon Nov 28 2011, 06:48 AM -08:00