class flash.display3D.Context3D extends EventDispatcher

Available on all platforms

Instance Fields

function clear(?red:Float, ?green:Float, ?blue:Float, ?alpha:Float, ?depth:Float, ?stencil:UInt, ?mask:UInt):Void

function configureBackBuffer(width:Int, height:Int, antiAlias:Int, ?enableDepthAndStencil:Bool, ?wantsBestResolution:Bool):Void

function createCubeTexture(size:Int, format:Context3DTextureFormat, optimizeForRenderToTexture:Bool, ?streamingLevels:Int):CubeTexture

function createIndexBuffer(numIndices:Int):IndexBuffer3D

function createRectangleTexture(width:Int, height:Int, format:Context3DTextureFormat, optimizeForRenderToTexture:Bool):RectangleTexture

function createTexture(width:Int, height:Int, format:Context3DTextureFormat, optimizeForRenderToTexture:Bool, ?streamingLevels:Int):Texture

function createVertexBuffer(numVertices:Int, data32PerVertex:Int):VertexBuffer3D

function dispose(?recreate:Bool):Void

function drawToBitmapData(destination:BitmapData):Void

function drawTriangles(indexBuffer:IndexBuffer3D, ?firstIndex:Int, ?numTriangles:Int):Void

function present():Void

function setBlendFactors(sourceFactor:Context3DBlendFactor, destinationFactor:Context3DBlendFactor):Void

function setColorMask(red:Bool, green:Bool, blue:Bool, alpha:Bool):Void

function setCulling(triangleFaceToCull:Context3DTriangleFace):Void

function setDepthTest(depthMask:Bool, passCompareMode:Context3DCompareMode):Void

function setProgram(program:Program3D):Void

function setProgramConstantsFromByteArray(programType:Context3DProgramType, firstRegister:Int, numRegisters:Int, data:ByteArray, byteArrayOffset:UInt):Void

function setProgramConstantsFromMatrix(programType:Context3DProgramType, firstRegister:Int, matrix:Matrix3D, ?transposedMatrix:Bool):Void

function setProgramConstantsFromVector(programType:Context3DProgramType, firstRegister:Int, data:Vector<Float>, ?numRegisters:Int):Void

function setRenderToTexture(texture:TextureBase, ?enableDepthAndStencil:Bool, ?antiAlias:Int, ?surfaceSelector:Int):Void

function setScissorRectangle(rectangle:Rectangle):Void

function setStencilActions(?triangleFace:Context3DTriangleFace, ?compareMode:Context3DCompareMode, ?actionOnBothPass:Context3DStencilAction, ?actionOnDepthFail:Context3DStencilAction, ?actionOnDepthPassStencilFail:Context3DStencilAction):Void

function setStencilReferenceValue(referenceValue:UInt, ?readMask:UInt, ?writeMask:UInt):Void

function setTextureAt(sampler:Int, texture:TextureBase):Void

function setVertexBufferAt(index:Int, buffer:VertexBuffer3D, ?bufferOffset:Int, ?format:Context3DVertexBufferFormat):Void