Packageflash.display3D
Classpublic final class Context3DBufferUsage
InheritanceContext3DBufferUsage Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 4

Defines the values to use for specifying the buffer usage type.

See also

and flash.display.Context3D.createVextexBuffer()


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
  DYNAMIC_DRAW : String = "dynamicDraw"
[static] Indicates the buffer will be used for drawing and be updated frequently
Context3DBufferUsage
  STATIC_DRAW : String = "staticDraw"
[static] Indicates the buffer will be used for drawing and be updated once

This type is the default value for buffers in Stage3D.

Context3DBufferUsage
Constant detail
DYNAMIC_DRAWconstant
public static const DYNAMIC_DRAW:String = "dynamicDraw"

Language version: ActionScript 3.0
Runtime version: AIR 4

Indicates the buffer will be used for drawing and be updated frequently

STATIC_DRAWconstant 
public static const STATIC_DRAW:String = "staticDraw"

Language version: ActionScript 3.0
Runtime version: AIR 4

Indicates the buffer will be used for drawing and be updated once

This type is the default value for buffers in Stage3D.