浏览代码

Flash 12 API synch

Added profile field to show current context profile.
Peter "sHTiF" Stefcek 11 年之前
父节点
当前提交
a0f1045f93
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/flash/display3D/Context3D.hx

+ 1 - 0
std/flash/display3D/Context3D.hx

@@ -3,6 +3,7 @@ package flash.display3D;
 @:final extern class Context3D extends flash.events.EventDispatcher {
 	var driverInfo(default,null) : String;
 	var enableErrorChecking : Bool;
+	@:require(flash12) var profile : String;
 	function clear(red : Float = 0, green : Float = 0, blue : Float = 0, alpha : Float = 1, depth : Float = 1, stencil : UInt = 0, mask : UInt = 0xFFFFFFFF) : Void;
 	function configureBackBuffer(width : Int, height : Int, antiAlias : Int, enableDepthAndStencil : Bool = true, wantsBestResolution : Bool = false) : Void;
 	function createCubeTexture(size : Int, format : Context3DTextureFormat, optimizeForRenderToTexture : Bool, streamingLevels : Int = 0) : flash.display3D.textures.CubeTexture;