Static methods

staticwrapGL(glTexture:CubeTexture):FoxTextureCubemap

@:value({ type : "unsigned_byte", format : "rgba" })staticcreate(size:Int, format:String = "rgba", type:String = "unsigned_byte"):FoxTextureCubemap

Constructor

new(?wrapMode:FoxWrapMode, ?filter:FoxTextureFilter, ?mipFilter:FoxMipFilter)

Methods

@:value({ mipmaps : false, format : Context3DTextureFormat.BGRA })setSideFromBitmapData(data:BitmapData, side:FoxCubemapSide, format:Context3DTextureFormat = Context3DTextureFormat.BGRA, mipmaps:Bool = false):Void

Inherited Variables

Defined by FoxTexture

@:value(null)context:Context3D = null

glTexture:TextureBase

assetsKey:String

width:Int

height:Int

private@:value(null)__format:String = null

private@:value(null)__type:String = null

Inherited Methods

Defined by FoxTexture

privateget_width():Int

privateget_height():Int

asBitmapData():BitmapData

takeGL(texture:TextureBase):Void

Instance version of FoxTexture.wrapGL()

Takes a Texture and sets it as the GPU texture

Note: This will not update any extra information of this texture, such as format or type.

destroy():Void