class openfl.display3D.textures.RectangleTexture extends TextureBase

Available on all platforms

Instance Fields

function new(context:Context3D, glTexture:GLTexture, optimize:Bool, width:Int, height:Int):Void

function uploadFromBitmapData(bitmapData:BitmapData, ?miplevel:Int = 0):Void

function uploadFromByteArray(data:ByteArray, byteArrayOffset:Int):Void