Packageflash.display3D
Classpublic final class Context3DProfile
InheritanceContext3DProfile Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 3.4

Defines the values to use for specifying the Context3D profile.

See also

flash.display.Stage3D.requestContext3D()


Public 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
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined by
  BASELINE : String = "baseline"
[static] Use the default feature support profile.
Context3DProfile
  BASELINE_CONSTRAINED : String = "baselineConstrained"
[static] Use a constrained feature support profile to target older GPUs

This profile is primarily targeted at devices that only support PS_2.0 level shaders like the Intel GMA 9xx series.

Context3DProfile
  BASELINE_EXTENDED : String = "baselineExtended"
[static] Use an extended feature support profile to target newer GPUs which support larger textures

This profile increases the maximum 2D Texture and RectangleTexture size to 4096x4096

Context3DProfile
  ENHANCED : String = "enhanced"
[static] Use enhanced profile to target GPUs which support AGAL4.
Context3DProfile
  STANDARD : String = "standard"
[static] Use an standard profile to target GPUs which support MRT, AGAL2 and float textures.
Context3DProfile
  STANDARD_CONSTRAINED : String = "standardConstrained"
[static] Use an standard profile to target GPUs which support AGAL2 and float textures.
Context3DProfile
  STANDARD_EXTENDED : String = "standardExtended"
[static] Use standard extended profile to target GPUs which support AGAL3 and instanced drawing feature.
Context3DProfile
Constant detail
BASELINEconstant
public static const BASELINE:String = "baseline"

Language version: ActionScript 3.0
Runtime version: AIR 3.4

Use the default feature support profile.

This profile most closely resembles Stage3D support used in previous releases.

BASELINE_CONSTRAINEDconstant 
public static const BASELINE_CONSTRAINED:String = "baselineConstrained"

Language version: ActionScript 3.0
Runtime version: AIR 3.4

Use a constrained feature support profile to target older GPUs

This profile is primarily targeted at devices that only support PS_2.0 level shaders like the Intel GMA 9xx series. In addition, this mode tries to improve memory bandwidth usage by rendering directly into the back buffer. There are several side effects:

BASELINE_EXTENDEDconstant 
public static const BASELINE_EXTENDED:String = "baselineExtended"

Language version: ActionScript 3.0
Runtime version: AIR 3.8

Use an extended feature support profile to target newer GPUs which support larger textures

This profile increases the maximum 2D Texture and RectangleTexture size to 4096x4096

ENHANCEDconstant 
public static const ENHANCED:String = "enhanced"

Language version: ActionScript 3.0
Runtime version: AIR 26.0

Use enhanced profile to target GPUs which support AGAL4.

This profile supports Vertex Texture Fetch

This profile is enabled from AIR 26.0 on mobile platforms and AIR 29.0 on Windows and Mac.

STANDARDconstant 
public static const STANDARD:String = "standard"

Language version: ActionScript 3.0
Runtime version: AIR 14.0

Use an standard profile to target GPUs which support MRT, AGAL2 and float textures.

This profile supports 4 render targets. Increase AGAL commands and register count. Add float textures.

STANDARD_CONSTRAINEDconstant 
public static const STANDARD_CONSTRAINED:String = "standardConstrained"

Language version: ActionScript 3.0
Runtime version: AIR 16.0

Use an standard profile to target GPUs which support AGAL2 and float textures.

This profile is an alternative to standard profile, which removes MRT and a few features in AGAL2 but can reach more GPUs.

STANDARD_EXTENDEDconstant 
public static const STANDARD_EXTENDED:String = "standardExtended"

Language version: ActionScript 3.0
Runtime version: AIR 17.0

Use standard extended profile to target GPUs which support AGAL3 and instanced drawing feature.

This profile extends the standard profile.

This profile is enabled on mobile platforms from AIR 17.0 and on Windows and Mac from AIR 18.0.