| window.runtime property | window.runtime.flash.display3D.Context3DTextureFormat |
| Inheritance | Context3DTextureFormat Object |
| Runtime Versions: | 3 |
Use the constants defined in this class when calling the createTexture() and
createCubeTexture() methods of the Context3D class.
See also
Public Methods
Constants
| Constant | Defined By | ||
|---|---|---|---|
| BGRA : String = "bgra" [static]
A texture with colors defined with 8-bit color components in the order: blue, green, red, alpha. | Context3DTextureFormat | ||
| COMPRESSED : String = "compressed" [static]
A texture in the Adobe Texture Format. | Context3DTextureFormat | ||
Constant Detail
BGRA | Constant |
public static const BGRA:String = "bgra"| Runtime Versions: | 3 |
A texture with colors defined with 8-bit color components in the order: blue, green, red, alpha.
The BGRA format is the internal format used by Flash bitmaps. Use this format when using a BitmapData object as a texture. You can create a ByteArray containing a texture in BGRA format by writing the desired color values in the correct order (no header informtion is used).
COMPRESSED | Constant |
public static const COMPRESSED:String = "compressed"| Runtime Versions: | 3 |
A texture in the Adobe Texture Format.
Thu Sep 29 2011, 02:34 AM -07:00

Object
Hide Inherited Public Properties
Show Inherited Properties