This commit is contained in:
Dante
2026-05-21 20:15:16 -07:00
parent fe8bd1e307
commit add4d4cc87
2664 changed files with 198448 additions and 0 deletions

View File

@ -0,0 +1,7 @@
package flash.display3D.textures;
extern final class CubeTexture extends TextureBase {
function uploadCompressedTextureFromByteArray(data : flash.utils.ByteArray, byteArrayOffset : UInt, async : Bool = false) : Void;
function uploadFromBitmapData(source : flash.display.BitmapData, side : UInt, miplevel : UInt = 0) : Void;
function uploadFromByteArray(data : flash.utils.ByteArray, byteArrayOffset : UInt, side : UInt, miplevel : UInt = 0) : Void;
}

View File

@ -0,0 +1,7 @@
package flash.display3D.textures;
extern final class RectangleTexture extends TextureBase {
function new() : Void;
function uploadFromBitmapData(source : flash.display.BitmapData) : Void;
function uploadFromByteArray(data : flash.utils.ByteArray, byteArrayOffset : UInt) : Void;
}

View File

@ -0,0 +1,7 @@
package flash.display3D.textures;
extern final class Texture extends TextureBase {
function uploadCompressedTextureFromByteArray(data : flash.utils.ByteArray, byteArrayOffset : UInt, async : Bool = false) : Void;
function uploadFromBitmapData(source : flash.display.BitmapData, miplevel : UInt = 0) : Void;
function uploadFromByteArray(data : flash.utils.ByteArray, byteArrayOffset : UInt, miplevel : UInt = 0) : Void;
}

View File

@ -0,0 +1,5 @@
package flash.display3D.textures;
extern class TextureBase extends flash.events.EventDispatcher {
function dispose() : Void;
}

View File

@ -0,0 +1,11 @@
package flash.display3D.textures;
extern final class VideoTexture extends TextureBase {
@:flash.property var videoHeight(get,never) : Int;
@:flash.property var videoWidth(get,never) : Int;
function new() : Void;
function attachCamera(theCamera : flash.media.Camera) : Void;
function attachNetStream(netStream : flash.net.NetStream) : Void;
private function get_videoHeight() : Int;
private function get_videoWidth() : Int;
}