Adobe® AIR® API Reference for HTML Developers
Home  |  Hide Classes List |  Index  |  Appendixes

Language Reference only       
Context3DTextureFormat 
window.runtime propertywindow.runtime.flash.display3D.Context3DTextureFormat
InheritanceContext3DTextureFormat Inheritance Object

Runtime Versions:  3

The Context3DTextureFormat class defines the values to use for specifying a texture format.

Use the constants defined in this class when calling the createTexture() and createCubeTexture() methods of the Context3D class.

See also



Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
 Inherited
hasOwnProperty(name:String):Boolean
Indicates whether an object has a specified property defined.
Object
 Inherited
isPrototypeOf(theClass:Object):Boolean
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
propertyIsEnumerable(name:String):Boolean
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
toLocaleString():String
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
toString():String
Returns the string representation of the specified object.
Object
 Inherited
valueOf():Object
Returns the primitive value of the specified object.
Object
Constants
 ConstantDefined 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.