|
@@ -7,11 +7,11 @@ package flash.display3D;
|
|
|
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;
|
|
|
- function createIndexBuffer(numIndices : Int) : IndexBuffer3D;
|
|
|
+ function createIndexBuffer(numIndices : Int, ?bufferUsage : Context3DBufferUsage) : IndexBuffer3D;
|
|
|
function createProgram() : Program3D;
|
|
|
@:require(flash11_8) function createRectangleTexture(width : Int, height : Int, format : Context3DTextureFormat, optimizeForRenderToTexture : Bool) : flash.display3D.textures.RectangleTexture;
|
|
|
function createTexture(width : Int, height : Int, format : Context3DTextureFormat, optimizeForRenderToTexture : Bool, streamingLevels : Int = 0) : flash.display3D.textures.Texture;
|
|
|
- function createVertexBuffer(numVertices : Int, data32PerVertex : Int) : VertexBuffer3D;
|
|
|
+ function createVertexBuffer(numVertices : Int, data32PerVertex : Int, ?bufferUsage : Context3DBufferUsage) : VertexBuffer3D;
|
|
|
function dispose(recreate : Bool = true) : Void;
|
|
|
function drawToBitmapData(destination : flash.display.BitmapData) : Void;
|
|
|
function drawTriangles(indexBuffer : IndexBuffer3D, firstIndex : Int = 0, numTriangles : Int = -1) : Void;
|