package flash.display3D
extends EventDispatcher
Available on flashread only backBufferHeight:Int
read only backBufferWidth:Int
read only driverInfo:String
enableErrorChecking:Bool
maxBackBufferHeight:Int
maxBackBufferWidth:Int
profile:String
read only totalGPUMemory:Float
createRectangleTexture:Int ‑> Int ‑> Context3DTextureFormat ‑> Bool ‑> RectangleTexture
setSamplerStateAt:Int ‑> Context3DWrapMode ‑> Context3DTextureFilter ‑> Context3DMipFilter ‑> Void
clear (red:Float = 0, green:Float = 0, blue:Float = 0, alpha:Float = 1, depth:Float = 1, stencil:UInt = 0, mask:UInt = 0xFFFFFFFF):Void
configureBackBuffer (width:Int, height:Int, antiAlias:Int, enableDepthAndStencil:Bool = true, wantsBestResolution:Bool = false, wantsBestResolutionOnBrowserZoom:Bool = false):Void
createCubeTexture (size:Int, format:Context3DTextureFormat, optimizeForRenderToTexture:Bool, streamingLevels:Int = 0):CubeTexture
createIndexBuffer (numIndices:Int, ?bufferUsage:Context3DBufferUsage):IndexBuffer3D
createProgram ():Program3D
createTexture (width:Int, height:Int, format:Context3DTextureFormat, optimizeForRenderToTexture:Bool, streamingLevels:Int = 0):Texture
createVertexBuffer (numVertices:Int, data32PerVertex:Int, ?bufferUsage:Context3DBufferUsage):VertexBuffer3D
createVideoTexture ():VideoTexture
dispose (recreate:Bool = true):Void
drawToBitmapData (destination:BitmapData):Void
drawTriangles (indexBuffer:IndexBuffer3D, firstIndex:Int = 0, numTriangles:Int = -1):Void
present ():Void
setBlendFactors (sourceFactor:Context3DBlendFactor, destinationFactor:Context3DBlendFactor):Void
setColorMask (red:Bool, green:Bool, blue:Bool, alpha:Bool):Void
setCulling (triangleFaceToCull:Context3DTriangleFace):Void
setDepthTest (depthMask:Bool, passCompareMode:Context3DCompareMode):Void
setProgram (program:Program3D):Void
setProgramConstantsFromByteArray (programType:Context3DProgramType, firstRegister:Int, numRegisters:Int, data:ByteArray, byteArrayOffset:UInt):Void
setProgramConstantsFromMatrix (programType:Context3DProgramType, firstRegister:Int, matrix:Matrix3D, transposedMatrix:Bool = false):Void
setProgramConstantsFromVector (programType:Context3DProgramType, firstRegister:Int, data:Vector<Float>, numRegisters:Int = -1):Void
setRenderToBackBuffer ():Void
setRenderToTexture (texture:TextureBase, enableDepthAndStencil:Bool = false, antiAlias:Int = 0, surfaceSelector:Int = 0, colorOutputIndex:Int = 0):Void
setScissorRectangle (rectangle:Rectangle):Void
setStencilActions (?triangleFace:Context3DTriangleFace, ?compareMode:Context3DCompareMode, ?actionOnBothPass:Context3DStencilAction, ?actionOnDepthFail:Context3DStencilAction, ?actionOnDepthPassStencilFail:Context3DStencilAction):Void
setStencilReferenceValue (referenceValue:UInt, readMask:UInt = 255, writeMask:UInt = 255):Void
setTextureAt (sampler:Int, texture:TextureBase):Void
setVertexBufferAt (index:Int, buffer:VertexBuffer3D, bufferOffset:Int = 0, ?format:Context3DVertexBufferFormat):Void
static read only supportsVideoTexture:Bool
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/display3D/Context3D.html